Skip to content

Releases

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 09:58
Immutable release. Only release title and notes can be modified.
025762a

Upgrading from 0.6.1: see
docs/migrations/v0.6.1-to-v0.7.1.md.

There is no 0.7.0 release. The v0.7.0 tag was pushed, its check failed on Windows before
anything was built, and a tag here cannot be moved, so these changes are first released as 0.7.1.

Added

  • The loop decides implementation questions itself and stops only for product ones.
    docs/the-loop.md says which is which. sdlc decide records an implementation decision as a
    decision event in the gate record and in the story's DECISIONS.md, which only the tool
    writes, and refuses a malformed call with the new SDLC-E0094. sdlc log lists decisions,
    sdlc ack covers them, sdlc trace --all counts them per story, and sdlc escalate takes
    product_decision. A reviewer that blocks for the max_rounds-th time sends the gate to its
    arbiter, <role>-arbiter, staffed one step up, whose review stands for the role until a person
    answers. Breaking: sdlc status --json gains decisions_unread, sdlc review add --json gains
    arbiter, and a reviewer at its limit no longer hands the story to a person while its arbiter
    has not ruled.
  • Tests are reviewed before they are frozen. A new sdlc:test-reviewer agent, the thirteenth,
    reads the test files at Gate 3, and its approval is tied to their names and content, so a change
    to either makes it stale. At its limit the tests gate goes to test-reviewer-arbiter. Breaking:
    sdlc freeze waits for a current review from it wherever it is enabled, with SDLC-E0029 or
    SDLC-E0030, an SDLC-E0030 for a gate that has gone to its arbiter names the arbiter, and
    sdlc review list --json gains gone_to. An extending freeze after a test was renamed only by
    case, on macOS or Windows, no longer locks up.
  • A story pauses before its commit for the paths it touches, not only for its tier.
    human_gates.pre_commit_pause_paths lists globs, and the commit gate, the hook and the landing
    pause where a changed, moved, deleted or untracked file matches one, reading the main
    checkout's, the story checkout's and the base commit's configuration together so that no copy
    can narrow a pause. A pass with no pause records landed_without_pause, which sdlc log shows
    and sdlc ack marks read. Breaking: the SDLC-E0037 and SDLC-E0075 texts name a path as well
    as the tier, sdlc status --json gains pre_commit_pause, and sdlc init writes the key.

Changed

  • Breaking: the tests and checks run once per tree, at Gate 5. sdlc gate implementation pass
    runs the configured commands itself, under a run lock, and records the result against the tree
    hash, the commands and the thresholds; a failed run is refused with the new SDLC-E0095, which
    names its log. The verifier cites the recorded result, sdlc status shows it, and the landing
    reuses it where the tree is the one measured, so a story no longer runs its suite up to four
    times. sdlc freeze runs commands.test_files over the new and changed tests only, naming them
    in SDLC_TEST_FILES, and proves they fail against the code as it is; with test_files empty it
    runs commands.test. Because the recorded result stands in for a run, a new shell rule refuses
    a line that changes the environment before sdlc freeze or sdlc gate implementation pass;
    what it does not hold is listed in docs/enforcement.md.
  • Each command and hook call keeps git's answers and the files it read for as long as it runs. A
    story's walk runs about half the git processes it did, and the hook's events allocate about
    half as much on a first call.

Fixed

  • A person's /sdlc:approve, /sdlc:unfreeze, /sdlc:ack, /sdlc:remap, /sdlc:release and
    /sdlc:assign, typed in Claude Desktop's Code tab, run again. Claude Code 2.1.312 sets
    AI_AGENT in every hook, and the hook took each of them for a model's. It now tells them
    apart by four variables of its own environment and refuses if any is absent or different.
    Breaking: the refusal names each variable that failed, enforcement-stays-on protects six names
    rather than one, and story-stays-in-its-session reads more ways of starting a nested session.
  • Two bare sdlc starts in two checkouts at once no longer leave one refused with SDLC-E0050
    for the story the other has just claimed; the one that waited passes it over and takes the
    next.
  • On Windows, a quick command at the landing, the implementation gate or the freeze is no longer
    refused as one that could not be run. The command was started and then put in its job object,
    and one that had already ended, having printed what it should and exited 0, was refused with
    "Access is denied". A command is now started suspended and let run only once it is in its job,
    so a child it starts can no longer outlive a stop either.

Install

curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/bbsnly/sdlc/v0.7.1/install.sh | sh

Windows PowerShell:

irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.7.1/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.

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 05 Nov 17:23
Immutable release. Only release title and notes can be modified.
c744db4

Upgrading from 0.5.0: see
docs/migrations/v0.5.0-to-v0.6.1.md.

There is no 0.6.0 release. The v0.6.0 tag was pushed, its check failed before anything was
built, and a tag here cannot be moved, so these changes are first released as 0.6.1.

Added

  • A person can see where a story's time and money went. The hook now appends each tool call,
    agent start and stop, and refusal to the story's trace.jsonl, and sdlc trace <ID> reads
    them back by gate and by agent, with --json for a script and --all for every story side by
    side. Recording never changes a decision: a failed write leaves the hook's answer as it was.
    The trace stops at 4 MiB and says so, and it is refused if its name is a symbolic link, a hard
    link or a FIFO. The shell rules protect the file as they protect the freeze, so a model cannot
    forge or remove it; the forms of a command they still do not follow are listed under "Not held"
    in docs/enforcement.md.
  • A person is told when a gate has taken too long. budget.gate_hours gives a gate key a number
    of hours, and once the agents' time charged to that gate, as sdlc trace counts it, is past the
    number, sdlc gate, sdlc review add and sdlc status each print one line on stderr for
    it. Nothing they decide, print on stdout or exit with changes. The first sdlc gate or
    sdlc review add that saves records a budget event, and sdlc trace marks the gate. A bad
    value or a key that is not a gate key is refused with SDLC-E0045. Breaking: sdlc doctor's
    configuration detail ends with the code, (SDLC-E0045), for every SDLC-E0045 cause.
  • A test is checked before it is frozen. commands.freeze_check is a command sdlc freeze runs
    first, with SDLC_FREEZE_FILES naming the new or changed test files, one per line. A check
    that fails, or that changes a test file, takes no freeze and is refused with the new
    SDLC-E0085, so the test author corrects the file while it can still be edited, and no
    unfreeze is needed. It is empty until a project chooses one. Breaking: sdlc init writes the
    key into a new config, and sdlc doctor prints a freeze check line and no longer reports a
    shell builtin such as continue, local or wait in a configured command as a program that
    is not installed, so it exits 0 where it exited 1.
  • A reviewer that is asked to look again reads only what changed. sdlc artifact write plan keeps
    each plan under the story's plans/<sha256>.md, and sdlc artifact diff plan --since <role>
    prints a unified diff from the revision that role's latest design review was stamped with to
    the current PLAN.md. A revision that does not match its name is refused with the new
    SDLC-E0084, and the reviewer then reads the whole plan. Breaking: sdlc review list names the
    revision on the stale line of a design review, and --json gives it as reviewed_subject.
  • Every reviewer reads one review policy. REVIEW.md, or the path in reviews.policy, says which
    passes to make, what counts as important, what is a nit and what not to review. sdlc init
    writes it, sdlc doctor reports it, sdlc review list names it, and the file and shell rules
    hold it from every agent. The landing refuses a story that changes it. Breaking: sdlc review add takes --important and --nits, and a block with no --important, or 0, is refused
    with the new SDLC-E0086; a review with only nits is an approve with the nits listed.
  • A review finding is recorded and has to be answered. sdlc review add takes --finding "<important|nit> <path>: <text>" once for each finding, numbered F-1 onwards on the review,
    and the counts must agree with the findings listed (SDLC-E0089). sdlc finding close <gate> <role> F-n records each as --fixed, --declined --reason "<why>" or --referred --reason "<why>" with the time and the session (SDLC-E0090 for a closing with no reason), and a
    referral of a file the story changed is refused (SDLC-E0091). sdlc status and sdlc log
    show the ledger. Breaking: the verification and commit gates refuse with SDLC-E0092 while a
    design or code review finding is open, and with SDLC-E0093 for a record whose findings an
    older sdlc dropped.
  • One team section configures every agent. team.retries, team.models and team.efforts hold
    what all agents share, and team.agents.<agent> holds enabled, instances, lowest,
    bring_back and, for a reviewer, can_block. docs/configuration.md shows every option under
    "Every setting at once". sdlc status lists the agents the team disables and each reviewer
    whose can_block is false, --json gains disabled, and sdlc team failure and sdlc status
    say how many failures an agent has had at a gate and when a person is asked. Breaking: the
    staffing section and "reviews": {"gate7_advisory": true} are refused by every command that
    loads the file with the new SDLC-E0087, which names each old key and its replacement, a team
    that cannot be used (an agent named twice among them) is refused with SDLC-E0088, and the
    project manager now staffs every story unless team.agents.project-manager.enabled is false.
    "gate7_advisory": false is a leftover that loads; sdlc doctor reports it. The hook still
    reads a file refused only as SDLC-E0087 or SDLC-E0088, so its rules still apply while a
    person fixes it.
  • sdlc status and sdlc stop end with one line once consolidate.nudge_after stories (3 by
    default, 0 turns it off) have finished since the date in the newest
    .sdlc/consolidation-<date>.md, saying it is time to run /sdlc:consolidate; sdlc status --json carries a consolidate field. Below the threshold both print what they always did. The
    skill now writes its dated file even when it finds nothing, reads each story's review files as
    evidence, proposes cuts when the contract section passes 150 lines, and does not propose again
    what a person declined unless a newer story adds evidence.
  • For contributors, ./task migration-guide -- <from> <to> writes
    docs/migrations/<from>-to-<to>.md with one section per breaking commit between two tags. It
    refuses a file that already exists and a word that is not an exact tag.

Changed

  • Breaking: a bare sdlc start takes ready stories only. A project that leaves every story
    todo now gets SDLC-E0010 and exit 1, which says how many stories it passed over and names up
    to five, and sdlc status and sdlc story list name no next story, until a story is marked
    ready or named with sdlc start <ID>. Naming a todo story still starts it, and resuming is
    unchanged. A todo story that another checkout holds, or that waits on an unfinished
    dependency, is not counted.
  • Every agent follows one contract. docs/the-agents.md defines the frontmatter that declares an
    agent's kind, gates and team defaults, eight sections in a fixed order, a hand-back that is one
    JSON object, and one review document shape that allows approve or block only. All twelve
    agents are moved onto it with their instructions kept, tests in internal/plugin refuse an
    agent that does not conform, and the runbook counts a message that is not the contract's JSON as
    a run that returned nothing usable. The Gate 4 runbook resumes the reviewer that recorded the
    latest review with the plan diff, and starts a fresh one only where the diff is refused.
  • Getting started, Installation and both READMEs tell a Claude Desktop user to add the marketplace
    and install sdlc from the plugin browser, because typing the /plugin commands in the Code
    tab opens a window that does not add the plugin, and name /sdlc:init and /sdlc:doctor beside
    the terminal commands.

Removed

  • Breaking: sdlc parallel is gone, with its configuration section, its hook rule
    parallel-is-a-human-decision and --max from the flags that take a value. It was the only
    place the loop handed tools to a session nobody was watching. To work several stories at once,
    start each with sdlc start <ID> and open a session in its worktree, as docs/the-loop.md
    says. A parallel key left in .sdlc/config.json changes nothing, and sdlc doctor reports it
    as any other setting it does not know and exits 1. SDLC-E0057 to SDLC-E0066 are retired,
    each with a section in docs/troubleshooting.md saying what it refused. Update sdlc in a
    terminal along with the plugin: an older binary still runs the command.

Security

  • Breaking: the shell rules read more of a command before they decide. A line is read both ways
    where zsh and bash disagree and refused if either reading refuses; options a wrapper or tracer
    takes, eval and its leading --, zsh's short forms, here-documents, arrays and substitutions
    are followed; zsh set -A writes are read as code; find -exec with a made program word is
    refused under assignment-is-a-human-decision; a redirect with no command, the vi family of
    editors, a target assigned on the same line, and a comment that ends in a backslash with more
    after it are refused or read; scripts nested past four levels are refused as too deep to read.
    sdlc review add is refused to the code reviewer, and a command that was let through before
    can now be refused. The spellings still not held are listed in docs/enforcement.md.

Install

curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/bbsnly/sdlc/v0.6.1/install.sh | sh

Windows PowerShell:

irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.6.1/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
putti...

Read more

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 18:04
Immutable release. Only release title and notes can be modified.
6d78ed4

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:release and
    /sdlc:assign (for sdlc staffing assign), with /sdlc:doctor and /sdlc:init beside 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.md says how to set it up. Breaking: approve,
    unfreeze, ack, remap, release, parallel and staffing assign now refuse with the new
    SDLC-E0079 when 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.md can run the loop without a CLAUDE.md.
    sdlc init appends the contract to AGENTS.md where that is the only instruction file, and
    sdlc doctor names the file that holds the contract and reports a layout Claude Code would not
    read: a CLAUDE.md or CLAUDE.local.md that does not import an AGENTS.md-only contract, or
    project instructions turned off in the person's settings. Breaking: AGENTS.md and
    CLAUDE.local.md are now held like CLAUDE.md, in any case and at any depth, from the file
    tools and the shell, and so is a CLAUDE.md below the project root. A .agents directory and
    ~/.agents are held like .claude and ~/.claude. A write to .agents, ~/.agents or a whole
    home that holds no checkout is refused as agents-config-is-the-persons, and a shell write to
    an instruction file in a directory above the project as instructions-above-the-project; some
    refusals that were released change rule id. docs/agents.md is now docs/the-agents.md.
  • A story's change to CODEMAP.md no longer collides with another story's. The bookkeeper stores
    its change as whole named sections with sdlc codemap write, and sdlc stop applies them to
    CODEMAP.md as 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 warning SDLC-E0076, the change is kept under the git directory, and later commands
    say so until a person runs sdlc remap <ID> [--replace | --drop]. SDLC-E0077 refuses a remap
    for a story with nothing waiting, and SDLC-E0078 refuses a set of sections that was not sent as
    asked. sdlc status names each landed story whose change is waiting. Breaking: what sdlc stop
    prints changes (a map commit line or the SDLC-E0076 warning, and codemap_commit or
    codemap_kept in its --json), and the bookkeeper no longer commits CODEMAP.md on the
    story's branch.
  • sdlc stop lands 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 is SDLC-E0075 and a
    person's, with the worktree left as it was. Breaking: sdlc stop no longer answers
    SDLC-E0054 for a trunk that only moved forward, and the gate record gains trunk_tests and
    replay.
  • A story whose commits add an unresolved conflict's markers is refused. sdlc stop and the
    commit gate scan the story's net change and refuse with SDLC-E0080 when it adds a whole set of
    markers at column 0, naming each file and the line of each marker.
    paths.conflict_markers_intended lists the paths where markers are meant to be, and sdlc doctor prints that list, or none, on its configuration check. Breaking: sdlc doctor output
    gains that line, and a stop or commit gate that passed such a story before now exits 1.
  • sdlc init explains every setting in the config.json it 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 where docs/configuration.md describes it. Values are
    unchanged. The _commands block replaces _commands_doc.
  • sdlc doctor reports 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 doctor exits 1 on such a command, and sdlc init now
    writes coverage commands for Go and Python that keep the profile in a temporary file removed
    when the shell exits, instead of under .sdlc/state or as .coverage in the working
    directory.
  • sdlc status names the story that is landing, since when and its process, and each stop waiting
    to land; --json gains landing and waiting_to_land. Breaking: sdlc status output changes.
  • sdlc gate says which later gates a recorded gate reopened, as a reopened line and a
    reopened array in --json, the key sdlc unfreeze already 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 with SDLC-E0037 where 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.json gains an optional commit on an
    approval and a commit_recorded event.
  • Breaking: a failure that reaches loop.max_rework_rounds or loop.max_review_rounds, from
    sdlc gate <gate> fail or sdlc 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
    why and fix that running the same command again is safe, and retries no longer count one
    failure two or three times. Exit codes, SDLC-E codes and on-disk formats are unchanged. A
    review file that exists but cannot be read is refused with SDLC-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
    until sdlc status has been read. sdlc escalate gets the same guarantee.
  • Breaking: the story's record gains a top-level forks key, 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 with SDLC-E0043 or SDLC-E0025 where trunk added or changed a test file
    since its cut, until a person unfreezes and freezes again.
  • Breaking: trunk_tests in 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, and sdlc unfreeze and a reopened
    commit gate empty it. The record holds fewer trunk_tests events, and within one command the
    event follows gates_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 of SDLC-E0054, of SDLC-E0006 while 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 stop runs the configured commands first, and a failure there is
    SDLC-E0055.
  • Breaking: sdlc stop says 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
    of SDLC-E0006 and the landing lock's refusals no longer send anyone to delete a lock whose
    holder runs, and sdlc remap labels the landing lock as a remap. The fix of SDLC-E0037 says
    what a person types and, after it, what an assistant does. Refusal text and sdlc status output
    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 under SDLC-E0055 in 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-E0055 refusal changes.
  • Breaking: the why of SDLC-E0021 when git gives no error message, and of SDLC-E0005 for 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 to sdlc, an exclusion pathspec
    under git diff, log, show, status, ls-files, grep, diff-tree, diff-index or
    diff-files, and a request for sdlc help are no longer refused for naming one. Where the hook
    is not sure, the refusa...
Read more

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 13:58
Immutable release. Only release title and notes can be modified.
c561f0e

Added

  • A story no longer has to get every reviewer. With staffing.enabled on, a new agent,
    sdlc:project-manager, records a staffing after the story is ready and before the analysis:
    which agents the story needs and what model and effort each is asked for, each with a reason
    drawn from what the change is. The analysis gate does not pass until one is recorded, and the
    reviewed gates then wait only for the reviewers the staffing needs. sdlc staffing show prints
    it, set records it and amend changes it with a reason; sdlc staffing assign is a person's
    command, and what a person assigns is not the project manager's to change. Whoever does a gate's
    work, the verifier, the code reviewer, and security once the story is recorded as
    security-sensitive can never be left out. Models and efforts are held to the lists in the
    configuration, with a lowest per agent, and a change under a path listed in staffing.bring_back
    brings a left-out reviewer back at code review. The tool records what was asked for, never what
    ran. status, review list and log show the staffing and every change to it. New codes
    SDLC-E0067 to SDLC-E0074. The staffing is off unless a project turns it on, and with it off
    command output and the story's record are unchanged.
  • sdlc parallel <ID>... works several stories at once: it starts one headless Claude Code
    session per story, each running /sdlc:next <ID>, and prints one status view with everything
    that waits on a person gathered at the end. --max caps how many run at once (default 2). The
    sessions run on the headless default permissions; --unattended grants a built-in allowlist that
    parallel.allow in the configuration can narrow and never widen. It is a person's command: the
    hook refuses it from a model-driven session, and the binary refuses a process that carries a
    session id. A story that is unknown, not runnable, named twice, held elsewhere, waiting on a
    person or finished is refused before anything starts. Closing the terminal ends the sessions as
    an interrupt does. New codes SDLC-E0057 to SDLC-E0066.
  • /sdlc:next <ID> works the story it names; the bare form still takes the next runnable one.

Changed

  • The hook refuses more in every project, whether or not the staffing is on. An sdlc command
    whose subcommand is not written out as a literal word, or is fed to it on standard input, is
    refused as unread, and the refusal says to write the subcommand out. Only the project manager
    records a staffing, the project manager runs no other sdlc command that writes, and
    sdlc staffing assign is refused to every session.
  • A find that changes files is now judged by what its whole expression picks: the hook reads
    negation, alternation and grouping between the tests, in a string given to a shell or to eval
    as well. Where it cannot follow the expression, the find is refused if it starts where loop
    state or a frozen test is or could be, and the refusal says what to do instead. Some find
    commands that were allowed are now refused; docs/enforcement.md says what is read.
  • A session that ends its turn to wait for a background subagent is no longer sent back and
    counted towards a stalled story. The stop is let through uncounted while Claude Code reports a
    background subagent, for at most 30 minutes at the same recorded progress; after that, or where
    no such report is sent, a stop counts as before. The stop state on disk gains waiting_since.

Fixed

  • A find glob that opens a bracket class with ] was misread, so a frozen test or a loop-state
    file could be reached through it. The glob is now read the way find matches names, and one that
    cannot be read is refused where find starts from a directory that holds or could hold a
    protected file.
  • On macOS, stopping a command the tool runs in a group — a landing's test and quality commands,
    the trunk check — could leave one of its children running, where that child was being started as
    the stop arrived. The stop now goes on until nothing is left in the group, for at most a second.
  • Three sentences in the documentation said the wrong thing about which gates refuse a changed
    frozen test, what SDLC_TRACE=1 times, and what the frozen-test guide's narrower rules cover.

Install

curl -fsSL https://raw.githubusercontent.com/bbsnly/sdlc/v0.4.0/install.sh | sh

Windows PowerShell:

irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.4.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.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 18:17
Immutable release. Only release title and notes can be modified.
de74168

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, and status, story list,
    log and doctor report for the whole repository, naming the checkout that holds a story where
    more than one exists. A plain sdlc start passes 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 start and sdlc approve refuse with SDLC-E0051 and point at
    the new sdlc 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 start on 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 --json gains worktree, branch
    and main, and its text output a line saying where the session carries on. Setting
    git.worktrees to false keeps the single-checkout behaviour of 0.2.0. A start that cannot make
    its worktree is refused with SDLC-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 refuses git worktree commands 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 doctor also 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 root CODEMAP.md besides 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 gains cut, change, change_base and landing, and
    sdlc log reports 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 doctor also warns when trunk itself tracks the loop's own state.

Changed

  • The example story sdlc init writes now carries every field the schema allows — a criterion's
    EARS pattern, a decision, and created/updated timestamps — 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-E0042 and 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 doctor names thresholds.diff_size_cap among the settings it no longer recognises until
    the line is deleted. The SDLC-E0042 heading 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 HEAD at its first
    code-review pass to HEAD at its last commit pass, so a commit a person made on trunk in
    between, or straight after, was credited to the story, and sdlc log and trunk review read that
    range as the story's own work. The hook now writes down HEAD for 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
    HEAD that has since moved past the range's end is recorded as head_past_commit. An observation
    is written only when a command's own words place it in this repository; a cd, a GIT_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 --note now 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 and sdlc log --json gain range_unknown
    and head_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, gawk and sed write 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 log and sdlc doctor refuse a file where the .sdlc/stories directory should be with
    SDLC-E0005 on 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 start refuses a directory at
    .sdlc/worktrees/.gitignore with SDLC-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 | sh

Windows PowerShell:

irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.3.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.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 15:08
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.

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 15 Sep 10:18
035742c

Changed

  • A story is held only in the Claude Code session working it. While a story
    was under way, every session opened in the repository was held to it:
    somebody doing ordinary work there could not write code, commit, or end a
    turn. sdlc start now records the session it runs in, in
    .sdlc/state/session, and the hook holds that session and its agents to the
    story and leaves every other session alone. /sdlc:next in another session
    picks the story up there. sdlc approve and sdlc unfreeze stay a person's
    in every session. Run outside Claude Code, sdlc start records no session,
    and the story holds every session until one picks it up. The session working
    a story cannot pass it on from inside: setting CLAUDE_CODE_SESSION_ID, and
    starting claude from its shell, are refused.
  • The plugin is documented as usable on its own. The installation guide said
    the binary and the plugin are both needed, which is true of the loop but not
    of the agents: without the binary they still review, nothing is stored or
    enforced, and /sdlc:next offers the install and waits.

Fixed

  • Installing the plugin without the binary no longer makes every session
    complain. The plugin's hook runs in every session, and when it could not
    find sdlc it said "the sdlc binary was not found, so nothing is being
    enforced" on every tool call, in every project — including the ones that
    have never used sdlc. It now says so only in a session started inside a
    project with .sdlc/config.json. Every other session hears nothing,
    including one started in a directory above such a project, where the
    binary, once installed, does enforce.

Install

curl -fsSL https://raw.githubusercontent.com/bbsnly/sdlc/v0.1.1/install.sh | sh

Windows PowerShell:

irm https://raw.githubusercontent.com/bbsnly/sdlc/v0.1.1/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.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Sep 07:44
d1b6a09

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 freeze records 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, verification and commit; with
    freeze.allow_new_test_files on, the test author can add one and
    sdlc freeze adds it to the freeze. sdlc unfreeze --reason is the way
    out: it is on the record, and it sends the story back to Gate 3. The freeze
    belongs to the iteration: it
    survives sdlc stop and 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 escalate puts it on the story's record and ends the iteration, and
    sdlc start refuses the story until somebody answers with sdlc approve,
    or sends the work back with --reject. The hook refuses sdlc approve from
    a tool call, because an agent that could run it would be approving its own
    work. A story in a risk tier human_gates.pre_commit_pause_tiers names —
    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_check has the human advocate read the story at
    Gate 1, and sdlc gate dor pass waits 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 Stop hook sends the stop
    back with what to do instead, and after loop.max_stop_blocks stops in a row
    with nothing recorded, hands the story to a person. A count in
    .sdlc/state/stop-blocks.json below zero starts again rather than putting
    the hand-over off indefinitely.
  • commands.fmt_file runs on each file a tool writes while a story is being
    worked on, and a formatter that fails is reported to the session. The
    commands sdlc init writes for it name the files their formatter
    understands.
  • A new story starts only from a healthy trunk. sdlc start refuses another
    branch, uncommitted work that belongs to no story, a trunk behind origin
    when git.remote is on, and a trunk that fails commands.smoke. A story
    picked up again is not held to it.
  • A change bigger than thresholds.diff_size_cap cannot pass implementation,
    verification or code review. Lines are counted the way git 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,
    and sdlc review list shows it as on budget.
  • A gate that keeps failing and a reviewer that keeps blocking go to a person.
    After loop.max_rework_rounds failures of one gate, or
    loop.max_review_rounds blocks from one reviewer, the command that recorded
    the last one hands the story over, counting again once the person answers.
  • sdlc cost keeps what a story spent beside everything else it did.
    sdlc cost add --usd records an amount, --story names the story once a
    headless session is over, sdlc status reports the running total, and
    crossing one of budget.alert_fractions says 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 what budget.per_story_usd was 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, so Write to a frozen test was refused and
    echo cheat > x_test.go was 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 the conftest.py that decides what a
    pytest fixture returns each change whether a test passes without the test
    being touched, and each was outside the freeze. sdlc init now names the
    usual ones per stack, and a bare directory name in paths.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 -- so cd backend && claude turned 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 commit and
    cd repo && sdlc unfreeze are refused from above it as they are from inside.
    sdlc stops looking for the repository where GIT_CEILING_DIRECTORIES says,
    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.json and
    claude.md were 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/state committed 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 done and leaves the
    backlog, so the next sdlc start takes 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 to in_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 start on 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 ...
Read more