Commit Graph
3310 Commits
Author SHA1 Message Date
pku-xht d59149a221 review fix: restore idle after between-turn cancellation 2026-07-20 12:51:44 +08:00
Turtle aeb48cc5f3 Render error cause chains at every diagnostic seam
A TUI run against an unreachable endpoint failed with only 'fetch failed':
undici wraps transport failures in a bare TypeError whose diagnosis lives
on .cause, and every diagnostic seam rendered only error.message. The
readline front door additionally rendered failed turns as pure silence.

- dsh-llm: new errorChain(value) renders the full cause chain and
  AggregateError members with circular/hostile-coercion containment.
- llm-deepseek: pre-response transport failures throw LlmError('NETWORK')
  naming the endpoint and chaining the fetch TypeError; aborts keep their
  DOMException so the loop still classifies them as cancellation.
- agent-loop: durable turn/end error messages and logger warnings render
  through errorChain; local renderThrown copies removed.
- ui-stdio: failure turn/end reasons now render ([turn failed <code>],
  [turn aborted], [turn rejected], output-token-limit); startup-failure
  logs use errorChain.
- ui-tui: agent/error notices and the startup-failure line use errorChain.
2026-07-20 12:35:10 +08:00
Tianyi Cui b877ede82d Merge pull request #317 from deepseek-harness/chore/import-landlock-run
chore: adopt node-addon-landlock-run source as native/ subtree
2026-07-20 12:35:01 +08:00
Tianyi Cui a3f792ea9f docs(landlock-run): align source and release guidance 2026-07-20 12:25:43 +08:00
Tianyi Cui 801289adf2 fix(landlock-run): enforce probe CLI contract 2026-07-20 12:25:36 +08:00
Tianyi Cui 733a90e708 Merge master into chore/import-landlock-run 2026-07-20 12:18:12 +08:00
Tianyi Cui 77c04a340f Merge pull request #271 from deepseek-harness/codex/grep-glob-require-rg
feat(fs-search): hide grep/glob without rg
2026-07-20 12:17:06 +08:00
Tianyi Cui 51e1cc782d Merge master into codex/grep-glob-require-rg 2026-07-20 12:09:05 +08:00
Tianyi Cui d81760f8a0 Merge pull request #327 from deepseek-harness/codex/acp-agent-auto-compaction
feat(acp): enable automatic compaction
2026-07-20 12:08:10 +08:00
Turtle 4ce2202721 Bound the delegation section with a header so "skip this section" is well-defined 2026-07-20 11:56:08 +08:00
pku-xht a6e96c47f3 review fix: pin ordinary-send batching removal 2026-07-20 11:53:49 +08:00
Tianyi Cui f9a152409e Merge master into codex/grep-glob-require-rg
# Conflicts:
#	.agents/notes/implemented/feature/2026-07-09-bash-backed-grep-glob-discovery.md
#	packages/fs/tool-fs-search/README.md
2026-07-20 11:53:03 +08:00
pku-xht 0891465ee0 Merge origin/master into codex/send-one-turn 2026-07-20 11:52:30 +08:00
Tianyi Cui 247526d4ca fix(acp): adapt compaction wiring to token meter 2026-07-20 11:47:17 +08:00
Turtle 33fadcf08d Drop the draft-PR requirement; delegation is just: use a subagent 2026-07-20 11:46:16 +08:00
Tianyi Cui 80cdcce085 Merge origin/master into codex/acp-agent-auto-compaction 2026-07-20 11:45:13 +08:00
kingwl 2e7cdddb89 Merge remote-tracking branch 'origin/master' into cross-family-fs-sandbox
# Conflicts:
#	.agents/notes/implemented/feature/2026-07-14-cross-family-fs-sandbox.i18n.yaml
#	.agents/notes/implemented/feature/2026-07-14-cross-family-fs-sandbox.md
#	.agents/notes/implemented/feature/2026-07-14-cross-family-fs-sandbox.zh.md
#	docs/capability-seams.md
#	docs/cordis-catalog/events.md
#	docs/cordis-catalog/services.md
#	docs/event-producer-consumer.md
#	docs/module-graph.md
#	docs/persistence-catalog.md
#	docs/rfc/INDEX.md
#	examples/acp-agent/README.md
#	examples/acp-agent/fs.cordis.snapshot.yml
#	examples/acp-agent/fs.cordis.yml
#	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/workspace-context/system-prompt.expected.md
#	examples/acp-agent/tests/snapshots/workspace-context/tool-schemas.expected.json
#	examples/acp-agent/tests/snapshots/workspace-edit/system-prompt.expected.md
#	examples/acp-agent/tests/snapshots/workspace-edit/tool-schemas.expected.json
#	packages/bash/bash/src/index.ts
#	packages/bash/tool-bash/package.json
#	packages/bash/tool-bash/src/index.ts
#	packages/bash/tool-bash/tests/tools.spec.ts
#	packages/cordis/tool-cordis/src/api-catalog.ts
#	packages/fs/README.md
#	packages/fs/tool-fs/src/edit.ts
#	packages/fs/tool-fs/src/write.ts
#	packages/sandbox/README.md
#	pnpm-lock.yaml
2026-07-20 11:44:37 +08:00
Yichen Jiang 58a8612118 Merge branch 'master' into worktree/acp-default-fs-suite 2026-07-20 11:43:11 +08:00
Tianyi Cui ee1af10c52 docs(acp): note per-model compaction config 2026-07-20 11:38:55 +08:00
Turtle 4d037613b1 Drop worktree/branch mechanics from the delegation instruction; just use a subagent 2026-07-20 11:31:27 +08:00
kingwl 48f19044de Merge remote-tracking branch 'origin/master' into chore/import-landlock-run
Conflict: doc-budgets manifest — master raised the AGENTS.md ceiling to 1600
(superseding this branch's 1377 bump for the native/ line), take master's
values.
2026-07-20 11:11:09 +08:00
Turtle f2206a3f28 Address review: fix exception path, recursion stop, terminology, anchor, description 2026-07-20 10:55:03 +08:00
Turtle 3a20b4c551 dsh-translate-docs: delegate translation writing to a subagent worktree with a draft PR 2026-07-20 10:48:58 +08:00
Yichen Jiang 5833d70447 Merge remote-tracking branch 'origin/master' into worktree/docs-website
# Conflicts:
#	.agents/notes/implemented/process/2026-07-13-documentation-site-projection.md
#	docs/AGENTS.md
#	docs/rfc/INDEX.md
#	docs/user/develop/basic/index.zh.md
#	docs/user/develop/basic/tool.zh.md
#	docs/user/develop/framework/index.zh.md
#	docs/user/develop/framework/service.zh.md
#	docs/user/develop/practice/index.zh.md
#	docs/user/guide/index.zh.md
#	docs/user/guide/quickstart.zh.md
#	knip.json
#	package.json
#	pnpm-lock.yaml
#	scripts/doc-typecheck.ts
#	scripts/gen-website-api.ts
#	scripts/translation-pairing.manifest.json
#	scripts/verify-type-equiv.ts
#	website/zh-CN/api/cordis/context.md
#	website/zh-CN/api/cordis/events.md
#	website/zh-CN/api/cordis/fiber.md
#	website/zh-CN/api/cordis/registry.md
#	website/zh-CN/api/cordis/service.md
#	website/zh-CN/api/harness/agent-loop.md
#	website/zh-CN/api/harness/agents.md
#	website/zh-CN/api/harness/approval.md
#	website/zh-CN/api/harness/bash-env.md
#	website/zh-CN/api/harness/bash.md
#	website/zh-CN/api/harness/code-runtime.md
#	website/zh-CN/api/harness/compact.md
#	website/zh-CN/api/harness/events.md
#	website/zh-CN/api/harness/fs.md
#	website/zh-CN/api/harness/llm.md
#	website/zh-CN/api/harness/permission.md
#	website/zh-CN/api/harness/sandbox.md
#	website/zh-CN/api/harness/session-persistence.md
#	website/zh-CN/api/harness/session-query.md
#	website/zh-CN/api/harness/sessions.md
#	website/zh-CN/api/harness/skills.md
#	website/zh-CN/api/harness/spill-store.md
#	website/zh-CN/api/harness/subagents.md
#	website/zh-CN/api/harness/system-prompt.md
#	website/zh-CN/api/harness/tasks.md
#	website/zh-CN/api/harness/token-meter.md
#	website/zh-CN/api/harness/tools.md
#	website/zh-CN/api/harness/user-interaction.md
#	website/zh-CN/api/harness/web.md
#	website/zh-CN/api/harness/workflows.md
#	website/zh-CN/api/index.md
#	website/zh-CN/design/effects-coeffects.md
#	website/zh-CN/design/index.md
#	website/zh-CN/guide/config.md
2026-07-20 10:21:36 +08:00
Tianyi Cui 3b0b0cefeb feat: implement bounded LLM request recovery 2026-07-20 03:34:19 +08:00
Tianyi Cui 7cf966fc0e Merge origin/master into llm-error-recovery-rfc 2026-07-20 00:34:04 +08:00
Tianyi Cui 277b58088f docs: narrow LLM request recovery proposal 2026-07-20 00:28:51 +08:00
Tianyi Cui 7a4909f221 Merge remote-tracking branch 'origin/master' into codex/jsonl-zstd-persistence
# Conflicts:
#	.agents/notes/implemented/architecture/2026-07-19-zstandard-jsonl-session-logs.i18n.yaml
#	.agents/notes/implemented/architecture/2026-07-19-zstandard-jsonl-session-logs.md
#	.agents/notes/implemented/architecture/2026-07-19-zstandard-jsonl-session-logs.zh.md
#	docs/rfc/INDEX.md
#	packages/session-persistence/session-persistence-jsonl/README.md
2026-07-20 00:15:32 +08:00
Tianyi Cui bec7ad544b docs(rfc): record Zstandard JSONL framing 2026-07-20 00:06:39 +08:00
Tianyi Cui d139948ed2 feat(persistence): compress JSONL logs with Zstandard 2026-07-20 00:06:21 +08:00
Tianyi Cui 023bed1a83 Merge pull request #414 from deepseek-harness/codex/require-agent-notes
Require Agent Notes for non-trivial changes
2026-07-19 23:58:32 +08:00
Tianyi Cui ce582e9fd0 Merge origin/master into llm-error-recovery-rfc 2026-07-19 23:45:21 +08:00
Tianyi Cui b1b57a0ac5 Require Agent Notes for non-trivial changes 2026-07-19 23:29:55 +08:00
Tianyi Cui 4b7765c774 Merge pull request #410 from deepseek-harness/codex/agent-notes
Rename RFCs to Agent Notes
2026-07-19 23:26:15 +08:00
Tianyi Cui 3a36064dc6 Merge remote-tracking branch 'origin/master' into codex/agent-notes 2026-07-19 23:15:37 +08:00
Tianyi Cui 4779d04af8 Remove generated Agent Note index 2026-07-19 23:15:23 +08:00
Tianyi Cui 13433025f2 Merge pull request #411 from deepseek-harness/codex/jsonrpc-max-tokens-success-env
Make jsonrpc-agent max-token success env-configurable
2026-07-19 23:12:38 +08:00
Tianyi Cui 642b1c29d3 feat(examples): configure max-token success via env 2026-07-19 23:03:08 +08:00
Tianyi Cui e8eddc7ef8 Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
Tianyi Cui b736889ac7 Merge pull request #389 from deepseek-harness/worktree/dsbench-patch
feat(jsonrpc): add evaluation-ready coding-agent composition
2026-07-19 22:34:15 +08:00
Tianyi Cui f0c812794c Merge branch 'master' into worktree/dsbench-patch 2026-07-19 22:31:38 +08:00
Yichen Jiang efdaad2797 Merge branch 'master' into codex/reject-credentialed-search-redirects 2026-07-19 22:25:48 +08:00
Tianyi Cui 35f96add4e Merge pull request #367 from deepseek-harness/worktree/pi-ai-manual-e2e
ci: add manual pi-ai Azure OpenAI and Anthropic e2e workflow
2026-07-19 22:22:24 +08:00
Tianyi Cui 235f39a898 Merge remote-tracking branch 'origin/master' into worktree/dsbench-patch 2026-07-19 22:20:34 +08:00
Tianyi Cui a1c85447b8 refactor(examples): rename DSBench composition to jsonrpc-agent 2026-07-19 22:19:42 +08:00
Tianyi Cui 3d6d0de07c Merge branch 'master' into worktree/pi-ai-manual-e2e 2026-07-19 22:19:36 +08:00
Tianyi Cui 114896ee6a Merge pull request #370 from deepseek-harness/worktree-sdk-followup
SDK follow-up: headless create, dsh-sdk create <source>, launcher telemetry
2026-07-19 22:19:16 +08:00
Tianyi Cui a19dcf40ef Merge remote-tracking branch 'origin/master' into codex/pr370-review-20260719 2026-07-19 22:00:45 +08:00
Tianyi Cui 80b07984c4 docs(web): codify credentialed redirect policy 2026-07-19 21:56:02 +08:00
Tianyi Cui c225b4956e docs(telemetry): document cache effect 2026-07-19 21:53:31 +08:00