Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 15:08
· 269 commits to main since this release
Immutable release. Only release title and notes can be modified.
cab0d31

Added

  • A story's record names the commits it landed in, as a range. The first
    code_review pass records HEAD as commit_base, and each commit pass
    records HEAD as commit, 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's status and
    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 pass reports the range as
    landed in <start>..<end>, or in full with --json. commit is 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 older sdlc passed the code review, is
    left out rather than guessed, and so is one an older sdlc dropped when it
    rewrote the record. The runbook no longer asks for a hash in the commit
    gate's note.
  • sdlc log lists 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/acknowledged names, when there is one;
    --since starts after another commit, and --all lists 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 with SDLC-E0047.
  • sdlc ack --through <commit> marks the log read up to a commit on this
    branch, and sdlc log starts 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 under acknowledgement-is-a-human-decision, and sdlc doctor
    names an acknowledged commit git does not have.
  • /sdlc:trunk-review goes through what sdlc log lists 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:consolidate reads the retros and sdlc log --all across finished
    stories and proposes changes from what more than one story shows: a sentence
    in the ## SDLC Contract section, 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:next carries
    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:next and 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 the Stop hook tell the assistant to ask the person to type
    /sdlc:next again.
  • sdlc init, status, doctor and approve, the fixes for SDLC-E0002 and
    SDLC-E0011, the contract section, the configuration and the example story
    say that a person starts a story, with sdlc start or 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
    the PATH it was started with (on macOS, one never has the shell's), and
    said nothing was being enforced while sdlc doctor passed 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 doctor looks in the same
    places. The not-found message says a desktop app has to be quit and reopened
    after PATH changes, or SDLC_BIN set.
  • 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.json was told on every tool call that
    nothing was enforced; with it, a story started from a terminal, or a
    .sdlc/state/session that 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/session names, 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:next picks it up, and sdlc status and sdlc doctor
    say so. sdlc status --json reports the working session as session. A
    story resumed where no session can be told, from a terminal or a surface that
    does not set CLAUDE_CODE_SESSION_ID, keeps the session already recorded
    rather than lose it. sdlc start --json reports the session it recorded as
    session, and /sdlc:next stops and says so when it is empty, rather than
    work a story nothing enforces.
  • sdlc approve, sdlc unfreeze and 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. Now sdlc approve and
    sdlc unfreeze are 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 with cd. After a move the
    hook cannot follow, such as cd "$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 HEAD is refused for its
    sdlc ack.
  • A Claude Code session that was not working the story could still change it
    through sdlc: sdlc artifact write, review add, gate and the other
    commands that change a story wrote into one another session held. They now
    refuse to run, with SDLC-E0048, when CLAUDE_CODE_SESSION_ID names a
    session other than the one .sdlc/state/session records, 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 start still moves
    the story to the session it runs in. This keeps a session's sdlc commands
    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 | sh

Windows PowerShell:

irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.2.0/install.ps1 | iex

Then, 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.