fix(tools): close scheduler coverage gaps; regen persistence catalog
The coverage gate flagged three untaken paths in the bridge scheduler: - the exclusive-head inFlight re-check was dead (the shared guard above already returns for an exclusive head with any in-flight sibling) — removed; - the commit-cursor undefined-dispatched break was structurally unreachable once entries join commitQueue only after start() ran synchronously — reordered the pump so the invariant holds by construction, annotated; - the finish (final-result) commit arm and the pump re-entry guard gain a covering test (throwing tools/pre-execute listener) and a defensive annotation respectively; mid-run unregistration test renamed to match its actual post-result settlement path. Also covers the direct-construction maxParallelSubCalls default (index.ts) and commits the regenerated persistence catalog for the new dispatch pair.
This commit is contained in:
@@ -474,7 +474,7 @@ Source: [`packages/core/session/src/types.ts:283`](../packages/core/session/src/
|
||||
|
||||
Types: [CallId](core-data-structures/core.md) · [ContentBlock](core-data-structures/core.md)
|
||||
|
||||
Source: [`packages/core/tools/src/code-mode.ts:48`](../packages/core/tools/src/code-mode.ts)
|
||||
Source: [`packages/core/tools/src/code-mode.ts:49`](../packages/core/tools/src/code-mode.ts)
|
||||
|
||||
#### `tool/code-dispatch-start` — log-only
|
||||
|
||||
@@ -497,7 +497,7 @@ Source: [`packages/core/tools/src/code-mode.ts:48`](../packages/core/tools/src/c
|
||||
|
||||
Types: [CallId](core-data-structures/core.md)
|
||||
|
||||
Source: [`packages/core/tools/src/code-mode.ts:32`](../packages/core/tools/src/code-mode.ts)
|
||||
Source: [`packages/core/tools/src/code-mode.ts:33`](../packages/core/tools/src/code-mode.ts)
|
||||
|
||||
#### `tool/result` — surface
|
||||
|
||||
|
||||
Reference in New Issue
Block a user