Commit Graph
6028 Commits
Author SHA1 Message Date
Tianyi Cui e9d9791501 Merge branch 'codex/goal-domain' into codex/goal-tools 2026-07-20 16:42:04 +08:00
Tianyi Cui 6b44d01bc8 Merge master into compact-tool-result-prune 2026-07-20 16:41:59 +08:00
Yichen Jiang dc4b7de817 Merge remote-tracking branch 'origin/master' into worktree/docs-website
# Conflicts:
#	website/.vitepress/config/api-sidebar.json
#	website/zh-CN/api/harness/bash-env.md
#	website/zh-CN/api/harness/bash.md
#	website/zh-CN/api/harness/events.md
#	website/zh-CN/api/harness/fs.md
#	website/zh-CN/api/harness/permission.md
#	website/zh-CN/api/harness/sandbox.md
2026-07-20 16:41:21 +08:00
Tianyi Cui 1468773dcd fix(goal): simplify blockers into one durable phase 2026-07-20 16:39:40 +08:00
Tianyi Cui 34c0800d3c Merge pull request #309 from deepseek-harness/cross-family-fs-sandbox
Cross-family file sandbox: one policy home, sandboxed fs provider, fs escalation parity
2026-07-20 16:35:50 +08:00
Yichen Jiang 2b1b598467 docs: restore generated Cordis core API 2026-07-20 16:33:44 +08:00
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
pku-xht f899b857a6 review fix: explain one-send turns plainly 2026-07-20 15:48:42 +08:00
Yichen Jiang cfa180c127 Resolve compaction policy per routed model 2026-07-20 15:34:00 +08:00
kingwl f9f8dc57fe docs: regenerate website API source anchors after merge 2026-07-20 15:28:08 +08:00
Yichen Jiang 8ffca1f9c4 Merge remote-tracking branch 'origin/worktree/docs-website' into worktree/docs-website 2026-07-20 15:26:01 +08:00
Yichen Jiang 99ce2ce8b4 fix duplicate documentation homepage content 2026-07-20 15:25:47 +08:00
kingwl d85d2a4be3 Merge remote-tracking branch 'origin/master' into jsonl-packed-chunk-rows
Conflicts: the four generated catalog docs (regenerated over merged sources),
session index.ts exports (keep chunk-rows exports + master's SessionSurface
re-export), stdio/acp demo config schema and persistence wiring (thread
packChunks through master's DEFAULT_PERSISTENCE_ROOT/UI shape), stdio README
config table, and the jsonl spec import line. The packed-chunk fixture also
gains the provenance field master made required on assistant/message.
2026-07-20 15:24:58 +08:00
Yichen Jiang 4b861eccb0 Merge branch 'master' into worktree/contain-result-observer-rejections 2026-07-20 15:23:42 +08:00
Yichen Jiang d919e1b813 Merge remote-tracking branch 'origin/master' into fix/acp-subagent-cwd
# Conflicts:
#	packages/subagent/subagent-acp/README.md
2026-07-20 15:19:25 +08:00
Yichen Jiang 512c8d2d04 Merge branch 'master' into worktree/acp-default-fs-suite 2026-07-20 15:18:22 +08:00
Yichen Jiang f2a813b791 Merge remote-tracking branch 'origin/master' into fix/subagent-depth-budget 2026-07-20 15:15:31 +08:00
Yichen Jiang fdd5791325 Merge branch 'master' into worktree/docs-website 2026-07-20 15:10:28 +08:00
pku-xht 7ffac135a6 review fix: disambiguate steering checkpoint timing 2026-07-20 14:51:38 +08:00
pku-xht c16e1078f5 docs(agent): clarify late steering timing 2026-07-20 14:42:55 +08:00
Dudu-0223 be84a73f56 Stabilize process-group coverage across POSIX 2026-07-20 14:40:18 +08:00
Tianyi Cui 3deb7bf196 Merge remote-tracking branch 'origin/codex/ralph-tool' into codex/goal-rfc-rollup 2026-07-20 14:37:16 +08:00
Tianyi Cui 2f13acd2b9 Merge remote-tracking branch 'origin/codex/goal-commands' into codex/ralph-tool 2026-07-20 14:32:20 +08:00
ZiyaZhang 0207b5edd2 feat(desktop): fold Rubrics/Growth/Runtimes into one Evals nav entry (3 tabs + shared rubric selector) 2026-07-19 23:31:47 -07:00
ZiyaZhang 211ffb4b7c feat(desktop): fuse step card with tool row at narrative position + glyph fallback 2026-07-19 23:31:45 -07:00
ZiyaZhang 3b49a948e0 fix(desktop): session Graph node order — sort by seq + repair turn/user reversal, node label previews
Also picks up two files the previous sync batch missed
(test/artifact-compact-row.test.js, docs/qa-artifact-compact/).
2026-07-19 23:31:19 -07:00
Tianyi Cui 7c0c819bcf Merge remote-tracking branch 'origin/codex/commands' into codex/goal-commands 2026-07-20 14:27:16 +08:00
Tianyi Cui 09a75ef6a2 Merge remote-tracking branch 'origin/codex/goal-session' into codex/commands 2026-07-20 14:23:02 +08:00
Tianyi Cui 725acb76ec Merge remote-tracking branch 'origin/codex/goal-tools' into codex/goal-session 2026-07-20 14:18:42 +08:00
Tianyi Cui ad3708645a Merge remote-tracking branch 'origin/codex/goal-domain' into codex/goal-tools
# Conflicts:
#	docs/tool-catalog.md
2026-07-20 14:14:26 +08:00
Tianyi Cui 6e876e497a Merge remote-tracking branch 'origin/rfc/loop' into codex/goal-domain 2026-07-20 14:10:00 +08:00
Tianyi Cui c14198ebc1 Merge remote-tracking branch 'origin/master' into rfc/loop 2026-07-20 14:05:55 +08:00
kingwl 994eaedc02 review pass: purge stale enforcement language after the axis decoupling
Self-review findings, all prose/metadata (no behavior change): the
package description still claimed hard (execution) enforcement; the RFC
Problem framing still defined plan mode as a read-only tool policy;
integration/mode/snapshot-suite comments still referenced the removed
sandbox clamp and cap; the header-fallback explanation said
'front-of-list insertion' where the actual mechanism is a non-tail
insertion the append-only tools delta cannot express (exit_plan_mode
sits mid-list alphabetically); AGENTS.md's layout line and the RFC's
'policy state/listener' phrasing move to collaboration-state wording.
2026-07-20 14:01:53 +08:00
kingwl 2530bf8aa3 fix(sandbox): address PR #309 review — TOCTOU direction, denial metadata, shared roots, docs
- fs-sandbox: delegate the mutation with the freshly re-canonicalized target
  (not the stale one), so the checked identity is the mutated identity — a
  symlink swapped in after resolve() can no longer escape workspace-write.
- tool-fs: map a denial to an FsError carrying FS_SANDBOX_DENIED (not a plain
  Error), so ToolRegistry keeps the structured code on result.error for
  retry/observers while the message stays the shared marker.
- sandbox-local: derive the Seatbelt writable set from the shared
  writableRoots() helper, so the profile and the fs fence cannot drift.
- gen-doc-graphs: ctx.sandboxPolicy is owned by dsh-sandbox-policy and read only
  by the sandboxed executor/provider (the tool layers use the pure fold).
- docs: bash-sandbox/bash/permission READMEs and bash.md reflect the relocated
  policy home and the sandbox/mode rename; drop the stale stdout.golden.jsonl.
2026-07-20 13:59:18 +08:00
Dudu-0223 311503dfc6 Declare LSP packages for example configs 2026-07-20 13:59:02 +08:00
Dudu-0223 ca1cc61dfb Merge origin/master into lsp 2026-07-20 13:54:38 +08:00
Tianyi Cui 5d0a248a98 Merge remote-tracking branch 'origin/codex/ralph-tool' into codex/goal-rfc-rollup 2026-07-20 13:53:43 +08:00
Tianyi Cui b360d04833 Merge remote-tracking branch 'origin/codex/goal-commands' into codex/ralph-tool 2026-07-20 13:49:34 +08:00
Tianyi Cui 3787349d42 Merge remote-tracking branch 'origin/codex/commands' into codex/goal-commands 2026-07-20 13:39:12 +08:00
kingwl 1dd5757897 Merge remote-tracking branch 'origin/master' into cross-family-fs-sandbox
# Conflicts:
#	packages/fs/README.md
2026-07-20 13:38:51 +08:00
Tianyi Cui 7018d1c192 Merge remote-tracking branch 'origin/codex/goal-session' into codex/commands 2026-07-20 13:34:35 +08:00
kingwl c0146b9c4a refactor(mode): modes are collaboration states — drop the access cap; enforcement axes stay independent
Review follow-up (tianyicui): plan mode and the sandbox are orthogonal
AXES, not just orthogonal state — entering plan must not change what the
sandbox enforces, matching Codex's separation of Plan/Default
collaboration presets from sandbox and approval settings.

ModeDefinition.access, the bash/resolve-mode clamp, and both cap-derived
guards are removed; a ModeDefinition is exactly { section }, and a mode
now carries only its guidance section plus the exit_plan_mode review.
The bash seam's resolveMode + waterfall go with their only listener:
dsh-bash and dsh-tool-bash revert to master byte-for-byte, and the
dsh-mode → dsh-bash dependency edge is gone. A deployment that wants
kernel-enforced read-only planning pairs the mode picker with the
independent sandbox-mode option, in either order.

The RFC archives this as the second removed enforcement shape (after
the interim allowlist) with the same restart trigger — effects
self-declaration; the orthogonality FAQ now answers with the two-axis
rule. The plan example demonstrates the axes side by side, and the
re-recorded fixtures pin the guidance-only section.
2026-07-20 13:34:30 +08:00
Tianyi Cui a3afd0f677 Merge remote-tracking branch 'origin/codex/goal-tools' into codex/goal-session 2026-07-20 13:30:01 +08:00
Tianyi Cui df1643d5e5 fix(goal): remove unreachable terminal branch 2026-07-20 13:25:16 +08:00
pku-xht 7d7d69e225 review fix: cover post-cancel replacement 2026-07-20 13:20:51 +08:00
pku-xht da70e47048 review fix: preserve idle waiter quiescence 2026-07-20 13:15:11 +08:00
Tianyi Cui b8af6c4b43 docs(goal): align rollup with implemented stack 2026-07-20 13:13:11 +08:00
Tianyi Cui bbc6808a3c Merge remote-tracking branch 'origin/codex/ralph-tool' into codex/goal-rfc-rollup 2026-07-20 13:09:36 +08:00
Tianyi Cui b2f08eac4f test(workflow): register real-engine route 2026-07-20 13:01:07 +08:00