Commit Graph
5560 Commits
Author SHA1 Message Date
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
Tianyi Cui 60eea35df5 fix(ralph): harden execution boundaries 2026-07-20 12:56:09 +08:00
pku-xht d9a9c223e4 Merge remote-tracking branch 'origin/master' into codex/send-one-turn 2026-07-20 12:52:17 +08:00
pku-xht d59149a221 review fix: restore idle after between-turn cancellation 2026-07-20 12:51:44 +08:00
Turtle aeb48cc5f3 Render error cause chains at every diagnostic seam
A TUI run against an unreachable endpoint failed with only 'fetch failed':
undici wraps transport failures in a bare TypeError whose diagnosis lives
on .cause, and every diagnostic seam rendered only error.message. The
readline front door additionally rendered failed turns as pure silence.

- dsh-llm: new errorChain(value) renders the full cause chain and
  AggregateError members with circular/hostile-coercion containment.
- llm-deepseek: pre-response transport failures throw LlmError('NETWORK')
  naming the endpoint and chaining the fetch TypeError; aborts keep their
  DOMException so the loop still classifies them as cancellation.
- agent-loop: durable turn/end error messages and logger warnings render
  through errorChain; local renderThrown copies removed.
- ui-stdio: failure turn/end reasons now render ([turn failed <code>],
  [turn aborted], [turn rejected], output-token-limit); startup-failure
  logs use errorChain.
- ui-tui: agent/error notices and the startup-failure line use errorChain.
2026-07-20 12:35:10 +08:00
Tianyi Cui b877ede82d Merge pull request #317 from deepseek-harness/chore/import-landlock-run
chore: adopt node-addon-landlock-run source as native/ subtree
2026-07-20 12:35:01 +08:00
Tianyi Cui a3f792ea9f docs(landlock-run): align source and release guidance 2026-07-20 12:25:43 +08:00
Tianyi Cui 801289adf2 fix(landlock-run): enforce probe CLI contract 2026-07-20 12:25:36 +08:00
Tianyi Cui c6f8247ac1 Merge codex/goal-commands into codex/ralph-tool
# Conflicts:
#	docs/glossary.md
2026-07-20 12:23:57 +08:00
Tianyi Cui 733a90e708 Merge master into chore/import-landlock-run 2026-07-20 12:18:12 +08:00
Tianyi Cui 77c04a340f Merge pull request #271 from deepseek-harness/codex/grep-glob-require-rg
feat(fs-search): hide grep/glob without rg
2026-07-20 12:17:06 +08:00
Tianyi Cui 491dafc785 fix(goal): close human command surface gaps 2026-07-20 12:11:06 +08:00
Tianyi Cui 51e1cc782d Merge master into codex/grep-glob-require-rg 2026-07-20 12:09:05 +08:00
Tianyi Cui d81760f8a0 Merge pull request #327 from deepseek-harness/codex/acp-agent-auto-compaction
feat(acp): enable automatic compaction
2026-07-20 12:08:10 +08:00
Tianyi Cui 79d41dfaa9 Merge codex/commands into codex/goal-commands 2026-07-20 12:07:10 +08:00
Turtle 4ce2202721 Bound the delegation section with a header so "skip this section" is well-defined 2026-07-20 11:56:08 +08:00
Tianyi Cui 4dd6266c53 docs(commands): refresh command event catalog 2026-07-20 11:54:34 +08:00
pku-xht a6e96c47f3 review fix: pin ordinary-send batching removal 2026-07-20 11:53:49 +08:00
Tianyi Cui f9a152409e Merge master into codex/grep-glob-require-rg
# Conflicts:
#	.agents/notes/implemented/feature/2026-07-09-bash-backed-grep-glob-discovery.md
#	packages/fs/tool-fs-search/README.md
2026-07-20 11:53:03 +08:00