Repository navigation
v0.2.0
·
269 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
- A story's record names the commits it landed in, as a range. The first
code_reviewpass records HEAD ascommit_base, and eachcommitpass
records HEAD ascommit, which holds all of the reviewed work. The range
runs from HEAD when code review first passed to HEAD when the commit gate
last passed. It holds every commit the story made, and can hold commits
somebody else made in that window: ones that together left the reviewed code
as it was, such as commits touching only.sdlc/or a story'sstatusand
updated, or ones made before a later review. A finished story reopened
later keeps its start, so its range spans everything that landed on trunk in
between.sdlc gate commit passreports the range as
landed in <start>..<end>, or in full with--json.commitis forgotten
when the commit gate is later recorded as failed, or reopened by a gate
before it, until it passes again. A start that is not known, because the
repository had no commits yet or an oldersdlcpassed the code review, is
left out rather than guessed, and so is one an oldersdlcdropped when it
rewrote the record. The runbook no longer asks for a hash in the commit
gate's note. sdlc loglists the stories committed to trunk, oldest first: the commits
each one landed in, the review rounds per gate, the blocks, and what is worth
a second look — a freeze lifted, gates reopened, an escalation, the spend. It
starts after the commit.sdlc/state/acknowledgednames, when there is one;
--sincestarts after another commit, and--alllists every story. A story
whose record names no commit is found by the commit messages that name it,
and says the range was inferred; one no message names is listed with its
range unknown. It changes nothing. An acknowledged commit git does not have
is refused withSDLC-E0047.sdlc ack --through <commit>marks the log read up to a commit on this
branch, andsdlc logstarts after it from then on. It names the commit
acknowledged before, and says so when the new one comes before it, because
the log then lists the stories in between again. The hook refuses it from a
tool call underacknowledgement-is-a-human-decision, andsdlc doctor
names an acknowledged commit git does not have./sdlc:trunk-reviewgoes through whatsdlc loglists with you: the commits
each story landed in, read against its acceptance criteria and its retro, with
what looks right, what is worth a second look, and follow-ups. It proposes
follow-ups as backlog stories, and adds only the ones you confirm, and only
while no story is being worked on. It never reverts a commit and never runs
sdlc ack. Only a person starts it: the skill carries
disable-model-invocation./sdlc:consolidatereads the retros andsdlc log --allacross finished
stories and proposes changes from what more than one story shows: a sentence
in the## SDLC Contractsection, a key in.sdlc/config.json, issue text for
the plugin, or something for you to do differently. It writes the proposals
to.sdlc/consolidation-<date>.md, applies only the contract and configuration
changes you confirm, one at a time, and writes nothing while a story is being
worked on. A proposal that loosens a check says so. It never edits the plugin
or its cache, and never proposes pinning a model. Only a person starts it.
Changed
- In Claude Code, only a person starts the loop.
/sdlc:nextcarries
disable-model-invocation, so the model no longer starts it when asked to
pick up work, and its description is no longer in the session. Every agent's
description says it works only within a story a person started with
/sdlc:nextand is not for general review, security, performance, testing,
planning, analysis or retro requests, and its first step is to stop on a
brief the runbook did not write; the runbook begins each brief with the story.
The agents are told this, and nothing enforces it. - The runbook is shorter, so all of it survives when Claude Code compacts a long
conversation, and handing a decision to a person and what to do when a
command fails now come before the gates. If its last section is gone anyway,
it and theStophook tell the assistant to ask the person to type
/sdlc:nextagain. sdlc init,status,doctorandapprove, the fixes forSDLC-E0002and
SDLC-E0011, the contract section, the configuration and the example story
say that a person starts a story, withsdlc startor by typing
/sdlc:next, and that setting sdlc up in a repository is the person's choice.- Every agent is told it runs unattended: it finishes what it says it will do
or says what it is blocked on, checks each claim against a tool result, and
summarises command output rather than pasting it. Every reviewer is told not
to inflate a finding to be heard or soften one to be agreeable. The test
author is told not to skip a test, mock the unit a criterion is about or
catch the error a test should see, and the implementer not to swallow that
error or add a flag only a test sets.
Removed
- The plugin's agents as a review kit of their own. Asked for a code review, a
design review or an analysis outside a story a person started with
/sdlc:next, an agent is told to say it only works sdlc gates and stop, with
or without the binary.
Fixed
- The hook found no binary in a desktop app such as Claude Desktop, which keeps
thePATHit was started with (on macOS, one never has the shell's), and
said nothing was being enforced whilesdlc doctorpassed in a terminal.
The launchers now also look where the installers put the binary, after
PATH: the shell launcher in~/.local/bin/sdlc, and both the shell
launcher under Git Bash and the Windows launcher in
%LOCALAPPDATA%\Programs\sdlc\bin\sdlc.exe.sdlc doctorlooks in the same
places. The not-found message says a desktop app has to be quit and reopened
afterPATHchanges, orSDLC_BINset. - The plugin stays out of every session that did not start the story in front
of it. The hook runs in every session the plugin is installed for, and
sessions that never asked for sdlc heard from it: without the binary, every
session in a project with.sdlc/config.jsonwas told on every tool call that
nothing was enforced; with it, a story started from a terminal, or a
.sdlc/state/sessionthat did not read, held every session in the
repository to the story, refusing edits and commits and sending each back at
the end of its turn; and a spoiled.sdlc/state/active, a call that did not
parse, or a crash in the hook was reported to every session. Now a story holds
only the session.sdlc/state/sessionnames, and only when the call names that
session. Anywhere else the hook, and both launchers without the binary, print
nothing, refuse nothing but a person's decisions, never hold a turn open, run
no formatter and write nothing. A story started from a terminal holds no
session until/sdlc:nextpicks it up, andsdlc statusandsdlc doctor
say so.sdlc status --jsonreports the working session assession. A
story resumed where no session can be told, from a terminal or a surface that
does not setCLAUDE_CODE_SESSION_ID, keeps the session already recorded
rather than lose it.sdlc start --jsonreports the session it recorded as
session, and/sdlc:nextstops and says so when it is empty, rather than
work a story nothing enforces. sdlc approve,sdlc unfreezeand a command nested too deep to read were
refused from a tool call in every session in a project with
.sdlc/config.json, and in any session whose command named a path into one,
with no story under way and none waiting for a person. Nowsdlc approveand
sdlc unfreezeare refused outside the session working a story only while
the project has a story a person could decide on: one under way, whoever
holds it, or one handed to a person that nobody has answered, in a project
the call reaches or the one the command moves to withcd. After a move the
hook cannot follow, such ascd "$OLDPWD", they are refused as if a story
waited there.sdlc ack, and a command nested too deep to read, are still
refused in any session in a project that uses sdlc, and a command is read to
its end:sdlc approve A-1; sdlc ack --through HEADis refused for its
sdlc ack.- A Claude Code session that was not working the story could still change it
throughsdlc:sdlc artifact write,review add,gateand the other
commands that change a story wrote into one another session held. They now
refuse to run, withSDLC-E0048, whenCLAUDE_CODE_SESSION_IDnames a
session other than the one.sdlc/state/sessionrecords, and change nothing.
A terminal is not refused, and neither is a session whose id is missing or
invalid, nor anything while no session is recorded;sdlc startstill moves
the story to the session it runs in. This keeps a session'ssdlccommands
out of a story another session is working, and is not a barrier against a
model set on getting round it.
Install
curl -fsSL https://raw.githubusercontent.com/bbsnly/sdlc/v0.2.0/install.sh | shWindows PowerShell:
irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.2.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.