Repository navigation
Sprint 33: tests-worth-having — tests worth having (untagged, no paid step) - #44
Merged
Merged
Conversation
What: The spec for Sprint 33 of the verifier plan under .shipkit/specs/tests-worth-having/:
the intake, 50 requirements, thirteen decision records, the two probe fixtures, the
eight files the readers are tested on, what prop.py generates, the waiting text W1
to W5 for Sprint 35, and twelve tasks. This is S33-T0.
Why: Shipkit names no kind of test but "behavior-focused"; its two task parsers are
tested only on inputs a person thought of; and its gate takes on trust that a new
test was ever red.
How: scripts/kind-probe.sh, a probe outside the eval suite, with one fixture that holds
the plan's three requirements and one for a migration, and readers that go by a
tag and then a short word list. scripts/prop.py, five properties of spec-check.sh
and brief.sh on Hypothesis inputs, pinned to 6.170.16 so that a run tries the
same inputs as the last, in both CI jobs. plugins/shipkit/scripts/red-check.sh,
which runs the suite on a detached worktree of the base ref and again with the
citing test files copied in, by hand and with exit 0 for every verdict. No skill,
agent or rule file changes: their text waits in design.md. The owner approved the
intake's three answers, the requirements and the design on 2026-11-20. Beyond the
plan, on the owner's yes: ship-check.sh gains its suggestion in this sprint, as
the last line of evidence.md; the properties run in both CI jobs; a round trip
may be proven by an end-to-end or a property test; a fourth verdict word,
NO-TESTS; each property is shown failing on a broken copy of its script. REQ-29
and REQ-31 were edited after acceptance to name the pinned version, and the owner
saw both at the design gate.
Test plan: the released 5.3.0 `spec-check.sh . tests-worth-having` -> 0 gaps; the checkout's
-> 36 specs, 0 gaps, 41 PENDING-TEST for this spec. decision-check --run -> 179
decisions, 0 fired, 21 hold, 0 errors. lint -> 0 errors. `sh scripts/smoke.sh
--no-model </dev/null` -> exit 0, 244 passed (35 text-only), 16 skipped (model), 0
failed. Goldfish, given the slug alone: 50 of 50 testable, SELF-CONTAINED, no
finding, one read. Measured for the design: Hypothesis 6.170.16 runs under `uv
run --with hypothesis` here; spec-check.sh 37 ms and brief.sh 46 ms a run on a
small project. No code here.
… commands
What: scripts/kind-probe.sh --scaffold kinds <dir> writes a small git repository, one
commit, whose accepted spec, passbook, holds three requirements of three shapes:
a balance that is never negative, an export that imports to the same records,
and a new parser under which every stored document renders as before. It has a
design, an intake, passing tests, a recorded test command and no task list.
--run kinds [N] prints the N headless commands (5 by default) and starts nothing
without --yes. Smoke check 122 (kind-fixtures) holds all of it. This is
tests-worth-having T1.
Why: The spec skill says "behavior-focused" and names no kind of test. The plan's V16
is to measure before any text says more: Sprint 35 runs the skill's tasks phase on
this fixture five times and reads which kind each Test: line names.
How: One sh script outside the eval suite, in the shape of wait-probe.sh, so it costs
no byte of the evals folder. The fixture's text is in the script; the commit has
a fixed date and author. The intake is there so that the tasks phase does not
start one. The printed command has the form wait-probe.sh runs. The --yes branch
is written and not run: it starts a model, and Sprint 35 runs it (REQ-6).
Test plan: check 122 written first and run alone, red: exit 127, no such script. With the
script, alone and then in the suite: `sh scripts/smoke.sh --no-model </dev/null`
-> exit 0, 245 passed (35 text-only), 16 skipped (model), 0 failed. The check
scaffolds, reads the spec, runs the recorded test command, scaffolds again into
the same directory and into one that holds a file (exit 2, nothing written),
prints 5 and 2 commands with a stand-in claude first on the PATH that is never
called, and tries an unknown mode and an unknown fixture (usage, exit 2). The
fixture read by hand: 17 files, 5 tests pass, the three statements render.
lint -> 0 errors. spec-check -> 36 specs, 0 gaps; this spec reads tested=6.
`sh -n scripts/kind-probe.sh` -> clean. No model was started.
…un loop is tried on a stand-in
What: scripts/kind-probe.sh --scaffold migration <dir> writes inkwell, a small program
that formats a note with textkit, a library kept in its own tree at version 1.4,
beside the same library at 2.0 and the changelog between them. --run migration
[N] prints the N headless commands (3 by default) and starts nothing without
--yes; with it, each run's reply is written to run-<i>/plan.md. Smoke check 122
now reads this fixture too, and tries --yes for both fixtures against a stand-in.
This is tests-worth-having T2.
Why: The migration skill plans an upgrade from the changelog and names no test of
unchanged behaviour. Sprint 35 runs it on this fixture three times before any
text changes and three times after, and a reader says whether each plan holds a
step that runs the old and the new on the same inputs.
How: Both versions and the changelog are in the fixture, so every run reads the same
upgrade (design.md, fourth record). The changelog names two changes, in wrap()
and title(), the two functions inkwell calls; inkwell's tests pin what 1.4 gives.
Beyond the task as first written: --yes is run once for kinds and twice for
migration against a stand-in that records its working directory and arguments
and prints a canned JSON result, so the loop Sprint 35 pays for has run before
it is paid for. REQ-6 and REQ-17 keep their waivers: a model's own run is still
Sprint 35's. tasks.md says so.
Test plan: check 122 extended first and run alone, red: no such fixture. Then one
assertion was wrong about its own copy, not about the tree: a `cp -R` of the
first fixture carried its bytecode, and a deps.py rewritten in the same second at
the same size was not re-read, so the tests "passed on 2.0". The second copy is
now a fresh scaffold. By hand on 2.0: two of three tests fail, on the trailing
space and on "Reader'S". `sh scripts/smoke.sh --no-model </dev/null` -> exit 0,
245 passed (35 text-only), 16 skipped (model), 0 failed; check 97 still reads
sixteen guarded checks and no other model call. lint -> 0 errors. spec-check ->
36 specs, 0 gaps; this spec reads tested=8. Not verified: that the JSON result
of a real headless run carries the reply under "result"; without it the script
writes no plan.md and says so.
…ames
What: scripts/kind-probe.sh --read <dir> prints, for each tasks.md under <dir> and each of
the passbook spec's three requirements, the kinds its tasks' Test: lines name
(e2e, property, differential, joined by +; none; uncited) and right or missed,
then a TOTAL line for each requirement. scripts/kind-replies/ holds six task
lists written by hand, two for each kind, and smoke check 123 (kind-reader) holds
the reader to them. This is tests-worth-having T3.
Why: Sprint 35's table is this reader's output on five paid runs, and text goes into
spec/reference.md for a kind only where it reads missed in 2 or more of them. A
reader that is wrong would put text in, or leave it out, on a wrong number.
How: Python inside the sh script, from a quoted heredoc, as wait-probe.sh's reader is.
A tag at the start of a Test: line settles it; without one a kind is named by
one of its words (design.md, "The reader's words"). A task cites a requirement
when its header holds REQ-<n>, read as brief.sh reads a header: over several
lines, anywhere in it. design.md said "after the arrow"; that sentence now says
what brief.sh does. For the round trip, REQ-2, e2e and property are both right
(the owner, 2026-11-20).
Test plan: check 123 written first and run alone, red: --read was unknown, exit 2. With the
reader: the eighteen lines and three totals of design.md's table, compared whole
(REQ-1 4 right 2 missed, REQ-2 5 and 1, REQ-3 4 and 2); a seventh list made in
the check, with a ticked task, a header over two lines, a tag and words in
capitals, reads property, uncited and e2e+differential; a directory that is not
there is exit 2. `sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 246
passed (35 text-only), 16 skipped (model), 0 failed. lint -> 0 errors.
spec-check -> 36 specs, 0 gaps; this spec reads tested=16. decision-check --run
-> 0 fired, 0 errors.
…holds a differential step
What: scripts/kind-probe.sh --read-plan <file>... prints each plan's path and
`differential` or `none`. scripts/kind-replies/ gains two plans written by hand
for the inkwell fixture, one whose first step runs 1.4 and 2.0 on the same inputs
and compares them, and one that follows the migration skill's six steps as they
are today. Smoke check 123 reads both. This is tests-worth-having T4.
Why: Sprint 35 runs the migration skill three times before a differential step is
written into it and three times after, and the step stays only if more plans hold
one. This is what counts them.
How: A plan is read in blocks, the lines between two blank lines. A block holds the
step when it has one of four words that say it alone (differential,
characterization in either spelling, golden), or names the two versions together
with the same inputs or a comparison (design.md, "The reader's words"). A file
that is not there is a line on standard error and exit 2, before anything prints.
Test plan: check 123 extended first and run alone, red: --read-plan was unknown. With the
reader the second hand-written plan read `differential`: its own first line said
it "holds no differential step". The reader was right and the file was wrong;
the line now says only what the plan follows. In the check, four scratch plans:
both phrases in one block (differential, in capitals), the phrases in two blocks
(none), "golden" alone (differential), an empty file (none). `sh scripts/smoke.sh
--no-model </dev/null` -> exit 0, 246 passed (35 text-only), 16 skipped (model),
0 failed. lint -> 0 errors. spec-check -> 36 specs, 0 gaps; this spec reads
tested=18.
…d specs
What: scripts/prop.py generates a spec.md and a tasks.md with Hypothesis and checks five
properties of the two scripts on them: they agree on each task's files
(agreement); spec-check.sh changes nothing in the project and says the same
twice (no-side-effect); a new citation never adds a gap (monotone); a citation
taken away adds exactly one MISSING-TEST (exactly-one); the brief prints a
requirement byte for byte (round-trip). All five hold on this checkout's scripts,
forty inputs each. Smoke check 124 (prop) runs it on five inputs each and shows
each property failing on a copy of the script broken for it. This is
tests-worth-having T5.
Why: spec-check.sh and brief.sh each read a task list with their own awk, and every
smoke check fed them inputs a person thought of.
How: Hypothesis is pinned to 6.170.16 in one constant, with derandomize and no example
database, so a run tries the inputs of the last (design.md, fifth record).
Agreement is read from CONFLICT lines against the files brief.sh prints, with a
last task that lists every file, and no new mode in spec-check.sh (seventh
record). Each input is a directory of its own under one temporary directory. A
failure prints the property's name and the input's files. Without Hypothesis it
prints the uv command and exits 2.
Test plan: check 124 written first and run alone, red: no such script. With the script the
check failed twice, and both were faults in prop.py that it is there to find.
One: monotone passed on the copy broken for it. Its forty inputs held no shipped
spec with an uncited requirement, the one case that can fail; it now cites a
requirement no line cites yet, and two specs in three are shipped. Two:
Hypothesis wrote a .hypothesis folder into the working directory whatever
`database` says; it now goes into the temporary directory. After both: the five
broken copies each give exit 1 with FAIL <name> and the input; two runs at one
broken copy print the same lines; a hypothesis.py that raises ImportError gives
the one line and exit 2; the working directory and `git status` are unchanged.
`uv run --quiet --with hypothesis==6.170.16 python3 scripts/prop.py` -> five PASS
lines, exit 0, 21 s here on Python 3.14.8. `sh scripts/smoke.sh --no-model
</dev/null` -> exit 0, 247 passed (35 text-only), 16 skipped (model), 0 failed.
lint -> 0 errors. spec-check -> 36 specs, 0 gaps; this spec reads tested=28.
decision-check --run -> 0 fired, 0 errors. No property failed on the real
scripts, so nothing was put to the owner under the rule of "A property that
fails". Found on the way and written in tasks.md, not fixed: brief.sh prints a
task's Test: and Done when: lines with echo, which reads backslash escapes; no
task in this repository holds one.
What: .github/workflows/lint.yml: each of its two jobs gains a step that installs
hypothesis==6.170.16 and a step that runs `python3 scripts/prop.py`. Smoke check
125 (prop-ci) reads both jobs for both lines and holds the version to prop.py's
constant. This is tests-worth-having T6; the task stays open until both jobs
have run the properties on the pull request.
Why: The properties are about two awk programs, and the two runners do not ship the
same awk: lint runs on Ubuntu and smoke-no-model on macOS. Users run the scripts
on both (the owner's answer, 2026-11-20; design.md, sixth record).
How: Eighteen lines added and none changed: smoke checks 98, 105, 108 and 109 read
lines of this file. In smoke-no-model the install comes before the smoke suite,
whose check 124 runs prop.py too. The property step has `if: !cancelled()`, so a
run that is red on an earlier step still shows what the properties say.
Test plan: check 125 written first and run alone, red: four lines missing. After: the real
file reads as complete; a copy whose lint job lacks the run step reads "lint: no
step runs prop.py" and nothing else; a copy that installs another version reads
two missing installs. The file parses as YAML, and each job lists its steps in
the order meant. `sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 248
passed (35 text-only), 16 skipped (model), 0 failed; checks 98, 105, 108 and 109
pass. lint -> 0 errors. spec-check -> 36 specs, 0 gaps; this spec reads
tested=29. Not verified, and why the task is open: that the pinned install works
on CI's Python 3.12, how long forty inputs take on each runner, and whether
Ubuntu's awk gives the answers macOS's gives.
… feature
What: plugins/shipkit/scripts/red-check.sh <project> <slug> <base> [--test '<command>']
[--link <dirs>] lists the test files that cite the spec and differ from the base
ref, runs the project's suite on a scratch worktree of that ref, and runs it again
with those files copied in. It prints TEST <file> lines and then RED-AT-BASE,
GREEN-AT-BASE <files>, BASE-NOT-RUNNABLE or NO-TESTS. Smoke check 126 (red-check)
holds it. This is tests-worth-having T7.
Why: Nothing showed that a new test was ever red: the default workflow says "test
before code" and the gate took it on trust. A test that passes on the tree
without the feature proves nothing about the feature.
How: The worktree is detached, inside a directory from mktemp with a template, and one
function set on EXIT removes both; INT, TERM and HUP lead to it (design.md, ninth
record). The suite runs as a child the script waits for, so a signal reaches the
script mid-run and the child is stopped first. The citing files come from the
search spec-check.sh makes, repeated here with the same exclusions and the same
rule for `> Tests:` (eleventh record). --link makes a symbolic link for each
named untracked folder and refuses a file, a missing name and a path git tracks
at the base. Every verdict exits 0: it is run by hand and is no gate step (V18).
The project must be the top of its repository; the header says so.
Test plan: check 126 written first and run alone, red: no such script. With the script one
assertion of the check was wrong, not the script: a run stopped by TERM has
already printed its TEST line, and the check asked for nothing at all; it now
asks for that line and no word after it. In a scratch repository with a base and
a feature commit: a test that needs the feature is RED-AT-BASE after two suite
runs; one that asserts nothing is GREEN-AT-BASE; a suite that fails at the base
is BASE-NOT-RUNNABLE after one run; a spec no file cites, and a citing test the
branch did not touch, are NO-TESTS with no run; a citation outside `> Tests:` is
no TEST line and is the file spec-check.sh calls CITED-ELSEWHERE; an untracked
citing test is listed; the recorded command is used when --test is absent, and
neither is exit 2; --link deps makes the base runnable and leaves deps/ as it
was; nine wrong calls are exit 2 with no word; after all of it, and after a TERM
during `sleep 30` (exit 130), the temporary directory is empty and status,
branches, stash, worktree list and HEAD read as before, with the check's own
worktree still there. `sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 249
passed (35 text-only), 16 skipped (model), 0 failed; the briefing still starts
229 commands. lint -> 0 errors. spec-check -> 36 specs, 0 gaps; this spec reads
tested=40. No existing skill, agent or rule file differs from main.
…command, not run
What: plugins/shipkit/scripts/ship-check.sh writes one more line to evidence.md, after
the last block: "Not run, a suggestion: " and the red-check.sh command for the
same project, slug and base ref, with --test when ship-check.sh was given one.
Standard output and the exit status are as they were. gate-as-software/REQ-11
carries a dated note. Smoke check 107 holds the line. This is tests-worth-having
T8.
Why: The plan has ship-check.sh name the command and not run it: red-check.sh is read
by hand until a real run has shown its verdict to be right (V18). The plan's file
list for the task left ship-check.sh out; the owner said yes to doing it in this
sprint on 2026-11-20.
How: The line goes into evidence.md and not onto standard output, which check 107
holds to the scratch path and six step lines (design.md, thirteenth record). It
starts with neither "### " nor "result:", so the six blocks are counted as
before. The plugin's location is written <plugin root>, as every command in the
file is. A test command is put inside single quotes, with a quote of its own
written '\'', so the line can be pasted.
Test plan: check 107 extended first and run alone, red on its three new assertions: the
last line was step 8's result. After: with --test the line ends with the command
given; with none it ends at the base ref and standard output is still six lines
after the path; a command that holds a quote is written with '\''. `sh
scripts/smoke.sh --no-model </dev/null` -> exit 0, 249 passed (35 text-only), 16
skipped (model), 0 failed; checks 108 and 109 pass. lint -> 0 errors. spec-check,
the checkout's and the released 5.3.0's -> 36 specs, 0 gaps; this spec reads
tested=41 waived=9 uncited=0. `spec-diff.sh . gate-as-software main` ->
REQ-CHANGED for REQ-11, as meant.
What: GUIDE.md gains "Red at base", after "Checks that a diff triggers": what
red-check.sh does, its two forms, what each of its four lines means, what --link
shares, and that it is run by hand. This is tests-worth-having T9.
Why: REQ-44. The script ships in the plugin and nothing runs it for the user, so the
guide is where they learn it exists and what a GREEN-AT-BASE line is telling
them.
How: The table gives each verdict line and its meaning, with the two limits said where
they bite: one suite run for all the files, so a vacuous file can hide behind a
failing one; and a linked folder is shared with the project the script is
pointed at, so a suite that writes there needs a clone. The plugin's location is
written <plugin root>, as in the neighbouring sections.
Test plan: prose, read against REQ-44: the four words, the shared folder and "run by hand,
not a step of the ship gate" are each there. lint -> 0 errors (its check 7 reads
GUIDE.md for a machine's path, its check 18 for the map). `sh scripts/smoke.sh
--no-model </dev/null` -> exit 0, 249 passed (35 text-only), 16 skipped (model),
0 failed. spec-check -> 36 specs, 0 gaps. `checks-match.sh . main` -> no item
triggered.
What: tasks.md records the exit checklist of Sprint 33, read at the commit after T9's,
and names the one task of the sprint still open, T6.
Why: The plan asks for the ten lines at each sprint's end, with line 9, the
properties, for the first time. Written down, the pull request and the next
session read one record.
How: Each line was run, not carried over: lint, the model-free smoke suite,
grader-check, spec-check, the two byte counts, release-check, prop.py under uv,
decision-check, and the diff of skill, agent, rule and overlay files against main.
Test plan: lint -> 0 errors. `sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 249
passed (35 text-only), 16 skipped (model), 0 failed, read at T9's tree, which
this commit changes by one file under .shipkit/. grader-check -> 37 as expected,
0 not. spec-check -> 36 specs, 0 gaps; tested=41 waived=9 uncited=0. rules 2,999
bytes; evals 204,629. release-check -> 31 shipped, 5 findings. prop.py -> five
PASS lines, exit 0. decision-check --run -> 0 fired, 0 errors. No skill, agent,
rule or overlay file differs from main.
…itten
What: brief.sh prints the "- Test:" and "- Done when:" lines of "Prove it with" with
printf '%s\n' instead of echo. Smoke check 127 (brief-escapes) holds it. The spec
gains REQ-51 and brief.sh in its Paths line, and tasks.md gains T12, ticked; its
"Found on the way" entry says the fault is fixed. This is tests-worth-having T12.
Why: sh reads escapes in echo's argument on this machine: a task's \n became a line
break, \t a tab, \\ one backslash, \b a backspace byte, and \c cut the line and
the next one together. The agent given the brief got a command that was not the
one in tasks.md. Found while choosing what prop.py may generate.
How: Two lines changed. The requirement block was already exact (awk, REQ-25). The
title line (brief.sh:137) also uses echo; it was outside what the owner agreed
to and is left as it was, noted in tasks.md.
Test plan: check 127 written first and run alone, red: the Test line came out split at
the \n with a tab and a single backslash, the backspaces ate "\b", the Done when
line stopped at \c and ran into the next line, and Prove it with held 4 lines,
not 3. After the change, checks 127 and 71 pass alone.
`sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 250 passed (35 text-only),
16 skipped (model), 0 failed. lint -> 0 errors. spec-check -> 36 specs, 0 gaps;
this spec reads tested=42 waived=9 uncited=0. `uv run --with
hypothesis==6.170.16 python3 scripts/prop.py` -> five PASS lines, exit 0.
Refs tests-worth-having T12
…rties green
What: T6 is ticked in .shipkit/specs/tests-worth-having/tasks.md, with a dated note under
it for what CI read on pull request #44, and the exit checklist's last line says
only T10 and T11 stay open.
Why: The task's "Done when" has two halves: checks 98, 105, 108, 109 and 125 pass
here, and on the pull request both jobs run the property step and are green.
The second half needed a push, and three things were assumed until a runner
said them: that hypothesis 6.170.16 installs on CI's Python 3.12, how long forty
inputs take, and that Ubuntu's awk agrees with macOS's.
How: Read from run 44686605730 at 18e0356, not run again. "Property tests of the two
parsers": lint (Ubuntu, Python 3.12.16) five PASS lines in 10 s; smoke-no-model
(macOS arm64, Python 3.12.10) five PASS lines in 35 s; "prop: 5 of 5 hold" in
both. pip installed 6.170.16 in both. The smoke job: 250 passed (35 text-only),
16 skipped (model), 0 failed. No property failed on one runner only, so the
design's sixth record is not called on.
Test plan: lint -> 0 errors. spec-check -> 36 specs, 0 gaps. No code changed.
Refs tests-worth-having T6
What: brief.sh prints its first line, "# Brief: <slug> / <task> — <title>", with
printf '%s\n' instead of echo. Smoke check 127 (brief-escapes) gains an
assertion for it. The spec gains REQ-52 and tasks.md gains T13, ticked; the
"Found on the way" entry says the title line is fixed too. This is
tests-worth-having T13.
Why: The title line had the fault 18e0356 fixed in the Test and Done when lines: sh
reads escapes in echo's argument, so a \t in a title became a tab, \\ one
backslash, and \c cut the line and ran it into the next. Left out of T12 because
the owner's yes named two lines; asked again and agreed before the merge.
How: One line changed. No other echo in brief.sh prints text from tasks.md or
spec.md: the rest print fixed words, the slug, the task id or a count.
Test plan: check 127 extended first and run alone, red: the title line read
"Copy a<TAB>b, c\d and " with "## Goal" joined to it, where the task has
'Copy a\tb, c\\d and \c'. After the change, checks 127 and 71 pass alone.
`sh scripts/smoke.sh --no-model </dev/null` -> exit 0, 250 passed (35
text-only), 16 skipped (model), 0 failed. lint -> 0 errors. spec-check -> 36
specs, 0 gaps; this spec reads tested=43 waived=9 uncited=0. `uv run --with
hypothesis==6.170.16 python3 scripts/prop.py` -> 5 of 5 hold.
Refs tests-worth-having T13
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 33 of the verifier plan (
docs/plans/verifier-sprint-plan.md): a probe that will measure which kind of test the spec skill names, five property tests of the two task parsers that both CI jobs run, andred-check.sh, which shows whether a cited test fails on the tree without the feature. The spec is.shipkit/specs/tests-worth-having/(REQ-1 to REQ-52) and stays open. T6 was ticked in80e1e9f, after this pull request's CI ran the properties green in both jobs. T10 and T11 need a paid run and wait for Sprint 35 (rules 33 and 34). No existing skill, agent or rule file changes here, and no paid model run was started.What changed
0d30758, T0, REQ-45 to REQ-47). Intake, 50 requirements, thirteen decision records, and the waiting text W1 to W5: a table that maps a requirement's shape to a kind of test, forspec/reference.md, and one step for/shipkit-workflows:migration-plan. Nothing applies them before Sprint 35, which measures first.scripts/kind-probe.sh(fc9b8b1,d22922c,6247d77,b07c3e3; T1 to T4; checks 122, 123).--scaffold kinds|migration <dir>builds a fixture:passbook, a spec with three requirements of three shapes, andinkwell, a librarytextkitat 1.4 and 2.0 with its changelog.--run kinds|migration [N]only prints the commands without--yes.--readsays which kind of test each task names (by a tag, then a short word list), and--read-plansays whether a migration plan holds a differential step. Six hand-written task lists and two plans underscripts/kind-replies/hold the reader to its answers.scripts/prop.py(66f984e, T5, REQ-21 to REQ-30; check 124). Five properties ofspec-check.shandbrief.shon specs Hypothesis generates: agreement, no-side-effect, monotone, exactly-one, round-trip. Hypothesis is pinned to 6.170.16, with derandomize and no example database, so two runs try the same inputs. Check 124 shows each property failing on a copy of the script broken for it.45769da, T6, REQ-31; check 125). Each job installshypothesis==6.170.16and runspython3 scripts/prop.pyin a step "Property tests of the two parsers", withif: !cancelled(). No existing line of the workflow changed.plugins/shipkit/scripts/red-check.sh(0a754cc, T7, REQ-32 to REQ-42; check 126).<project> <slug> <base> [--test '<cmd>'] [--link <dirs>]runs the project's suite on a detached worktree of the base ref, once as the base has it and once with the branch's citing test files copied in. It printsTESTlines and thenRED-AT-BASE,GREEN-AT-BASE <files>,BASE-NOT-RUNNABLEorNO-TESTS. It is run by hand, exits 0 for any verdict, and leaves the project and git as they were, also when stopped by a signal.ship-check.shsuggests it (29969ea, T8, REQ-43; check 107 extended). The last line ofevidence.mdis "Not run, a suggestion:" with thered-check.shcommand for the project, slug and base. Standard output is unchanged.gate-as-software/REQ-11carries a dated note.GUIDE.md, "Red at base" (7894020, T9, REQ-44). The four verdict words, that a--linkfolder is shared with the project, and that it is run by hand and is no gate step.brief.shcopies a task'sTestandDone whenlines as written (18e0356, T12, REQ-51; check 127), and its title line too (47b3ee8, T13, REQ-52; check 127 extended). See "Found on the way" below.Checks
On the owner's Mac at
18e0356(lint, smoke, spec-check, prop, grader-check, release-check, decision-check), and CI on this pull request.bash scripts/lint.shsh scripts/smoke.sh --no-model </dev/nulluv run --with hypothesis==6.170.16 python3 scripts/prop.pysh plugins/shipkit/scripts/spec-check.sh .tested=43 waived=9 uncited=0(at47b3ee8)sh scripts/grader-check.shrelease-check.sh .decision-check.sh . --run18e0356(run 44686605730), "Property tests of the two parsers"47b3ee8(run 44691867501)Not run, and not verified
kind-probe.sh --run ... --yeswas run only against a stand-inclaudethat records its call: once for kinds and twice for migration, in check 122. REQ-6 and REQ-17 keep their waivers. That a headless/shipkit:spec passbook taskswrites atasks.mdwithout stopping at a gate, that/shipkit-workflows:migration-plan(which runs in a fork) leaves its plan in the reply, and that the JSON result carries the reply underresultare all assumed. Sprint 35 finds out.pip install hypothesis==6.170.16worked on both runners' Python 3.12, forty inputs took 10 s on Ubuntu and 35 s on macOS, and Ubuntu's awk agreed with macOS's on them. Inputs are the same from run to run only for one Hypothesis and one Python, so a CI failure is repeated from the files it prints, not by running locally. A property that fails on one runner only goes to the owner before any fix (design.md, sixth record).red-check.shon a real project: what it says and how long it takes. That is T11, on a clone, in Sprint 35.What was awkward
.hypothesisfolder into the working directory whateverdatabasesays.prop.pypoints it into its own temporary directory withset_hypothesis_home_dir, and check 124 holds the working directory andgit statusunchanged.brief.shfix, withbrief.shadded to the spec's Paths line.TESTline. The check now asks for that line and no word after it.Found on the way
brief.shdid not copy a task'sTest:andDone when:lines as written. It printed them withecho, andshreads escapes there:\nbecame a line break,\ta tab,\\one backslash,\ba backspace byte, and\ccut the line short. The agent given the brief got a command that was not the one intasks.md. No task in this repository held such a backslash. Both lines now useprintf '%s\n'. Check 127 was written first and shown failing. The requirement block was already exact (REQ-25, the round-trip property).brief.sh's title line (brief.sh:137) also printed the task's title withecho. It usesprintf '%s\n'now (47b3ee8, REQ-52); check 127 was extended first and shown failing. No otherechoinbrief.shprints text from the task list.shipkit-spec-goldfish.outin the system temp directory (plugins/shipkit/skills/spec/SKILL.md, Q2 step 4). During this sprint that file held another project's reply, written by a session in another window. This spec's reply was kept beside it under another name. The fix is skill text, so it waits for Sprint 35 (rule 34).🤖 Generated with Claude Code