deepseek-harness/scripts
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
..
snapshots/python-sdk-single-exe/advanced Merge remote-tracking branch 'origin/master' into codex/simp-session-log-representation 2026-07-15 15:53:56 +08:00
agent-note-tree.ts Remove generated Agent Note index 2026-07-19 23:15:23 +08:00
build-exe-for-python-sdk.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
build-python-release.py python: derive release version from repository 2026-07-13 17:49:01 +08:00
check-expected-filenames.sh ci: reject golden filenames on matching PRs 2026-07-19 21:24:42 +08:00
check-vendor-manifest.sh Add lefthook git hooks with a vendor-manifest guard 2026-06-11 15:07:55 +08:00
check-workspace-constraints.ts feat(sdk): add developer project tooling 2026-07-15 23:17:29 +08:00
cordis-walk.ts refactor(core): fold initiator scope into agents 2026-07-19 13:30:45 +08:00
demo-code-mode.mjs refactor(examples): rename coding-agent leaf to repl-agent 2026-07-19 13:13:14 +08:00
doc-budgets.manifest.json docs(agents): promote review principles 2026-07-19 17:35:43 +08:00
doc-typecheck.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
gen-config-catalog.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
gen-cordis-api.ts feat: inspect exact Cordis API JSDoc 2026-07-19 14:39:49 +08:00
gen-cordis-catalog.ts Merge latest master into post-step recovery 2026-07-19 16:46:01 +08:00
gen-doc-graphs.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
gen-module-graph.ts Merge origin/master into codex/truncated-design 2026-07-17 18:21:54 +08:00
gen-persistence-catalog.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
gen-scoped-events.ts fix: lint 2026-07-14 23:44:48 +08:00
gen-tool-catalog.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
gen-website-api.ts docs: include JSDoc in website API markers 2026-07-19 14:14:02 +08:00
install-lefthook.mjs fix(scripts): launch lefthook bin shim via shell on Windows 2026-07-15 16:09:12 +08:00
jsdoc.ts Merge remote-tracking branch 'origin/master' into codex/trim-ai-prose 2026-07-14 00:47:30 +08:00
markdown.ts docs: harden package README gates 2026-07-14 14:01:35 +08:00
md-fences.ts scripts: extract shared cordis-walk and md-fences helpers (jscpd gate) 2026-07-16 22:07:06 +08:00
package-graph.ts fix: normalize glob paths with split(sep).join('/') on Windows 2026-07-15 19:11:20 +08:00
publint-all.ts fix(scripts): run publint/tsc via node JS entry, not a shell .cmd shim 2026-07-15 16:38:22 +08:00
repo-files.ts fix: normalize remaining Windows gate paths 2026-07-15 19:59:00 +08:00
run-gates.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
smoke-python-runtime.py test: rename golden snapshot files to expected 2026-07-19 17:45:49 +08:00
translation-pairing.manifest.json Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
translation-pairing.spec.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
translation-pairing.ts fix(i18n): make translation contracts executable 2026-07-14 23:09:01 +08:00
translation-prompt.spec.ts fix(i18n): refine Chinese prose and prompt validation 2026-07-15 20:39:24 +08:00
translation-prompt.ts fix(i18n): refine Chinese prose and prompt validation 2026-07-15 20:39:24 +08:00
ts-project.ts fix: lint 2026-07-14 23:44:48 +08:00
type-equiv.manifest.json fix(session): drop the <context> envelope and project context verbatim 2026-07-20 16:22:20 +08:00
verify-agent-note-classification.ts Remove generated Agent Note index 2026-07-19 23:15:23 +08:00
verify-agent-note-format.ts Remove generated Agent Note index 2026-07-19 23:15:23 +08:00
verify-cordis-config.ts fix(ci): avoid unbound TypeScript reader 2026-07-17 23:43:20 +08:00
verify-doc-budgets.ts docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
verify-doc-refs.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
verify-export-jsdoc.ts feat(sdk): add developer project tooling 2026-07-15 23:17:29 +08:00
verify-md-links.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
verify-md-wrap.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
verify-mermaid.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
verify-node-next-types.ts fix(scripts): run publint/tsc via node JS entry, not a shell .cmd shim 2026-07-15 16:38:22 +08:00
verify-package-paths.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
verify-package-readme-limitations.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
verify-package-readme-model-experience.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
verify-runtime-closure.ts Merge remote-tracking branch 'origin/master' into codex/trim-ai-prose 2026-07-14 00:40:36 +08:00
verify-translation-pairing.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
verify-translation-prompt.ts fix(i18n): refine Chinese prose and prompt validation 2026-07-15 20:39:24 +08:00
verify-type-equiv.ts Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
verify-website-yaml.ts scripts: extract shared cordis-walk and md-fences helpers (jscpd gate) 2026-07-16 22:07:06 +08:00