deepseek-harness/packages/core/agent-loop/tests
Yichen Jiang fdf9bddbf8 feat(agent-loop): make the parallel tool-call cap a user setting
The section is a strict subset of the plugin config: `agents` is consumed
once when the service starts, so a stored change there could only look like
it had an effect. The cap resolves through a getter over the settings source,
which the scheduler destructures at the start of each tool group, so a
committed change bounds the next group without disturbing the one in flight.
`resolveMaxParallelToolCalls` becomes the section validator, refusing a value
at the write instead of at that group.

The deferred-resume effect-shape assertion now allows the one plugin effect
the optional settings wiring adds at the fiber's own level; a resumed agent
joining it there is still the regression it pins.
2026-08-10 18:00:03 +08:00
..
agent-initiator.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
agent.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
cancel.spec.ts docs: reserve seam for complete capabilities 2026-08-09 17:26:57 +08:00
config-session-id.spec.ts feat(agent-loop): make the parallel tool-call cap a user setting 2026-08-10 18:00:03 +08:00
contract-regressions.spec.ts docs: replace vague provenance prose with recorded facts 2026-08-09 15:35:02 +08:00
coverage-edges.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
interception.spec.ts docs: reserve seam for complete capabilities 2026-08-09 17:26:57 +08:00
invariant.spec.ts fix: commit step context before request dispatch 2026-07-30 18:18:04 +08:00
loop.spec.ts docs: call waterfall interception short-circuiting 2026-08-09 13:13:37 +08:00
mock-adapter.ts fix(agent-loop): latch wakes landing in the cancel-convergence window 2026-08-08 19:42:42 +08:00
properties.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
request-cache.e2e.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
request-error.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
request-reconstruction.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
resume.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
runtime-context.spec.ts Merge remote-tracking branch 'origin/worktree/context-source-cards' into worktree/context-forms-remaining 2026-08-06 11:49:03 +08:00
scope-lifecycle.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
settings.spec.ts feat(agent-loop): make the parallel tool-call cap a user setting 2026-08-10 18:00:03 +08:00
tool-calls.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00
tool-order.spec.ts refactor(agent): unify agent-scoped event signatures as payload objects 2026-08-06 12:13:14 +08:00