Skip to content

Code Mode round-3+ research backlog: procedural memory, branch retry, folded views #472

Backlog

Description

@dahai80

Papers-scan 2026-12-02 (docs: code-research/docs/papers-scan-2026-12-02.md) WATCH verdicts, captured so they don't rot in a doc. Each item is gated the same way as the persistence kernel (#470): measure on the 27B before it replaces a default.

1. Procedural memory from REPL workflows (CodeMem, arXiv 2512.15813)

After the persistent kernel (#470) has bench evidence: distill recurring REPL script shapes into reusable bindings/snippets. Only makes sense once persistence shows the model actually exploits named state — otherwise we distill noise.

2. Branch retry on snapshots (Tree-of-Code, arXiv 2412.15305)

Composes with #361 (timeout workdir snapshots + BENCH_RESUME_DIR): instead of resuming the same trajectory, retry from a snapshot with the failed branch annotated as a hard negative. Candidate data source: the same round-1 DPO negatives (drafted failure modes) marking which branch to avoid.

3. Folded views over the L2 event log (Folio, arXiv 2611.16627)

The L2 manifest ships (#462, StopLoss consumes it via #467). Round-3 candidate: expose folded views (bounded summaries of past tool activity) into the prompt as a compaction alternative. Coordination point: fusion-memory could consume the same manifest rather than defining its own — needs an upstream note there before any shared-schema work.

Non-goals

No implementation under this issue; each item gets its own PR with its own gate. Nothing here blocks A20 (#390) or the training line (#389).

Refs #450, #468, #470, #462, #361, #389

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions