Commit graph

11 commits

Author SHA1 Message Date
Kit Langton
0726f09b05 feat(core): make path-local instruction discovery durable
Replace synthetic-message instruction injection with a durable
discovery projection so discovered AGENTS.md files survive compaction,
forks, reverts, and restarts.

- Add the instruction_file table and the durable
  session.instructions.discovered event; projection stores each
  discovered path and content with its owning assistant-message
  boundary and durable discovery order.
- Fold discovered files into the core/instructions source through
  InstructionDiscovery, absorbing SessionInstructions. Completed
  compaction rebaselines restate discovered instructions instead of
  summarizing them away.
- Re-read discovered files live at each observation so mid-session
  edits reach the model; the frozen discovery content stands in only
  when a file becomes unreadable.
- Narrate instruction file changes as per-file deltas via diffByKey,
  restating the full set only for pure reorderings.
- Fork copies discoveries within the inherited transcript, committed
  revert removes discoveries past the revert boundary, and Session
  movement clears them so the destination initializes a complete
  baseline.
2026-07-06 17:36:30 -04:00
Kit Langton
91f1815732
refactor(core): rename system context to instructions (#35583) 2026-07-06 14:29:29 -04:00
Kit Langton
394e0b9045
refactor(schema): rename V2 session events and normalize payloads (#35217) 2026-07-03 14:25:59 -04:00
Kit Langton
7843f8fb38
feat(core): API-managed per-session context entries (#34941) 2026-07-02 10:05:47 -04:00
opencode-agent[bot]
4d5efba5c9 chore: generate 2026-06-22 15:36:00 +00:00
Kit Langton
c6ee511485
refactor(core): simplify session context epochs (#33378) 2026-06-22 11:34:03 -04:00
opencode-agent[bot]
6c36b585c3 chore: generate 2026-06-12 18:46:51 +00:00
James Long
c2e6b18076
feat(core): refactor project copies for v2 (#31943) 2026-06-12 14:45:16 -04:00
Dax Raad
7793db3ac8 fix(core): preserve credential schema compatibility 2026-06-12 02:45:25 -04:00
opencode-agent[bot]
5f77482a29 chore: generate 2026-06-12 06:16:50 +00:00
Dax
30aec297d8
refactor(core): simplify integration credentials (#31968) 2026-06-12 06:15:25 +00:00
Renamed from packages/core/migration/20260611035744_credential/snapshot.json (Browse further)