ground-truth-gates: a gate over hardcoded facts asserts the facts, not just the shape - #79
Merged
Conversation
firaen22
force-pushed
the
mine-chat-evidence-as-fixture
branch
from
July 24, 2026 15:52
ea60957 to
1fab936
Compare
…t just the shape New rule 6 under 'What makes a gate real'. When code embeds domain constants (holiday dates, rates, valid-state sets), a structure-only suite passes whether the values are right or a later edit corrupted one. The values were cross-checked once — but in the conversation, which evaporates at session end. Anchor the load-bearing values as assertions from the authority you already consulted, so a future silent constant change fails. This is item 2's change-detector carve-out used correctly (the value IS the contract). Class-distilled from a mining pass over the owner's own sessions (no code taken): a 'tests check shape, not date-truth' cross-model finding on hardcoded holiday dates. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
firaen22
force-pushed
the
mine-chat-evidence-as-fixture
branch
from
July 25, 2026 00:11
1fab936 to
5a04f92
Compare
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.
What
New rule 6 under "What makes a gate real". When code embeds domain constants (holiday dates, a tax rate, a fee schedule, a valid-state set), a structure-only suite passes identically whether the values are right or a later edit corrupted one. Those values were usually cross-checked once — but in the conversation, which evaporates at session end. Anchor the load-bearing values as assertions from the authority you already consulted, so a future silent constant change fails.
Why
This extends item 2's carve-out — from an output-interface string to an embedded input constant — and is distinct from item 3's "hardcoded expected value" fake-pass: the anchor's value comes from an external authority, not copied back from the code's own output. Item 3's tautology asserts the source is the source; this asserts the source matches the world.
Class-distilled from a mining pass over the owner's own sessions (no code taken): a "tests check shape, not date-truth" cross-model finding on hardcoded holiday dates that had been cross-checked against four sources — but only in chat, never in the gate.
Ships
unprobedper the covenant..github/checks.pygreen.Revision note (2026-07-24)
Force-pushed after a same-day adversarial self-audit found the original "Why" over-claimed: it said this rule "IS item 2's carve-out used correctly," but item 2's carve-out is explicitly scoped to output-interface contracts with downstream consumers (an error-message string, an output name) — a holiday date is an embedded input constant, not an interface. Reframed as an extension of that carve-out rather than a direct instance of it, and added the reconciliation with item 3's "hardcoded expected value" fake-pass (left unaddressed in the original draft) — the two are distinguished by the expected value's provenance, not its presence.
🤖 Generated with Claude Code