Repository navigation
v0.1.0
The first release: the whole loop, end to end, on macOS, Linux and Windows.
The loop
- Nine gates, worked one story at a time: definition of ready, analysis,
frozen tests, plan, design review, implementation, verification, code
review, and the commit. A gate cannot be recorded before the gates in
front of it, and every gate that produces a document refuses to pass
without it. - Acceptance tests are frozen by content before a line of implementation is
written.sdlc freezerecords a hash per test file; after that the
implementer cannot edit a test, cannot add a test, and cannot pass the
verification gate on tests that changed. The implementer writes no test
file at all, before the freeze or after it, through the file tools or
through the shell. A test file the freeze does not hold stops
tests_frozen,plan,implementation,verificationandcommit; with
freeze.allow_new_test_fileson, the test author can add one and
sdlc freezeadds it to the freeze.sdlc unfreeze --reasonis the way
out: it is on the record, and it sends the story back to Gate 3. The freeze
belongs to the iteration: it
survivessdlc stopand a new session, and is lifted when the story
finishes, so the next story freezes its own tests. - A question the loop should not answer for itself goes to a person.
sdlc escalateputs it on the story's record and ends the iteration, and
sdlc startrefuses the story until somebody answers withsdlc approve,
or sends the work back with--reject. The hook refusessdlc approvefrom
a tool call, because an agent that could run it would be approving its own
work. A story in a risk tierhuman_gates.pre_commit_pause_tiersnames —
high, by default — cannot be committed until a person has approved the
work as it stands; a change made after the approval needs approving again. human_gates.dor_advocate_checkhas the human advocate read the story at
Gate 1, andsdlc gate dor passwaits for its review. It is advisory there
as everywhere, and it goes stale if the story changes after it.- A session cannot quietly end its turn mid-story. A
Stophook sends the stop
back with what to do instead, and afterloop.max_stop_blocksstops in a row
with nothing recorded, hands the story to a person. A count in
.sdlc/state/stop-blocks.jsonbelow zero starts again rather than putting
the hand-over off indefinitely. commands.fmt_fileruns on each file a tool writes while a story is being
worked on, and a formatter that fails is reported to the session. The
commandssdlc initwrites for it name the files their formatter
understands.- A new story starts only from a healthy trunk.
sdlc startrefuses another
branch, uncommitted work that belongs to no story, a trunk behindorigin
whengit.remoteis on, and a trunk that failscommands.smoke. A story
picked up again is not held to it. - A change bigger than
thresholds.diff_size_capcannot pass implementation,
verification or code review. Lines are counted the waygit diff --numstat
counts them, and the loop's own files and the backlog are not counted. - A block from perf stops the gate, as its role always said it would when a
change breaks a stated performance budget. It still never has to approve,
andsdlc review listshows it ason budget. - A gate that keeps failing and a reviewer that keeps blocking go to a person.
Afterloop.max_rework_roundsfailures of one gate, or
loop.max_review_roundsblocks from one reviewer, the command that recorded
the last one hands the story over, counting again once the person answers. sdlc costkeeps what a story spent beside everything else it did.
sdlc cost add --usdrecords an amount,--storynames the story once a
headless session is over,sdlc statusreports the running total, and
crossing one ofbudget.alert_fractionssays so once, on standard error, as
does using up the budget. Nothing blocks: a story stopped between gates
costs more than the overspend. This is whatbudget.per_story_usdwas for -- it was
written into every project's configuration and read by nothing.- The freeze holds against shell commands. Every rule protecting it applied to
the file-writing tools only, soWriteto a frozen test was refused and
echo cheat > x_test.gowas not. Reading one is still never refused. - The freeze covers what a test depends on, not only the test file. A golden
file, a jest snapshot, a mock and theconftest.pythat decides what a
pytest fixture returns each change whether a test passes without the test
being touched, and each was outside the freeze.sdlc initnow names the
usual ones per stack, and a bare directory name inpaths.tests.dirs
matches such a directory at any depth rather than only at the root. - The commit gate asks the verifier and the code reviewer about the tree as
it is now. Their approvals were checked when their own gates were recorded
and never again, so code added after the review and then committed reached
trunk unreviewed. - Enforcement holds from anywhere in the repository. A session started in a
subdirectory reports that directory, and the hook looked for the project's
configuration only there -- socd backend && claudeturned every rule off
without saying so.
A session opened above the repository is held too: a command names what it
acts on, and the hook looks for the project there, so
rm repo/internal/invoice_test.go,git -C repo commitand
cd repo && sdlc unfreezeare refused from above it as they are from inside.
sdlcstops looking for the repository whereGIT_CEILING_DIRECTORIESsays,
as git does, instead of finding one above it that git would not use, and
the hook stops looking for the project there too. - Path rules match the way the filesystem does. macOS and Windows are
case-insensitive, and.SDLC/state/active,.sdlc/Config.jsonand
claude.mdwere writable while the identically-named files were refused.
The test freeze held only the exact spelling, so a capital letter took it
off the file it was protecting. - Commands that change loop state take the project's lock first, so that the
reviewers a gate runs in parallel all land. Without it, five reviewers
approving at once left one verdict in the record and the other four
reported success and were discarded. - A lock is broken open only once the process holding it has stopped, not
merely because it is old, so a slow command keeps it. The stop guard takes
it too, and decides from what is recorded once it has it. A command killed
part-way through a write no longer leaves a temporary file that the commit
gate refuses as uncommitted work: the next command clears it.
On Windows, a holder that has exited counts as stopped even while another
program, such as a virus scan, still has it open.
The loop's own state is never written through a link that leads out of the
repository: with.sdlc/statecommitted as one, a clone had the stop hook
write its count into whatever directory the link named.
A reason a person gave for sending work back is quoted when the commit gate
reads it back to the assistant, so a committed one cannot end the refusal
and add a route that reads as sdlc's own.
A control character in a title, message, reason or name that sdlc prints is
written out as text instead of reaching the terminal, where an escape
sequence from a cloned backlog could retitle the window or rewrite what
was already shown.
A story id, status or name quoted in an error is escaped as well, so a quote
or a line break in one cannot end the quotation early.
A line break in text read back from the backlog or the loop's files -- a
title, a gate's status or note, a review's verdict, a question waiting for
a person, the freeze -- is written out too, so it cannot start a line that
reads as sdlc's own. - Reviews are recorded against the thing they reviewed. A design review is
stamped with the hash of the plan it read and a code review with the hash
of the tree it read, so a review of an older version of the work shows as
stale instead of counting. - A gate's documents are written through
sdlc artifact write, by the agent
whose gate it is. Nobody edits them in place, including the conversation
running the loop — which is what keeps each gate reviewing work it did not
shape. - Passing the last gate finishes the story: it becomes
doneand leaves the
backlog, so the nextsdlc starttakes the next story instead of reopening
it. That is read from the gate record rather than from the gate's name, so
recording a gate as failed afterwards puts the story back toin_progress
— which is the only way back into finished work, and says on the record why
it came back. - The retro agent writes the retro and the codebase map, and nothing else. It
has file-writing tools and had no write scope, so it could edit production
code while writing up what the story did. The seven reviewing roles are held
to their story directory as well, as a backstop: they are given no
file-writing tools, and a shell command is outside these rules, which
docs/enforcement.md now says instead of leaving it implied. - A story's record, reviews and documents go through the tool for every story
in the backlog, not only the one being worked on. While a story was open,
any agent — the implementer included — could rewrite a finished story's gate
record, its plan and its code review, and nothing refused it. The history
the loop keeps is only evidence if a later story cannot edit it. - Picking a story up again changes nothing.
sdlc starton a story already
under way stamped a fresh timestamp into the backlog, which is a tracked
file and therefore part of the tree the verifier and the Gate 7 reviewers
are stamped against — so resuming in a new session, which is how the loop
is meant to be used, sent five reviewers back to re-review work that had
not changed. - Naming a story to
sdlc startputs it ahead of the priority order and
nothing more. A story that is dropped, blocked or marked done, or that
waits on a dependency that is not done, is refused as it would have been
passed over, and a story whose status is not one the schema lists is
refused when the backlog is read, rather than silently never picked. So is
a backlog with two stories of one id, whatever their case: every lookup
found the first, so starting the second moved the first. A story id no
longer ends in a dot, which Windows drops, soA-1.wasA-1's directory
and starting it overwrote that story's record.
The command
sdlc init,status,story list,start,stop,gate,artifact,
review,freeze,unfreeze,escalate,approve,cost,doctorand
version. Every one of them takes--json, so a skill can read what a
person reads.
sdlc initnames trunk what the repository calls it: the branchorigin's
HEADnames, elsemainormaster, else the branch it is on. It wrote
maininto every project, and onmasterthe firstsdlc startwas
refused for not being on trunk.sdlc doctorchecks the repository, the configuration, the backlog, the
contract section, git, whether each configured command's program is
installed, and whether the hooks can find the binary at all. Every problem
it reports carries the command that fixes it.
SDLC_BINis checked the way the hooks read it, as a path: a bare name found
onPATHis one they pass over, and doctor now says so.- Error codes
SDLC-E0001throughSDLC-E0046, each with a heading in
the troubleshooting page.
Every error says what happened, why, and what to do about it.
The plugin
/sdlc:nextworks the current story through its gates, one at a time, until
it is committed or needs a person, and picks up where a session left off.- Eleven agents, one per role: researcher, sdet, implementer, architect,
security, red-team, perf, human-advocate, verifier, code-reviewer and
bookkeeper. None sets a permission mode, which Claude Code ignores in a
plugin's agent: how edits are approved is the session's setting. - A
PreToolUsehook that enforces the rules rather than asking for them. It
coversWrite,Edit,MultiEdit,NotebookEdit, and the tools that run a
command —Bash,PowerShellandMonitor: write scopes
per role, protected configuration and loop state, the test freeze, the
commit gate, and the shell routes around all of those. Every refusal names
the rule it applied and the sanctioned way to do the same thing. - The repository is its own marketplace, so installing the plugin is two
lines in Claude Code. npx skills add bbsnly/sdlcinstalls the runbook on its own, as a plain
Agent Skill, for any agent that reads them. It carries no binary, no agents
and no hook, so the skill checks for the tool and for the agents before it
does anything and says what to install if either is missing.- A protected path spelled with a letter that folds to ASCII at a different
length is still the protected path..ſdlc/state/active(a long s) is
.sdlc/state/activeto a case-insensitive filesystem, and the rules compared
it by byte offset, landed mid-character, and let the write through. - A Windows junction to a protected directory is that directory. Go has not
followed junctions since 1.23, and making one needs no privilege, so a
junction to.sdlcor.gitreached the freeze, the active story and the
git hooks under a name no rule knew. Paths are now resolved the way Windows
resolves them, andmklinkhas its arguments checked likeln. In Git Bash
cmd //c, the waycmd /chas to be written there, is read ascmd /c: the
doubled slash was taken for the command, and nothing behind it was checked. - A path in a shell command written with a doubled separator, or a
.between
two, is the path it names.rm .sdlc//state//active,rm .sdlc/./state/active
and Git Bash'sdel .sdlc\\state\\activereached the loop's own files on every
platform, because each was compared as it was spelled. ~+,~-and~2in a shell command are directories the shell knows, not
the user's home, and~nameis that user's home, which can be yours.
rm ~+/.sdlc/state/activewas read as a file outside the project, and so was
a project under~you/;git -C ~-was a commit in another repository, and
went past the commit gate.tar,rsync,unzip,cpio,scp,curlandwgetare read as writing
the paths they are given, and a short option's value glued to it, as in
-C.sdlcor-oCLAUDE.md, is read as that path.tar -xf e.tar -C .sdlc,
unzip -d .git/hooksandcurl -o CLAUDE.mdwrote past every rule. What
tar,rsyncandscponly read is not counted:tarwrites the archive
it creates, or where it extracts and the members it is asked for, and a copy
writes its destination, sorsync -a --exclude .sdlc ./ /tmp/snap/goes
through. A file copied into a directory lands there under its own name, so
cp /tmp/snap/CLAUDE.md .andscp host:proj/CLAUDE.md .write CLAUDE.md,
whilersync -a CLAUDE.md CLAUDE.md.bakwrites the backup. The value of an option written after the
destination, as in--info progress2, is not taken for
it. Whattar --remove-filesand
rsync --remove-source-filescopy they delete, and it is read as taken
away. tar reads the operands after-Cfrom the directory it names. A URL is not a path on this
machine:curlandwgetwrite their output, their logs, headers and
cookies, and a URL's last part only where it is saved under its own name, so
curl -fsSL https://example.com/CLAUDE.mdgoes through. A URL written
without its scheme is a URL all the same, and the value of an option such as
wget's-A '*.md'is not one.- A glob or a brace in a shell command names the files it matches.
rm .sdl?/state/active,rm -rf .sdlc/*,echo x > CLAUDE.{md,}and
rm internal/calc/add_tes?.goreached the loop's files, the protected paths
and the frozen tests under words no rule matched, and so did acdinto one:
cd .sdl? && rm state/active. So does whatfindpicks by-nameor
-pathfrom a directory that can reach the project:find . -name active -deleteandfind . -path '*state/tests.lock' -deleteremoved the loop's
record and the freeze. What find runs with-execcounts only when it is
not a program that just reads, sofind . -name '*.md' -exec wc -l {} +
goes through, and a frozen test it runs a writer on, found by name, is
refused. The file-fprint,-fprint0,-fprintfor-flsnames is
written. A protected path has to be
named, sorm -rf build/*goes through, and*does not match a leading dot,
as in the shell. - A quote or a backslash inside a word in a shell command is taken out, as the
shell takes it out, and a line continued with a backslash is one line.
rm '.sdlc'/state/active,rm .sd"lc"/state/active,rm .sd\lc/state/active
andrm $'.sdlc/state/active'reached the loop's files. A quoted or escaped
(,)or;is read as an argument:find . \( -name active \) -delete
was split before its-delete. - A command substitution written into a word is part of that word, and the
command inside it is still read.rm $(pwd)/.sdlc/state/activeand
rm `git rev-parse --show-toplevel`/.sdlc/config.jsonwere split into a
command calledrmand one called/.sdlc/state/active. - Removing or moving a directory is removing or moving the frozen tests in it.
rm -rf internal/calc,mv internal/calc /tmp,git checkout -- internal
andfind internal -deletetook a frozen test away without naming it. Putting
a file into the directory, or copying the directory, is still allowed, and so
is unstaging withgit restore --stagedorgit rm --cached, which leaves
the files where they are. A directory outside the project holds none of its
tests, whatever its name ends with:rm -rf /tmp/snap/internalgoes through. - Throwing away the work tree while a story is being worked on is refused.
rm -rf .,git clean -fd,git stash -u,git reset --hard,git switch -fandgit read-tree -u --resettook the loop's record and the frozen
tests, which are not committed until the story is, with them.git clean
given a directory, or run in one, cleans only there, and is refused only
where that holds a frozen test, the loop's record or a protected path. A
stash of the paths written after--,
git stash push -- docs/notes.md, takes only those, unless they still name
the whole tree: its top,:/, or only what to leave out,:!buildor
:(exclude)build, as they do forgit clean,git restoreand
git checkout, and..is read from where the command runs. A long
option cut short, as git takes it, is that option:git reset --ha. - A glob that names a directory holding a frozen test names that test:
rm -rf *andrm -rf internal/*took frozen tests away. The glob is read
where the command runs, socd dist && rm -rf *is still allowed. - The hook's warnings reach the session. They went to standard error, which
Claude Code sends to its debug log when a hook allows the call, so "nothing
is being enforced" was said to nobody. They now arrive as a system message,
and so does the launcher's "the sdlc binary was not found". - A test freeze that cannot be read no longer counts as no freeze. Corrupting
.sdlc/state/tests.lockmade every frozen test editable, quietly; until it
reads again, every test file is treated as frozen, whether the write comes
from a file tool or a shell command. The same goes for atests.lockthat
was deleted, or rewritten to name another story or none, while the story's
record still holds the freeze;sdlc doctornames it. - A gate record that is missing or will not parse no longer opens the commit
gate. Deleting.sdlc/stories/<id>/gate-record.jsonwas the way to commit
past every gate, without a word. The refusal names the file,sdlc doctor
reads it, andsdlc stopstill ends an iteration whose record is broken, so
there is always a way out. - A story id with
..in it is refused bysdlc startas well as by the hook.
The hook refusedA..1and enforced nothing for that iteration, while the
command had accepted it. - A crash in the hook tells the session. It exited non-zero with a
stopReason, and Claude Code reads neither in that case. name::$DATA, NTFS's other spelling of a file, is that file to every rule.- A freeze belongs to the story it was taken for. With a second story started,
sdlc freezesaid "already frozen" and pointed atsdlc unfreeze, which
then lifted the first story's freeze and logged it on the second story's
record.unfreezenow refuses another story's freeze,freezenames that
story instead, and marking a storydroppedreleases its freeze. - Lifting the freeze is a person's decision in fact. The runbook asked agents
not to runsdlc unfreeze, and nothing stopped one that did. The hook now
refuses it from any tool call, howeversdlcis reached, and every refusal
that used to suggest it says the person running the session lifts the
freeze from their own terminal. - Recording a gate again reopens every gate after it. After
plan failand a
newplan pass, the gates past the plan stayed passed, so the loop went on
to code review and never asked for a design review of the new plan. - The commit gate refuses a commit of work changed since it was reviewed. The
hook asked only whether the gates had passed, so code edited after the code
review was committed, andsdlc gate commit passfound the stale reviews only
afterwards. The tree is measured only forgit commit. CLAUDE.md,.claudeand.gitare protected from shell commands, as they
already were from the file tools.echo {} > .claude/settings.local.jsonwent
through during an iteration, and a settings file is where hooks are turned
off. A test now holds the shell rules to every path the file rules protect.- The backlog cannot be edited during an iteration, through the file tools or
the shell, whereverbacklog.pathputs it. The commit gate reads a story's
risk_tierthere, and an assistant that lowered it took away the person who
approves the commit. .sdlc/config.jsonis checked when it is read. Aversionnewer than this
release reads, abacklog.pathoutside the repository, and a negative limit,
threshold or budget are refused together withSDLC-E0045; each was accepted
and quietly did something else. A setting of the wrong type is named, rather
than valid JSON being called invalid, and a file saved with a byte order mark
reads.sdlc doctornames a setting it does not know, such as a misspelled one,
which was read as no setting at all while doctor called the configuration
fine. For a configuration that does not load, it names the settings at fault
and the fix for them, rather than suggestingsdlc init. So it does for a
backlog that is there and does not read:sdlc initis the fix only for one
that is missing.- A backlog saved with a byte order mark, as Windows PowerShell 5 saves one,
reads, like the configuration. It was refused as invalid JSON. Moving a story
keeps the mark. - The plugin's hooks run from a plugin directory with a space in its path, as
one under a home directory whose name has a space in it does. The unquoted
command split in two and failed, which Claude Code treats as a hook with
nothing to say, so every rule was off without a word. - A command after a lone
&meets the shell rules.true & git commitand
PowerShell's& git commitwere read as commands calledtrueand&, so
the commit gate and every rule on loop state let them through. - On Windows, a path rooted without a drive, such as
\repo\CLAUDE.md, is read
as the file it names. It was joined onto the project asrepo/CLAUDE.md, a
file no rule protects, while the tool wrote the project's ownCLAUDE.md. A
path relative to a drive's working directory, such asC:CLAUDE.md, is
refused as outside the repository, since only the writer knows where it is. - The shell rules know more of PowerShell and cmd. A parameter given as
-Path:CLAUDE.md, the aliasessc,ac,clc,ren,rdand
Tee-Object,Push-Location,cmd /c, and a backtick used as an escape
(CLAUDE`.md) each wrote or removed a protected file unrefused. - The shell rules read a path as the file it is on disk. A link to
.sdlc,
CLAUDE.mdor a frozen test, or a Windows short name such asSDLC~1, named
the file in letters no rule matched, andrm notes/state/activewent through. - A wrapper no longer hides what it runs. After
timeout 60,sudo -u me,
ssh localhost,caffeinate,direnv execor anyfind -exec, agit commit, an
sdlc approveor the shell a document is handed to went unread, and sdlc is
now found behind a wrapper the rules do not know. PowerShell's<# ... #>
comment no longer hides the command after it. - Two ways past the shell rules on Windows: Python's
pylauncher ran a script
on loop state as no other interpreter could, and PowerShell setGIT_DIRfor a
commit made elsewhere asEnv:\GIT_DIRor through
[Environment]::SetEnvironmentVariable('GIT_DIR', ...). Both are now read. - On Windows, the hook launcher ran an
sdlc.cmdorsdlc.batat the
project's root in place of the installed binary, because cmd.exe looks in
the current directory beforePATH, and that file could answer every tool
call. The launcher now looks forsdlc.exeonPATHonly. - On macOS and Windows, the project's path spelled in another case was read as
somewhere else:rm /OPT/PROJECT/.sdlc/state/active, orcdto it and
git commit, went past the rules on loop state and the commit gate. So did a
path relative to a drive's working directory, such asC:.sdlc\state\active.
Both are now read as the project's. - A command nesting
$( )thousands deep took the hook longer to read than
Claude Code gives it, and Claude Code then runs the command unchecked:git commiton the line before went through. A command nested more than 32 deep is
now refused ascommand-too-deep-to-read. - Work committed before the review, in a way the hook cannot read, went on
through the gates: an alias in your own git configuration, or a commit made in
a clone and fetched. Every gate after it measured the change against a HEAD
that already held that work, so the reviewers never saw it.sdlc startnow
records where HEAD is, and each gate before the commit refuses once it has
moved (SDLC-E0046). - Only
git commitmet the commit gate. Work committed on a branch in another
worktree reached trunk withgit merge, andgit cherry-pick,git revert,
git am,git rebase,git commit-treeand an alias such asgit -c alias.ci=commit ciwent past it too. They are now refused the same way, and
so ishub commit. - A commit to the project's own repository made from somewhere else went past
the commit gate:cd /tmp && git --git-dir=/path/to/project/.git commit, or
the same withGIT_DIRset. A commit withGIT_DIRset is now held to the
story's gates, and one with--git-diris held to them when that names the
project. - A path in your home directory was read as the project's own:
~was not
expanded, sorm ~/.claude/settings.jsonwas refused as a write to the
project's.claude, and an interpreter given a script under~/.claude
was refused too. A path outside the project is no longer protected. sed --in-plandperl -lpirewrote a frozen test unrefused: GNU sed takes a
shortened long option, and perl's-lin front hid the-i.awk -i inplacerewrote a frozen test unrefused, and called asgawkit
rewrote the loop's record andCLAUDE.mdtoo.- A bare file name is not a frozen file of that name elsewhere. With a fixture
testdata/config.jsonfrozen,cp config.example.json config.jsonat the
root was refused as a write to a frozen test, and so wastouch main.goin
another package. A name is still read that way where its directory cannot be
known: after acdto a variable, a glob, home or-, afterpopdor acd
in a script handed to a shell, and infind,
xargs,git -Cand a program's own code. - A document handed over in a PowerShell here-string (
@' ... '@) is read as
text, as a here-document is. A plan or review whose table namedgit commit
orsdlc stopwas refused as that command, and a here-document went to
sourcewhen its--notemerely said "source". A body handed to a shell or
an interpreter, or toInvoke-Expressionon a later line, is still read for
what it runs. - Which program a shell command runs is read with its quoting. A commit
message, a--noteor a--messagethat mentionedsdlc approve,sdlc stop
orsdlc unfreezeafter a;or in backticks was refused as that command,
including the runbook's ownsdlc escalate;git log --grep commitand
git stash push -m "wip before commit" -- docs/notes.mdmet the commit
gate; and
docker compose -p sdlc stopwas a stop. A string handed tobash -c,
cmd /c,-Commandoreval, and a command in$(...)or backticks, is
still read for what it runs. A commit in another repository, reached by a
cdorgit -Cthe rules can follow out of the project, is not held to the
story's gates. sdlc stopis refused from a tool call while the story still has a gate to
pass (stop-is-a-human-decision). Every rule holds only while a story is
being worked on, so ending it part-way was the way round all of them at
once, and the Stop hook, the runbook and several refusals kept naming it as
the way out. The runbook'ssdlc stopafter the last gate is not refused.sdlc approveandsdlc unfreezeare refused from a tool call with no story
being worked on.sdlc escalateends the iteration, and the hook allowed
everything once it had, so an agent could hand a story over and approve it
in the next command.- Refusals no longer send an agent to
sdlc stop. The main conversation told
to delegate, and a command that tried to setSDLC_ENFORCE, were both
pointed at ending the iteration, which turns every rule off. sdlc init --forceis refused while a story is being worked on
(SDLC-E0012). Run from an agent's shell, it put the default settings back
under a running story, which no rule was looking at: a person's pause on
medium-risk commits was gone mid-story.- A flag before the subcommand no longer hides it from the shell rules.
sdlc --reason x unfreeze,sdlc --reject x approveand
sdlc --note x review add ...were read as runningx, and went through. - Refusals lead somewhere that works. SDLC-E0033 names the story in the
sdlc gate ... failit suggests: without--storythat command is refused
because no iteration is running, which led back tosdlc start. The commit
gate no longer suggestssdlc stop, which turned it off, and was followed to
commit work a person was waiting to approve. A shell write to
.sdlc/config.jsonand the test author's fixtures route say a person changes
the configuration, rather than naming commands or edits the agent is refused.
A.sdlc/state/activethat names no story says to runsdlc stop, not to
rename a story that does not exist. sdlc version --jsonprints JSON. It printed the prose line whatever it was
asked, although--jsonis documented for every command.- The hook reads a long shell command in time. A command naming the same paths
in segment after segment was checked, and looked up on disk, word by word
again for every segment: a hundredecho ... | xargs rmtook longer than the
thirty seconds Claude Code gives the hook, which then lets the call through
without a word. So did a write to a path tens of thousands of levels deep. - A new test file cannot be added through the shell after the freeze. The file
tools refused one;echo > new_test.godid not, because the shell was checked
only against the files the freeze already held. Taking one away is not adding
one:rm internal/calc/extra_test.go, whichSDLC-E0043asks for, goes
through. sdlc doctorchecks the loop's state files. Every hook warning about them
said to run it, and it did not read either one.
Documentation
- Guides for the jobs people come to the documentation with: adding the loop
to an existing project, writing stories, tuning commands, stopping and
resuming, a frozen test that is wrong, a reviewer that blocks, the points
where a person decides, tracking cost, and reading a refusal. They sit
beside the reference pages, indexed from docs/README.md.
Installing
install.shandinstall.ps1for macOS, Linux and Windows, and
npx @bbsnly/sdlc installfor people who would rather not pipe a script
into a shell. All three verify the download against the release's checksums
before anything reaches your PATH, and all three install the same native
binary — no wrapper, because the binary runs on every matching tool call.
install.ps1announces the PATH change it makes, so a terminal opened from
the Start menu findssdlcwithout signing out first. Piped into
Invoke-Expression, it no longer leaves$ErrorActionPreference = 'Stop'
and its own variables behind in your PowerShell session.
npx @bbsnly/sdlc installgives up on a download after a minute with
nothing arriving rather than a minute in all, so a slow link can finish it.
When it cannot connect it says why rather than only "fetch failed", and that
behind a proxyinstall.shorinstall.ps1will get through where Node's
fetch does not. The PowerShell line it prints to add the install directory
to your PATH no longer expands%JAVA_HOME%-style entries in it for good.
On an Apple Silicon Mac,install.shrun from a shell under Rosetta installs
the native build rather than the Intel one.- Release archives carry an SBOM and build provenance attestation. The tool
that writes the SBOM runs between the build and the attestation, so it is
checked against a pinned hash before it runs.
Deferred
Recorded so that "not in the first release" is a decision with a place to
live rather than an omission:
- A rendered documentation site with search. The documentation is written and
checked against the code; where it is published is a separate question. - Harness support beyond Claude Code. The loop's design is deliberately
tech-agnostic, but the first release ships one integration and does it
properly.
Install
curl -fsSL https://raw.githubusercontent.com/bbsnly/sdlc/v0.1.0/install.sh | shWindows PowerShell:
irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.1.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.