Commit Graph

3117 Commits

Author SHA1 Message Date
Turtle
f593ef5ab5 fix(session): drop the <context> envelope and project context verbatim
context/message previously defaulted to a <context source="…">…</context>
wrapper. No model is trained on a <context> tag either, and message
framing does not belong on the session surface: the surface projects the
durable log, and a caller that wants a frame formats its own content —
which the one heavy producer (workspace-context) already does with its own
<system-reminder> frame, opting out via 'raw'. The tag only added
machinery — ContextEnvelope plus an envelope field threaded through
InjectOptions, HookContext, the context/message event, and the agent-loop
inject/additionalContexts plumbing.

context/message now projects its content verbatim as a user-role message,
sharing one deriveEventMessage case with user/message and steering/message.
ContextEnvelope and every envelope field are removed; context/message.meta
still carries durable, model-hidden JSON state. Regenerated catalogs and
website API; refreshed the three affected keyless snapshots (envelope field
only; timestamps unchanged).

Broadens and renames the steering Agent Note to cover both envelope
removals as one decision.

Agent Note: .agents/notes/implemented/simplification/2026-07-20-unwrap-injected-content-envelopes.md
2026-07-20 16:22:20 +08:00
Turtle
b25b78fd02 fix(session): project steering messages as plain user content
steering/message previously rendered inside a <steering source="…">
envelope like context/message. No model is trained on a <steering> tag,
so the framing is arbitrary markup the model was never taught to read;
recorded transcripts show it treating the instruction as third-party
metadata and refusing it. Framing also does not belong on the session
surface — a caller that wants a frame formats its own content. It now
projects verbatim as a plain user-role message; the <context> envelope is
untouched and renderTagged becomes context-only.

Agent Note: .agents/notes/implemented/simplification/2026-07-20-unwrap-steering-message-projection.md
2026-07-20 15:51:27 +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
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
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
c225b4956e docs(telemetry): document cache effect 2026-07-19 21:53:31 +08:00
Tianyi Cui
38c2b5a6ec docs(rfc): preserve SDK telemetry scope 2026-07-19 21:49:41 +08:00
Yichen Jiang
299059665d Merge branch 'master' into worktree/pi-ai-manual-e2e 2026-07-19 21:47:04 +08:00
Yichen Jiang
43d036ca41 Merge remote-tracking branch 'origin/master' into worktree/dsbench-patch 2026-07-19 21:46:17 +08:00
Tianyi Cui
f2d708511a Merge pull request #397 from deepseek-harness/codex/rename-golden-files-to-expected
Rename golden snapshot filenames to expected
2026-07-19 21:33:30 +08:00
Tianyi Cui
b7cdad6360 ci: reject golden filenames on matching PRs 2026-07-19 21:24:42 +08:00
Tianyi Cui
2bc4791f84 Merge remote-tracking branch 'origin/master' into codex/pr370-review-20260719 2026-07-19 21:21:53 +08:00
Tianyi Cui
fe5c3e2a7a docs(rfc): formalize SDK follow-up design 2026-07-19 21:21:39 +08:00
Tianyi Cui
546f2ae478 Merge remote-tracking branch 'origin/master' into codex/rename-golden-files-to-expected 2026-07-19 21:09:20 +08:00
Tianyi Cui
f84092045c Merge pull request #396 from deepseek-harness/codex/package-readme-kv-cache-effect
docs: standardize package Model Experience fields
2026-07-19 21:01:30 +08:00
Tianyi Cui
9c28960b7f Merge remote-tracking branch 'origin/master' into codex/package-readme-kv-cache-effect 2026-07-19 20:52:56 +08:00
Tianyi Cui
27cb50ad46 Merge pull request #398 from deepseek-harness/codex/model-experience-field-headings
docs: structure Model Experience fields
2026-07-19 20:49:46 +08:00
Tianyi Cui
a278374e8f docs: structure model experience fields 2026-07-19 18:08:42 +08:00
Tianyi Cui
f756fcb7d3 Merge pull request #395 from deepseek-harness/codex/code-review-prevention
docs(agents): promote review principles
2026-07-19 18:00:09 +08:00
Tianyi Cui
8733f365a4 Merge remote-tracking branch 'origin/master' into codex/code-review-prevention 2026-07-19 17:54:35 +08:00
Tianyi Cui
38b7275eb1 Merge pull request #393 from deepseek-harness/codex/code-review-human-principles
docs(review): distill human review principles
2026-07-19 17:53:10 +08:00
Tianyi Cui
2db4061861 Merge remote-tracking branch 'origin/master' into codex/code-review-human-principles 2026-07-19 17:47:06 +08:00
Tianyi Cui
0893aaa7cb test: rename golden snapshot files to expected 2026-07-19 17:45:49 +08:00
Tianyi Cui
bcc920369c docs: document package KV cache effects 2026-07-19 17:39:50 +08:00
Tianyi Cui
4ab5a76317 docs(agents): promote review principles 2026-07-19 17:35:43 +08:00
Tianyi Cui
b3c4b732d8 Merge pull request #332 from deepseek-harness/compact-post-step-overflow-recovery
feat(agent): add post-step compaction and bounded overflow recovery
2026-07-19 17:26:50 +08:00
Tianyi Cui
d5350cd42e docs(review): distill human review principles 2026-07-19 17:08:00 +08:00
Tianyi Cui
20fd7133a0 Merge latest master into post-step recovery
Adopt initiator-derived private loop and session plumbing while preserving post-step recovery and balanced synthetic tool-call results after cancellation.

Keep the architecture map within its existing budget while documenting ambient Agent ownership and explicit cross-boundary identities.
2026-07-19 17:02:55 +08:00
Tianyi Cui
b6858a5ce1 Merge pull request #384 from deepseek-harness/codex/simplify-agent-identity-plumbing
refactor(core): simplify AgentLoop identity plumbing with ctx.agents
2026-07-19 16:58:10 +08:00
Tianyi Cui
a1de4d0071 docs: codify initiator-owned identity plumbing 2026-07-19 16:52:40 +08:00
Tianyi Cui
f0d6637972 Merge latest origin/master into codex/simplify-agent-identity-plumbing 2026-07-19 16:52:40 +08:00
Tianyi Cui
fd54b5c848 Merge latest master into post-step recovery
Combine agent initiator scoping and exact Cordis JSDoc inspection with post-step compaction and bounded request recovery.

Regenerate the Cordis and website API catalogs, and classify the recovery and compaction types required by the current catalog link-coverage gate.
2026-07-19 16:46:01 +08:00
Yichen Jiang
5f9fe14156 docs(bash-local): clarify spill cleanup semantics 2026-07-19 16:39:58 +08:00
Tianyi Cui
bebbbbb7f0 Merge pull request #387 from deepseek-harness/codex/cordis-inspect-jsdoc
feat: inspect exact Cordis API JSDoc
2026-07-19 16:39:16 +08:00
Yichen Jiang
e1bf278266 Merge branch 'master' into worktree/dsbench-patch 2026-07-19 16:36:01 +08:00
Tianyi Cui
5e2607df8c refactor(core): capture session inside loop operations 2026-07-19 16:28:31 +08:00
Tianyi Cui
a72b86f82c Merge pull request #391 from deepseek-harness/codex/pr332-adapter-failure-provenance
fix(llm): scope adapter failures to model calls
2026-07-19 16:26:28 +08:00