Skip to content

Bundled dev pack: the test-first skill - #534

Merged
ion-alpha-dev merged 1 commit into
mainfrom
skill/pack-test-first
Aug 14, 2026
Merged

Bundled dev pack: the test-first skill#534
ion-alpha-dev merged 1 commit into
mainfrom
skill/pack-test-first

Conversation

@ion-alpha-dev

Copy link
Copy Markdown
Collaborator

What

Adds test-first to the bundled dev pack, and the seven objectives it must be retrieved for to skill/bundled/skills/retrieval.txt. Text only: no Go changes.

Why

The published treatments of this subject reduce the red step to an instruction to watch the test fail and a box confirming the model watched it. The confirmation is what gets asked for, so the confirmation is what gets produced, and a red run that was never decisive passes anyway.

This skill is organised around what the red run has to produce instead: the code contradicting the test, in values, in output that names the assertion. That separates the three ways a run comes back red and still proves nothing, which is where the failures actually sit: the test that was green all along, the failure on a missing import rather than on an assertion, and the failure whose output names neither the assertion nor the values.

The closing section is the half no other harness can carry. A ledger item's identity is a hash of its text and its declared check, and the ledger is append-and-mark only, so a check written before the work cannot be narrowed afterwards. Running it records a verdict carrying the exit code, a hash of the output, and a provenance stamp no model can write. Red before green is then a pair of ordered events a reader who was not there can check, rather than a claim the run makes about itself.

How to verify

go test ./skill/...

TestPackIsRetrievable runs the runtime's own ranker over the real pack for every row in the table, with no model and no tokens, so a description that never reaches its own objectives fails the build rather than failing silently at recall time. TestEveryPackSkillStatesItsTriggers refuses a skill that ships without a row.

Notes for reviewers

The rows were also measured against the pack as it will stand once the three sibling dev-pack skills land: every row in the table still passes with all thirteen skills present, so this skill neither displaces them nor is displaced by them.

dev/check is green here apart from three pre-existing cmd/flynn failures that reproduce identically on unmodified main, all three from a local codex launcher with no vendored binary on this machine.

The published versions of this subject all reduce the red step to an
instruction to look at something and a checkbox confirming the model
looked. This one is organised around what the red run has to produce
instead: the code contradicting the test, in values, in output that
names the assertion. That partitions the three ways a red run comes
back decisive and says nothing, which is where the measured failures
sit. A generated test is likelier to pass on the unchanged code than
to reproduce the behaviour it was written for, and where it does fail,
the output frequently identifies neither the assertion nor the values.

The last section is the part no other harness can carry. A ledger
item's identity is a hash of its text and its declared check, and the
ledger is append-and-mark only, so the check written before the work
cannot be narrowed afterwards. Running it records a verdict with the
exit code, a hash of the output, and a provenance stamp no model can
write. Red before green is then a pair of ordered events a reader who
was not there can check, rather than a claim the run makes about
itself.

Adds the skill and its seven rows in the pack's retrieval table.

Signed-off-by: Ion Alpha <contact@ionalpha.io>
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ion-alpha-dev
ion-alpha-dev merged commit ea6fa4a into main Aug 14, 2026
28 checks passed
@ion-alpha-dev
ion-alpha-dev deleted the skill/pack-test-first branch August 14, 2026 23:29
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant