Upgrading to v6
Nothing rewrites an existing project without asking. But v6 is not a drop-in: it refuses the verbs, flags and config keys it retired, each by name with its replacement, and migrate --apply carries the project across.
From 6.3 to 6.4
Section titled “From 6.3 to 6.4”No 6.4 change is filed under Breaking, Removed or Security, so a 6.3 project takes three steps: reinstall, then run migrate and migrate --apply in each project.
curl -fsSL https://raw.githubusercontent.com/DarrenBenson/sdlc-studio/main/install.sh \ | SDLC_STUDIO_REQUIRE_CHECKSUM=1 bash -s -- --version v6.4.0/sdlc-studio migrate # a dry run: lists what it would change, writes nothing/sdlc-studio migrate --apply # restamps the project version, and nothing else- Reinstall. A plain
install.shorinstall.ps1fetches the latest published release; the command above pins 6.4.0 and makes the checksum mandatory. Pass--version mainfor the moving branch. migrateis needed only for the version stamp. For a 6.3 project the dry run reports one upgrade,sdlc-studio/.version stale (skill 6.3.0 -> 6.4.0), beside anything it leaves to you, such as a seat role with no card.migrate --applywrites that stamp tosdlc-studio/.versionand changes nothing else.- The new keys are not written for you.
migrate --applyadds none of the keys below to your.config.yaml, so a project reads each at its default until it sets it.
| Key 6.4 adds | Default | What it sets |
|---|---|---|
risk.components |
{} |
path prefixes mapped to standard, elevated or high; with no map every story is standard |
routing.effort.builder |
inherit |
the reasoning effort each unit’s builder is spawned at; inherit is the session’s own |
routing.effort.reviewer |
inherit |
the reasoning effort each unit’s reviewer is spawned at; inherit is the session’s own |
routing.effort.reviewer_below_builder |
"" |
a decision id that lets a reviewer’s effort sit below its builder’s, which sprint plan otherwise refuses |
pricing.copilot_billing |
tokens |
the basis a Copilot plan bills on |
personas.memory.validity_days |
90 |
days from a learning’s Added to its Review-by |
personas.memory.inject_max |
5 |
the most live learnings a seat’s brief carries |
sprint.fresh_session |
warn |
what resume and plan --write do with a large session |
| Changed in 6.4 | Do instead |
|---|---|
critic.py record --from-verdict refuses a verdict file already recorded: it exits 2 and writes nothing for a file whose bytes an earlier row’s Source carries, decided on the hash, so a copy at a fresh path is refused too, or whose UNIT line names another unit |
record each review from the fresh verdict file its own critic.py brief names, and brief the seat again for another round |
a verdict written by the context that edited the unit is recorded as a self-review, whatever reviewer name it carries: its Source cell gains self-review:<path>, and the row fails the close’s review-coverage step and sprint.py sign’s review bar; an edit made through Bash is not seen |
brief a fresh context that did not edit the unit with critic.py brief, and record the verdict it writes |
the delivery verdict ledger, sdlc-studio/reviews/critic-verdicts.md, gains a ninth column, Source, before Issues; the first verdict recorded after upgrading pads every earlier row with -, and a 6.3.0 install reads a nine-cell row as malformed and skips it |
upgrade every clone that records or reads verdicts together, run the record command the brief’s footer prints, which reads the verdict file with --from-verdict, and commit the verdict file with its row |
pricing.copilot_billing defaults to tokens: a Copilot run’s models are priced from their AI-credit rates, and its premium requests are counted on their own row, unpriced, where 6.3 priced them; a value other than tokens or requests is refused by name |
a plan still billed per premium request, such as a Copilot Pro or Pro+ annual plan, sets pricing.copilot_billing: requests in sdlc-studio/.config.yaml |
the report cites the run record the close commits beside it, sdlc-studio/reports/runs/<RUN-ID>.json, where it cited sdlc-studio/.local/run-state.json, which only the closer’s clone holds |
point a reader that follows a figure’s source at the run record under sdlc-studio/reports/runs/ |
the committed run record names its plan by digest, plan_digest, and its plan is now null; a record filed before keeps its plan |
match a saved sprint-plan.json to its run by plan_digest, not by plan |
verify_ac run no longer stamps Verified: yes on a pytest criterion whose run passed some tests and skipped others: its FAIL line names what was skipped, and each story’s line carries partly_skipped=N |
make the skipped tests run where the criterion is verified, or narrow the Verify line to the tests that run there |
transition.py set <story> Ready refuses a criterion with more than one Verify line, and --force does not waive it |
split the criterion in two, one Verify line each |
sprint.fresh_session defaults to warn: over 80,000 tokens of context, sprint.py resume and sprint.py plan --write warn on stderr with the cost of re-reading it; under block, resume also exits 2 |
run sprint.py handoff, then sprint.py resume in a fresh session, or set sprint.fresh_session: off to read nothing |
the sprint report sets forecast beside actual on the cost and span rows, its appendix carries a Prices table, and the JSON page carries the evidence_schema, cost_forecast and dispatch_effort marks |
have a parser of the JSON page tolerate keys it does not know, as the evidence annex’s Versioning section requires |
Release 6.4.0 says what else changed.
From 6.2 to 6.3
Section titled “From 6.2 to 6.3”No 6.3 change is filed under Breaking or Removed. From 6.2, install 6.4.0 with the command under From 6.3 to 6.4 and take that section’s changes with this one’s; to stop at 6.3.0, pin it with curl -fsSL https://raw.githubusercontent.com/DarrenBenson/sdlc-studio/main/install.sh | SDLC_STUDIO_REQUIRE_CHECKSUM=1 bash -s -- --version v6.3.0. Then run migrate, migrate --apply and init.py run in each project.
migrateis needed only for the version stamp. For a 6.2 project the dry run reports one upgrade,sdlc-studio/.version stale (skill 6.2.0 -> 6.3.0), beside anything it leaves to you, such as a seat role with no card.migrate --applywrites that stamp and changes nothing else: no 6.3 change retires a config key or a command. It does not writerelease_strategyto your.config.yaml.- Run
init.py runagain. It adds the files a 6.3 project has and yours lacks, among them.claude/agents/sdlc-builder.mdand.claude/agents/sdlc-reviewer.md, and leaves every file you have as it is. Do not pass--forcefor this: it rewrites the filesinitseeds,.config.yaml,AGENTS.mdandCLAUDE.mdamong them.
| Changed in 6.3 | Do instead |
|---|---|
release_strategy ships as trunk: an agent commits each unit to main when its gate passes and pushes main, with no branch and no pull request; a project that never set the key reads trunk once upgraded |
set release_strategy: pr-required in sdlc-studio/.config.yaml to keep a branch and a pull request per change |
sprint.py lane land, not the builder, commits a lane; sprint.py lane brief prints no commit step and no self-check record command |
run sprint.py lane land --worktree <path> --units <id> to commit the lane through the hooks and record its self-check, then sprint.py lane accept once the reviewer answers |
a sized unit’s brief sets a tool-call budget, at which the builder writes HANDOFF.md, stages what it has and returns |
resume a builder only while its context is below 100k tokens; otherwise start a fresh builder from its HANDOFF.md |
init drafts the sdlc-builder and sdlc-reviewer agent definitions into .claude/agents/, and lanes and reviews spawn them by name |
run init.py run again in an existing project; to take a shipped definition back, delete yours and run it again |
gate.py --run-tests refuses a path or node id that does not exist, by name, before any test runs |
correct or remove the selector; a directory or a whole module still runs |
| the token meter no longer guesses between harnesses: two signals, or two stores and no signal, read not measured | set SDLC_STUDIO_HARNESS to claude, codex, copilot, opencode or cursor |
a security fix: an SDLC_STUDIO_CURSOR_API base that is not https is refused, unless it is http on a loopback IP address |
use an https base, or http://127.0.0.1:<port> for a local stub |
the release verify lane runs criteria side by side, at most SDLC_VERIFY_WORKERS stories at once |
set SDLC_VERIFY_WORKERS=1 to run one story at a time, and mark a wall-clock test serial_only |
a commit-msg hook given --write-trailers refuses, under --strict, a Refs: line naming a unit that owns none of the staged files |
write Mentions: <id> for an id the commit only mentions, or leave the trailers out and let the flag write them |
| a verifier that outruns its timeout loses its whole process group | do not rely on a verifier’s background children outliving it |
a light APPROVE stops counting once the unit’s risk band tiers it full and the tier was forced or its Affects grew; critic.py record warns |
re-brief and review the unit at the full tier the warning names |
| the sprint report gains Priced, Dollar cost, Dollars per point and Premium requests rows | add or replace a model’s prices under pricing.models in .config.yaml when the report names it as not priced |
the shipped AGENTS.md starter is shorter; an AGENTS.md that exists is not rewritten |
read the working habits in reference-doctrine.md#working-habits, and copy any you want into your own |
| the shipped lesson runs the full suite before each push, not each commit | let a commit run the tests its change reaches, and run the full test command before each push |
Release 6.3.0 says what else changed.
From 6.1 to 6.2
Section titled “From 6.1 to 6.2”No 6.2 change is filed under Breaking or Removed. From 6.1, install 6.4.0 with the command under From 6.3 to 6.4 and take this section’s changes with the 6.3 and 6.4 ones; to stop at 6.2.0, pin it with curl -fsSL https://raw.githubusercontent.com/DarrenBenson/sdlc-studio/main/install.sh | SDLC_STUDIO_REQUIRE_CHECKSUM=1 bash -s -- --version v6.2.0. Then run migrate and migrate --apply in each project.
migrateis needed only for the version stamp. For a 6.1 project the dry run reportssdlc-studio/.version stale (skill 6.1.0 -> 6.2.0), andmigrate --applywrites that stamp and changes nothing else. The new keys,review.author_self_check,review.brief_diff_linesandcost.baseline_per_point, are not written to your.config.yaml; each reads its shipped default until you set it.- Two records to commit. The first
lessonscommand on the project log, orretro.py extract, moves a legacysdlc-studio/.local/lessons.mdtosdlc-studio/retros/LESSONS.mdand says to commit it; commit it before you close on another machine. From the first 6.2 close, each run’s record is filed undersdlc-studio/reports/runs/beside its report: commit both.
| Changed in 6.2 | Do instead |
|---|---|
critic.py brief can refuse an unchecked unit: review.author_self_check ships as report, and set to block the brief exits 2 until a self-check matching the unit’s Affects is recorded |
record the self-check with critic.py self-check record before you brief, or keep report until your builders do |
| an amended Sprint Goal carries every seat’s verdict forward, where 6.1 carried only the requesting seat’s | a seat that wants to judge the new wording answers rereview: yes; record a --material change to have every seat judge it afresh |
sprint.py close records a run more than one and a half times its cost baseline as a cost known issue, and retro.py validate refuses its retro until a ## Cost section holds a bullet |
write the cause under ## Cost, and set cost.baseline_per_point to your own figure, or to off |
critic.py brief --tier light no longer carries the files’ history or the two mutation practices |
brief at --tier full for a unit that needs them, and raise review.brief_diff_lines for a longer diff |
the project lessons log is committed, at sdlc-studio/retros/LESSONS.md |
commit the moved log, and merge two machines’ logs by hand when the command names both |
lessons.py summary refuses to drop a lesson the committed digest lists and the log lacks |
run a lessons command on the machine that holds the 6.1 log, commit the moved log, and pull it before you close anywhere else |
lessons.py revalidate --extend with no --reason is refused |
pass --reason saying why the lesson still holds |
sprint.py plan --write refuses, in another clone, while a closed run’s record awaits a signature |
commit the record with the report, and sign from any clone with sprint.py sign --report <id> |
sprint.py sign refuses a page that no longer re-derives to what the close filed |
log rulings before sprint.py close; after a late one, commit it and close again before you sign |
sprint.py sign leaves a ruled carried unit where it is |
take it up in a later run; to change it after the seal, sprint.py reopen the run first |
a total given with sprint.py lane return --tokens N is not added to the run’s actual where the meter reads the builder’s transcript |
rely on the meter |
| token figures are on a new basis: each assistant message counted once, subagent transcripts added | compare runs on the new Priced/pt column |
a story minted with no --persona, in a project with two or more Primaries, follows its Affects |
pass --persona to choose |
doc_freshness.py --format json gives census as a list |
read each document’s entry from the list |
Release 6.2.0 says what else changed.
From 6.0 to 6.1
Section titled “From 6.0 to 6.1”6.1 retires the handoff writers and one config key, so a 6.0 project takes three steps: reinstall, then run migrate and migrate --apply in each project. From 6.0, install 6.4.0 with the command under From 6.3 to 6.4 and take each newer section’s changes too; to stop at 6.1.0, pin it with curl -fsSL https://raw.githubusercontent.com/DarrenBenson/sdlc-studio/main/install.sh | SDLC_STUDIO_REQUIRE_CHECKSUM=1 bash -s -- --version v6.1.0.
/sdlc-studio migrate # a dry run: lists what it would change, writes nothing/sdlc-studio migrate --apply # removes review.policy, restamps the project version- Reinstall. Since 6.1 a plain
install.shorinstall.ps1fetches the latest verified release; the pinned command makes the checksum mandatory. Pass--version mainfor the moving branch. migrateis needed.migrate --applyremovesreview.policyfromsdlc-studio/.config.yaml, the one key 6.1 retires, keeping every other byte. Every project now carries a unit whose REJECT stands at the review cap (review.max_rounds), filing its findings as a bug.- What it names, and what it cannot see. Both runs name each line of your markdown docs that uses a retired handoff command, with what replaced it; in the root
AGENTS.mdandCLAUDE.mdthey name onlyhandoff.py generate. Neither reads your CI files or scripts, so search those yourself: a CI job that runsgate.py --require-handoffis refused by the gate, not named bymigrate.
| Retired or changed in 6.1 | Use instead |
|---|---|
handoff.py generate, artifact.py new --type handoff |
the signed sprint report hands over the remaining work: sprint.py sign seals it, and sprint.py plan --worklist RPTxxxx plans its open items as the next run |
gate.py --require-handoff |
nothing: the signed report is the run’s hand-over, and the close’s gate runs without it |
review.policy (key) |
nothing to choose; migrate --apply removes it |
a plain install tracking main |
a plain install takes the latest published release; --version main (-Version main for install.ps1) keeps the moving branch |
--target copilot writing the current directory’s .github/skills |
it writes ~/.agents/skills, the folder Copilot CLI reads; --local still writes the repository’s .github/skills |
the release gate’s revert-check lane |
a tag runs release-rehearsal and module-alone beside the full suite; verify_ac.py revert-check --unit <id> stays for one unit |
validate.py check outside a workspace, at exit 0 |
it exits 1 where there is no sdlc-studio/ workspace, and says so |
The HO files already in sdlc-studio/handoffs/ stay readable: they resolve by id, reconcile cleanly and are never rewritten, and handoff.py show still prints the remaining work without writing anything. Release 6.1.0 says what else changed.
From v5 to v6
Section titled “From v5 to v6”/sdlc-studio migrate # a dry run: what it would change/sdlc-studio migrate --apply # carry the project acrossThat is the upgrade, once the v6 skill is installed: re-run the installer, or /sdlc-studio skill-update, which offers the latest published release. Then run migrate in each project.
migrate --apply removes every retired .config.yaml key with its children, keeping every other byte, strips the two retired [check:] tags from the Definition of Ready and Done while keeping each criterion as a human-judged line, and restamps the project version. Three things it leaves to you, and names:
- Instruction files. Each
AGENTS.md,CLAUDE.md, DoR or DoD line naming a retired key or verb is reported by file and line, never rewritten. Edit those by judgement. - Your own scripts and CI.
migratecannot see them. Search them for each verb and flag in the CHANGELOG’s 6.0.0 Breaking inventory; the retiredplan_review.py,repair_plan.pyandvalidate.py warning-ratchetare not reported bymigrateat all. - The frozen review records under
sdlc-studio/reviews/are listed as history and left as written. Nothing needs deleting.
What v6 removed, and what it kept
Section titled “What v6 removed, and what it kept”v5 had grown ceremony around every unit: a plan review before code, a test plan, registered mutants for each repair, a written repair design after a REJECT, an evidence row, a batch review, and a sign-off per unit. v6 removes that stack and keeps what catches defects - acceptance criteria that run, and a review by someone other than the author.
The loop, as it runs now:
- A Sprint Goal of 20 words or fewer, traced to an outcome or a persona with
sprint plan --serves. The seats’ read of the goal is advice printed with the plan; it no longer stops it. - One independent reviewer per unit, briefed with
critic.py briefand recorded withcritic.py record, in at most two rounds. A unit still rejected at the cap is carried as a known issue, not reviewed a third time. - One verdict ledger.
critic.py recorddecides whether a unit was reviewed, and every reader - conformance, the close, the signature, the report - decides from it. - Close once, sign once.
sprint closeruns in one pass and files a one-page report that states every known issue.sprint.py sign --report RPTxxxx --principal "<name>"seals it, once per run. - A unit closes on its criteria. No test plan, plan review or registered mutant is asked for.
mutation.py runstill measures a suite on demand, and line coverage runs only when a project opts in.
What you will meet
Section titled “What you will meet”Each retired verb and flag is refused by name - exit 2, the reason and the replacement printed, nothing written - or meets argparse’s usage error. The ones most likely to be in your fingers or your scripts:
| Before (v5) | In v6 |
|---|---|
critic.py signoff, and signing through the close |
sprint close once, then sprint.py sign --report RPTxxxx --principal "<name>" once |
critic.py evidence, critic.py sprint-review, the batch-review verb |
critic.py record, one delivery verdict per unit |
critic.py repair |
a round-two critic.py record from the same reviewer, or carry the unit at the cap |
mutation.py register, retract, retractions, audit |
nothing to record; mutation.py run --story <id> measures on demand |
plan_review.py, verify_ac.py testplan |
nothing; a unit’s criteria and Verify: selectors are its plan |
| the separate close pre-flight verb | sprint.py close --retro RETROxxxx --dry-run |
sprint plan --override-goal-review |
drop it; the goal read is advice |
Config keys that changed:
| Key | In v6 |
|---|---|
review.test_plan_after, review.signoff, review.mutation_evidence, review.line_coverage_after, the plan_review block and the other retired review cutoffs |
read by nothing; migrate --apply removes them |
review.line_coverage |
default now off. Set report or block to keep measuring |
triage.low_consolidation |
default now false: a Low finding mints its own bug. Set true to keep consolidating |
The full inventory - every retired verb, flag, config key, check id and gate lane, each with its migration - is the 6.0.0 Breaking section of the CHANGELOG.
From the human-driven era (v1 to v4)
Section titled “From the human-driven era (v1 to v4)”If you have used SDLC Studio since the early, mostly human-driven days, the tool has grown a lot of discipline. The same migrate does the mechanical part: it reviews every artefact, applies the deterministic set - conventions, version, sizing - and reports the judgement calls with the command that fixes each.
What is new to learn:
- The two-backlog model. The single biggest shift: a request (CR/RFC) is not work until
refinesizes it into delivery units. - Sizing is compulsory. Delivery units carry points (stories and bugs) or a T-shirt size (CRs, RFCs, epics).
sprint planrefuses a unit with noAffectsorPoints:- and that gate is on by default, so it fires on the first plan over an old backlog. Groom the units you are about to plan, or recordsprint.breakdown: judgementas a deliberate decision. - The sprint. A deliberate batch driven to a goal, each unit reviewed independently, closed once and signed once.
The two-backlog gates are the deliberate exception: off until you set two_backlog.enforce: true in .config.yaml, after refine-ing the accepted requests into sized delivery work. The sizing migration only adds a Size: line and the workflow is one config line, so that part of the upgrade is reversible.
The numbering question
Section titled “The numbering question”New projects mint collision-free ULIDs (US-01JQK3F8) so parallel agents never fight over sequential ids. An existing project is asked the numbering question explicitly on upgrade, with three supported answers - migrate everything, adopt forward-only, or stay sequential - and it is never auto-flipped.
Where to next
Section titled “Where to next”- Review and close - the one review per unit, the close and the signature, in detail.
- Configuration - every key v6 reads.
- Command reference - the catalogue as it ships.