Say whether a gate's numbers are about the agent or about a fixture - #1821
Merged
Merged
Conversation
gate-health reported every gate in one column, so a row grading a checked-in fixture looked exactly like a row grading agent output. That is how a working suite came to look broken. Read off the report on 2026-09-10: runtime-crud 9%, runtime-frontend 9%, runtime-frontend-api 0%, runtime-health 33%, runtime-app-starts 42% -- taken as evidence the product could not produce working code. All five are declared solely by gates-selftest-emulators and gates-selftest-prescaffolded, whose own first line reads "HARNESS SELF-TEST. NOT A PRODUCT SIGNAL." and which go on to say that quoting them as evidence about the agent "would be the vacuous pass this suite exists to prevent". The numbers describe the fixture and the container. The product-graded gates were meanwhile fine: project-builds 85%, requirements across 12 stimuli, safety-boundaries across 5. Each row now carries what it is about: [FIXTURE - not a product signal] 6 gates [MIXED fixture+product - rate not interpretable] 5 gates and the findings section leads with both lists, before any other finding, because it decides how to read all of them. mixed rows are deliberately NOT split into two numbers. Doing that needs per-run attribution of stimulus, which this tool does not have; a split it cannot compute would replace an obviously-uninterpretable row with a confidently wrong one. Classification is by self-declaration, not a filename list, so a new self-test is classified the moment it is written and a renamed one cannot silently become a product signal. Only the first three lines are scanned -- the banner. Scanning the whole file matched any stimulus that merely discusses fixtures: the first version classified integrate-seam as a self-test because line 24 explains why it does NOT use a fixture seed, which wrongly hid three real product gates and made integration-plan look mixed. That failure hides product signal, which is the direction this report must never fail in. A gate observed in the corpus but absent from today's stimuli is reported as unknown rather than assumed to be product. Verified: tsc --noEmit clean, eslint clean, eval:drift 17 contracts intact. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
The problem
gate-healthreported every gate in one column, so a row grading a checked-in fixture looked exactly like a row grading agent output. That is how a working suite came to look broken.Read off the report yesterday:
runtime-frontend-apiruntime-crudruntime-frontendruntime-healthruntime-app-startsAll five are declared solely by
gates-selftest-emulatorsandgates-selftest-prescaffolded, whose own first line reads:…and which go on to say that quoting them as evidence about the agent "would be the vacuous pass this suite exists to prevent."
Those numbers describe the fixture and the container. The product-graded gates were fine all along:
project-builds85%,requirementsacross 12 stimuli,safety-boundariesacross 5.The change
Every row now says what it is about:
6 fixture-only gates, 5 mixed. The findings section leads with both lists — before any other finding, because it decides how to read all of them.
subjectis also in the--jsonoutput.Mixed rows are deliberately not split into two numbers. That needs per-run attribution of stimulus, which this tool doesn't have; a split it cannot compute would replace an obviously-uninterpretable row with a confidently wrong one.
Classification, and the bug in my first attempt
By self-declaration, not a filename list — so a new self-test is classified the moment it's written, and a renamed one can't silently become a product signal.
Only the first three lines are scanned. Scanning the whole file matched any stimulus that merely discusses fixtures: the first version classified
integrate-seamas a self-test because line 24 explains why it does not use a fixture seed. That wrongly hid three real product gates and madeintegration-planlook mixed — a failure that hides product signal, which is the direction this report must never fail in.A gate present in the corpus but absent from today's stimuli reports as
unknownrather than being assumed to be product.Validation
tsc --noEmitclean · eslint clean ·eval:drift17 contracts intact