Skip to content

Bench arm G: behavior-class CONFLICT on the real path + class-assignment policy doc #351

Open

Description

@abogartz

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

  1. Arm G in chain-precision.ts (bench repo): seed a guided row with ref=FREE_SHIPPING_THRESHOLD claim=$50.00 klass=behavior (seeding is out-of-band — legitimate, same as arm B), profile chain-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).
  2. 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 as spec and 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).

Acceptance

  • Arm G green ×2 (G1+G2+G3 each), numbers posted here.
  • Policy section written; a plugin test asserts a guided row WITHOUT klass never renders a CONFLICT line even on collision (exists in conflicts.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.

Activity

  1. added
    retrieval
    bench
    on Nov 8, 2026
  2. abogartz commented on Nov 8, 2026

    @abogartz
    OwnerAuthor

    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.

  3. abogartz commented on Nov 9, 2026

    @abogartz
    OwnerAuthor

    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 (normalizeConflictFields accepts all three — ref matches the identifier rule, the $50.00 claim is under the 32-char cap), the detector resolves FREE_SHIPPING_THRESHOLD = 100 in src/pricing.ts, valuesAgree("$50.00", "100") is false, and the rendered line is CONFLICT (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.

  4. abogartz commented on Nov 9, 2026

    @abogartz
    OwnerAuthor

    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:

    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.

  5. added
    severity:medium
    enhancement
    tier:full
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    benchenhancementretrievalseverity:mediumtier:full

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions