Which intervention helps an agent apply repository history?
Keep raw Relore retrieval as the default. A corrected provisional header and a generic summary produced the same 14 successful edits on 17 complete-evidence tasks. A larger ordinary search page and a compact temporal follow-up both repaired the missing PEFT decision without a compiler. Neither strategy fixed the Torch edit.
What reproduced
Regrading all 136 archived Phase 1 edits reproduced every saved grade. Rebuilding from the 58 historical PR captures reproduced both frozen evidence files and the source inventory. The reproduction report records the checks, task matrix separates retrieval, interpretation and application, and machine-readable matrix includes all four patches and their grades for each task.
| Phase 1 primary compliance | Tasks | Code only | Raw history | Summary + raw | Original compiler + raw |
|---|---|---|---|---|---|
| All | 34 | 15 | 26 | 27 | 26 |
| Complete evidence | 17 | 4 | 13 | 14 | 13 |
| Incomplete or absent evidence | 17 | 11 | 13 | 13 | 13 |
| Superseded packaging policy | 6 | 3 | 4 | 4 | 4 |
| No Phase 1 candidate surfaced | 28 | 12 | 22 | 23 | 22 |
Code-only performance differs substantially between evidence strata. The paired within-task comparisons support the retrieval result. The difference between strata cannot estimate the causal effect of complete retrieval.
A · Evidence-verified provisional headers
One short header was constructed for each of the 17 pages judged sufficient in Phase 1. A second LLM-assisted review checked every cited ID and proposed four wording changes. All were applied before the formal comparison. The AMD example remains explicitly ambiguous. No human signed off. The hashes of the files independently reproduced here concern byte integrity; the semantic review makes a separate, provisional claim. No header contains a proposed edit or hidden fixture. A4 received the original task, current code and header, including citation IDs, with historical snippets omitted. A1 and A2 use the saved Phase 1 controls.
| Complete-evidence stratum, 17 tasks | Compliant edits | Ordinary checks | Wider checks¹ | Mean total tokens | Median inference seconds |
|---|---|---|---|---|---|
| A1 · Raw history | 13 | 13 | 12 | 1,057 | 7.18 |
| A2 · Generic summary + raw | 14 | 15 | 14 | 2,214 | 19.27 |
| A3 · Provisional header + raw | 14 | 15 | 13 | 1,176 | 5.21 |
| A4 · Provisional header only | 13 | 15 | 12 | 416 | 2.48 |
¹ Expanded packaging version grid or all Python branch fixtures. The strata contain 16 packaging tasks and one Python task. A3/A4 inference costs exclude preparing the supplied annotations. Timing used a shared local service across different runs. In particular, the lower observed A3 median than A1 does not establish that prepending text accelerates inference.
A3 gained the pytest-report task over raw, lost none, and tied on 16. The exact two-sided paired sign test gives p = 1.00 on one discordant pair. The observed difference is +5.9 percentage points, with a paired task bootstrap interval of 0 to +17.6 points. The same 14 tasks passed with a generic summary. Compared with A3, removing raw evidence in A4 lost serialization: the model preserved an old floor and invented an upper bound. On Typer, both header presentations passed the primary grade while introducing an unsupported minimum, despite the header explicitly observing the missing evidence for one.
Three A3 edits failed despite clear history. The model kept librosa in the user-facing fragment, retained the superseded CircleCI Torch ceiling and emitted a generation-save flag that referred to itself before assignment. Removing the hits in A4 changed the audio error into replacing the single dependency with three others. These examples demonstrate application failures even when an applicable interpretation is present. They do not reveal private model reasoning. On 13 tasks whose annotations survived review unchanged, both header presentations generated byte-identical requests to the preliminary run. All 26 separately issued requests reproduced their patch and grade at temperature zero. These repeated calls measure serving repeatability; they add no independent tasks.
The paired scores include all task outcomes, ordinary checks, sensitivity grades, stratum denominators and uncertainty. The edit trace records the exact prompts. The repeatability check excludes the four changed headers. The gate produced one raw-to-header gain and no advantage over summarization; the remaining compiler comparison is restricted to the eight preselected challenges.
| Task | Raw | Summary + raw | Header + raw | Header only |
|---|---|---|---|---|
| accelerate | pass | pass | pass | pass |
| amd-collection | pass | pass | pass | pass |
| audio-reference | fail | fail | fail | fail |
| dataset-arrow | pass | pass | pass | pass |
| evaluate | pass | pass | pass | pass |
| generation-save | fail | fail | fail | fail |
| hub-client | pass | pass | pass | pass |
| hub-major | pass | pass | pass | pass |
| logging-progress | pass | pass | pass | pass |
| mistral-py314 | pass | pass | pass | pass |
| peft-v5 | pass | pass | pass | pass |
| pytest-report | fail | pass | pass | pass |
| reruns | pass | pass | pass | pass |
| serialization | pass | pass | pass | fail |
| torchcodec-reopen | fail | fail | fail | fail |
| typer | pass | pass | pass | pass |
| voxtral-audio | pass | pass | pass | pass |
B · A smaller compiler
The minimal prompt accepts one statement and its source IDs. The only mandatory checks are a readable statement and citations belonging to the supplied page. On the eight-task challenge panel it surfaced six statements, compared with two from the Phase 1 compiler. All six passed formatting and ID checks; seven of eight tasks incurred a compiler call and the empty page skipped it. Five captured the applicable rule. Only the Torch statement fully grounded every material detail in its cited snippets under the stricter citation audit. Four correct core decisions mixed in scope, rationale, a floor or a downstream file from the visible task/code rather than the cited text. Among the three pages without an applicable decision, it abstained on two (Japanese and optional kernels) and prescribed an obsolete PEFT minimum on one. No reviewed statement imposed a broader repository-wide rule. Both focal exceptions (test-only audio references and unchanged generation configs) appeared in the minimal text. The generation edit still failed.
| Eight selected challenges | Compliant edits | Ordinary checks | Mean total tokens | Median inference seconds |
|---|---|---|---|---|
| B1 · Raw | 2 | 3 | 1,001 | 7.75 |
| B2 · Original compiler + raw | 2 | 4 | 2,530 | 33.53 |
| B3 · Minimal compiler + raw | 4 | 6 | 2,272 | 34.55 |
B3 gained audio-reference and pytest-report, lost none and tied six against raw (exact p = 0.50). Among the five challenges with provisional headers, the paired compliance scores were 1/5 raw, 1/5 original compiler, 3/5 minimal and 2/5 header plus raw. The minimal audio statement names the synthetic target file and the edit comments out librosa successfully. This is a plausible behavioral cue, with attribution split between task instructions and history. The study cannot identify which wording made the difference. The minimal prompt also added an unsupported prescription in PEFT. Rising coverage alone is a poor reason to adopt it.
The original rejection replay for reruns contains the correct ceiling, discarded because the model asserted code support with no supporting quotation. Torchcodec's replay contains an old and a later rule but misattributes a quote and lacks code support for a current-validity claim. Light validation recovered useful meaning in both cases. With the simpler prompt the Torch edit still retained the old ceiling. Most original rejected responses were not stored, so the proportion of useful rejections among all 34 remains unknown. The semantic audit, paired comparisons and raw outputs separate formatting, historical support, authority and patch behavior. All new semantic labels are provisional.
C · Follow-up searches through time
Ten packaging tasks cover all six superseded cases, all three packaging exceptions and the earlier Torch cap. C1 reproduces the original four-hit search. C2 increases its cap to eight. C3 keeps the first original hit and searches for later discussion of the queried entity or dependency named in the stale fragment. Same-project references are resolved only inside the eligible historical corpus. C4 orders exactly C3's hits by when the source became available as merged precedent, retaining later comment dates. Every C3/C4 page fits the C1 hit and serialized-byte budgets. This matches the budget ceiling, not every individual token count. Empty original pages have an empty matched budget, so this experiment cannot test recovery of those pages by spending additional context.
| Retrieval across 10 tasks | Complete pages | Superseding change visible / 6 | Exception visible / 3 | Irrelevant hits / delivered | Mean evidence bytes | Median search ms |
|---|---|---|---|---|---|---|
| C1 · Original | 3 | 5 | 1 | 5/26 | 1,744 | 2.28 |
| C2 · Expanded | 4 | 6 | 1 | 10/40 | 2,796 | 1.33 |
| C3 · Temporal | 4 | 6 | 1 | 5/23 | 1,647 | 5.31 |
| C4 · Temporal, chronological | 4 | 6 | 1 | 5/23 | 1,647 | 5.31 |
The sole completeness gain in every intervention was PEFT conversion (one gain, nine ties, p = 1.00). The expanded query returned the merged 0.19.1 decision at rank five. The temporal query placed it inside the original budget, at 2,591 bytes versus C1's 2,760. Both preserved the earlier 0.19.0 discussion. Exception recall remained 1/3 across all arms. Relevance counts include both the snippet and its displayed PR title; some useful titles accompanied irrelevant comment bodies. A visible change can identify a supersession without specifying every boundary required for a complete edit, as in timm-buffers. Timing excludes index construction, uses one small local SQLite index per snapshot and fixed query order with warm-cache effects. The faster observed expanded search is not a ranking-speed result.
| Two incident edits | PEFT conversion | Torchcodec reopening | Ordinary checks | Exact stale rules retained | Mean total tokens | Median inference seconds |
|---|---|---|---|---|---|---|
| C1 | fail | fail | 1/2 | 1 | 1,318 | 8.28 |
| C2 | pass | fail | 1/2 | 0 | 1,986 | 10.34 |
| C3 | pass | fail | 2/2 | 1 | 1,195 | 4.99 |
| C4 | pass | fail | 2/2 | 1 | 1,195 | 6.71 |
All three changed pages produced the correct PEFT floor without a decision compiler. On Torch, C1 and C2 imposed a new narrow version interval. C3 and C4 kept the superseded ceiling. C3 preserved the resolution but displaced the original pin discussion with a pandas revert that only mentioned Torch. Its pip smoke pass therefore coexisted with incorrect policy. Prefer checking both sides of a conflict when budgeting context. The original wire pages for all four strategies, per-source judgments, cutoff-checked metrics and incident edits document what readers can verify.
A post-hoc ordering control retained every original C1 hit and only sorted those hits chronologically. Both incident patches reproduced the raw failure exactly. On PEFT, the original page still lacked 0.19.1. On Torch, the historical pin and removal were both visible. Across these two cases, changing the evidence set mattered more than reordering it. Ordering-only edits
D · Model capability
The local inventory contained the original Devstral Small 2 manifest only. On complete evidence, supplying a reviewed provisional interpretation matched generic summarization and fixed one raw failure. A smaller prompt already surfaced the central rules on both the generation-save and Torch cases, yet both edits failed. This gate gives little reason to buy additional extraction capacity for these tasks. No second activation model was evaluated. Whether a stronger or smaller model improves interpretation or downstream behavior remains unknown. No external inference fees were incurred. The raw-token, latency and intermediate-quality comparisons above apply to the installed model only.
Decision for Phase 2
Keep raw retrieval as the default. Validate a larger lexical result cap before promoting temporal search. In the two named incidents, increasing the ordinary result cap repaired the same PEFT edit as temporal follow-up. Temporal selection reached that result with less context and more search work. It also displaced relevant history in the Torch case. This justifies a held-out test of compact temporal results where context is scarce. It does not justify changing search defaults based on one recovery. Sorting alone repaired neither incident.
Treat behavioral application as a separate engineering question. On 17 complete pages, explicit provisional headers improved one edit over raw and none over generic summarization. The minimal compiler matched or exceeded the header score on the five comparable challenge tasks, but on a hand-selected panel it also prescribed a stale floor. The wider-grid and Python checks show why evaluating the actual patch is essential. On this pilot, retrieval sufficed for the newly recovered PEFT case; neither better history nor a correct header sufficed for Torch. The best demonstrated trade-off for routine use remains a raw page and no extra model call. The inexpensive eight-hit fallback deserves the first prospective comparison.
Defer specialized training and broad activation-model comparisons. These results do not establish that increasing extraction-model capability would repair edits. Retrieve the missing decision before asking a model to interpret it. Where complete evidence already exists, evaluate a small, task-scoped behavioral check against raw evidence on unseen tasks first. The reserved tasks name three source decisions outside the 58-PR pilot, with target snapshots and proposed cutoffs. They were selected from commit metadata and never shown to the editor. Their evidence, gold annotations and graders require independent construction before use. They reuse some dependencies, so they provide a prospective case test rather than an independent project sample.
For potential future supervision, the strongest candidates are paired source-backed distinctions with observable consequences: the old and superseding PEFT versions, the CircleCI cap and its removal, and the difference between an audio test reference and a runtime requirement. Correct-versus-stale behavior can be tested against frozen snapshots. Missing-source, code-only recovery and compiler-validation cases are useful negative or abstention candidates. A model-generated statement, an empty candidate set or a passing smoke check alone is insufficient as a target. Preserve citation IDs, date boundaries, separate source and code roles, and obtain independent human review before using labels for supervision.
This is an exploratory, single-project study of bounded edits on the Phase 1 tasks. The original summary/raw controls and new interventions were measured at different times, the small search corpus was curated and the semantic audits remain provisional. Temperature-zero request repeats do not measure model or task diversity. The uncertainty estimates in the paired JSON are descriptive; correlated tasks and tiny discordant counts limit generalization. No public Space was changed.