Repository navigation
Sprint 34: running-the-change — running the change, and the prune (untagged, no paid step) - #45
Merged
Merged
Conversation
What: The spec for Sprint 34 of the verifier plan under .shipkit/specs/running-the-change/:
the intake, 34 requirements, ten decision records, the two verify skill texts,
the waiting text for Sprint 35 (the Rails verify skill with setup's count and
smoke checks 67 and 69, the commit skill's Verified: paragraph, the guide's two
git log lines), and eleven tasks. This is S34-T0.
Why: The gate runs the tests and the reviewer reads; neither starts the application,
and the 5.2 run's miss (tests green, feature not wired) is one a running app
shows. Commits say how they were tested only in prose. The smoke suite and the
evals only grow, and Sprint 35 pays to run them.
How: plugins/shipkit/scripts/verify-run.sh: POSIX sh, awk and curl; PORT handed over
in the environment, a random high port probed with curl, the start command in a
process group of its own and stopped as one, readiness probed on a path of its
own, exit 0 / 1 / 2. verify skills for elixir and static only (intake answer 1).
plugins/shipkit/scripts/commit-gate.sh, a second PreToolUse command, off by
default, reading the hook JSON with sed and counting blocks from its log. An
audit of every smoke check and eval case, held to registry() by a smoke check;
each cut waits for the owner's yes. No skill, agent, rule or overlay file
changes. The owner approved the intake's answers, the requirements (with exit
codes 0/1/2, unseen rows and the audit check) and the design on 2026-11-20.
Read for the design, free: the current hook docs (session_id, cwd,
tool_input.command; hooks on one matcher run in parallel; compact JSON not
promised) and Phoenix's generator on main (runtime.exs reads PORT; test.exs
sets server: false, which PHX_SERVER=true overrides).
Test plan: spec-check.sh . running-the-change --as-open -> exit 0, 0 gaps (25
PENDING-TEST, 9 waived); spec-check.sh . -> exit 0. decision-check --run -> 190
decisions, 0 fired, 21 hold, 0 errors. lint -> 0 errors, 0 warnings. `sh
scripts/smoke.sh --no-model </dev/null` -> exit 0, 250 passed (35 text-only), 16
skipped (model), 0 failed. Goldfish, given the slug alone, two reads: read 1
GAPS (33 testable, 1 unclear; five findings), read 2 GAPS (34 testable; one
finding); all six fixed in the files, REQ-6 and REQ-30 edited after acceptance
and REQ-32 after read 2, each shown to the owner at the design gate. Measured:
a hook of guard-commit.sh's shape costs about 6.5 ms a call (sh -c : 4.1 ms);
set -m in macOS /bin/sh stops a server and its children as one group. No code
here.
Refs running-the-change T0
What: guard-commit.sh now finds the session's directory when the PreToolUse
JSON is indented or has white space around the colon after "cwd". REQ-35
and task T11 are added to running-the-change on the owner's yes
(2026-11-20, after acceptance); T1 now comes after T11.
Why: The current hook docs do not promise compact JSON, and their example is
indented. guard-commit.sh:30 matched only "cwd":" with no space, so with
indented JSON it checked the staged files of whatever directory it started
in, and a staged .env in the session's project went through.
How: The sed pattern allows [[:space:]]* on both sides of the colon, the input
is read line by line with a newline added, and the first cwd found is used
(head -n 1). Nothing else in the guard changes.
Test plan: smoke check 18 gains a case: the hook JSON of `git commit -m wip`,
indented over several lines, naming the project as cwd, run from another
directory while config/server.key is staged. Run alone before the fix:
FAIL, exit 0, want 2. After: PASS, and the other seven cases passed both
times. `sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 251 passed
(35 text-only), 16 skipped (model), 0 failed. spec-check . -> 37 specs, 0
gaps. lint -> 0 errors, 0 warnings.
Refs running-the-change T11
What: plugins/shipkit/scripts/verify-run.sh --start '<command>' --request <path>
[--env NAME=value ...] [--timeout <s>]. It picks a free port, starts the
command with PORT set, waits until the port answers, makes one GET and
prints RAN <status> <path> with the status line and at most 10 body lines
(exit 0), EXITED <code> or NOT-READY after <s> s with the app's last 20
lines (exit 1), or a usage line (exit 2, nothing started).
Why: The gate runs the tests and the reviewer reads; nothing started the
application, and the 5.2 run's miss (tests green, feature not wired) is one
a running app shows. A script gives a line a report can quote.
How: POSIX sh, awk and curl. A random port from 20000 to 60999 that curl finds
refused; the start command in a process group of its own (set -m), its
exit code written to a file by a subshell, since a shell that has not
reaped a child still answers kill -0 for it; readiness probed on
/shipkit-verify-probe so the path is asked once; every way out stops the
group (TERM, then KILL after 3 s) and removes its one directory. Where no
group is made, the processes under the start are found by parent id. The
design records both details under its process-group decision.
Test plan: smoke check 128 (verify-run), written first: FAIL (no script) before,
PASS after, about 5 s alone. It serves a 15-line page with python3's
http.server: RAN 200, the status line and 10 lines, one GET in the
server's log, --env and PORT in the app; a late start; EXITED 3 with
line10 to line29; NOT-READY after 2 s; seven misuses and no curl, exit 2
with nothing started; an INT mid-wait; after each, TMPDIR empty, nothing of
the run left and a bystander sleep alive. Against two broken copies (no
stop; probing the request path) it failed both. lint 0/0, spec-check 37
specs 0 gaps, decision-check 0 fired 0 errors, exit-checklist line 10
empty. `sh scripts/smoke.sh --no-model </dev/null` -> exit 1: 251 passed,
1 failed, check 112 (briefing-cost) at 0.54 s of CPU against 0.5 s. Read,
not run again: briefing.sh and spec-check.sh are unchanged since main, the
check times a fixture of its own, load average 4.1 after the run with
another window at work. Noted under T1.
Refs running-the-change T1
What: Smoke check 129 (verify-run-ten): ten runs in a row of verify-run.sh
--start 'python3 -m http.server "$PORT"' --request /index.html from one
static fixture, each first line RAN 200 /index.html, no server left after
any run and nothing left in TMPDIR.
Why: A script the report will quote has to give the same line every time on
the same input, and leave nothing running, before a model is asked to use
it (the plan's "rock solid" harness, S34-T1 subtask 3).
How: The servers on the machine are listed before the runs (another program's
server is left out of the count), and after each run the list is read
again for up to 2 s. The fixture is the spec's: index.html served by
http.server from inside its folder.
Test plan: the check could not be red first, since T1 built the behaviour. It
failed on a copy of the script whose clean-up does not stop the
application ("a server is left" from run 1 on, ten servers, all stopped
afterwards by their process groups) and passes on the script: ten runs in
about 4 s. `sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 253
passed (35 text-only), 16 skipped (model), 0 failed, check 112 included
(load average 4.8 before, 4.2 after). lint 0/0, spec-check 37 specs 0
gaps.
Refs running-the-change T2
What: Two new overlay skills, stacks/elixir/.claude/skills/verify/ and
stacks/static/.claude/skills/verify/, each a few lines: where
verify-run.sh is, the stack's start command, and how to report its line.
They install only on --with-skills (decision 0004). Smoke check 130.
Why: A model asked to check a change in the running app should start it the
same way every time and quote the script's line, never a run it did not
make. Rails waits for Sprint 35 (intake answer 1): a fifth Rails skill
breaks checks 67 and 69 and setup's "ships 4 skills", an existing skill.
How: The design's text, word for word. Static: the CLAUDE.md Dev server line
when it takes a port, else python3 -m http.server "$PORT". Elixir: mix
phx.server with PHX_SERVER=true and MIX_ENV (test unless the task names
one), since the generator's test.exs sets server: false. No placeholder,
so install-stack.sh needs no new KEY=value.
Test plan: check 130 (verify-skills), written first: FAIL (no verify skill, both
stacks) before, PASS after. It installs both overlays with the arguments
smoke's existing install checks pass, without and with --with-skills, and
holds the description to 300 characters and lint to no line naming the
files. On a copy whose static skill gains a {{SERVE_CMD}} placeholder it
fails (install exit 2). Descriptions 247 and 275 characters; files 1,284
and 1,390 bytes. `sh scripts/smoke.sh --no-model </dev/null` -> exit 0,
254 passed (35 text-only), 16 skipped (model), 0 failed, checks 67 and 69
among them. lint 0/0 across 28 skills; spec-check 37 specs 0 gaps;
exit-checklist line 10 empty (added files only).
Refs running-the-change T3
…ills
What: docs/design/context-cost.md gains a section on the two verify overlay
skills (their file and description bytes, and each overlay's
overlay-skills row without and with --with-skills) and a History row for
S34-T4. The overlay-skills row no longer says Rails ships six skills: it
has had four since d39025c cut deploy-check and safety-check.
Why: Every byte a session pays for shipkit has a number (the thinning plan's
rule 20); a skill listed in every session of a project is such a byte.
The Rails count was stale, which the intake found (assumption 5).
How: scripts/context-cost.sh on fresh scratch projects (install-rules.sh, then
install-stack.sh with smoke's install arguments), with and without
--with-skills, and on a bare directory for the History row's columns;
wc -c per skill file.
Test plan: measured 2026-11-20: elixir overlay-skills 0 without the flag, 3,465
with it (2,075 + 1,390); static 0 and 3,958 (2,674 + 1,284); Rails 0 and
11,758 for 4 skills; verify description lines 278 and 250 bytes as the
script counts them (247 and 275 characters). Bare directory: hook 2,288,
skills-core 2,894, skills-workflows 1,885, agents 1,073, rules 2,999.
`git grep -n '6 skills' docs/design/context-cost.md` -> nothing. `sh
scripts/smoke.sh --no-model </dev/null` -> exit 0, 254 passed, 0 failed.
lint 0/0; spec-check 37 specs 0 gaps.
Refs running-the-change T4
…ault
What: plugins/shipkit/scripts/commit-gate.sh, a PreToolUse command for Bash
(wired into hooks.json in T6). It looks for "Verified: <tests|gate|
brief-verify|ran|none> (<what>)" on a git commit whose message is on the
command line. SHIPKIT_COMMIT_GATE: off (default) does nothing; observe
logs an unstamped commit to $SHIPKIT_HOME/commit-gate.log; enforce blocks
it with one line, twice a session, then lets it through.
Why: Shipkit's commit skill writes how a change was tested in prose, which no
query can read. The article stamps every commit, "none" included, and
starts its gate in observe mode. Nothing turns it on in this sprint.
How: POSIX sh, sed and awk, no jq. With the gate off it drains stdin with the
shell's own read and starts no process. Fields are read with sed patterns
that allow white space, since the hook docs do not promise compact JSON.
A message is on the command line with -m, --message or a short-option
cluster ending in m; anything else is an unseen row and goes through.
Blocks are counted from the log's rows for the session id. Any error of
its own exits 0. The header states these limits.
Test plan: smoke check 131 (commit-gate), written first: FAIL (no script) before,
PASS after, compact and indented JSON: nothing for a call that is not a
commit or with the gate unset/off/bogus; observe rows with the time, s1,
observe, unstamped and the cwd or -; a stamp in a second -m part passes;
enforce blocks twice (one stderr line), passes the third, still blocks
another session; Verified: none () is not a stamp; -F, --no-edit and a
bare commit give unseen rows; empty input, no session id and an
unwritable SHIPKIT_HOME exit 0. Against three broken copies (an empty
stamp counted, never passing after two blocks, off mode writing a row) it
failed each. By hand: a heredoc commit encoded by json.dumps (newlines as
\n, the arrow as →) passes with its stamp and is blocked without
it. `sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 255 passed, 0
failed. lint 0/0, spec-check 37 specs 0 gaps.
Refs running-the-change T5
What: hooks.json's PreToolUse entry for Bash gains a second command,
commit-gate.sh, timeout 5, after guard-commit.sh; the file's description
gains a sentence on the gate. Smoke check 132.
Why: The gate (T5) runs only if a hook starts it. It stays off unless
SHIPKIT_COMMIT_GATE is observe or enforce, which nothing sets in this
sprint, and the plan keeps it out of every shell profile (§5, line 8).
How: A separate command, not folded into the guard (intake answer 3); the hook
docs say a matcher's hooks run in parallel, so its start overlaps the
guard's. T7 measures what the extra process costs. lint.py accepted the
second command as it is, so it is unchanged.
Test plan: check 132 (commit-gate-hook), written first: FAIL (the Bash entry held
the guard only) before, PASS after. It reads hooks.json with python3's
json and wants exactly the guard then the gate, timeout 5 each, both
executable; then, with the gate unset, a commit that stages .env gives the
guard's exit 2 and the gate's exit 0 with no output and no log. lint 0/0
with the second command. The always-on rules: 2,999 bytes, unchanged.
`sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 256 passed (35
text-only), 16 skipped (model), 0 failed; check 18's eight cases among
them. spec-check 37 specs 0 gaps.
Refs running-the-change T6
What: GUIDE.md gains "The commit gate" under Spec-Driven Development (the stamp's
five forms, the three modes, where the log is, its limits, and the two
git log lines) and a row in the table of what fires on its own. The
design's record "a separate script, and what it costs" gains the gate's
own measured time.
Why: REQ-28 and REQ-29: a gate that runs before every Bash call of every
session has a cost on record, and a reader can find out how to turn it
on, what it writes, and how to list stamped and unstamped commits.
How: Measured as the design's first four numbers were: 300 calls each, the
hook JSON for `ls -la` on stdin, timed from perl. The guide says to set
the variable for one command or session, never in a shell profile (plan
§5, line 8), and that the stamp must be a paragraph of its own to be
read as a trailer (checked in a scratch repository on 2026-11-20).
Test plan: measured 2026-11-20, load average 2.5: /usr/bin/true 1.57 ms, sh -c :
3.27 ms, guard-commit.sh 6.86 ms, commit-gate.sh unset 4.72 ms, off via
env 5.03 ms, observe via env 7.34 ms on a call that is not a commit;
under the record's 15 ms reversal. decision-check -> 190 decisions, 0
fired, 0 errors. `sh scripts/smoke.sh --no-model </dev/null` -> exit 0,
256 passed, 0 failed. lint 0/0; spec-check 37 specs 0 gaps. The guide
holds no new double-brace placeholder and no home path.
Refs running-the-change T7
What: The plan's "The release task" gains a paragraph: from 5.4.0 on, every
release brings docs/design/trim-audit-checks.md up to date, puts its
candidates to the owner as one numbered list, and cuts a check or case
only on the owner's yes, with its citations moved.
Why: REQ-34. "Test suites, verification steps and .md files only grow if you
let them" (the article); a pass at each release keeps the suite paid for
in Sprint 35 and after from growing unread.
How: A paragraph under the release task, dated, naming the spec; the audit
itself and its smoke check come in T8.
Test plan: prose, read against the plan's "### The release task" (REQ-34 is
waived as prose). spec-check 37 specs 0 gaps; lint 0/0.
Refs running-the-change T10
What: docs/design/trim-audit-checks.md: one row for each of the 137 smoke
checks and 78 eval cases, with when it last failed on a real defect, what
else cites the same requirements, what it costs, and whether it is a
candidate for a cut. Smoke check 133 holds the table to registry() and
scripts/evals-map.tsv.
Why: REQ-30 and REQ-31. The suite and the cases only grow; Sprint 35 pays to
run them, so the dead ones are found first. The audit finds two
candidates: 2b rules-fallback (a model check whose REQ-5 check 8b proves
without a model) and 9c managed-block (which should stay: check 9 proves
only the other half of REQ-10). They go to the owner in T9.
How: A throwaway generator read the registry and each check's block (its
citations, its pass and failc names), a model-free run with a timestamp
on every line (129 s, each line's time given to the check that printed
it), the case folders (citations, runs), the ledger and the 5.2.0 rate
($21.25 / 227 runs). Real-defect failures were read from the fix commits,
the CHANGELOG and eval-history: 30 briefing (4.3.0) and 29 ship-gate
(5.0.0); every other row reads never, which the file says means none on
record. Model checks cost $0.22, an even share of the plan's $3-4
estimate. Trap-2 cases read kept (0008).
Test plan: check 133 (trim-audit), written first: FAIL (no audit) before, PASS
after. Its reading fails on three broken copies: a row taken out (no row:
smoke 1 rules-inject), a cost in the wrong form, a trap-2 case marked yes.
`sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 257 passed (35
text-only), 16 skipped (model), 0 failed. lint 0/0; spec-check 37 specs 0
gaps. The file holds no home path and no double-brace placeholder.
Refs running-the-change T8
What: Smoke check 2b (rules-fallback), a model check, is removed from
scripts/smoke.sh, its registry and MODEL_CHECKS. Its audit row reads
cut 2026-11-20. Check 97's counts of model checks go from sixteen to
fifteen. Check 133 gains a broken copy with a cut row still listed.
Why: The trim audit's first candidate (REQ-32, REQ-33). 2b asked a model
whether a rule deleted from disk is still injected. Check 8b proves the
same requirement, install-lifecycle/REQ-5, without a model (the rule is
named and its text injected), and check 1 shows injected text reaching
the model. The full smoke run pays about $0.22 less.
How: The audit row was marked cut first and check 133 run while 2b was still
in the suite: FAIL, "cut but still listed: 2b rules-fallback". Then the
block, its registry line and its MODEL_CHECKS entry went. The rm -rf of
the scratch project's .claude after it stays.
Test plan: check 133 PASS after the cut; it fails on a copy whose first smoke row
is marked cut while listed. spec-check 37 specs 0 gaps (REQ-5 cited by
8b); grader-check 37 as expected, 0 not; lint 0/0. `--list --only 32`
skips 13. `sh scripts/smoke.sh --no-model </dev/null` -> exit 1: 256
passed, 15 skipped (model), 1 failed, check 112 (briefing-cost) at 0.57 s
against 0.5 with the load average at 10.5; read, not run again, its two
scripts unchanged since main. The first run after the cut also failed
check 97 on the hard count fourteen, fixed here.
Refs running-the-change T9
What: T9 ticked. The trim audit records 9c managed-block as kept on the owner's
word (2026-11-20), beside the one cut, 2b rules-fallback.
Why: 9c is the only check of the second half of install-lifecycle/REQ-10 (an
edit inside the managed CLAUDE.md block is not overwritten without a
diff and a question), so its citation cannot move; REQ-33 keeps it, and
the owner, asked again, said keep.
How: One line under "What it found" in the audit; T9's note says how it ended.
Test plan: check 133 alone -> PASS; spec-check 37 specs 0 gaps.
Refs running-the-change T9
What: The plan's ten-line exit checklist for Sprint 34, run at 765bda8 and written under tasks.md's "The sprint's exit checklist". Why: T-MERGE: the sprint merges only with every line read and holding. How: Each line run as the plan gives it, with decision-check and checks-match beside them; the §0 rows this sprint owns read against what it built. Test plan: lint 0/0; smoke --no-model exit 0, 257 passed, 15 skipped (model), 0 failed; grader-check 37 as expected; spec-check exit 0, 37 specs, 0 gaps (this spec tested=26, waived=9); rules 2,999; evals 204,629; release-check 31 shipped, the same 5 findings; prop.py five hold; line 10 empty; decision-check 0 fired, 0 errors; checks-match exit 0. Refs running-the-change T-MERGE
What: When check 128 or 129 fails, its message now holds the fixture server's
own error output (128: the last lines of server.log; 129: the lines
verify-run.sh prints after NOT-READY) and how long one
socket.getfqdn("127.0.0.1") and one getfqdn("") take on that machine.
Nothing changes when they pass.
Why: On pull request #45, CI's macOS job read NOT-READY on every run that
needed python3 -m http.server to answer, with no request in the server's
log, while the cases that need no server passed. The log kept nothing
that says why. One guess, not verified: HTTPServer.server_bind calls
socket.getfqdn before the socket listens, and a slow name lookup on the
runner would hold the port shut past the timeout. This commit makes the
next run show it before anything is fixed.
How: A vr_diag function in check 128, called only on a failure, and the
server output added to the two failc messages.
Test plan: check 128 alone with a python3 that waits 40 s before http.server:
FAIL, with "[server.log: slow start (simulated)|]" and both getfqdn times
(0.0 s here) in the message; no process of the run left. sh -n clean;
lint 0/0. The real fix waits for CI's reading.
Refs running-the-change T1
What: Checks 128 and 129 start their static server with python3's
socketserver.TCPServer and http.server.SimpleHTTPRequestHandler instead of
python3 -m http.server. The spec's term "a static fixture" (which REQ-11
uses), T1's and T2's Test lines and the design say so, dated 2026-11-21,
on the owner's yes.
Why: On pull request #45 CI's macOS job read NOT-READY on every run that
needed the server. The diagnostics of c8b0bca named the cause:
socket.getfqdn("127.0.0.1") took 35.0 s on the runner and getfqdn("")
70.1 s, and HTTPServer.server_bind makes that lookup before the socket
listens. verify-run.sh reported truly; the fixture was slow to listen.
How: TCPServer binds and listens with no lookup. Check 128 gives the handler
its folder with functools.partial, so the folder's path stays on the
server's command line, where the check looks for leftovers; check 129
serves its working directory and finds servers by "http.server" in the
command line, as before.
Test plan: checks 128 and 129 alone: PASS (9 s), and PASS again with a
sitecustomize that makes socket.getfqdn raise, under which python3 -m
http.server exits at once. Against the copy of verify-run.sh that never
stops its app, both fail ("a process of the run is left", "a server is
left"); every leftover was stopped by its group afterwards. spec-check 37
specs 0 gaps; lint 0/0. `sh scripts/smoke.sh --no-model </dev/null` ->
exit 1: 256 passed, 1 failed, check 112 (briefing-cost) at 0.51 s against
0.5 with the load average at 5.8, read and not run again (its scripts
unchanged since main; on CI it reports and does not fail).
Refs running-the-change T2
What: The static verify skill's fallback, python3 -m http.server "$PORT", now
comes with --timeout 90 and one sentence: that server looks up the
machine's name before it listens, and where that is slow NOT-READY can
mean only that. context-cost.md gives the new bytes.
Why: On CI's macOS runner the lookup took 35 s for 127.0.0.1 and 70 s for the
bare name (pull request #45), past verify-run.sh's default 30 s. A model
following the skill on such a machine would report NOT-READY for a site
that works. On this Mac it takes 0.005 s. The command stays the readable
one; the smoke fixture, which must not wait, serves without the lookup
(57f1b7a).
How: Step 2 of the skill only; the description line is unchanged. The file is
new in this sprint, so rule 34 allows it (exit-checklist line 10 empty).
Test plan: check 130 PASS (the installed file is byte-identical to the
overlay's, description 247 characters). Measured: the file 1,284 ->
1,459 bytes, a static install with --with-skills 3,958 -> 4,133. `sh
scripts/smoke.sh --no-model </dev/null` -> exit 0, 257 passed, 15 skipped
(model), 0 failed. lint 0/0; spec-check 37 specs 0 gaps. No model read
the new text: Sprint 35's three static runs do.
Refs running-the-change T3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sprint 34 of the verifier plan (
docs/plans/verifier-sprint-plan.md): a script that starts an application on a free port, asks it for one page and stops it;verifyskills for the elixir and static overlays that call it; a commit gate, off by default, that looks for aVerified:stamp; and an audit of every smoke check and eval case, with one cut, before Sprint 35 pays to run them. The spec is.shipkit/specs/running-the-change/(REQ-1 to REQ-35) and stays open. No existing skill, agent, rule or overlay file changes here, and no paid model run was started.What changed
6e2b997, T0). Intake, 34 requirements, ten decision records, the twoverifyskill texts, and the waiting text for Sprint 35: the Railsverifyskill together with setup's "ships 4 skills" and smoke checks 67 and 69, the commit skill'sVerified:paragraph, and the guide's twogit loglines. Read for the design, free: the current hook docs (session_id,cwd,tool_input.command; a matcher's hooks run in parallel; compact JSON is not promised) and Phoenix's generator (runtime.exsreadsPORT;test.exssetsserver: false, whichPHX_SERVER=trueoverrides).plugins/shipkit/scripts/verify-run.sh(d1c196d, T1, REQ-1 to REQ-12; check 128).--start '<cmd>' --request <path> [--env NAME=value …] [--timeout <s>]. It picks a random high port that curl finds refused, starts the command withPORTset in a process group of its own, waits until the port answers a probe on/shipkit-verify-probe, makes one GET, and printsRAN <status> <path>with the status line and up to 10 body lines (exit 0),EXITED <code>orNOT-READY after <s> swith the app's last 20 lines (exit 1), or a usage line (exit 2). Every way out, an interrupt included, stops the group and removes its one directory. POSIX sh, awk and curl.b361029, T2, REQ-11; check 129). On one static fixture, each first lineRAN 200 /index.html, no server left.verifyskills for elixir and static (bc3c9bd, T3, REQ-13 to REQ-15; check 130). New overlay files behind--with-skills(decision 0004), no new placeholder. Rails waits for Sprint 35 (the intake's answer 1).context-cost.md(55eb575, T4, REQ-17). Eachverifyskill adds 1,390 or 1,284 bytes to a project that installs it, 0 without the flag. The Rails overlay is corrected to 4 skills, 11,758 bytes (it was 6 befored39025c).plugins/shipkit/scripts/commit-gate.sh(b7be242, T5, REQ-18 to REQ-25, REQ-27; check 131).SHIPKIT_COMMIT_GATE:off, the default, does nothing and starts no process;observelogs a commit whose message has noVerified: <tests|gate|brief-verify|ran|none> (<what>)to$SHIPKIT_HOME/commit-gate.log;enforceblocks it twice a session, then lets it through. A message it cannot see (-F, an editor) always goes through. Its own errors exit 0.hooks.jsonruns it beside the secret guard (8cb50b4, T6, REQ-26; check 132).24f1eb5, T7, REQ-28, REQ-29). "The commit gate" inGUIDE.md. Measured: with the gate off, 4.7 ms a Bash call, against 3.3 ms for an emptyshand 6.9 ms for the secret guard.1f3ace4,0d2c5e4,f8a9489,765bda8; T10, T8, T9; REQ-30 to REQ-34; check 133).docs/design/trim-audit-checks.mdhas a row for each of the 137 smoke checks and 78 eval cases: when it last failed on a real defect (only checks 30 and 29 ever have, in 4.3.0 and 5.0.0), what else cites the same requirements, and its cost (129 s for the model-free suite; $24.88 for the cases at the 5.2.0 rate). Check 133 holds it to the registry andevals-map.tsv. Two candidates went to the owner:2b rules-fallback, a model check whoseinstall-lifecycle/REQ-5check 8b proves without a model, is cut;9c managed-block, the only check of the second half ofinstall-lifecycle/REQ-10, is kept on the owner's word. The plan's release task now makes a prune pass at every release.bf18f75, T11, REQ-35; check 18 extended). See "Found on the way".Checks
On the owner's Mac at
765bda8, the exit checklist (80a39d8), and CI on this pull request.bash scripts/lint.shsh scripts/smoke.sh --no-model </dev/nullsh plugins/shipkit/scripts/spec-check.sh .tested=26 waived=9 uncited=0sh scripts/grader-check.shuv run --with hypothesis==6.170.16 python3 scripts/prop.pyrelease-check.sh .decision-check.sh . --runchecks-match.sh . maincbe0f33(run 44812747034)Every new check was written first and shown failing, and checks 128, 129, 131 and 133 were also shown failing on copies of the script or the audit broken on purpose.
Not run, and not verified
verifyskill, and nothing stamps a commit yet. Three runs per stack, five commits through the commit skill and one captured hook call wait for Sprint 35, which also adds the Rails skill and the commit skill'sVerified:text.verify-run.shon Linux. The model-free smoke job runs on macOS only. On Linuxshisdash, whereset -min a script is not tried; the script reads the process group after starting and, without one, stops the processes under the start by parent id. CI's lint job (Ubuntu) does not run it.PORTin prod only.verifyskill's new sentence (its--timeout 90and the name-lookup warning,cbe0f33). Sprint 35's three static runs do.$0.22a model smoke check costs is an even share of the plan's $3 to $4 estimate for one full run, not a measure.What was awkward
python3 -m http.serverto answer readNOT-READY, while the cases that need no server passed. A diagnostic commit (c8b0bca) made the two checks print the server's output and a timedsocket.getfqdn: on the runner the lookup took 35.0 s for127.0.0.1and 70.1 s for the bare name (0.005 s on the owner's Mac), andHTTPServer.server_bindmakes it before the socket listens.verify-run.shwas reporting truly. The fixture now serves withsocketserver.TCPServer, which makes no lookup (57f1b7a; the spec's term "a static fixture" amended, dated, on the owner's yes), and the static skill'spython3 -m http.serverfallback gains--timeout 90and a sentence on the delay (cbe0f33). A push failed once when the 1Password SSH agent did not sign; it went through on a retry.briefing-cost) failed twice on timing, 0.54 s and 0.57 s against its half second, at load averages of 4.1 and 10.5 with another window at work. Read and not run again each time:briefing.shandspec-check.share unchanged on this branch. The exit checklist's run, at a load average of 2.7, passed it.verify-run.shreads an app's exit code from a file, not fromwait: a shell that has not reaped a finished child still answerskill -0for it. The design records the change.Found on the way
guard-commit.shreadcwdonly as"cwd":". The hook docs do not promise compact JSON and their example is indented; with indented JSON the guard checked the directory it started in, and a.envstaged in the session's project went through. The pattern now allows white space around the colon. Check 18's new case was red first.<slug>/REQ-N, so the audit cannot see what else covers them. The next prune pass would see more if each case named its requirement incase.yaml.🤖 Generated with Claude Code