deepseek-harness/docs/core-data-structures
Dudu-0223 3b1d1bfa12 refactor(agent-loop): unify tool-call scheduling on one rolling pool + factory cap default
Run every ordered group through the same rolling pool: an exclusive call is a
pool of one (a barrier), dropping the separate runExclusive path and the
redundant post-grouping executionMode re-query. Behavior is unchanged — the
parallel-tool-calls snapshot and the full scheduler unit suite (barriers, cap,
abort, model-order results) stay green.

Add AgentLoop.Config.maxParallelToolCalls as a factory-wide default applied to
every agent create/createAgent/resume mints (per-agent option overrides it),
forwarded through agent-core so it reaches front doors that expose no cap field
of their own. Trim the isConcurrencySafe JSDoc to the local contract and link
the parallel-tool-call RFC for the full rationale; document the field on the
canonical core-data-structures page.
2026-07-16 11:36:16 +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/trim-ai-prose 2026-07-14 14:37:16 +08:00
code-runtime.md feat: Code Mode — the registry's mode config, the SDK codegen, and the run_code bridge 2026-07-08 12:58:23 +08:00
compaction.md docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
core.md refactor(agent-loop): unify tool-call scheduling on one rolling pool + factory cap default 2026-07-16 11:36:16 +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 docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +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
tools.md refactor(agent-loop): unify tool-call scheduling on one rolling pool + factory cap default 2026-07-16 11:36:16 +08:00
user-interaction.md refactor: colocate user interaction with ui packages 2026-07-09 17:59:02 +08:00
web.md docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
workflow.md workflow: meta rides the seam as data — the engine never evaluates it 2026-07-09 20:09:10 +08:00