Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
f248dc3
docs: remove line numbers from subsystem catalog links
turtle1999 Aug 4, 2026
b6e61f6
test: omit persistence envelopes from session snapshots
kermanx Aug 18, 2026
8d36746
docs(i18n): localize Chinese internal links
pku-xht Aug 18, 2026
8729f38
Merge master at 43f08ef into localized Chinese links
pku-xht Aug 18, 2026
08ec262
fix(i18n): share Markdown link parsing
pku-xht Aug 18, 2026
1c253f7
refactor(i18n): narrow link normalization
pku-xht Aug 18, 2026
2051590
Merge master at 44f371c into localized Chinese links
pku-xht Aug 18, 2026
df11a8a
fix(i18n): scope switcher and merge validation
pku-xht Aug 18, 2026
f6fb074
refactor(i18n): remove obsolete link lookup
pku-xht Aug 18, 2026
ad65169
fix(i18n): close automated review findings
pku-xht Aug 18, 2026
27b5c12
fix(i18n): preserve authored external URLs
pku-xht Aug 18, 2026
b03b1f2
fix(web): improve permission labels and blank defaults
Kaige-Gao Aug 17, 2026
d745107
Merge master at 782f67a into localized Chinese links
pku-xht Aug 18, 2026
4f8ff00
docs(i18n): point tutorial entries at index pages
pku-xht Aug 18, 2026
8a334c4
fix(i18n): bind localized links to active pairs
pku-xht Aug 18, 2026
f5eb069
refactor(i18n): remove directory index inference
pku-xht Aug 18, 2026
b7e195a
fix(i18n): align translation briefing link rules
pku-xht Aug 18, 2026
2c94ec6
fix(i18n): localize encoded exact links
pku-xht Aug 18, 2026
dd13c05
fix(i18n): resolve merge and Markdown edge cases
pku-xht Aug 18, 2026
0a1a1b9
test(i18n): share structure signature fixture
pku-xht Aug 18, 2026
ae9b692
fix(i18n): encode exact link paths safely
pku-xht Aug 18, 2026
00af8d4
test(i18n): model reserved paths portably
pku-xht Aug 18, 2026
eb2c978
test(snapshot): address envelope projection review
kermanx Aug 19, 2026
0f7cfd9
Merge remote-tracking branch 'github/master' into xtr/2701-stable-ses…
kermanx Aug 19, 2026
d1b16e5
fix(snapshot): align malformed-row labels and restore projection cove…
kermanx Aug 19, 2026
4fa38d6
feat(llm-deepseek): publish the vision model
LegGasai Aug 19, 2026
28d561f
Merge remote-tracking branch 'origin/master' into xtr/2701-stable-ses…
kermanx Aug 19, 2026
910be91
Merge branch 'worktree/deepseek-native-multimodal' into worktree/deep…
LegGasai Aug 19, 2026
c8815e5
test(llm-deepseek): gate preview vision smoke
LegGasai Aug 19, 2026
4c421ec
refactor(session-projection): separate state from client views
kermanx Aug 19, 2026
9921de2
refactor(test): keep session fixture projection local
kermanx Aug 19, 2026
f4af19d
perf(infra): shorten doc-sync critical path
kermanx Aug 19, 2026
f8828ff
refactor(test): simplify session fixture decoding
kermanx Aug 19, 2026
52a1f80
Merge remote-tracking branch 'origin/master' into xtr/projection-stat…
kermanx Aug 19, 2026
04a5e4b
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-ha…
kermanx Aug 19, 2026
e850c07
perf(infra): parallelize hygiene checks
kermanx Aug 19, 2026
7748a2f
Merge remote-tracking branch 'origin/worktree/deepseek-native-multimo…
LegGasai Aug 19, 2026
f281933
fix doc-site fence cache safety
kermanx Aug 19, 2026
9127d7e
fix(session-projection): keep host state off wire
kermanx Aug 19, 2026
e1a71c0
fix(test): retain session fixture line diagnostics
kermanx Aug 19, 2026
da463dd
refactor(subagent): normalize optional timing output
kermanx Aug 19, 2026
4729554
Merge remote-tracking branch 'github/master' into xtr/2701-stable-ses…
kermanx Aug 19, 2026
ad94c35
docs: refresh config catalog source links
kermanx Aug 19, 2026
a4da0f4
feat(web): preserve near-full cache-hit precision
pku-xht Aug 19, 2026
fa2ce12
review fix: avoid bigint cache-hit formatting
pku-xht Aug 19, 2026
571dba3
Merge remote-tracking branch 'origin/master' into xtr/projection-stat…
kermanx Aug 19, 2026
cb07470
Merge remote-tracking branch 'origin/master' into xtr/projection-stat…
kermanx Aug 19, 2026
e098485
Merge remote-tracking branch 'github/master' into xtr/2701-stable-ses…
kermanx Aug 19, 2026
ea0906a
test(subagent): close persistence handle before deleting temp root
Chinesezjc Aug 19, 2026
50c22ee
chore(knip): drop stale and glob-duplicate workspace entries
Chinesezjc Aug 19, 2026
f938d8e
fix(ci): reuse pinned bubblewrap setup in e2e
lsdsjy Aug 19, 2026
674b3d8
test(subagent): address continuation cleanup review
Chinesezjc Aug 19, 2026
327b86d
refactor(session-projection): checkpoint every projection unit uniformly
kermanx Aug 19, 2026
61f910d
ci: split master-only jobs into ci-master.yml
Chinesezjc Aug 19, 2026
1d5e419
fix(cic): address CI-split review - restore PR concurrency, fix comme…
Chinesezjc Aug 19, 2026
82f9040
fix(cic): correct pnpm-caching note and extend setup-dest test to ci-…
Chinesezjc Aug 19, 2026
7247de9
fix(cic): restore serial-linux drill comment, sync pnpm-isolation not…
Chinesezjc Aug 19, 2026
6d6e4e1
fix(cic): sync event-set assertion, zh twins, and master-workflow att…
Chinesezjc Aug 19, 2026
7ae647d
fix(cic): narrow workflow.on before Object.keys in event-set assertion
Chinesezjc Aug 19, 2026
000ab97
feat(web): size markdown tables by column count, widen wide ones past…
07akioni Aug 19, 2026
c1b67c9
Merge remote-tracking branch 'origin/master' into xtr/2701-stable-ses…
kermanx Aug 19, 2026
35778ec
fix(web): address permission preset review feedback
Kaige-Gao Aug 19, 2026
8304a25
Merge remote-tracking branch 'origin/master' into fix/permission-copy…
Kaige-Gao Aug 19, 2026
027b1d5
Merge remote-tracking branch 'origin/master' into fix/permission-copy…
Kaige-Gao Aug 19, 2026
a0bfc2c
test: sync permission origin artifacts
Kaige-Gao Aug 19, 2026
83a3457
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-ha…
kermanx Aug 20, 2026
82db151
fix(sandbox): isolate bwrap PID namespace
Kingwl Aug 6, 2026
bb79203
fix(docs): drop stale persist field from projection type-equiv block
kermanx Aug 20, 2026
a42102f
Merge pull request #2758 from deepseek-harness/knip-eval
Chinesezjc Aug 20, 2026
77437b1
docs(e2e): point keyless-gate comment at ci.yml (PR) and ci-master.ym…
Chinesezjc Aug 20, 2026
4e1b3e4
Merge pull request #2608 from deepseek-harness/fix/permission-copy-an…
Kaige-Gao Aug 20, 2026
297fff6
Merge pull request #2768 from deepseek-harness/ci/split-master-workflows
Chinesezjc Aug 20, 2026
d0b7dea
fix(ui-workspace): pin the current blank New Session row first
kermanx Aug 20, 2026
9872352
docs(notes): record current-blank pinning in the sidebar order note
kermanx Aug 20, 2026
99aad0e
fix(web): key composer reference decorations by draft order
LegGasai Aug 20, 2026
c9f5117
test(acp): keep persistent-pwsh-tool-turn fixture in canonical packed…
kermanx Aug 20, 2026
a33ed4d
ci: stop PR gray checks from lifecycle and release publish jobs
Chinesezjc Aug 20, 2026
03d1dea
test(subagent): rethrow accumulated cleanup errors; register fresh ha…
Chinesezjc Aug 20, 2026
f9cd580
Merge remote-tracking branch 'origin/master' into xtr/projection-stat…
kermanx Aug 20, 2026
d18f4ed
Merge pull request #2796 from deepseek-harness/worktree/mention-backd…
LegGasai Aug 20, 2026
fa39fb0
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-ha…
kermanx Aug 20, 2026
d53292b
fix(ui-workspace): make the blank-session pin render-only and skip ma…
kermanx Aug 20, 2026
9003f45
Merge remote-tracking branch 'origin/master' into codex/fix-bwrap-pro…
hypatiamay Aug 20, 2026
fe12e04
Merge pull request #1798 from deepseek-harness/codex/fix-bwrap-proc-r…
hypatiamay Aug 20, 2026
4ea6f4d
Merge pull request #2730 from deepseek-harness/xtr/projection-state-s…
kermanx Aug 20, 2026
b3b6407
fix(ui-workspace): promote new sessions only once
kermanx Aug 20, 2026
9a2dc33
test(web): align blank-session activity snapshot
kermanx Aug 20, 2026
c9ce611
feat(web): reveal the wide-table scrollbar on hover instead of painti…
07akioni Aug 20, 2026
e333dfc
Merge pull request #2794 from deepseek-harness/fix/web-new-session-first
kermanx Aug 20, 2026
63d9de0
fix(cic): address gray-check PR review - official build, step-level g…
Chinesezjc Aug 20, 2026
28b265c
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-ha…
kermanx Aug 20, 2026
9616790
feat(web): answer ask_user_question over multiple lines
LegGasai Aug 20, 2026
4562616
docs(apiproxy): record that a pending question dies with the host
LegGasai Aug 20, 2026
abe414a
Merge remote-tracking branch 'origin/master' into ci/release-check-panel
Chinesezjc Aug 20, 2026
795d36d
fix(web): carry the composer edit range from the pre-edit selection
LegGasai Aug 20, 2026
16affb8
fix(cic): restore subscription-type gates and note table for split pu…
Chinesezjc Aug 20, 2026
e483c9e
Merge pull request #2776 from deepseek-harness/feat/table-optmize
07akioni Aug 20, 2026
56a8f7d
fix(cic): cover release-publish in client-build gate and correct grou…
Chinesezjc Aug 20, 2026
4347ee1
fix(test): use unique temp dirs for acp-demo composition persistence
kermanx Aug 20, 2026
156bd07
feat(webserver): structured index injection table and the client boot…
imccyu Aug 19, 2026
d4fd03a
chore(docs): classify IndexInjection and regenerate the catalog surfaces
imccyu Aug 19, 2026
3ca4997
test: cover gateway rollback and theme fallback branches
imccyu Aug 19, 2026
10f9f50
fix(web): stand down prefetch only when the transport owns bundle bytes
imccyu Aug 19, 2026
97f4d46
test(gateway): pin the namespace atomic-visibility guarantee
imccyu Aug 19, 2026
d582939
docs(web): align injection-surface JSDoc, notes, and bilingual READMEs
imccyu Aug 19, 2026
be3a630
docs(web): retire tap-era prose across READMEs, subsystems, and notes
imccyu Aug 19, 2026
3866791
Merge pull request #2725 from deepseek-harness/worktree-bootserver
imccyu Aug 20, 2026
7260f4c
fix(web): cap the answer field at six text lines in both variants
LegGasai Aug 20, 2026
b2c9c3c
fix(web): derive the caret-delete range from what the draft lost
LegGasai Aug 20, 2026
6d62627
Merge pull request #2820 from deepseek-harness/feat/1687-multiline-qu…
LegGasai Aug 20, 2026
36aead7
Merge remote-tracking branch 'origin/master' into codex/cache-hit-dec…
pku-xht Aug 20, 2026
3a9e1a6
Merge pull request #2749 from deepseek-harness/codex/cache-hit-decima…
pku-xht Aug 20, 2026
f5faeae
Merge pull request #2798 from deepseek-harness/ci/release-check-panel
Chinesezjc Aug 20, 2026
a577a48
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-ha…
kermanx Aug 20, 2026
26a8e6a
feat(atomic-write): state the writer-lock wait limit per call
LegGasai Aug 13, 2026
86a9f8c
feat(credentials): store durable credential records beside references
LegGasai Aug 13, 2026
732a736
feat(authorization): obtain a credential by asking the human
LegGasai Aug 13, 2026
57c5f01
feat(llm-pi-ai): sign in to a provider instead of withholding it
LegGasai Aug 13, 2026
21ea0ed
docs(authorization): record the credential-record and flow decisions
LegGasai Aug 13, 2026
9eaaeae
fix(credentials,authorization,llm-pi-ai): harden the auth seams per r…
LegGasai Aug 17, 2026
6428b84
fix(ci): catch the branch up with the static and smoke gates
LegGasai Aug 17, 2026
0b2bc3d
fix(llm-pi-ai): stub both home spellings in the tilde-expansion test
LegGasai Aug 17, 2026
29a8254
chore(sync): re-record the packages README pairing after the cascade
LegGasai Aug 17, 2026
a190ef5
chore(release): carry dsh-authorization to the rc.7 family version
LegGasai Aug 18, 2026
fecfabc
fix(credentials): name reference update event explicitly
LegGasai Aug 18, 2026
120097e
chore(sync): restore the image-budget README merge on llm-pi-ai
LegGasai Aug 19, 2026
7d04a02
chore(sync): regenerate the event matrix after the command-envelope m…
LegGasai Aug 19, 2026
933d1f2
feat(credentials): upgrade the pre-release flat document at boot
LegGasai Aug 19, 2026
564e4d1
chore(sync): regenerate the module graph after the projection merges
LegGasai Aug 20, 2026
30289d6
chore(release): carry dsh-authorization to the rc.8 family version
LegGasai Aug 20, 2026
aef4e1c
Merge pull request #2509 from deepseek-harness/feat/pi-ai-auth-alignment
LegGasai Aug 20, 2026
daaede2
fix(ui-conversation): render the terminal turn error after same-turn …
LegGasai Aug 20, 2026
84cbec2
Merge remote-tracking branch 'origin/master' into codex/localized-chi…
pku-xht Aug 20, 2026
e3248cc
Merge pull request #2708 from deepseek-harness/codex/localized-chines…
pku-xht Aug 20, 2026
93a1b56
Merge remote-tracking branch 'origin/master' into codex/remove-cordis…
turtle1999 Aug 20, 2026
ed3ef7a
Merge pull request #1373 from deepseek-harness/codex/remove-cordis-ca…
turtle1999 Aug 20, 2026
92723ca
fix(frontend-static): return 404 for missing paths
lsdsjy Aug 20, 2026
600f3a3
fix(frontend-static): return 404 for a missing index
lsdsjy Aug 20, 2026
c71ff38
Merge pull request #2808 from deepseek-harness/fix/frontend-static-mi…
lsdsjy Aug 20, 2026
de572dd
feat(web): refine subagent header switcher
Aug 20, 2026
5f7ac91
fix(web): address subagent header review findings
Aug 20, 2026
0864878
Merge pull request #2856 from deepseek-harness/ihsiang/subagent-heade…
yixiangihsiang Aug 20, 2026
672cdf9
Merge remote-tracking branch 'origin/master' into fix/turn-error-surv…
LegGasai Aug 20, 2026
c3e35cb
docs(client): align turn-error prose with exhausted-retry rendering
LegGasai Aug 20, 2026
5951d19
Merge pull request #2844 from deepseek-harness/fix/turn-error-survive…
LegGasai Aug 20, 2026
a67b9a4
Merge pull request #2814 from deepseek-harness/fix/composer-edit-rang…
LegGasai Aug 20, 2026
f3ce821
docs(website): serve every page as raw Markdown with an llms.txt index
LegGasai Aug 20, 2026
17c8520
docs(website): serve index routes at their clean-URL .md addresses
LegGasai Aug 20, 2026
d229df5
docs: fix Chinese Agent Note link locale
turtle1999 Aug 20, 2026
68d24f3
docs(notes): localize zh note links and widen the closure walk timeout
LegGasai Aug 20, 2026
246caab
Merge remote-tracking branch 'origin/master' into worktree/deepseek-v…
LegGasai Aug 21, 2026
0e40664
Merge pull request #2862 from deepseek-harness/turtle/fix-translation…
turtle1999 Aug 21, 2026
cc95d93
Merge remote-tracking branch 'origin/master' into worktree/deepseek-v…
LegGasai Aug 21, 2026
89674ed
fix(build): support standalone pnpm entrypoints
imccyu Aug 21, 2026
4f28684
test(ci): exercise standalone pnpm on Windows
imccyu Aug 21, 2026
708a25a
fix(llm-deepseek): address vision catalog review
LegGasai Aug 21, 2026
d0d5b00
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-ha…
kermanx Aug 21, 2026
4b086d0
test(ci): deduplicate coverage command setup
imccyu Aug 21, 2026
e637bcf
Merge pull request #2726 from deepseek-harness/worktree/deepseek-visi…
LegGasai Aug 21, 2026
6fb8e9a
Merge remote-tracking branch 'origin/master' into xtr/2701-stable-ses…
kermanx Aug 21, 2026
d508a09
Merge pull request #2878 from deepseek-harness/worktree-fixpnpmwin
imccyu Aug 21, 2026
0ee3d66
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-ha…
kermanx Aug 21, 2026
36a1061
Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-ha…
kermanx Aug 21, 2026
a760c0b
Merge pull request #2847 from deepseek-harness/feat/2846-doc-site-md-…
LegGasai Aug 21, 2026
d72713c
Merge pull request #2702 from deepseek-harness/xtr/2701-stable-sessio…
kermanx Aug 21, 2026
b70f27f
Merge pull request #2739 from deepseek-harness/xtr/speed-up-doc-sync
kermanx Aug 21, 2026
b7135e6
Merge pull request #2760 from deepseek-harness/fix/continuation-clean…
Chinesezjc Aug 21, 2026
fa3e379
ci(docs): publish the documentation site from a release tag
LegGasai Aug 21, 2026
f4b080f
Merge pull request #2889 from deepseek-harness/worktree/docs-ci-relea…
LegGasai Aug 21, 2026
60e44b2
fix: ci
Aug 21, 2026
3ec5e8f
release(dsh): 0.1.1-rc.1
Aug 21, 2026
528c682
Merge pull request #2890 from deepseek-harness/release/dsh-0.1.1-rc.1
imccyu Aug 21, 2026
92a9741
docs(llm): anchor unified request-image management design PR
CreatixChu Aug 18, 2026
8f83853
refactor(attachment): saveImage returns the canonical ref beside sour…
CreatixChu Aug 20, 2026
83a526e
feat(attachment-local): store a deterministic canonical image encoding
CreatixChu Aug 20, 2026
6e17c20
feat(tool-fs): read_image reports downscaled dimensions and coordinat…
CreatixChu Aug 20, 2026
c6fa512
fix(attachment-local): keep reference field order stable for logged f…
CreatixChu Aug 20, 2026
fec8aa6
docs(attachment): document canonical admission; pin wide-image accept…
CreatixChu Aug 20, 2026
867dc44
docs(notes): record the canonical image admission decision
CreatixChu Aug 20, 2026
c90a944
docs: bring the zh config catalog along; pin read_image source fields…
CreatixChu Aug 20, 2026
118f244
fix(attachment-local): exclude metadata carriers and animation from p…
CreatixChu Aug 20, 2026
c1bdac6
docs: propose attachment read quarantine
CreatixChu Aug 20, 2026
d29855f
feat(images): unify master and Files request pipeline
CreatixChu Aug 20, 2026
c0dd8ec
chore(images): align merged runtime closure
CreatixChu Aug 20, 2026
c09a42c
fix(images): parse listed missing Files ids
CreatixChu Aug 20, 2026
de8ea5d
docs: refresh image pipeline module graph
CreatixChu Aug 20, 2026
48a58b9
fix(images): address unified pipeline review
CreatixChu Aug 20, 2026
657ec56
test(images): cover attachment projection edges
CreatixChu Aug 20, 2026
72b204a
feat(images): expand source upload envelope
CreatixChu Aug 20, 2026
d65e2a9
test(images): close unified pipeline coverage gaps
CreatixChu Aug 20, 2026
703ce4a
test(deepseek): expose Files API e2e failures
CreatixChu Aug 20, 2026
0c9a664
test(deepseek): print vision failure facts
CreatixChu Aug 20, 2026
724783b
refactor(image): remove region reads
CreatixChu Aug 21, 2026
2491e12
refactor(attachment): normalize image storage API
CreatixChu Aug 21, 2026
cbc830a
test(composition): remove retired image-region tool
CreatixChu Aug 21, 2026
6a27286
docs(i18n): fix rebased image note links
CreatixChu Aug 21, 2026
6816cc0
test(snapshot): stabilize persisted-turn coverage
CreatixChu Aug 21, 2026
7ce8528
Revert "Merge pull request #2608 from deepseek-harness/fix/permission…
imccyu Aug 21, 2026
32f3c09
test: sync reverted permission snapshot
imccyu Aug 21, 2026
577bb71
Merge pull request #2903 from deepseek-harness/worktree-revert-2608
imccyu Aug 21, 2026
d4b24b5
Merge remote-tracking branch 'origin/master' into worktree/image-mana…
CreatixChu Aug 21, 2026
e30d92a
fix(attachment): accept opaque WebP alpha omission
CreatixChu Aug 21, 2026
1b38979
fix(llm-deepseek): fall back when Files resolution fails
CreatixChu Aug 21, 2026
d618bfe
fix(deepseek): decouple files and stream timeouts
CreatixChu Aug 21, 2026
272ffff
Merge pull request #2676 from deepseek-harness/worktree/image-managem…
CreatixChu Aug 21, 2026
aa6c361
release(dsh): 0.1.1-rc.2
Aug 21, 2026
b150a55
Merge pull request #2908 from deepseek-harness/release/dsh-0.1.1-rc.2
imccyu Aug 21, 2026
d077368
Merge upstream dsh-v0.1.1-rc.2 into DSH-GUI.
Aug 22, 2026
bf5d8cf
fix(desktop): harden overlay and align DSH-GUI with 0.1.1-rc.2
Aug 22, 2026
149e270
fix(desktop): persist credential records on the 0.1.1 provider face
Aug 22, 2026
c22c8e6
fix(desktop): match 0.1.1 client SessionModels and RPC test types
Aug 22, 2026
d0319a9
Merge branch 'main' into codex/fix-desktop-version
Aug 22, 2026
430ec21
fix(desktop): close the 0.1.1 authorization peer in the packaged graph
Aug 22, 2026
6e08d67
ci(desktop): stop automatic pull-request GitHub Actions
Aug 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .agents/notes/README.i18n.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/README.md
README.md: ae8e4724d610c97d74910d7dec5c95af69e93281
README.zh.md: a16403ae87cd16d758b8303f42f60ad34b9c1eb3
README.zh.md: 8cecc7068d9efc5e2ebb78d2301d03633f70f137
12 changes: 7 additions & 5 deletions .agents/notes/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@

文件名中的日期是该主题**首次提出**的时间(以 git 历史为准)。Agent Note 之间的交叉引用使用相对 Markdown 链接(`[topic](../../implemented/architecture/2026-…-….md)`),从不使用纯文字或编号,这样既可机械检查,也能在文件夹间移动时保持有效。

活跃生命周期目录树就是工作清单:浏览其生命周期/类别文件夹,或搜索仓库即可。请勿添加集中式 `INDEX.md`;设计理由见[不设索引的 Agent Note](implemented/process/2026-07-19-remove-generated-agent-note-index.md)。未来指导价值较低的已实施记录会移至下文所述、单独冻结的 [`archived/`](archived/AGENTS.md) 目录树。
活跃生命周期目录树就是工作清单:浏览其生命周期/类别文件夹,或搜索仓库即可。请勿添加集中式 `INDEX.md`;设计理由见[不设索引的 Agent Note](implemented/process/2026-07-19-remove-generated-agent-note-index.zh.md)。未来指导价值较低的已实施记录会移至下文所述、单独冻结的 [`archived/`](archived/AGENTS.md) 目录树。

<a id="classification"></a>

## 分类

每份 Agent Note 属于 `scripts/agent-note-tree.ts` 中封闭集合里的一个路径编码类别;分类门禁拒绝其他文件夹。新增类别需要同时更新规范集合与本节。见[分类 Agent Note](implemented/process/2026-06-20-agent-note-classification.md)。
每份 Agent Note 属于 `scripts/agent-note-tree.ts` 中封闭集合里的一个路径编码类别;分类门禁拒绝其他文件夹。新增类别需要同时更新规范集合与本节。见[分类 Agent Note](implemented/process/2026-06-20-agent-note-classification.zh.md)。

| 类别 | 覆盖范围 |
|---|---|
Expand All @@ -41,7 +41,9 @@

归档路径编码为 `archived/{class}/yyyy-mm-dd-topic-title.md`;其中有意省略 `implemented`,因为只有 implemented Agent Note 可以进入归档。归档变更会移动完整的英文、中文和伴随记录三个文件,保留 `Status: implemented`,在两种语言的文件中紧接该状态行插入相同的 `Archived: YYYY-MM-DD` 行,重新记录伴随记录,并修复或删除入站链接。归档时只允许对内容做这些更改。

封存后,每组归档文件都永久冻结。禁止编辑、翻译、重新格式化、更新、移动或删除,也不得将其视为当前行为的权威依据。文档门禁会跳过归档源文件,包括其中的出站链接;当活跃文档有意引用历史时,仍可链接到归档 Agent Note。[`verify-archived-agent-notes`](../../scripts/verify-archived-agent-notes.ts) 强制执行封闭的类别目录树、完整的三文件配对、归档元数据、伴随记录 hash,以及仅追加的冻结内容 manifest(元数据清单)。[归档政策 Agent Note](implemented/process/2026-07-26-frozen-agent-note-archive.md) 记录了设计依据。
封存后,每组归档文件都永久冻结。禁止编辑、翻译、重新格式化、更新、移动或删除,也不得将其视为当前行为的权威依据。文档门禁会跳过归档源文件,包括其中的出站链接;当活跃文档有意引用历史时,仍可链接到归档 Agent Note。[`verify-archived-agent-notes`](../../scripts/verify-archived-agent-notes.ts) 强制执行封闭的类别目录树、完整的三文件配对、归档元数据、伴随记录 hash,以及仅追加的冻结内容 manifest(元数据清单)。[归档政策 Agent Note](implemented/process/2026-07-26-frozen-agent-note-archive.zh.md) 记录了设计依据。

<a id="when-to-write-one"></a>

## 何时需要写一份

Expand All @@ -57,7 +59,7 @@

## 文件格式

每份活跃 Agent Note 遵循统一的文件内格式,由 `pnpm run verify-agent-note-format`([scripts/verify-agent-note-format.ts](../../scripts/verify-agent-note-format.ts),`doc-sync`(文档同步门禁)的一环)强制执行;该格式的设计动机及其否决的替代方案见[统一格式 Agent Note](implemented/process/2026-07-05-uniform-agent-note-format.md)。归档记录保留封存时的格式,并增加上述归档日期行。
每份活跃 Agent Note 遵循统一的文件内格式,由 `pnpm run verify-agent-note-format`([scripts/verify-agent-note-format.ts](../../scripts/verify-agent-note-format.ts),`doc-sync`(文档同步门禁)的一环)强制执行;该格式的设计动机及其否决的替代方案见[统一格式 Agent Note](implemented/process/2026-07-05-uniform-agent-note-format.zh.md)。归档记录保留封存时的格式,并增加上述归档日期行。

### 头部块

Expand Down Expand Up @@ -126,4 +128,4 @@ Status: <status>

### 中文对侧文件

`.zh.md` 对侧文件按 [i18n 约定](../../docs/i18n/README.md)逐章节与其英文对侧文件保持相同结构;机器检查的头部标记(`# Agent Note: ` 和 `Status:` 行)保持英文原样不翻译。格式门禁跳过 `.zh.md` 文件;配对门禁检查它们的一致性。
`.zh.md` 对侧文件按 [i18n 约定](../../docs/i18n/README.zh.md)逐章节与其英文对侧文件保持相同结构;机器检查的头部标记(`# Agent Note: ` 和 `Status:` 行)保持英文原样不翻译。格式门禁跳过 `.zh.md` 文件;配对门禁检查它们的一致性。
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/implemented/architecture/2026-06-11-content-block-vocabulary.md
2026-06-11-content-block-vocabulary.md: a31df6a7d16ea7cba649702fdb474dab34533c1b
2026-06-11-content-block-vocabulary.zh.md: 5ac882e9de7dea02cc6534aee99c46869cc9363f
2026-06-11-content-block-vocabulary.zh.md: da387b179816cda64791e71ca7affa1fbdfd195b
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ harness 需要一套统一的内部消息语言,供 agent loop(智能体循

自主拥有词汇:消息是类型化内容块的数组(`text`、`reasoning`、`tool-call`、`tool-result`),其联合类型派生自可合并扩展的 `ContentBlockMap`,插件通过声明合并添加新的块类型。同一可合并扩展映射模式为所有「字符串化」字段提供类型(`MessageSource`、`FinishReason`、`TurnTrigger`、`TurnEndReason`)。流式输出采用原始分片协议;`BlockAssembler` 是唯一的共享组装实现。适配器负责转换为提供方的协议格式(wire format)——映射成本留在适配器中,正是它该在的地方。

会话内上下文注入(`context/message`)和轮次中途 steering(中途引导)最初渲染为带标签的 user-role 信封(system-reminder 模式),而非引入新角色,因此适配器无需承担额外负担。如今两者都投影为无包装的普通用户内容;见[注入内容信封 Agent Note](../simplification/2026-07-20-unwrap-injected-content-envelopes.md)。实际适配器验证已确认此渲染方式符合当前 DeepSeek 的行为;如果未来某提供方出现不兼容,应在该适配器内处理,而非引入新的规范角色。
会话内上下文注入(`context/message`)和轮次中途 steering(中途引导)最初渲染为带标签的 user-role 信封(system-reminder 模式),而非引入新角色,因此适配器无需承担额外负担。如今两者都投影为无包装的普通用户内容;见[注入内容信封 Agent Note](../simplification/2026-07-20-unwrap-injected-content-envelopes.zh.md)。实际适配器验证已确认此渲染方式符合当前 DeepSeek 的行为;如果未来某提供方出现不兼容,应在该适配器内处理,而非引入新的规范角色。

## 曾考虑的替代方案

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/implemented/architecture/2026-06-11-dev-invariants-over-deep-readonly.md
2026-06-11-dev-invariants-over-deep-readonly.md: 66980f1ee09c6112f72786d6c3a147aadbc57f6c
2026-06-11-dev-invariants-over-deep-readonly.zh.md: 0d694ea84e1b7c265491e9adb64757378b4185f1
2026-06-11-dev-invariants-over-deep-readonly.zh.md: 576e53e0b27e65f6fa071ff649509223a7bc30ff
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ TypeScript readonly 类型不是充分的运行时边界。它们在程序运行

### 包拥有的不变式配套插件检查关系

`dsh-invariants` 注册可配置的 `ctx.invariants` 服务,本身不包含产品检查。每个包发布一个 `./invariant` 所有权配套插件;`dsh-session`、`dsh-agent`、`dsh-scope` 和 `dsh-agent-loop` 目前添加需要跟踪状态或观察另一个 seam 的规则:单调递增的序列号、轮次与步骤嵌套、工具调用/结果配对、合法的 agent(智能体)状态转换、主体正确的作用域分发,以及循环构建的请求与从其会话日志前缀重建的请求之间的相等性。全局启用和包名 regex 过滤器归该服务所有(见[包拥有的不变式服务](2026-07-19-package-owned-invariant-service.md))。
`dsh-invariants` 注册可配置的 `ctx.invariants` 服务,本身不包含产品检查。每个包发布一个 `./invariant` 所有权配套插件;`dsh-session`、`dsh-agent`、`dsh-scope` 和 `dsh-agent-loop` 目前添加需要跟踪状态或观察另一个 seam 的规则:单调递增的序列号、轮次与步骤嵌套、工具调用/结果配对、合法的 agent(智能体)状态转换、主体正确的作用域分发,以及循环构建的请求与从其会话日志前缀重建的请求之间的相等性。全局启用和包名 regex 过滤器归该服务所有(见[包拥有的不变式服务](2026-07-19-package-owned-invariant-service.zh.md))。

当会话配套插件附加到已有会话或以种子记录初始化的会话时,它回放不可变日志以重建跟踪状态。服务为每项贡献提供一个可 dispose(资源释放)的子 fiber,因此轮次中途热重载是安全的,同时不赋予诊断逻辑对会话存储的所有权。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/implemented/architecture/2026-06-11-event-sourced-sessions.md
2026-06-11-event-sourced-sessions.md: b6d17d2db1d9b489f3d4224683b61e62be485014
2026-06-11-event-sourced-sessions.zh.md: a78349ea2385b3c9d32870757bb607f15996196d
2026-06-11-event-sourced-sessions.zh.md: 11e5740dc2636fc002ed7158167b1dfbb39a971d
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ MVP 要求严格的基于事件的追踪,以及完全可回放的会话(严

- 回放、追踪与遥测在结构上得到保证,而非事后附加。
- 持久化仍是插件关注点;内存存储随 dsh-session 一起提供。
- 事件词汇可通过合并扩展(插件可添加如压缩(compaction)事件);[会话持久化](2026-06-14-session-persistence.md)在日志具备持久性后固定了其结构。
- 事件词汇可通过合并扩展(插件可添加如压缩(compaction)事件);[会话持久化](2026-06-14-session-persistence.zh.md)在日志具备持久性后固定了其结构。
- 派生成本随日志长度增长,压缩(dsh-compaction)是预期的缓解手段,而不是改写日志。
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/implemented/architecture/2026-06-11-microkernel-event-taxonomy.md
2026-06-11-microkernel-event-taxonomy.md: 6cacbc30f29c863de0f8ddfa4df7251a64bc80ca
2026-06-11-microkernel-event-taxonomy.zh.md: 2e43b57d62d8fca692ffab379d1841e6a3e61fad
2026-06-11-microkernel-event-taxonomy.zh.md: 1c7919392b835c491b9dc606d46f638a708d2948
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Status: implemented

## 后果

- 每个 MVP 功能都映射到一个监听器([功能→机制映射](../../../../docs/cookbook/extension-cookbook.md#the-feature--mechanism-map)是证明义务,保持更新)。
- 每个 MVP 功能都映射到一个监听器([功能→机制映射](../../../../docs/cookbook/extension-cookbook.zh.md#the-feature--mechanism-map)是证明义务,保持更新)。
- HMR 与 dispose 无需额外工作:监听器和注册均为 Cordis effect。
- waterfall 语义(调用 `next()` 或短路)不直观,需要教学——在 AGENTS.md 中记录,并由组合测试覆盖。
- 循环必须具备防御性:插件异常在轮次级别被隔离,来自任何扩展点的 steering(中途引导)永远不会被搁置(有回归测试保障)。
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/implemented/architecture/2026-06-11-runtime-arg-validation.md
2026-06-11-runtime-arg-validation.md: 520823c76f147205805d306e97b5461f38b84c35
2026-06-11-runtime-arg-validation.zh.md: 0a6ef40c93ec3550d6e991836950be849e86ede7
2026-06-11-runtime-arg-validation.zh.md: bc2f743300be78cc2a01f027d5aca81fcb18b468
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Status: implemented

## 问题

`defineTool`([统一 schema DSL](2026-07-20-unified-json-value-schema-dsl.md))为工具作者的 `execute(args)` 提供了经 `InferArgs<S>` 映射的类型化参数。但该类型只是对运行时值的编译期声明,而这个值实际上是模型生成的 JSON:没有任何机制强制模型遵守 schema,因此畸形调用(缺少必需键、声明为数字的位置传入字符串,或字面量超出声明的集合)会以「仅在名义上类型化」的状态到达 `execute`。工具函数体随后要么在处理结构错误的数据时崩溃,要么在不报错的情况下行为异常。
`defineTool`([统一 schema DSL](2026-07-20-unified-json-value-schema-dsl.zh.md))为工具作者的 `execute(args)` 提供了经 `InferArgs<S>` 映射的类型化参数。但该类型只是对运行时值的编译期声明,而这个值实际上是模型生成的 JSON:没有任何机制强制模型遵守 schema,因此畸形调用(缺少必需键、声明为数字的位置传入字符串,或字面量超出声明的集合)会以「仅在名义上类型化」的状态到达 `execute`。工具函数体随后要么在处理结构错误的数据时崩溃,要么在不报错的情况下行为异常。

## 决策

Expand All @@ -17,8 +17,8 @@ Status: implemented
## 后果

- 模型会收到有关自身畸形调用的可操作反馈,而不是遭遇不透明的崩溃,弥合了 `InferArgs` 的承诺与运行时现实之间的鸿沟。
- 校验器与 `InferArgs` 必须保持一致;一项[属性测试](../testing/2026-06-11-property-based-testing.md)生成满足 spec 的参数并断言它们通过 `validateArgs`(同时通过针对性改坏参数来断言其会被拒绝),通过自动化检查消除这种漂移风险。
- `ToolArgsError` 是[结构化错误分类体系](2026-06-11-structured-error-taxonomy.md)中 `HarnessError` 的子类,保留其 `code` 字段;读取 `.message` 的调用方不受该层级结构影响。
- 校验器与 `InferArgs` 必须保持一致;一项[属性测试](../testing/2026-06-11-property-based-testing.zh.md)生成满足 spec 的参数并断言它们通过 `validateArgs`(同时通过针对性改坏参数来断言其会被拒绝),通过自动化检查消除这种漂移风险。
- `ToolArgsError` 是[结构化错误分类体系](2026-06-11-structured-error-taxonomy.zh.md)中 `HarnessError` 的子类,保留其 `code` 字段;读取 `.message` 的调用方不受该层级结构影响。
- 校验开销相对于一次模型调用可忽略不计。

<!-- agent-note-format: alternatives-not-recorded (pre-format Agent Note) -->
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/implemented/architecture/2026-06-13-capability-seams.md
2026-06-13-capability-seams.md: 2a166278ea454895177fa12b58f5493276f19cd1
2026-06-13-capability-seams.zh.md: 0874af5826960ab9e718eb07b00c12b446edfd78
2026-06-13-capability-seams.zh.md: 28b45cbbc7f65a0b783db3d91a2e559132b5779f
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Service Provider 与 Consumer 由此独立演进:沙箱化执行器替换 `dsh

## 术语:seam 指三者组合,而非接口

一个 **seam** 是完整的能力——三个角色合在一起:**Service Definition**(拥有 `ctx.<key>` 和词汇的 Cordis `Service`)、一个或多个 **Service Provider**,以及一个或多个 **Consumer**。`packages/shell` 是规范范例——`dsh-shell` / `dsh-bash-local`+`dsh-bash-sandbox` / `dsh-tool-bash`。一个包可以承担多个角色,但单个角色本身不是 seam。「seam」一词严格保留给这种完整能力;命名其中一个组成部分时,应使用其角色、类、服务、约定或扩展点。[术语表](../../../../docs/glossary.md#capability-seam)是规范条目。
一个 **seam** 是完整的能力——三个角色合在一起:**Service Definition**(拥有 `ctx.<key>` 和词汇的 Cordis `Service`)、一个或多个 **Service Provider**,以及一个或多个 **Consumer**。`packages/shell` 是规范范例——`dsh-shell` / `dsh-bash-local`+`dsh-bash-sandbox` / `dsh-tool-bash`。一个包可以承担多个角色,但单个角色本身不是 seam。「seam」一词严格保留给这种完整能力;命名其中一个组成部分时,应使用其角色、类、服务、约定或扩展点。[术语表](../../../../docs/glossary.zh.md#capability-seam)是规范条目。

## 曾考虑的替代方案

Expand All @@ -35,4 +35,4 @@ Service Provider 与 Consumer 由此独立演进:沙箱化执行器替换 `dsh

## 后果

分离角色会增加包和样板代码(`package.json`、`tsconfig`、README 和注入接线)。换来的是:Service Provider 与 Consumer 独立发布和版本管理,新后端永远不会波及面向模型的约定。[AGENTS.md](../../../../AGENTS.md) 和 [architecture.md](../../../../docs/architecture.md) 载有这项规则;bash 三件套是参考模板。本 Agent Note 记录为什么独立变化的角色通常需要拆分,而确实共享的关注点可以保持合并。
分离角色会增加包和样板代码(`package.json`、`tsconfig`、README 和注入接线)。换来的是:Service Provider 与 Consumer 独立发布和版本管理,新后端永远不会波及面向模型的约定。[AGENTS.md](../../../../AGENTS.md) 和 [architecture.md](../../../../docs/architecture.zh.md) 载有这项规则;bash 三件套是参考模板。本 Agent Note 记录为什么独立变化的角色通常需要拆分,而确实共享的关注点可以保持合并。
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/implemented/architecture/2026-06-13-twin-llm-adapters.md
2026-06-13-twin-llm-adapters.md: a4c87325a0b0d1ebe6cf8f95672e5de74ef37d57
2026-06-13-twin-llm-adapters.zh.md: 2af7e7cca4d4c40e18cece1a4dd5c9cdb11901c8
2026-06-13-twin-llm-adapters.zh.md: 36996750a16cc95393d727cffee3bcc53573eaf2
Loading
Loading