deepseek-harness/docs
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
..
cookbook Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
cordis-catalog fix(session): drop the <context> envelope and project context verbatim 2026-07-20 16:22:20 +08:00
core-data-structures fix(session): drop the <context> envelope and project context verbatim 2026-07-20 16:22:20 +08:00
i18n Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
postmortem Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
agent-lifecycle.md Merge latest origin/master into compact-post-step-overflow-recovery 2026-07-19 12:06:23 +08:00
AGENTS.md Require Agent Notes for non-trivial changes 2026-07-19 23:29:55 +08:00
architecture.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
capability-seams.md Merge latest master into post-step recovery 2026-07-19 16:46:01 +08:00
config-catalog.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
cordis-primer.md fix(snapshot): register filesystem tools through explicit overlay 2026-07-14 21:25:58 +08:00
defensive-patterns.md docs(AGENTS): rewrite the root standing orders to the 1,500-word budget 2026-07-04 14:22:47 +08:00
development.i18n.yaml Remove generated Agent Note index 2026-07-19 23:15:23 +08:00
development.md Remove generated Agent Note index 2026-07-19 23:15:23 +08:00
development.zh.md Remove generated Agent Note index 2026-07-19 23:15:23 +08:00
event-producer-consumer.md fix(session): drop the <context> envelope and project context verbatim 2026-07-20 16:22:20 +08:00
glossary.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
graph-atlas.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
module-graph.md Merge remote-tracking branch 'origin/master' into codex/pr370-review-20260719 2026-07-19 21:21:53 +08:00
persistence-catalog.md fix(session): drop the <context> envelope and project context verbatim 2026-07-20 16:22:20 +08:00
testing.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
tool-catalog.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
tool-execution-pipeline.md Merge current master into debug-pangwenjie 2026-07-18 13:39:12 +08:00