Goal
Make Specsmith the canonical distribution point for the portable Zoo Code integration currently prototyped in layer1labs/chronocortex.
Decision
Do not create a separate repository. Specsmith already owns the public specsmith zoo-code CLI group, is distributed through pipx/PyPI, and already documents Zoo Code/Roo Code integration. A separate repository would duplicate release/versioning, compatibility testing, and documentation.
Required CLI
specsmith zoo-code setup --project-dir .
specsmith zoo-code doctor --project-dir .
specsmith zoo-code uninstall --project-dir .
Options:
--global-roo PATH with default ROO_GLOBAL_DIR or ~/.roo
--scope both|global|project
--dry-run
--preserve-existing for users who do not want reserved Specsmith paths adopted
Ownership boundary
Specsmith package owns
- reusable global Zoo Code rules under
~/.roo/rules*
- reusable slash commands under
~/.roo/commands
- reusable skills under
~/.roo/skills
- managed-file marker and manifest
- safe backup/adoption of reserved Specsmith paths
- stale managed-asset cleanup
- project MCP merge for
specsmith-governance
- removal of generic Specsmith rules duplicated inside project
.roo
- setup, doctor, and uninstall lifecycle
- package tests and documentation
Project repositories own
- project-specific
.roo/rules*
- project-specific
.roo/commands
- project-specific
.roo/skills
- local provider/model settings and custom modes
- any project-specific wrapper that invokes
specsmith zoo-code setup
ChronoCortex should retain only ChronoCortex-specific assets and its model/settings configurator.
Safety requirements
- Never delete an unmanaged file solely because its path resembles a Specsmith asset.
- Managed files must contain a versioned marker.
- Back up an existing file before adopting a reserved Specsmith path.
- Preserve unrelated MCP servers while merging/removing
specsmith-governance.
- Uninstall removes only marker/manifest-owned files.
- Doctor fails on missing, mismatched, duplicated, or stale managed assets.
- Commands must be idempotent.
Universal assets
Global rules:
rules/00-specsmith-source-of-truth.md
rules/10-specsmith-governance.md
rules/20-context-continuity.md
rules/30-security-and-secrets.md
rules/40-context-efficiency.md
- mode-specific planning, evidence, implementation, debugging, orchestration, and review rules
Global slash commands:
/specsmith-intake
/specsmith-plan
/specsmith-implement
/specsmith-debug
/specsmith-review
/specsmith-checkpoint
Global skills:
specsmith-governed-work
specsmith-evidence-debugging
specsmith-context-continuity
Tests
At minimum:
- clean setup followed by doctor
- repeat setup is idempotent
- existing reserved path is backed up and adopted
--preserve-existing reports a conflict without modifying it
- MCP merge preserves unrelated servers
- recognized workspace duplicates are removed
- customized workspace files are preserved and reported
- stale marker-owned assets are removed
- uninstall removes only managed assets
- Linux, macOS, and Windows path behavior
ChronoCortex migration
After a Specsmith release contains this feature:
pipx upgrade specsmith
specsmith zoo-code setup --project-dir ~/chronocortex
specsmith zoo-code doctor --project-dir ~/chronocortex
Then replace ChronoCortex's embedded universal installer/cleanup scripts with a thin call to the packaged CLI. Keep the ChronoCortex-specific .roo profile and Zoo/LiteLLM settings scripts in ChronoCortex.
Goal
Make Specsmith the canonical distribution point for the portable Zoo Code integration currently prototyped in
layer1labs/chronocortex.Decision
Do not create a separate repository. Specsmith already owns the public
specsmith zoo-codeCLI group, is distributed through pipx/PyPI, and already documents Zoo Code/Roo Code integration. A separate repository would duplicate release/versioning, compatibility testing, and documentation.Required CLI
Options:
--global-roo PATHwith defaultROO_GLOBAL_DIRor~/.roo--scope both|global|project--dry-run--preserve-existingfor users who do not want reserved Specsmith paths adoptedOwnership boundary
Specsmith package owns
~/.roo/rules*~/.roo/commands~/.roo/skillsspecsmith-governance.rooProject repositories own
.roo/rules*.roo/commands.roo/skillsspecsmith zoo-code setupChronoCortex should retain only ChronoCortex-specific assets and its model/settings configurator.
Safety requirements
specsmith-governance.Universal assets
Global rules:
rules/00-specsmith-source-of-truth.mdrules/10-specsmith-governance.mdrules/20-context-continuity.mdrules/30-security-and-secrets.mdrules/40-context-efficiency.mdGlobal slash commands:
/specsmith-intake/specsmith-plan/specsmith-implement/specsmith-debug/specsmith-review/specsmith-checkpointGlobal skills:
specsmith-governed-workspecsmith-evidence-debuggingspecsmith-context-continuityTests
At minimum:
--preserve-existingreports a conflict without modifying itChronoCortex migration
After a Specsmith release contains this feature:
Then replace ChronoCortex's embedded universal installer/cleanup scripts with a thin call to the packaged CLI. Keep the ChronoCortex-specific
.rooprofile and Zoo/LiteLLM settings scripts in ChronoCortex.