Repository navigation
Releases: klappe-pm/stratarc
Releases · klappe-pm/stratarc
Release list
stratarc 0.3.1
Changed
- Before asking to deploy, setup names the project checkouts the deploy writes into, since it replaces files such as
AGENTS.mdandCLAUDE.mdin each.
Fixed
- Setup no longer writes into project checkouts before you answer the deploy prompt. In 0.3.0 it wrote
.docs/stratarc-control-plane.mdinto every git checkout under the projects root'sactive/folder even when you answeredn. It now refreshes only the source root'scontrol-plane.md, and the snapshots are written by the deploy.
stratarc 0.3.0
Added
stratarcwith no command starts a guided setup the first time: it creates or adopts a source root, enables the runtimes it finds installed, previews the first deploy and deploys only on an explicit yes. Once set up, it prints where the source root is and the commands to run next. Outside a terminal it prints the help.stratarc setup, the same guided setup on demand. It records the source root in~/.stratarc/config.toml, so later commands find it from any directory.stratarc help [COMMAND], and examples in the help of every command.- A mistyped command names the closest one (
stratarc synksuggestsstratarc sync). - Every error line ends with a link to its entry in the error reference.
Changed
- An argument a command does not take is reported against that command's usage, not the top-level one, and with
--jsonevery usage error prints one envelope (msg-1010,msg-1011,msg-1014). initends by printing the commands to run next.- With
--json, an engine command'sdata.exitis the status stratarc exits with. It used to be the status the command's module returned, sostratarc --json checkreported"exit": 1on drift while exiting 6. A caller that read 1 as drift must now read 6.
Fixed
- A command run in a directory with no
stratarc.tomlat or above it, and no other source root configured, is refused withmsg-1009. It used to treat that directory as a source root, andsyncwrote acontrol-plane.mdinto it before failing. A source root you run commands from without--rootorSTRATARC_SOURCEnow needs astratarc.toml; an empty one uses the defaults. stratarc doctorreports that case as a problem, and reports a remembered source root that no longer holdsstratarc.toml(msg-1013).- The generated command reference shows a required option without brackets in its usage line, so
adapter deprecateno longer presents--reasonand--end-dateas optional. validate,projects,gen-rules-digestandcomponentscheck their arguments before looking for the source root, sostratarc validate --bogusoutside a source root reports the usage error (msg-1014) instead ofmsg-1009.- An argument a forwarded command does not take is reported before a missing required one, so
stratarc gen-rules-digest --bogusnames--bogusinstead of the missing mode flag.
stratarc 0.2.0
The first release to carry the product as specified. Versions 0.1.0 and 0.1.1 were withdrawn and are not available.
Added
stratarc init,doctor,sync,check,diff,prune,reconcile,validate,projects,gen-rules-digest,componentsandadapter.- Adapters for Claude Code, Codex, Gemini CLI, Cursor and OpenCode, rendering instructions, rules, hooks, skills, commands, agents, permissions, MCP servers and plugins from one source root.
- Your own runtimes:
stratarc adapter new <name>writesadapters/<name>.pyin the source root, and sync, check, diff and prune manage it like the shipped ones. A[runtimes.<name>]table with no adapter is now an error, where it used to be ignored. - A control plane (
control-plane.md) recording which source item reaches which scope, maintained bystratarc reconcile. - Project delivery for checkouts that sit directly under the projects root, or under
active/,new/,inactive/,archived/andexternal/status folders. - Verified deploys:
sync --verifyandsync --verify --rollback-on-drift, and a stamp that refuses to write an older permission policy over a newer one. checkanddiffreport a rule added or edited since the last sync, before any sync re-embeds the rules digest.- A sync adds and updates files and never deletes;
pruneremoves what the source no longer produces. - A worked example in
examples/notes-cli/and documentation indocs/, arranged by Diátaxis quadrant.
Install straight from this release with pipx install git+https://github.com/klappe-pm/stratarc@v0.2.0.