my code lab

sclr: Select the mode with a subcommand, not a flag #198

Open patmaddox.com
targeting trunk from b/sclr
Open opened by patmaddox.com
targeting trunk from b/sclr

Cadence and scope were spelled the same way, as flags, but they are different kinds of choice. -n and -N modify how much of a run happens, and every cadence is meaningful with every scope. The mode decides which run this is: each brings its own deliverable and its own post-condition, and exactly one can hold. Encoded as booleans that costs a mutual-exclusion check per pair, and under one flag namespace every flag looks valid everywhere, so the man page has to say which combinations are meaningless.

This is a breaking change. The verb is required and -d is gone: sclr spec.org becomes sclr run spec.org, and sclr -d spec.org becomes sclr doc spec.org.

Commits 28

sclr: Select the mode with a subcommand, not a flag
sclr: Signal a block with sclr:blocked, not collab.org
sclr: Let the model write the -p patch files
sclr: Remove stale EDITOR instruction from spec
sclr: inject the done condition, not agent.org
sclr: inject the commit rules, not agent.org
sclr: inject the implementation scope, not agent.org
sclr: document the interface a model command must accept
sclr: stop asking a doc run for report.org
sclr: reject an empty -p patch path
sclr: commit each capability of a TODO item separately
sclr: size a unit of work by capability, not TODO
sclr: reply to diffwise review comments in place
sclr: consult diffwise patch files for review comments
sclr: integrate inline code review comments
sclr: consult collab.org first, prune it at run end
sclr: Edit future-state docs in place
sclr: Add -m for an ad-hoc invocation prompt
sclr: Report why the bounded loop stopped
sclr: Mark spec TODO items done as they land
sclr: Default to a bounded ten-turn run; add -N
sclr: Update spec
sclr: Draft future-state docs with -d
sclr: Delegate context-heavy activities to subagents
sclr: Choose the next unit by gap analysis
sclr: Fail a bounded turn that reports no status
sclr: Bound a run to a number of turns with -n
sclr: Update spec
Sign up or Sign in to add to the discussion.