Repository navigation
v0.5.0
·
49 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
- A person can run the whole loop from Claude Desktop's Code tab, which has no terminal. The
plugin ships/sdlc:approve,/sdlc:unfreeze,/sdlc:ack,/sdlc:remap,/sdlc:releaseand
/sdlc:assign(forsdlc staffing assign), with/sdlc:doctorand/sdlc:initbeside them. The
hook runs a slash command when the person types it and refuses it when another Claude Code
session typed it.docs/claude-desktop.mdsays how to set it up. Breaking:approve,
unfreeze,ack,remap,release,parallelandstaffing assignnow refuse with the new
SDLC-E0079when run inside a Claude Code session, whether from a!line or the model's
shell, and every refusal that sent a person to a terminal now names the slash command first. - A project that keeps its instructions in
AGENTS.mdcan run the loop without aCLAUDE.md.
sdlc initappends the contract toAGENTS.mdwhere that is the only instruction file, and
sdlc doctornames the file that holds the contract and reports a layout Claude Code would not
read: aCLAUDE.mdorCLAUDE.local.mdthat does not import anAGENTS.md-only contract, or
project instructions turned off in the person's settings. Breaking:AGENTS.mdand
CLAUDE.local.mdare now held likeCLAUDE.md, in any case and at any depth, from the file
tools and the shell, and so is aCLAUDE.mdbelow the project root. A.agentsdirectory and
~/.agentsare held like.claudeand~/.claude. A write to.agents,~/.agentsor a whole
home that holds no checkout is refused asagents-config-is-the-persons, and a shell write to
an instruction file in a directory above the project asinstructions-above-the-project; some
refusals that were released change rule id.docs/agents.mdis nowdocs/the-agents.md. - A story's change to
CODEMAP.mdno longer collides with another story's. The bookkeeper stores
its change as whole named sections withsdlc codemap write, andsdlc stopapplies them to
CODEMAP.mdas the landing left it on trunk, in a commit of its own that the gate record names
(codemap_commit). A map step that cannot be made leaves the landing standing: the stop exits 0
with the warningSDLC-E0076, the change is kept under the git directory, and later commands
say so until a person runssdlc remap <ID> [--replace | --drop].SDLC-E0077refuses a remap
for a story with nothing waiting, andSDLC-E0078refuses a set of sections that was not sent as
asked.sdlc statusnames each landed story whose change is waiting. Breaking: whatsdlc stop
prints changes (a map commit line or theSDLC-E0076warning, andcodemap_commitor
codemap_keptin its--json), and the bookkeeper no longer commitsCODEMAP.mdon the
story's branch. sdlc stoplands a finished story on a trunk that has moved, without a rebase by hand. It puts
the story onto trunk itself, by a rebase that runs nothing the repository configures, behind one
landing lock for the project, and runs the project's commands on the new tree before trunk
moves. A test file that is byte for byte trunk's, where trunk changed it since the story's cut,
no longer counts against the freeze. Reviews and the approval stand for the tip the stop's own
replay made, where the change is the same line for line. A conflict isSDLC-E0075and a
person's, with the worktree left as it was. Breaking:sdlc stopno longer answers
SDLC-E0054for a trunk that only moved forward, and the gate record gainstrunk_testsand
replay.- A story whose commits add an unresolved conflict's markers is refused.
sdlc stopand the
commit gate scan the story's net change and refuse withSDLC-E0080when it adds a whole set of
markers at column 0, naming each file and the line of each marker.
paths.conflict_markers_intendedlists the paths where markers are meant to be, andsdlc doctorprints that list, ornone, on its configuration check. Breaking:sdlc doctoroutput
gains that line, and a stop or commit gate that passed such a story before now exits 1. sdlc initexplains every setting in theconfig.jsonit writes: a comment block above each
of the twelve top-level settings, as a key named_plus the setting's name, saying what it
controls, what changing it costs and wheredocs/configuration.mddescribes it. Values are
unchanged. The_commandsblock replaces_commands_doc.sdlc doctorreports a configured command the hook may refuse, by putting each one to the
hook's own classifier, naming the command's key and the rule and pointing at the rule's section
of the enforcement guide. Breaking:sdlc doctorexits 1 on such a command, andsdlc initnow
writes coverage commands for Go and Python that keep the profile in a temporary file removed
when the shell exits, instead of under.sdlc/stateor as.coveragein the working
directory.sdlc statusnames the story that is landing, since when and its process, and each stop waiting
to land;--jsongainslandingandwaiting_to_land. Breaking:sdlc statusoutput changes.sdlc gatesays which later gates a recorded gate reopened, as areopenedline and a
reopenedarray in--json, the keysdlc unfreezealready uses. Output is unchanged when
nothing is reopened. Breaking: the new line and key.
Changed
- Breaking: a stop and a commit gate hold a story to the commits the commit gate recorded. In a
tier that waits for a person, a commit reworded, squashed or reordered after the commit gate,
with the approved tree, now exits 1 withSDLC-E0037where it landed before.sdlc approve
records the story branch's tip on the answer and prints it, so a person's answer clears the
refusal for the commits as they stand.gate-record.jsongains an optionalcommiton an
approval and acommit_recordedevent. - Breaking: a failure that reaches
loop.max_rework_roundsorloop.max_review_rounds, from
sdlc gate <gate> failorsdlc review add <gate> <role> block, is handed over all or nothing.
If the hand-over cannot be made, the failure is no longer recorded, the refusal adds to its
whyandfixthat running the same command again is safe, and retries no longer count one
failure two or three times. Exit codes,SDLC-Ecodes and on-disk formats are unchanged. A
review file that exists but cannot be read is refused withSDLC-E0005. If a write cannot be
put back, the refusal says the story is only partly handed over and not to run the command again
untilsdlc statushas been read.sdlc escalategets the same guarantee. - Breaking: the story's record gains a top-level
forkskey, a list of the story's own commits,
so that trunk pointed at one of the story's commits no longer makes a test file added after the
freeze count as trunk's. A record without a usable list takes no test file as trunk's: a story
in flight is refused withSDLC-E0043orSDLC-E0025where trunk added or changed a test file
since its cut, until a person unfreezes and freezes again. - Breaking:
trunk_testsin a story's record is filled at the first gate that accepts a test
file as trunk's, not only once the commit gate has passed, andsdlc unfreezeand a reopened
commit gate empty it. The record holds fewertrunk_testsevents, and within one command the
event followsgates_reopened. - Breaking: once trunk has moved, the commit gate measures from the trunk commit the story sits
on, so the range it prints and records,committed on story/<ID> in <start>..<end>, holds only
the story's own commits, and the loop-files warning names a file only when one of them changes
it. The refusal texts ofSDLC-E0054, ofSDLC-E0006while a landing is in progress, and of a
stop that finds trunk moved under its landing now say to stop again up to three times before
escalating. A story brought onto trunk by hand from a later commit is no longer recorded as
landed with nothing run:sdlc stopruns the configured commands first, and a failure there is
SDLC-E0055. - Breaking:
sdlc stopsays when a dead stop's landing lock is taken. A stop killed while it
landed no longer leaves a story that needs lock directories deleted by hand: the waiting line
says the holder is not running on this machine and when its lock can be taken (two minutes after
its last refresh), the story's own landing lock left by a process that is not running is taken
at once while a stop holds the landing lock, and a running holder is never taken from. The fixes
ofSDLC-E0006and the landing lock's refusals no longer send anyone to delete a lock whose
holder runs, andsdlc remaplabels the landing lock as a remap. The fix ofSDLC-E0037says
what a person types and, after it, what an assistant does. Refusal text andsdlc statusoutput
change. - Breaking: the stop names the driver key it refuses. A merge or diff driver whose name holds an
equals sign,{sdlc-private}or a byte that is not UTF-8 is refused underSDLC-E0055in one
wording that names the keys and says to rename or remove the driver. A stop now refuses a
repository whose diff driver has such a name, where it landed before. The text of this
SDLC-E0055refusal changes. - Breaking: the
whyofSDLC-E0021when git gives no error message, and ofSDLC-E0005for a
story's plan or gate record, has new wording that names the git subcommand or the file that
failed. The codes, and when either failure happens, are unchanged. - Breaking: the hook lets through commands that only name a protected path, and says more where it
cannot place one. A message, note, reason or reject text handed tosdlc, an exclusion pathspec
undergit diff,log,show,status,ls-files,grep,diff-tree,diff-indexor
diff-files, and a request forsdlchelp are no longer refused for naming one. Where the hook
is not sure, the refusal stands and now says that it cannot tell, why, and how to write the
command so that it can. The project manager is refused a help flag beside a substitution or a
variable. - Breaking: the hook gives one answer for a path outside the repository. A shell command on paths
it can place outside the repository goes through, so removing a copy of the tests in a scratch
directory is no longer refused as touching the frozen tests. A plain copy or move is read by
where it lands, so one that lands on a protected path of the repository is refused, as is a plain
copy or move of an outside contract or backlog file onto the repository directory. The refusals
of the three test rules carry new words in their reason and way on.docs/enforcement.mdlists
the commands the hook reads whole and the known limits. - The documentation is reorganised around what a reader needs first. npm is the quick install,
the guides start from the job and putdoctorafter the first commit, the commands a person
types come first with each refusal's code named, the configuration reference has a full
contents list, every enforcement rule can be found, each troubleshooting entry says what went
wrong and what to run, anddocs/enforcement.mdsays how to let unattended sessions use one
more command. - The hook decides a long command sooner: it reads a command's words once for all its rules and
passes over the words that name no place it holds. - The binary is built with Go 1.27.3, which fixes GO-2026-6604 in the standard library's
os
package, reachable from the binary on Go 1.27.1. The workflows use Node 26.12.1, and the
tooling moves to golangci-lint 2.14.0, Task 3.54.0, GoReleaser 2.18.3, syft 1.55.0 and
markdownlint-cli2 0.24.0.golang.org/x/textis v0.43.0. - For contributors, the test suite runs much of itself in parallel and from copies of prepared
repositories, the packages with no goroutines run without-race,./task check-linuxruns
the Go tests on Linux in Docker, and./task testprints each package's time and the slowest
tests. Tests that failed only on Windows are fixed.
Fixed
sdlc doctorno longer splits a configured command inside quotes. Anawkorsedscript in
quotes was read as further commands, so a working command with
awk '/^toolchain /{print $2; exit}'was reported as needing a program calledexit}'and
doctorexited 1. A command substitution is still searched, also inside double quotes.- A refusal at a failure limit that could not be handed over said twice that nothing was
recorded, and theSDLC-E0006introduction indocs/troubleshooting.mdsaid nothing is left
half-finished without naming the one state in which a story is. Each now says it once and names
that state. - A git command that failed without writing to stderr was explained as
git ls-files did not finish, whichever subcommand ran; the reason now names the subcommand that ran. A plan or a
gate record that could not be opened was explained with the freeze's sentence about test files
and now says which file could not be opened and what to check. - The npm installer read a line of
checksums.txtin quadratic time when it held a long run of
spaces. It now reads the line without backtracking, with the same result for every line, and
keeps the unpacked binary private until it is installed. install.shfinishes the install whenSHELLis unset, as in a container or a bare CI step,
where it ended withSHELL: parameter not setand exit 2 after the binary was in place.- On Windows, the launcher run from Git Bash fetches the arm64 build on a Windows arm64 machine,
and checks a fetched release whose path holds backslashes. Before, it asked for the amd64
archive, then compared a backslash-prefixed checksum with the pin and installed nothing. The
launcher andinstall.shnow hash the archive from standard input. - On Windows,
sdlcsays that the map sections cannot be listed when a file is in the way of
the directory, where it listed none. - On Windows, a
Microsoftdirectory that a program leaves at the top of the cache directory is
no longer counted among the leftovers of an installer test run.
Removed
- darwin/amd64 is no longer built for the release or run in the install jobs. Both installers
answer a Mac that is not Apple silicon as they answer any machine there is no build for, and a
shell under Rosetta still gets the arm64 build.
Security
- Breaking: the hook refuses a call it could not check in time. Claude Code stops a
PreToolUse
hook that runs past the timeout inplugin/hooks/hooks.jsonand lets the call go ahead, so a
call the hook had not finished checking ran unchecked. The hook now keeps a deadline of 25
seconds, five short of that timeout, and a call it has not decided by then is refused under the
rule namenot-checked-in-time, in words that say it ran out of time.SDLC_HOOK_DEADLINE_MS
can shorten the deadline and cannot lengthen it or turn it off. A hook stopped before it has
learnt whether it checks the call still lets the call through; the docs name the limit. - Breaking: the hook bounds the symbolic links it follows. A word that goes through more than 64
links is refused underSDLC-E0081, and a command whose words spend more than 512 links in all
underSDLC-E0082, instead of the hook walking every link until Claude Code's time ran out.
SDLC-E0083closes a hole where a relative write through a link into the loop's state, whose
full path was longer than the system looks up, read as a harmless name and was allowed. On
Windows, which follows 63 links in one lookup, a word or a chain to nothing past that limit is
held to the same bound, and the links are charged to the budget once. The hook's debug log now
names, for each decision, the candidate it read, how it read it and the rule that decided, with
no command text. - Breaking: the hook closes more shell spellings that reached loop state, frozen tests, protected
paths and instruction files where the plain spelling is refused. It refuses commands the last
release allowed: a glob removal after acdit cannot place (cd "$D" && rm -f *), copies or
moves above the project from a source it cannot read, and extractions it cannot read in full.
Compressors, decompressors, extractors,shufandsplitare judged by what they write and
where; a**/..or symlink climb, a dotted project root,.agents/..and an option bundle
ending intare judged where they land; an extraction whose options come fromUNZIP,
UNZIPOPTorTAR_OPTIONS, or that renames members with-j, is refused as
archive-members-unknown. New rulesdirectory-entries-unknownandarchive-members-unknown;
the instructions-above-the-project refusal appends a clause naming an unread source. - Breaking: the hook follows a
cdthroughCDPATHas bash and zsh do, so acdthat reaches
the loop's own record through it is placed there. A whole-word mention ofCDPATHthe hook
cannot read refuses the relative writes after it, acdthat could leave the shell in more
than 16 places is treated as able to land anywhere, and acdinto the
home directory is unplaced, socd ~/src && tar -xzfand similar relative writes after it are
refused where they were allowed. A removal's refusal names its operand rather than an option
such as-rf. - The hook also refuses writes to the person's Claude Code configuration, forged hook payloads,
and the macOS/System/Volumes/Dataand differently-cased spellings of protected paths. - Breaking: a word that
xargsor GNUparallel, or a program written on the line, is fed is
read as the shell hands it over, so a path to the person's configuration, the project's held
paths, the loop's state or a frozen test is refused in any spelling the shell expands to it.
On Windows a pipedcporlnwhose sources are given with a drive is refused where it lands
in a held place.
Install
curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/bbsnly/sdlc/v0.5.0/install.sh | shWindows PowerShell:
irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.5.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.