Expand description
Library surface of the workon crate. The binary (main.rs) is a thin
shim over these modules, and examples/generate_assets.rs reaches
cli::Cli through here to render the man page and completion scripts.
Modules§
- agent
- The agent a config drives: which pane command is the agent, and the argument templates workon injects into it.
- claude_
trust - cli
- deps
- discover
- Live inference of workspace structure from the filesystem plus git/jj, so the
headless subcommands need no registry. The worktrees under
~/.worktreesare the source of truth; this module reads facts back off them. Anything stored (in.workon.json) is only what can’t be inferred — see specs/non-interactive-workspaces.md. - home
- layout
- mise_
env - The environment
mise envcomputes for a directory, handed to the session and to provisioners. - provision
- Per-workspace provisioners: modular setup that copying gitignored files can’t
provide (isolated test databases today; more per ecosystem later). Each
provisioner detects its project type and does only the irreducible work,
recording any external resource it created so teardown can undo it. Mirrors
the
vcstrait + backend registry. See specs/workspace-provisioners.md. - resolve
- session
- trust
- Config trust gate.
- vcs
- workspace