deepseek-harness/packages/core/tools/src
Tianyi Cui 443e2bc509 refactor(tools): shapeDispatchLog off the public registry surface
Responding to review on #661: a public method on the generic ToolRegistry
service whose only caller is the run_code bridge was ad-hoc surface
widening. The bridge now receives it as a registry-private capability
closure in RunCodeBridgeOptions (the requireRuntime idiom, alongside the
cap), the method is private, and it leaves the generated service
catalog/API surfaces.

The pattern is now named as a code smell where reviewers look: the
packages/AGENTS.md capability-interface rule gains the inverse-smell
clause (ceiling 660→675 — the list is at capacity and the clause needs
one sentence), and dsh-code-review's capability-fit check tells reviewers
to flag single-consumer public service methods and require the closure
form.
2026-07-26 22:52:15 +08:00
..
code-mode.ts refactor(tools): shapeDispatchLog off the public registry surface 2026-07-26 22:52:15 +08:00
index.ts refactor(tools): shapeDispatchLog off the public registry surface 2026-07-26 22:52:15 +08:00
invariant.ts fix(invariants): assert runtime relationships, not API shapes 2026-07-20 19:34:19 +08:00
json-schema.ts fix(schema): align projected and enforced declarations 2026-07-23 01:05:41 +08:00
presentation.ts refactor(acp): reduce bridge to automation protocol 2026-07-24 01:40:25 +08:00
schema.ts Merge commit 'refs/codex-unblock/20260723/master' into worktree/pty-review-fixes 2026-07-23 20:50:45 +08:00
testing.ts feat: add canonical typed tool outputs 2026-07-21 03:22:14 +08:00
ts-types.ts feat(tools): live dispatch lifecycle + native-contract parallel sub-calls in Code Mode 2026-07-26 06:02:36 +08:00