2nd dokployH
Find a file
Tianyi Cui bfb034830f Enforce 100% per-file test coverage on packages/*/src
vitest coverage (v8 provider) with per-file 100% thresholds for
statements, branches, functions, and lines. Scope: our runtime source
only — types-only files, vendor/ (upstream code), and examples/
(exercised by the demo smoke test) are excluded. yarn test:coverage
runs the gate.

59 tests added to close every gap: llm generate-waterfall and adapter
disposal; assembler edge protocol (duplicate block-start, stragglers
after block-end, id fallback, usage omission, invariant violation);
the whole Inbox surface incl. the wakeup-overwrite race; LoopAgent
disposed-state throws and double-stop idempotence; config-driven agent
creation; loop backstop catches (throwing turn-start/turn-end
listeners, non-Error throws, non-JSON tool arguments); system-prompt
dynamic sections and disposer paths; tools errorMessage fallbacks and
the full schema-DSL emission matrix. Genuinely unreachable defensive
guards carry /* v8 ignore */ comments with stated reasons rather than
deletion (132 tests total).
2026-06-11 14:58:36 +08:00
docs Sync docs with the defineTool DSL and actual demo code 2026-06-11 13:48:22 +08:00
examples Add ESLint: typescript-eslint strict-type-checked + stylistic formatting 2026-06-11 14:17:58 +08:00
packages Enforce 100% per-file test coverage on packages/*/src 2026-06-11 14:58:36 +08:00
scripts Set up monorepo infra: Yarn 4 workspaces, tsc -b + dumble build, vitest 2026-06-11 10:52:45 +08:00
vendor Enable maximum-strict TypeScript across our packages 2026-06-11 14:02:47 +08:00
.gitignore Enforce 100% per-file test coverage on packages/*/src 2026-06-11 14:58:36 +08:00
.yarnrc.yml Set up monorepo infra: Yarn 4 workspaces, tsc -b + dumble build, vitest 2026-06-11 10:52:45 +08:00
AGENTS.md Document the codebase thoroughly and tighten type safety 2026-06-11 13:01:00 +08:00
CLAUDE.md Initialize repo with README, AGENTS.md, and CLAUDE.md symlink 2026-06-10 22:58:56 +08:00
eslint.config.mjs Add ESLint: typescript-eslint strict-type-checked + stylistic formatting 2026-06-11 14:17:58 +08:00
LICENSE Initialize repo with README, AGENTS.md, and CLAUDE.md symlink 2026-06-10 22:58:56 +08:00
package.json Enforce 100% per-file test coverage on packages/*/src 2026-06-11 14:58:36 +08:00
README.md Document the codebase thoroughly and tighten type safety 2026-06-11 13:01:00 +08:00
tsconfig.base.json Enable maximum-strict TypeScript across our packages 2026-06-11 14:02:47 +08:00
tsconfig.build.json Set up monorepo infra: Yarn 4 workspaces, tsc -b + dumble build, vitest 2026-06-11 10:52:45 +08:00
tsconfig.json Set up monorepo infra: Yarn 4 workspaces, tsc -b + dumble build, vitest 2026-06-11 10:52:45 +08:00
tsconfig.test.json Set up monorepo infra: Yarn 4 workspaces, tsc -b + dumble build, vitest 2026-06-11 10:52:45 +08:00
tsconfig.typecheck.json Fix schema-DSL findings from the second Codex review 2026-06-11 13:46:01 +08:00
vitest.config.ts Enforce 100% per-file test coverage on packages/*/src 2026-06-11 14:58:36 +08:00
yarn.lock Enforce 100% per-file test coverage on packages/*/src 2026-06-11 14:58:36 +08:00

DeepSeek Harness

Monorepo for the DeepSeek Harness group.

Projects

  • DeepSeek Code — DeepSeek's coding agent product.

Development

This monorepo is built on the Cordis framework (vendored as source under vendor/), microkernel-style: everything is a plugin.

yarn install
yarn test        # vitest
yarn demo        # runnable echo-agent example

For agent instructions see AGENTS.md. For the architecture design see docs/architecture.md. Each subdirectory has its own README.md with local context: packages/, vendor/.