Dudu-0223
91da66e715
refactor(agent-loop): simplify parallel tool-call cap config
2026-07-16 14:36:16 +08:00
Hypatia May
19a56ec542
fix(token-meter): reject stale config (round 2)
2026-07-16 13:23:20 +08:00
Hypatia May
5c243e8a8d
refactor(token-meter): simplify singleton service (round 1)
2026-07-16 12:58:07 +08:00
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
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
Tianyi Cui
28641fdc46
Merge branch 'codex/simp-compaction-surface' into codex/simp-agent-entry-state
2026-07-16 11:21:57 +08:00
Tianyi Cui
be367fd981
Merge branch 'codex/simp-trim-hook-snapshot-noise' into codex/simp-compaction-surface
...
# Conflicts:
# packages/compact/compact-basic/src/index.ts
# packages/compact/compact-basic/tests/compact-basic.spec.ts
2026-07-16 11:21:41 +08:00
Tianyi Cui
3817411aa5
Merge branch 'codex/simp-shared-acp-test-launcher' into codex/simp-trim-hook-snapshot-noise
2026-07-16 11:21:08 +08:00
Tianyi Cui
90afd0ce81
Merge branch 'codex/simp-snapshot-fixture-inventory' into codex/simp-shared-acp-test-launcher
2026-07-16 11:21:07 +08:00
Tianyi Cui
2f1dac68ea
Merge remote-tracking branch 'origin/codex/simp-session-log-representation' into codex/simp-snapshot-fixture-inventory
2026-07-16 11:20:55 +08:00
Tianyi Cui
6825918ead
docs: finish session simplification prose cleanup
2026-07-16 11:15:58 +08:00
Hypatia May
a6c8775f12
fix(session): reject sparse provenance arrays
2026-07-16 11:08:59 +08:00
Hypatia May
4bf36e4dd1
docs: condense tool-context lifecycle contract
2026-07-16 10:29:08 +08:00
Hypatia May
7250aaea7e
fix(sdk): compose token meter for compact projects
2026-07-16 10:07:11 +08:00
Hypatia May
8d0d9bdd1d
Merge remote-tracking branch 'origin/compact-tool-pairing' into token-meter-service
...
# Conflicts:
# docs/capability-seams.md
# docs/config-catalog.md
# docs/cordis-catalog/services.md
# packages/cordis/tool-cordis/src/api-catalog.ts
2026-07-16 10:04:17 +08:00
Hypatia May
3cccecee0a
Merge remote-tracking branch 'origin/master' into compact-tool-pairing
...
# Conflicts:
# docs/event-producer-consumer.md
2026-07-16 09:55:02 +08:00
Hypatia May
8184332918
Merge remote-tracking branch 'origin/master' into session-query-trace
...
# Conflicts:
# packages/README.md
# packages/support/invariants/src/index.ts
2026-07-16 09:55:02 +08:00
Yichen Jiang
a621d2f9a6
Merge branch 'master' into codex/project-instruction-files
2026-07-16 09:52:52 +08:00
hypatiamay
5dd37a4f99
Merge branch 'master' into debug-pangwenjie
2026-07-16 09:49:28 +08:00
hypatiamay
6bac9c832b
Merge branch 'master' into codex/document-host-sandbox-retries
2026-07-16 09:49:26 +08:00
Tianyi Cui
60c4d523d1
docs(tools): align schema default contract
2026-07-16 00:59:24 +08:00
Tianyi Cui
a48a95edde
Merge branch 'codex/simp-compaction-surface' into codex/simp-agent-entry-state
2026-07-16 00:02:54 +08:00
Tianyi Cui
0a58a7ad5a
Merge branch 'codex/simp-trim-hook-snapshot-noise' into codex/simp-compaction-surface
2026-07-16 00:02:54 +08:00
Tianyi Cui
3fcd262890
Merge branch 'codex/simp-shared-acp-test-launcher' into codex/simp-trim-hook-snapshot-noise
2026-07-16 00:02:54 +08:00
Tianyi Cui
71e1242909
Merge branch 'codex/simp-snapshot-fixture-inventory' into codex/simp-shared-acp-test-launcher
2026-07-16 00:02:54 +08:00
Tianyi Cui
17ebc0e999
Merge branch 'codex/simp-session-log-representation' into codex/simp-snapshot-fixture-inventory
2026-07-16 00:02:54 +08:00
Tianyi Cui
70be6c7944
Merge remote-tracking branch 'origin/master' into codex/simp-session-log-representation
2026-07-16 00:02:44 +08:00
Tianyi Cui
2720aba3f7
Merge branch 'codex/simp-prune-llm-contract' into codex/simp-hide-llm-adapter-helpers
2026-07-16 00:02:38 +08:00
Tianyi Cui
30b6e9087c
Merge remote-tracking branch 'origin/master' into codex/simp-prune-llm-contract
2026-07-16 00:02:38 +08:00
Tianyi Cui
c0d6258281
Merge remote-tracking branch 'origin/master' into codex/simp-drop-unused-schema-default
2026-07-16 00:02:38 +08:00
imccyu
8d4f64e5ce
docs: update pre-push scheduler contract
2026-07-15 23:57:44 +08:00
imccyu
0fc163453e
chore: ignore NodeNext typecheck temp dirs
2026-07-15 23:57:44 +08:00
imccyu
bff3f0a8db
feat(gates): print actionable failure output
2026-07-15 23:57:44 +08:00
imccyu
cb153f3df8
perf(gates): cap workers and reuse build output
2026-07-15 23:57:44 +08:00
imccyu
092126ae50
perf(docs): reuse built declarations for typecheck
2026-07-15 23:57:44 +08:00
imccyu
5039c4ae40
fix(snapshot): include agent stderr in failures
2026-07-15 23:57:44 +08:00
imccyu
a28d95afb2
perf(snapshot): parallelize replay scenarios
2026-07-15 23:57:42 +08:00
imccyu
867d248c2e
test(hooks): split coverage suites across workers
2026-07-15 23:56:42 +08:00
Tianyi Cui
4139e093dd
Merge pull request #305 from deepseek-harness/worktree-sdk-design-review
...
feat(sdk): add SDK tool for developer
2026-07-15 23:55:55 +08:00
imccyu
8f9c13ffaa
test(sdk): restore tooling coverage
2026-07-15 23:26:40 +08:00
Tianyi Cui
c5284205d0
Merge branch 'codex/simp-compaction-surface' into codex/simp-agent-entry-state
2026-07-15 23:21:02 +08:00
Tianyi Cui
8d0787fbb7
Merge branch 'codex/simp-trim-hook-snapshot-noise' into codex/simp-compaction-surface
2026-07-15 23:21:00 +08:00
Tianyi Cui
a9e9a7ddc0
Merge branch 'codex/simp-shared-acp-test-launcher' into codex/simp-trim-hook-snapshot-noise
2026-07-15 23:20:58 +08:00
Tianyi Cui
eec11557a1
Merge branch 'codex/simp-snapshot-fixture-inventory' into codex/simp-shared-acp-test-launcher
2026-07-15 23:20:56 +08:00
Tianyi Cui
7489ed06fa
Merge branch 'codex/simp-session-log-representation' into codex/simp-snapshot-fixture-inventory
2026-07-15 23:20:45 +08:00
Tianyi Cui
08dbb74ce1
Merge remote-tracking branch 'origin/master' into codex/simp-session-log-representation
...
# Conflicts:
# docs/tool-catalog.md
# examples/acp-agent/tests/snapshots/escalation-approved/session.jsonl
# examples/acp-agent/tests/snapshots/escalation-rejected/session.jsonl
# examples/acp-agent/tests/snapshots/hook-cc-pretool-ask/session.jsonl
# examples/acp-agent/tests/snapshots/permission-switching/session.jsonl
# examples/acp-agent/tests/snapshots/permission-switching/system-prompt.golden.md
2026-07-15 23:18:26 +08:00
imccyu
394706fa3c
fix(sdk): address remaining tooling review findings
2026-07-15 23:17:29 +08:00
imccyu
d8f6251e3a
feat: rename dsh to dsh-sdk
2026-07-15 23:17:29 +08:00
imccyu
e150bc446d
fix(sdk): address project tooling review findings
2026-07-15 23:17:29 +08:00
imccyu
42b07a7022
feat(sdk): add developer project tooling
...
docs(rfc): propose SDK developer project tooling
feat: rename / docs
ci: fix windows gates
docs: revert
2026-07-15 23:17:29 +08:00