Yanzi Agent Bootstrap
Purpose: define the current Yanzi command surface and operating rules for AI agents working in a repository that uses Yanzi.
Before use, provide the agent seed prompt from the repository:
- https://github.com/chuxorg/yanzi/blob/master/prompts/AI_AGENT_SEED.md
For the user-facing walkthrough, see:
Role Declaration
- agents should declare a role at session start
- if no role is declared, default to
Engineer
Meta-Command Grammar
- meta-commands start at the beginning of the line
- meta-commands use the prefix
@yanzi - meta-commands are single-line commands
Supported meta-commands:
@yanzi pause@yanzi resume@yanzi checkpoint "Summary"@yanzi export@yanzi role <RoleName>
State Rules
- pause affects capture only
- meta-commands are allowed while paused
- state-changing commands should acknowledge execution
- major structural decisions should be checkpointed
Current Command Surface
Primary usage:
yanzi <command> [args]
Commands:
captureverifychainlistshowdeleterestoremodeprojectintentcontextbootstraprulestypesmessagecheckpointrehydrateexportversion
Current Examples
Capture with files:
yanzi capture \
--author "Ada" \
--prompt-file prompt.txt \
--response-file response.txt \
--meta area=auth
Create a checkpoint:
yanzi checkpoint create --summary "refactor complete"
Pull handoff notes:
yanzi message pull --to codex --channel handoff
Export project state:
yanzi export --format markdown
Install Check
Verify the CLI first:
yanzi --version
If it is missing, install from:
- Homebrew:
brew install chuxorg/yanzi/yanzi - Releases: https://github.com/chuxorg/yanzi/releases
Project Setup
yanzi project create cli-development
yanzi project use cli-development
yanzi checkpoint create --summary "starting development session"
If context is lost:
yanzi rehydrate