Repository navigation
v0.3.0
·
238 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
- A repository with more than one checkout — a worktree linked to the main one — now keeps the
backlog, the story records and the claim on who is working a story in the main checkout alone,
found from git's own files rather than guessed from wherever a command happens to run. Two
checkouts of one repository can no longer each start the same story, andstatus,story list,
loganddoctorreport for the whole repository, naming the checkout that holds a story where
more than one exists. A plainsdlc startpasses over a story another checkout holds; naming the
story refuses it instead, pointing at the checkout that holds it (SDLC-E0050). When the holding
checkout no longer exists,sdlc startandsdlc approverefuse withSDLC-E0051and point at
the newsdlc release <ID> --reason "...", which the hook refuses from a tool call so only a
person runs it. A bare repository refuses every command that needs the backlog (SDLC-E0052). A
worktree made before this release keeps its own, now-diverged, copy of the backlog and the story
records until someone reconciles them by hand. sdlc starton a new story no longer works it in the checkout you already have open: it cuts a
branch from trunk, makes a worktree for it under.sdlc/worktrees/<ID>, runs the project's smoke
check there, and claims the story for that worktree.start's--jsongainsworktree,branch
andmain, and its text output a line saying where the session carries on. Setting
git.worktreestofalsekeeps the single-checkout behaviour of 0.2.0. A start that cannot make
its worktree is refused withSDLC-E0053, taking back whatever it made and naming what stands in
the way; where a worktree in the way holds commits trunk lacks, the refusal says how to look at
them and how to keep them on a branch, rather than suggesting they be thrown away. The shell
policy now also refusesgit worktreecommands and worktree-related git settings run outside the
tool, a git command whose subcommand it cannot read, and the removal of a checkout or of a
directory holding one; it reads more kinds of quoting, more wrappers and more ways of setting
git's working directory than it did in 0.2.0, so a command that went unread before may now be
refused.sdlc doctoralso reports git older than 2.17, a trunk with no committed configuration,
and a story worktree that no checkout holds.sdlc stop, run in a finished story's own worktree, now lands it on trunk instead of leaving its
commits on the story branch for someone to merge by hand. It fast-forwards trunk to the reviewed
commits, refusing rather than writing anything if trunk has moved since the story's worktree was
cut (SDLC-E0054) or if the project's test and quality commands fail on the landed tree after a
rebase or a change to the reviewed work (SDLC-E0055), and it updates every other checkout that
has trunk checked out. A landed range may not touch.sdlc/, the backlog file, or anything under
the rootCODEMAP.mdbesides a plain file of that name, and uncommitted work in a checkout the
landing has to write to is refused rather than overwritten (SDLC-E0056). A landed story's
worktree, branch and claim are removed; a worktree still holding uncommitted work is kept and
named instead. The story's record gainscut,change,change_baseandlanding, and
sdlc logreports the range that reached trunk. Once a story is held, only a plain rebase onto
trunk, and its abort, pass through the shell policy after the commit gate; moving a branch is
refused. Commands the landing runs are grouped so that stopping the landing stops them too (a job
object on Windows).sdlc doctoralso warns when trunk itself tracks the loop's own state.
Changed
- The example story
sdlc initwrites now carries every field the schema allows — a criterion's
EARS pattern, a decision, andcreated/updatedtimestamps — rather than leaving someone
learning the backlog format to find them in the schema or the guides. - On Windows, a message that names a file or directory now writes the path with forward slashes
and each separator once, as every other platform already did; quoting the path used to double
every backslash. A path's own quotes and newlines are still escaped. Anything that matches the
old Windows text of a message needs updating.
Removed
- The limit on how large a change could be (
thresholds.diff_size_cap) before implementation,
verification or code review would refuse it is gone outright, not merely switched off: the
setting, the check,SDLC-E0042and the hand-over it drove are deleted, along with their tests
and every place the docs and the runbook described them. It never caught a problem worth its
cost, counted frozen acceptance tests as part of a change before any code existed, and pushed
towards splitting work that needed to stay whole. Nobody should expect anything to replace it as
a backstop against an oversized change. A configuration written by an older release still loads;
sdlc doctornamesthresholds.diff_size_capamong the settings it no longer recognises until
the line is deleted. TheSDLC-E0042heading in the troubleshooting page stays, marked retired,
and its number is never reused.
Fixed
- The commit gate recorded a story's range of landed commits as running from
HEADat its first
code-review pass toHEADat its lastcommitpass, so a commit a person made on trunk in
between, or straight after, was credited to the story, andsdlc logand trunk review read that
range as the story's own work. The hook now writes downHEADfor every allowed command that
commits in this project's repository, and the commit gate takes a range only when the commits it
watched are exactly the commits between the oldest one's parent and the newest; otherwise it
records no range (range_unknown) rather than naming commits that are not the story's, and a
HEADthat has since moved past the range's end is recorded ashead_past_commit. An observation
is written only when a command's own words place it in this repository; acd, aGIT_DIR
assignment, or a repository the words do not identify as this one writes nothing, rather than
credit the wrong checkout.sdlc gate commit pass --notenow refuses a note naming a commit the
range does not hold (SDLC-E0049). The range a story with watched commits gets now differs from
what 0.2.0 recorded, and the record, the gate's JSON andsdlc log --jsongainrange_unknown
andhead_past_commit; with nothing watched, output is unchanged. - A command could wrap a commit, an approval, an unfreeze, or a write to the frozen tests in a
PowerShell here-string and have the shell policy strip it out before reading what the command
actually ran, because it read a here-string the same way regardless of which shell was going to
run it. Every command is now read twice — once as the released tool reads it and once as the
shell that will run it would — and a refusal from either reading refuses the command, so nothing
the shell policy allowed before this release becomes newly allowed. awk,gawkandsedwrite a file from inside their own program text, so handing them their
program somewhere other than their first argument could carry a write to a frozen test past the
check that catches in-place editing. They are now refused when a command names a frozen test and
was handed its program anywhere other than its first argument; the scan reads every word after
the tool's name rather than stopping at the first one, so a field separator or a variable
assignment can no longer carry the program argument past it unseen. Naming a frozen test plainly
as the file one of these tools is told to read is still allowed.- On Windows, a path that went through a link and then
..could reach the loop's own files or
the frozen tests without the hook seeing it, because the hook followed the link first, the way
Git Bash does, while Windows takes the..first. The hook now reads such a path both ways and
refuses the write when either reading lands somewhere protected. It follows at most 64 links in
one path, more than any of the operating systems it runs on follows in one lookup, and reads the
rest of the path by name. sdlc logandsdlc doctorrefuse a file where the.sdlc/storiesdirectory should be with
SDLC-E0005on every platform, saying the entry is not a directory and what to move aside; on
Windows they read it as no stories at all.sdlc startrefuses a directory at
.sdlc/worktrees/.gitignorewithSDLC-E0053, saying it is not a file, where on Windows the
refusal said only that the file could not be written.
Install
curl -fsSL https://raw.githubusercontent.com/bbsnly/sdlc/v0.3.0/install.sh | shWindows PowerShell:
irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.3.0/install.ps1 | iexThen, in Claude Code:
/plugin marketplace add bbsnly/sdlc
/plugin install sdlc@sdlc
Those URLs are pinned to this tag, so they are the scripts this release was
published with. Both are attached below and listed in checksums.txt,
along with every archive, and the install scripts verify against it before
putting anything on your PATH.