Skip to content

Design: Dependency-Fidelity — making "CI green" mean declared ≡ witnessed - #6557

Merged
briansrls merged 2 commits into
mainfrom
design/dependency-fidelity
Jul 14, 2026
Merged

briansrls merged 2 commits into
mainfrom
design/dependency-fidelity

Conversation

@briansrls

@briansrls briansrls commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Adds docs/plans/dependency-fidelity-design.md — an operator-directed design doc (companion to the enforcement-intent thread) that makes "CI green" mean declared dependency structure ≡ witnessed (by-execution) structure.

Motivated by the int-literal keystone bug: an ingested fn body silently failed to become a substrate Arrow, passed CI green, and collected two diff-level APPROVEs while behaviorally dead — because the one witness that exercised the capability lived in a CI-excluded directory.

Contents (serially reasoned per DESIGN.md):

  • §0 North star — change 5 lines → generate exactly the coverage needed, run only that.
  • §2 The law — declared ≡ witnessed; fractal (the checker is subject to its own law).
  • §3 Three-way ray-tracing — (input, function, output); strong typing is the scene geometry; unreached declared outputs flagged.
  • §4 Coverage = mutation-adequate discrimination — minimal witness set killing every single-edit mutation; generatable, minimal, per-relationship.
  • §5 Two fidelity rules — under-claim (missing authority; the int-literal class) + over-claim (false coupling; global graph-cut, not local).
  • §6 Soundness corpus — load-bearing anti-false-positive golden corpus; the only way to silence a flag is to add a justified pattern.
  • §7 The engine — affected-set × testgen mechanizes the north star.
  • §8–10 — staging, self-witnessing acceptance, open sub-threads.

Diff is a single new planning doc — no code, .dag, shell, or hand-Rust changes.

🤖 Generated with Claude Code

Brian Searls and others added 2 commits July 14, 2026 00:57
… coverage, affected-set×testgen north star

Formalizes the model-correctness law surfaced by the int-literal keystone bug:
a function's signature is a claim about (input,function,output) dependency
structure; correctness = declared ≡ witnessed by execution. Coverage =
mutation-adequate discrimination (minimal, generatable, per-relationship).
Three-way ray-tracing frame (input reachability + output reachability +
interaction fidelity). Anti-false-positive soundness corpus as a first-class
guard. North star: 5-line change → generated minimal discriminating coverage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review July 14, 2026 01:19
@gunbai-bot gunbai-bot Bot changed the title Weak Self Host -> Strong Self Host (Wave 1 -> 4, on 1 exit) Design: Dependency-Fidelity — making "CI green" mean declared ≡ witnessed Jul 14, 2026
@briansrls
briansrls merged commit 2955c38 into main Jul 14, 2026
5 of 6 checks passed
@briansrls
briansrls deleted the design/dependency-fidelity branch July 14, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant