Skip to content

Spike: evidence graph (static tier) — test-reference edges + invariants-without-test #117

@skakri

Description

@skakri

Spike. Evidence graph, static tier (cheap, novel, no runtime needed):

  1. Test-reference edges — "which tests reference this symbol" is already a call-graph query (a test fn calling X is a caller edge). impact_surface already lists tests touching a symbol path; formalize it.
  2. "Invariants with no covering test" — cross Invariant memories with the test-reference edges. A genuinely new high-signal product from two things rag-rat already has.

Why it helps an agent: a validation plan, not just context — what proves this works, and which invariants are unguarded.

Out of scope here (dynamic tier): true line coverage via cargo-llvm-cov JSON needs running the suite → a separately-reconciled, staleness-labeled artifact (own follow-up). The static call-path-reachability version ("tests whose path reaches the changed symbols") is an 80% validation planner available now.

Part of #115 epic. Ref: docs/plans/2026-06-14-agent-value-strategy.md §4c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestspikeTime-boxed exploratory/proof-of-concept work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions