Agent Pants vault authoring and publish
State: open/building · Kind: module · Audience: system
Summary
Section titled “Summary”- Domain glue that lets the Determined app author, preview, publish, build and adopt coding-agent assets (skills, agents, hooks, plugins, marketplaces) stored as notes in a vault.
- Calls the embedded agent-adapt core as a library, never a subprocess.
Statement
Section titled “Statement”determined-agent-skills turns a vault of agent-asset notes into previews and applied changes. It reads the roster and component tree, validates and writes notes, and composes rename, move, convert-kind and delete over the generic vault note operations behind determined-core’s VaultNotesPort. It publishes notes to harness directories, builds a marketplace, and adopts existing skills into the vault. The crate holds only Agent Pants domain logic. Platform handlers unpack app state and call in; the crate does not depend on determined-platform. Import sources that are git repositories are cloned and refreshed on this side, because the embedded core cannot spawn processes.
What it provides
Section titled “What it provides”- Roster, notes, component tree, related-note and harness capability reads (get_roster, get_component_tree, get_related, harness_capabilities).
- Note authoring: draft, create, write and validate notes, plain reference notes included.
- Publish preview, status and apply (get_publish_preview, publish_note) to harness directories.
- Marketplace build with preview (build_marketplace, get_build_preview).
- Adoption of existing skills into the vault with preview (adopt_skills_into_vault).
- Rename, move, convert-kind and delete of components, plus rename and delete of plugins and marketplaces. Rename, move and convert-kind have previews.
- Git-backed import source clone and refresh (git_source).
Underlying implementation
Section titled “Underlying implementation”- solutions/determined/crates/determined-agent-skills/src/lib.rs: previews, applies and publish orchestration over agent-adapt-core, determined-core’s VaultNotesPort and vault-fs.
- solutions/determined/crates/determined-agent-skills/src/git_source.rs: repository import via easy-git.
Locations
Section titled “Locations”solutions/determined/crates/determined-agent-skills/solutions/determined/crates/determined-agent-skills/src/lib.rssolutions/determined/crates/determined-agent-skills/src/lib.rs#publish_notesolutions/determined/crates/determined-agent-skills/src/lib.rs#build_marketplacesolutions/determined/crates/determined-agent-skills/src/lib.rs#adopt_skills_into_vaultsolutions/determined/crates/determined-agent-skills/src/git_source.rs