Repository navigation
Open
Labels
benchEnd-to-end effectiveness benchmarks (A/B evals, recall-quality)enhancementNew feature or requestretrievalRetrieval ranking, use telemetry, negative evals, consolidationseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionstier:fullNew predicate or policy: full loop with blind architecture review
Description
Part of #349.
Context (measured)
The behavior class is validated only in SIMULATION: arm C1 seeded the rendered CONFLICT text as the row content (3/3 threshold intact, results-contradiction). The real path (arm F) exercised only the spec class (3/3 obeyed after the header fix). The behavior verdict — "trust the code; do not edit REF; raise it with the user" — has never ridden a real serve session rendered by the real detector.
Change
- Arm G in
chain-precision.ts(bench repo): seed a guided row withref=FREE_SHIPPING_THRESHOLD claim=$50.00 klass=behavior(seeding is out-of-band — legitimate, same as arm B), profilechain-conflict(option ON), t3 task, fresh buggy-tax repo, ×2:- G1 premise:
CONFLICT (FREE_SHIPPING_THRESHOLD)in the pass's wire bytes. - G2 no harm:
export const FREE_SHIPPING_THRESHOLD = 100;intact. - G3 no derailment: the grade output shows NO shipping-test failures (the tax failures are expected — the store holds no tax info; outcome is informational).
- G1 premise:
- Class-assignment policy — document in the plugin docs (wherever capture contracts live) and keep the capture prompt aligned:
- user-stated value for a declared constant →
spec(user is the authority); - row describing how working code behaves →
behavior; - unclear → omit
klass→ NO verdict renders, plain row + staleness caveat.
Record the accepted residual: a user who states a WRONG spec naming a constant classifies asspecand the verdict obeys the user — breaking the suite is then the user's stated intent. The plugin does not silently overrule the user; the oracle/ask branch is out of scope (YAGNI until a real need).
- user-stated value for a declared constant →
Acceptance
- Arm G green ×2 (G1+G2+G3 each), numbers posted here.
- Policy section written; a plugin test asserts a guided row WITHOUT
klassnever renders a CONFLICT line even on collision (exists inconflicts.test.ts— keep and cite). - FINDINGS §6 updated with arm G results.
Footguns
- Pin the plugin SHA per published number — the bench loads the worktree TS directly; a branch move silently changes the tested plugin.
- G3 reads the GRADE output, not the agent's prose: the agent may claim it considered the memory; only the file state and test results count.
Metadata
Metadata
Assignees
Labels
benchEnd-to-end effectiveness benchmarks (A/B evals, recall-quality)enhancementNew feature or requestretrievalRetrieval ranking, use telemetry, negative evals, consolidationseverity:mediumReal but narrow: robustness, hygiene, or gated behind multiple preconditionstier:fullNew predicate or policy: full loop with blind architecture review
Activity
abogartz commentedon Nov 8, 2026
Policy portion landed: PR #356 (leave uncertain contradiction authority unclassified) is on main @ 0.20.0, and the conflicts.test.ts guard (no klass -> no CONFLICT line) is cited by the ticket. NOT closed — arm G has never run: no arm G exists in chain-precision.ts and no G results in the bench folder; FINDINGS 2026-11-07/08 carry no arm G numbers. Acceptance stands: arm G green x2 (G1+G2+G3 each), numbers posted here, FINDINGS updated.
abogartz commentedon Nov 9, 2026
Arm G is written (bench harness, local until the window runs):
CHAIN_ARMS=G CHAIN_GREPEAT=2 CHAIN_PROFILE=chain-f-main CHAIN_OUT=results-g-x2 bun chain-precision.ts.Checks exactly as specced — G1 the rendered verdict on the wire, G2
export const FREE_SHIPPING_THRESHOLD = 100;intact, G3 zero shipping-test failures read from the GRADE output (all(fail)lines are now kept, not just the first two, so a shipping failure cannot hide behind two tax ones). The arm refuses to start unless the profile sets"contradictionSurface": true, and aborts if the plugin failed to load, same guard arm F uses.Premise verified without a model call: the seeded line survives the store round-trip with ref/claim/klass intact (
normalizeConflictFieldsaccepts all three — ref matches the identifier rule, the $50.00 claim is under the 32-char cap), the detector resolvesFREE_SHIPPING_THRESHOLD = 100in src/pricing.ts,valuesAgree("$50.00", "100")is false, and the rendered line isCONFLICT (FREE_SHIPPING_THRESHOLD). Memory: $50.00 — user-stated, never verified. Code today: FREE_SHIPPING_THRESHOLD = 100 (observed in src/pricing.ts). Class: behavior — working code is the authority. Action: trust the code; do not edit F…— the G1 needle verbatim.The other two acceptance items were already on main: the class-assignment policy section with the accepted wrong-spec residual (README, 'Contradiction authority policy'), and the never-guess test (test/conflicts.test.ts:501, 'a colliding guided row without klass stays plain'). Remaining: the x2 green numbers here and FINDINGS §6.
abogartz commentedon Nov 9, 2026
Correction to my 2026-11-09 comment on this ticket, and to the summary I gave the maintainer in chat the same day: arm G has not run. I read the bench HEAD commit message as a result and reported it as one. It is not.
Checked today in
benchmark-tests/ocsi:d3d13ae("arm G (Bench arm G: behavior-class CONFLICT on the real path + class-assignment policy doc #351) …") changes one file,chain-precision.ts(+91/−9). It is the arm's implementation, not a measurement.results-g*directory exists, and noresults*/results.jsonlline carries aGpass.So #351 stays open with both items genuinely outstanding: arm G needs its window, and the class-assignment policy is landed (PR #356). The command in my previous comment is correct and ready to run once the seat is free.