Skip to content

feat(bench): proof-only-hard tasks whose rules the code never hints at - #302

Draft
tonyketcham wants to merge 2 commits into
claude/agent-memory-context-potency-6sniud-p5-suspectfrom
claude/agent-memory-context-potency-6sniud-p5-hard
Draft

tonyketcham wants to merge 2 commits into
claude/agent-memory-context-potency-6sniud-p5-suspectfrom
claude/agent-memory-context-potency-6sniud-p5-hard

Conversation

@tonyketcham

@tonyketcham tonyketcham commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #301.

Why

In #300, the proof-only tasks showed no gain: the no-Proof arm passed 17 of 18. The code's own patterns already taught their rules, so those tasks couldn't show a benefit.

What

This adds a new category, proof-only-hard: 6 build tasks and 2 plan tasks. Each rule is a product decision recorded in Proof before the feature existed. Nothing in the code, tests, docs or history hints at it, and the natural implementation breaks it.

Task Hidden rule
B-H1 A layer-rename plugin event redacts names unless the plugin may export (a security-review constraint)
B-H2 Font-size steps follow the type scale, not 1 px (a deferred issue)
B-H3 Frame selection makes a frame with no fill and no clipping (a usability finding)
B-H4 Replace colour skips locked layers (a deferred issue)
B-H5 Select same fill stays inside its top-level frame
B-H6 Round to pixels rounds edges, not sizes
L-H1 Plan: review comments live outside the document and outlive their layer
L-H2 Plan: an SVG exporter is a plugin on the export capability and leaks no names or hidden layers
  • Gate: 193 static checks and 72 graded patches pass. A grep of the no-Proof history finds 0 hits for each rule. The v1 tasks grade exactly as before.

Results (in the README and results/)

Proof-only-hard on Sonnet 5.5 (149 sessions):

Arm Builds all-green Plans
none 3 of 18 0.25
skill 15 of 18 0.88–1.00
find 15 of 18 0.88–1.00
findcode 11 of 18 0.88–1.00
brief 11 of 18 0.88–1.00
dump 18 of 18 0.88–1.00
  • Every Proof arm beats none on the pre-registered test, after Holm correction: dump p = 0.0005, skill and find 0.002, brief and findcode 0.043.
  • Counted per task, skill and dump win 6 tasks to 0 (p = 0.031).
  • Search arms lost where the query didn't reach the record. findcode passed 0 of 3 on the type-scale task, where find passed 3 of 3.

The #301 suspect warning on Haiku (216 sessions, stale and code-visible tasks). Builds all-green out of 27, v1 → v2:

Arm v1 v2
findcode 17 20
brief 13 18
skill 17 17
find 16 16
dump 12 12
  • It worked when sessions opened the stale Decision: findcode passed the shortcut task 3 of 3, up from 0 of 3.
  • It didn't help when sessions saw only find's summary line, or when the warning sat inside a full dump.

A measurement Finding records both runs.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DVVnhYL1Bz7mCfEKDoyLMW

…ts at

v1's proof-only tasks showed no gain because the code's own patterns
taught their rules. The new category has 6 build and 2 plan tasks whose
rule is a product decision recorded in Proof before the feature existed
(a security-review constraint, a deferred issue with agreed behaviour,
usability findings) and nothing in the code, tests, docs or history
hints at: plugin events redact names unless the plugin may export; font
size steps follow the type scale; a wrapping frame has no fill and does
not clip; colour replacement skips locked layers; select-same-fill stays
in its top-level frame; pixel rounding rounds edges, not sizes.

18 records join the bed before the first drift; the none bed is
unchanged. The gate checks that every leak word is in the records and
none is in the prompt or the none bed's history: 193 static checks and
72 graded patches pass, and the v1 tasks grade as before. DESIGN.md
pre-registers the new category and its Sonnet 5.5 run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVVnhYL1Bz7mCfEKDoyLMW
Proof-only-hard on Sonnet 5.5 (149 sessions): builds all-green none 3
of 18, skill 15, find 15, findcode 11, brief 11, dump 18; every Proof
arm beats none after Holm correction (dump p = 0.0005), and plans score
0.88-1.00 against 0.25. Search arms lost where the query did not reach
the record.

The suspect warning on Haiku (216 sessions, stale and code-visible
tasks): build all-green of 27 rose from 17 to 20 for findcode and 13 to
18 for brief, and findcode passed the stale shortcut task 3 of 3 after
0 of 3; it did not help when sessions saw only find's summary line or
when the warning sat inside a full dump.

The README gains a v2 results section, results/ the per-session rows
and compare output, and a measurement Finding records both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVVnhYL1Bz7mCfEKDoyLMW
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.

2 participants