Repository navigation
RFC: Roadmap Benchmark Suite for Multi-File Assumption Rates & Cross-File Collisions #8
endean-eng
started this conversation in
Ideas
Replies: 2 comments 2 replies
|
Quick roadmap cross-link: I just opened #9 exploring cross-discipline physical boundary routing (Pillar A) for v3.0. The failure mode there - two active specs in different domains sharing zero lexical vocabulary (e.g., sealing a mechanical enclosure to IP65 while violating an electrical VFD's |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Context & Bottleneck
This RFC comes out of a recent exchange on
r/ContextEngineeringwithu/Independent-Flow3408(author of SigMap) regarding empirical agent cost benchmarks across 22,540 runs.Two takeaways from that thread expose a real gap in how
TOKENMEis currently verified:ripgrepcalls, upfront index context is mostly dead weight. The harder questionu/Independent-Flow3408raised is whether attaching[TOPOLOGY]edges and per-file constraints directly to code coordinates actually reduces wrong assumptions and cross-file collisions during multi-file edits.Right now,
endean-eng/tokenmehas deterministic unit and integration tests fortokenme-sync.py(idempotency, hash drift,--triage/--ack, and sharding hysteresis), plus informal dogfooding showing lower cold-start handoff overhead and fewer irrelevant file reads. What is missing from the roadmap is controlled, reproducible empirical evidence on whether the declarative layer improves multi-file modification accuracy.Current Invariant vs. Proposed Roadmap Addition
Today,
TOKENME.txtpairs deterministic structure (:start-endspans and Merkle-verified file rows) with bounded semantic state ([PURPOSE],[TOPOLOGY]directed edges, and per-file invariants). The working hypothesis is that co-locating behavioral constraints with coordinates prevents agents from making silent cross-file errors when modifying coupled modules.To test that hypothesis honestly instead of assuming it, I am proposing a new roadmap milestone: a Paired Multi-File Modification Benchmark Harness (living under
benchmarks/or a companion eval repo so coretokenme-sync.pystays zero-dependency perADR-006).Proposed Experimental Matrix
Run paired A/B modification tasks across held-out repositories (including repos the spec was not tuned on) under three isolated context arms:
ripgrep, file read)TOKENME.txtstructure only (file table +:start-endspans;[TOPOLOGY]and invariants stripped)TOKENME.txt[PURPOSE],[TOPOLOGY], per-file invariants, and coordinates)Primary Metrics to Track
Rather than optimizing for raw static map compression or single-file locate latency, the harness should record end-to-end modification outcomes:
[TOPOLOGY]edges prevent blind side-effect regressionsNote
Scope Boundary: Any eval harness added to the roadmap should remain strictly decoupled from
tokenme-sync.pyso the core CLI preserves its Python standard-library-only guarantee (ADR-006).Rejected Shortcuts & Trade-Offs
TOKENME.txttokens measures cold-start index footprint, not end-to-end API spend. Framing it as a guaranteed cost reduction is misleading and should be avoided in docs and CLI telemetry.Open Questions for Feedback
[TOPOLOGY]vs. per-file invariants: Is splitting Arm 1 (bare coordinates) vs. Arm 2 (fullTOKENME.txt) sufficient to isolate the value of attached constraints, or is it worth ablating[TOPOLOGY]edges separately from per-file summaries?All reactions