opencode/packages/core/test/system-context
Kit Langton bf5294121a refactor(core): simplify system context to a belief model
Reconcile never rewrites the baseline; only rebaseline (compaction) and
initialize (first turn) produce baseline text. The durable Applied record
tracks what the model was last told, per source.

- Incompatible stored values re-announce the source baseline as an update
  instead of forcing a full replacement
- Sources removed without removal text retain the model's belief silently;
  entries self-clean at the next rebaseline
- Rebaseline restates unobservable sources from their last-applied values
  instead of blocking; ReplacementBlocked and ReplacementReady are gone
- Rename Snapshot to Applied and Generation to Baseline {text, applied}
2026-07-02 21:20:38 -04:00
..
builtins.test.ts refactor(core): simplify system context to a belief model 2026-07-02 21:20:38 -04:00
index.test.ts refactor(core): simplify system context to a belief model 2026-07-02 21:20:38 -04:00
registry.test.ts refactor(core): simplify system context to a belief model 2026-07-02 21:20:38 -04:00