You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auto-capture stores the current request as durable preference: 7 of 14 captured rows were task framing #329
Now that auto-capture actually fires (fixed in #328), the question moves from "does it store" to "does it store the right things". Measured on the benchmark: about half of what it stores is the session's own request, restated as a durable preference.
Six runs of the fix-task arm (~/Documents/benchmark-tests/ocsi/results9/B1C, plugin bench-capture@694a6c5, plain prompt, autoCapture: true), 14 captured rows, read by hand:
7 restate the current request. Examples, verbatim from the store:
preference scope=repo-work — "For this repository task, work only inside the current directory; modify only src/, do not create tests, edit docs, or inspect parent/harness…"
context scope=repo — "Hidden CI tests run against src/; do not inspect parent directories, harness files, grading scripts, create test/, or edit documentation."
preference scope=build — "For hidden CI checks, modify only src/ in the current repo; do not create test/ or edit docs/."
Three of these are one instruction worded three ways, in three scopes, so GATE-3's 0.9 overlap floor let all three through.
5 are the durable value, and they are good rows: learning scope=pricing "tax rate invariant is 8.25% (0.0825), applied after discounts and rounded to cents at the end; 0.08 is incorrect"; decision scope=cart "round once after subtracting the restock fee"; decision scope=cart "SAVE10 is a flat 10.00, not 10%".
2 are method, not fact.
In the benchmark the framing rows are harness text. In a real repository the same failure stores last week's ticket as a permanent preference, and then injects it into every future session of that repo. Volume is not the problem — captureMax is already 3 per pass — precision is.
Work
Add a skip rule to buildCapturePrompt (src/capture/prompt.ts): do not store anything that restates what the user asked for in this session, or the constraints of the current task. The existing "Skip" list covers small talk and code-derivable facts, not request framing.
Re-measure precision the same way: classify captured rows as lesson vs restatement, report the ratio before and after. Reproduce with run-capture.sh and the classification in results9/CAPTURE-ANALYSIS.md.
Prompt rule implemented in #331. The fixture result, because it settles which part of the fix does the work.
Fixture reproducing the reported shape — the harness restates the same constraint in every user turn — temperature: 0, identical across repeated passes, thinking on to match the results9/B1C arms:
Old prompt produced exactly the row this issue quotes:
[preference scope=repo constraints] User requires changes only inside src/; no new
files outside src/, no docs edits, no test/ directory, and no inspecting harness or
grading scripts.
With the rule, that row is gone and the slot is taken by a fact the old prompt missed: [learning scope=testing] The repo's own test suite can be run with \bun test ./src` from src/tests.`
Two findings worth keeping:
The framing rule is load-bearing. The durability test alone still stores the framing row.
The "few is better than full" line bounds reasoning, it does not improve precision. Dropping it took reasoning from 2,931 to 11,534 characters and wall clock from 19.7 s to 63.2 s. Permission to emit fewer rows makes the model stop thinking sooner.
Work items 1 and 3 are done in #331 (3 only for capture-side overlap; the watermark rows in this issue's item 3 are a separate mechanism and stay open). Item 2 is not done: the live run-capture.sh re-measure against a build of the branch has not been run, so this issue stays open. #331 measures the rule offline, which isolates it better but is not the end-to-end number.
Implementation chosen: the labelled REQUESTS split, landing as #354 (capture-input-shape @ 652ac10). PR #331 is closed as the alternative; its ablation table is reproduced in the #331 close comment and in the #354 body, so nothing measured there is lost.
Work items 1 and 3 are done on that branch. Item 2, the run-capture.sh re-measure, runs post-merge as #338 against the merged prompt on main.
This issue stays open until #338 records the framing-row rate (target 0) and the completion-token cost against the 656-token shipped baseline.
Fixed by #354 (fire on 2.2.5 hosts and store facts, not briefs); PR #331 closed unmerged by the #337 decision. The precision re-measurement on main is tracked as its own ticket, #338 — record its result here when posted.
Activity
abogartz commentedon Nov 7, 2026
Prompt rule implemented in #331. The fixture result, because it settles which part of the fix does the work.
Fixture reproducing the reported shape — the harness restates the same constraint in every user turn —
temperature: 0, identical across repeated passes, thinking on to match theresults9/B1Carms:Old prompt produced exactly the row this issue quotes:
With the rule, that row is gone and the slot is taken by a fact the old prompt missed:
[learning scope=testing] The repo's own test suite can be run with \bun test ./src` from src/tests.`Two findings worth keeping:
Work items 1 and 3 are done in #331 (3 only for capture-side overlap; the watermark rows in this issue's item 3 are a separate mechanism and stay open). Item 2 is not done: the live
run-capture.shre-measure against a build of the branch has not been run, so this issue stays open. #331 measures the rule offline, which isolates it better but is not the end-to-end number.fix(capture): bound candidate volume in the capture prompt
abogartz commentedon Nov 8, 2026
Implementation chosen: the labelled REQUESTS split, landing as #354 (
capture-input-shape@652ac10). PR #331 is closed as the alternative; its ablation table is reproduced in the #331 close comment and in the #354 body, so nothing measured there is lost.Work items 1 and 3 are done on that branch. Item 2, the
run-capture.shre-measure, runs post-merge as #338 against the merged prompt on main.This issue stays open until #338 records the framing-row rate (target 0) and the completion-token cost against the 656-token shipped baseline.
Merge pull request #354 from abogartz/capture-input-shape
chore(release): 0.16.0 [skip ci]
abogartz commentedon Nov 8, 2026
Fixed by #354 (fire on 2.2.5 hosts and store facts, not briefs); PR #331 closed unmerged by the #337 decision. The precision re-measurement on main is tracked as its own ticket, #338 — record its result here when posted.