deepseek-harness/docs/core-data-structures
Hypatia May 2793325df0 refactor(compact): store tool-pairing balance once per surface cut
toolPairingBalancedAfter previously answered by resolving a cached
positional successor and reading its before-balance, with a null-successor
depth fallback. Both queries are the same prefix property sampled at
adjacent cuts, so the cache now holds one per-cut balance sequence
(N nodes -> N+1 cuts) plus a seq->position index; before/after differ
only by a cut offset. The successor map, the duplicate rebuild/extend
fold loops, and the non-null assertion are gone, and the running counter
is named inProgressToolCalls. Docs describing the successor mechanism
are updated in place.
2026-07-16 11:42:17 +08:00
..
approval.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
bash.md Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-15 13:38:17 +08:00
code-runtime.md refactor: prune code runtime surface 2026-07-14 03:07:41 +08:00
compaction.md feat(compact): move pairing helpers (PR1 round 1) 2026-07-15 13:22:44 +08:00
core.md Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-15 13:38:22 +08:00
filesystem.md docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
llm-streaming.md docs: make the service map the front door of architecture.md 2026-07-05 01:22:17 +08:00
persistence.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
sandbox.md fix(review): reconcile sandbox and approval contracts 2026-07-11 21:37:38 +08:00
scope.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
session-query.md refactor(session-query): narrow phase one to exact reads 2026-07-11 12:20:35 +08:00
session.md refactor(compact): store tool-pairing balance once per surface cut 2026-07-16 11:42:17 +08:00
skills.md docs: tighten prose audit after master retarget 2026-07-13 16:24:32 +08:00
subagent.md docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
system-prompt.md refactor(core): remove owner-final assembly machinery 2026-07-13 13:09:41 +08:00
tasks.md fix(tasks): address task API review feedback 2026-07-15 21:45:30 +08:00
tools.md Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-15 13:30:39 +08:00
user-interaction.md refactor: relocate demo app bundles to packages/examples/*-demo 2026-07-15 16:46:05 +08:00
web.md Merge remote-tracking branch 'origin/master' into codex/simp-prune-web-seam-fields 2026-07-14 17:57:50 +08:00
workflow.md workflow: meta rides the seam as data — the engine never evaluates it 2026-07-09 20:09:10 +08:00