_Kerman
98238ceace
fix(agent-loop): settle rejected admission context
2026-07-27 18:32:07 +08:00
_Kerman
ff7792b17c
docs(agent): document next-step acceptance window
2026-07-27 18:07:51 +08:00
_Kerman
52174e32cb
refactor(agent): clarify turn lifecycle event names
2026-07-27 17:38:42 +08:00
_Kerman
bd40eec770
Merge remote-tracking branch 'origin/master' into xtr/agent-loop-message-machine
...
# Conflicts:
# docs/architecture.i18n.yaml
# docs/architecture.md
# docs/architecture.zh.md
# docs/cordis-catalog/services.md
# docs/core-data-structures/core.i18n.yaml
# docs/core-data-structures/core.md
# docs/core-data-structures/core.zh.md
# docs/core-data-structures/llm-streaming.i18n.yaml
# docs/core-data-structures/session.i18n.yaml
# docs/event-producer-consumer.md
# examples/acp-agent/tests/snapshots/cordis-inspect-jsdoc/session.jsonl
# examples/headless-agent/tests/snapshots/advanced-toolchain/session.1.jsonl
# examples/headless-agent/tests/snapshots/advanced-toolchain/session.2.jsonl
# packages/core/agent-loop/README.i18n.yaml
# packages/core/agent-loop/README.md
# packages/core/agent-loop/README.zh.md
# packages/core/agent-loop/src/loop.ts
# packages/core/agent/README.i18n.yaml
# packages/core/agent/tests/llm-target.spec.ts
# packages/core/session/tests/request-header.spec.ts
2026-07-27 16:48:38 +08:00
_Kerman
338da9f2e0
refactor(agent): fold agentInterruptReasonOf into loop-private slot invariants
...
The public classifier existed to defend an exported reader against
arbitrary signals, but its only production caller is the loop reading
its own machine-private turn signal, where cancel() is the sole aborter
and always writes one frozen canonical cause. Delete the export and its
15-line structural validation: settle() states the slot invariant with
one cast, the boolean call sites ask signal.aborted directly, and the
retry veto drops entirely because a requested window already implies a
live signal (cancel() retires the window before aborting).
The abort(reason) channel and first-wins semantics are unchanged; only
the reader's publicness is gone, and with it the paranoia it required.
2026-07-26 20:51:32 +08:00
Yichen Jiang
73e7e27799
refactor(llm): resolve model metadata together
2026-07-26 13:07:27 +08:00
_Kerman
8432c68b6a
docs: sync bilingual pairs and static gates with the message-machine refactor
...
The branch edited the English side of 17 doc pairs without their Chinese
counterparts. Bring every .zh.md up to date (loop.ts references now point
at agent.ts, send/steer/inject unification, context/message folded into
user/message, HookContext replaced by UserMessageData in tool decision
blocks, plan/skill delivery moved to agent/step) and re-record the pairing
hashes. Deduplicate type-equiv.manifest.json entries duplicated by the
master merge and drop entries for symbols the refactor removed. Complete
the missing JSDoc on extractSnapshotSpillPaths.
2026-07-26 11:48:06 +08:00
Yichen Jiang
baea5018e5
fix(llm): bind reasoning resolution to adapter lifecycle
2026-07-25 22:59:45 +08:00
Yichen Jiang
1c66759235
Merge origin/master into worktree/llm-reasoning-effort
2026-07-25 07:59:21 +08:00
Tianyi Cui
2584f029bc
Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master
...
# Conflicts:
# docs/cookbook/extension-cookbook.i18n.yaml
# docs/cookbook/extension-cookbook.zh.md
2026-07-24 21:20:17 +08:00
Tianyi Cui
6865b861d8
docs(site): preserve translated core fragment ids
2026-07-24 18:32:31 +08:00
Tianyi Cui
250162a2fc
docs: align core catalog translations
2026-07-24 12:11:58 +08:00
Tianyi Cui
ed3a6ca295
Merge remote-tracking branch 'origin/docs/i18n-batch-core' into worktree/pr344-retarget-stack
...
# Conflicts:
# docs/core-data-structures/session-query.md
# scripts/type-equiv.manifest.json
2026-07-24 00:00:04 +08:00
Tianyi Cui
91f5e4d9c8
docs(i18n): clarify cancellation and orphan results
2026-07-23 21:14:34 +08:00
Tianyi Cui
0911a87409
docs(i18n): refresh core translations for latest master
2026-07-23 19:29:01 +08:00
Tianyi Cui
ba40f906dc
docs(i18n): normalize core terminology
2026-07-23 18:45:56 +08:00
Tianyi Cui
eb25da2edf
Revert "docs(i18n): preserve Turn and Step terms"
...
This reverts commit 3f0e2091122aebe83c802f25e330faa7c9c7b7f9.
2026-07-23 14:03:37 +08:00
Tianyi Cui
be7d84813e
docs(i18n): preserve Turn and Step terms
2026-07-23 13:41:44 +08:00
Tianyi Cui
2f9f5ecbb7
docs(i18n): normalize turn and step terms
2026-07-23 13:25:54 +08:00
Tianyi Cui
d59af9befc
docs(i18n): address core-data review feedback
2026-07-23 01:05:50 +08:00
Tianyi Cui
a5a0cad46a
Merge branch 'worktree/pr343-retarget-latest-master' into worktree/pr344-retarget-stack
...
# Conflicts:
# scripts/type-equiv.manifest.json
2026-07-23 00:19:53 +08:00
Tianyi Cui
01622abde7
docs(i18n): refresh core data translations after merge
2026-07-22 22:58:05 +08:00
Tianyi Cui
f72db5ac7b
docs(i18n): address core data review
2026-07-22 22:19:12 +08:00
ZiyaZhang
6599acdee8
docs(i18n): add the core.md pair (long-doc lane, v4 pipeline)
2026-07-22 03:40:46 -07:00