Commit Graph

3491 Commits

Author SHA1 Message Date
Tianyi Cui
7b63b85d24 Merge origin/master into fix/tui-color-scheme-v2 2026-07-21 16:58:12 +08:00
Tianyi Cui
13982e98e1 Merge pull request #458 from deepseek-harness/fix/pre-push-dsh-home-env-leak
test(workspace-context): stub DSH_HOME in default-home label test
2026-07-21 16:16:45 +08:00
Huanqi Cao
5d6db0cd56 fix: stub DSH_HOME in 'labels the default DSH home' test
The test 'labels the default DSH home as ~/.dsh when HOME points at the
configured default' mocks node:os to return a temporary home directory
and expects discoverBaselineInstructionFiles to fall back to the default
~/.dsh path. However, when DSH_HOME is externally set (e.g. in the DSH
agent environment), resolveDshHome(undefined) reads that external value
instead of falling back to defaultDshHome(), causing the test to look for
AGENTS.md in the wrong directory and return an empty result.

Stub DSH_HOME to undefined so the test controls the full resolution path.
2026-07-21 13:08:34 +08:00
Turtle
dd57d3009d test(sandbox): decouple the probe-timeout test from the racy default budget
The earlier fix only widened the vitest timeout, but the real race is the
patient probe reading the 1s launcher under the 5000ms *default* probe budget:
under a full parallel run spawnSync blocks the worker and fork/exec latency can
push the launcher's wall-clock past 5000ms, so the patient probe wrongly reads
unusable and the assertion fails. Give the patient probe a generous explicit
15000ms budget (still far below its 1s launcher runtime margin) so only the
250ms impatient probe races the launcher; keep a 30s vitest timeout above the
patient budget.
2026-07-21 10:07:03 +08:00
Turtle
bdbd22bb97 Merge remote-tracking branch 'origin/master' into fix/tui-color-scheme-v2
Resolve conflicts:
- packages/ui/tui/src/index.ts: keep the color-scheme detection block; drop the
  obsolete static autocomplete list (master moved to refreshCommandAutocomplete).
- docs/config-catalog.md: regenerate (tui Config source line shifted to :104).
2026-07-21 10:06:49 +08:00
Turtle
a205ba4c29 test(sandbox): give the probe-timeout test headroom over vitest's default
`bounds the default probes` runs a real launcher that sleeps 1s under the
5000ms default probe budget, all wrapped in vitest's 5000ms default test
timeout. The blocking spawnSync races that wrapper and tips over under the
load spike of a full parallel run — a pre-existing, load-sensitive flake
(noted as unrelated in this PR's original description). Give the test an
explicit 20s timeout so its bounded subprocess work never races the default.
2026-07-21 09:42:12 +08:00
Tianyi Cui
9a5c81f9e5 Merge pull request #419 from deepseek-harness/codex/goal-rfc-rollup
docs(agent-note): record implemented goal execution stack
2026-07-21 00:56:09 +08:00
Tianyi Cui
cf4f7bbb4b Merge remote-tracking branch 'origin/master' into codex/goal-rfc-rollup 2026-07-21 00:51:59 +08:00
Tianyi Cui
bb85b384f1 Merge pull request #417 from deepseek-harness/codex/ralph-tool
feat(workflow): add fresh-agent Ralph tool
2026-07-21 00:51:42 +08:00
Tianyi Cui
9f5415fc6e Merge remote-tracking branch 'origin/master' into codex/ralph-tool 2026-07-21 00:46:27 +08:00
Tianyi Cui
6bcc9fbf32 Merge pull request #415 from deepseek-harness/codex/goal-commands
feat(goal): add human /goal command
2026-07-21 00:46:07 +08:00
Tianyi Cui
91822398b6 Merge remote-tracking branch 'origin/master' into codex/goal-commands 2026-07-21 00:40:44 +08:00
Tianyi Cui
cf1aedf34e Merge pull request #412 from deepseek-harness/codex/commands
feat(ui): add plugin-owned human commands
2026-07-21 00:40:26 +08:00
Tianyi Cui
457b48efda Merge remote-tracking branch 'origin/master' into codex/commands 2026-07-21 00:36:16 +08:00
Tianyi Cui
2109ad8cef Merge pull request #405 from deepseek-harness/codex/goal-session
feat(goal): drive same-session goal rounds
2026-07-21 00:36:00 +08:00
Tianyi Cui
ed2ac29481 Merge remote-tracking branch 'origin/master' into codex/goal-session 2026-07-21 00:30:42 +08:00
Tianyi Cui
8a4c7f78d7 Merge pull request #403 from deepseek-harness/codex/goal-tools
feat(goal): add model-facing goal tools
2026-07-21 00:30:26 +08:00
Tianyi Cui
342af3050b Merge remote-tracking branch 'origin/master' into codex/goal-tools 2026-07-21 00:25:49 +08:00
Tianyi Cui
c503dd91a5 Merge pull request #402 from deepseek-harness/codex/goal-domain
feat(goal): add persisted same-session goal domain
2026-07-21 00:25:32 +08:00
Tianyi Cui
73f1280532 Merge remote-tracking branch 'origin/master' into codex/goal-domain 2026-07-21 00:20:30 +08:00
Tianyi Cui
d0bb8a86af Merge pull request #349 from deepseek-harness/rfc/loop
docs(agent-note): propose harness-level goal execution
2026-07-21 00:20:03 +08:00
Tianyi Cui
17abccadf7 Merge branch 'codex/ralph-tool' into codex/goal-rfc-rollup 2026-07-20 23:39:59 +08:00
Tianyi Cui
5eb592aa89 Merge branch 'codex/goal-commands' into codex/ralph-tool 2026-07-20 23:39:48 +08:00
Tianyi Cui
9140f91561 Merge branch 'codex/commands' into codex/goal-commands 2026-07-20 23:39:41 +08:00
Tianyi Cui
9f59f198d8 Merge branch 'codex/goal-session' into codex/commands 2026-07-20 23:39:36 +08:00
Tianyi Cui
2aae64b5da fix(goal-session): preserve typed error variants 2026-07-20 23:35:49 +08:00
Tianyi Cui
b850e69068 Condense snapshot testing policy 2026-07-20 23:24:43 +08:00
Tianyi Cui
578df3f986 Clarify goal rounds around request recovery 2026-07-20 23:20:44 +08:00
Tianyi Cui
9f28f70d3e Merge branch 'codex/ralph-tool' into codex/goal-rfc-rollup 2026-07-20 23:19:56 +08:00
Tianyi Cui
cbae54c184 Merge branch 'codex/goal-commands' into codex/ralph-tool
# Conflicts:
#	docs/module-graph.md
2026-07-20 23:15:34 +08:00
Tianyi Cui
a9a9d40cb1 Merge branch 'codex/commands' into codex/goal-commands
# Conflicts:
#	docs/config-catalog.md
#	docs/module-graph.md
#	examples/acp-agent/tests/snapshots/error-finish/stdout.expected.jsonl
#	packages/examples/acp-demo/README.md
#	packages/examples/acp-demo/src/index.ts
#	packages/examples/agent-spine-demo/README.md
#	packages/examples/agent-spine-demo/package.json
#	packages/examples/agent-spine-demo/src/index.ts
2026-07-20 23:10:33 +08:00
Tianyi Cui
22fa51845e Merge branch 'codex/goal-session' into codex/commands
# Conflicts:
#	docs/config-catalog.md
#	docs/module-graph.md
#	examples/acp-agent/tests/snapshots/error-finish/stdout.expected.jsonl
#	packages/ui/acp/README.md
#	packages/ui/tui/README.md
2026-07-20 23:03:55 +08:00
Tianyi Cui
de72f972b7 Exercise normalized goal-round rate limits 2026-07-20 22:58:01 +08:00
Tianyi Cui
f98f0e9838 Merge branch 'codex/goal-tools' into codex/goal-session
# Conflicts:
#	docs/cordis-catalog/events.md
#	docs/event-producer-consumer.md
#	packages/core/agent-loop/README.md
#	packages/core/agent/README.md
2026-07-20 22:57:14 +08:00
Tianyi Cui
ea530241d8 Merge branch 'codex/goal-domain' into codex/goal-tools
# Conflicts:
#	docs/cordis-catalog/events.md
#	docs/event-producer-consumer.md
2026-07-20 22:50:36 +08:00
Tianyi Cui
076e46ebc0 Merge branch 'rfc/loop' into codex/goal-domain
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/module-graph.md
2026-07-20 22:46:26 +08:00
Tianyi Cui
9ae98ebccc Merge latest master into RFC stack 2026-07-20 22:42:03 +08:00
Tianyi Cui
7094608c50 Update goal RFC rollup for current app surfaces 2026-07-20 22:30:52 +08:00
Tianyi Cui
ad386a5c75 Merge branch 'codex/ralph-tool' into codex/goal-rfc-rollup 2026-07-20 22:28:50 +08:00
Tianyi Cui
171a0e2b30 Merge pull request #80 from deepseek-harness/codex/llm-error-recovery-rfc
feat: add bounded LLM request recovery
2026-07-20 22:27:58 +08:00
Tianyi Cui
1b04e8eb2b Merge branch 'codex/goal-commands' into codex/ralph-tool
# Conflicts:
#	examples/repl-agent/README.md
#	examples/repl-agent/composition.md
#	examples/repl-agent/cordis.yml
2026-07-20 22:25:16 +08:00
Tianyi Cui
5c301febbf Merge branch 'codex/commands' into codex/goal-commands
# Conflicts:
#	docs/architecture.md
#	docs/config-catalog.md
#	docs/cookbook/extension-cookbook.i18n.yaml
#	docs/module-graph.md
#	packages/examples/README.md
#	packages/examples/agent-spine-demo/README.md
#	packages/examples/stdio-demo/README.md
#	packages/examples/stdio-demo/src/index.ts
#	packages/examples/stdio-demo/tests/stdio-agent.spec.ts
2026-07-20 22:18:20 +08:00
Turtle
f81d382230 fix(tui): make color-scheme detection fully covered and race-free
The color-scheme detection block left packages/ui/tui/src/index.ts below
the 100% per-file coverage gate on three counts: the .then callback's
`scheme === undefined` branch was reachable only via the 2s query
timeout, the .catch only via a query-write failure, and the
`editor.borderColor` assignment inside applyColorScheme was dead code —
the next line's setStatus() immediately reassigns editor.borderColor.

Register the scheme listener before firing the startup query so the
query's own reply is delivered through the listener (the same path as
later theme switches), which removes the redundant .then re-application
and its uncoverable undefined branch, and closes the theoretical window
where a synchronous reply lands before the listener exists. Drop the
dead editor.borderColor line. Cover the rest: a same-scheme report
(early return) and a terminal that throws on the query write (the
swallowed .catch).
2026-07-20 22:17:35 +08:00
Tianyi Cui
cc2e14f76e fix: close recovery review gaps 2026-07-20 22:11:26 +08:00
Tianyi Cui
78472196c8 Merge branch 'codex/goal-session' into codex/commands
# Conflicts:
#	docs/architecture.md
#	docs/capability-seams.md
#	docs/config-catalog.md
#	docs/module-graph.md
#	knip.json
#	packages/examples/README.md
#	packages/examples/stdio-demo/README.md
#	packages/examples/stdio-demo/src/index.ts
#	packages/examples/tui-demo/package.json
#	packages/ui/README.md
#	packages/ui/tui/src/index.ts
2026-07-20 22:05:51 +08:00
Tianyi Cui
40f7195266 Merge latest master into codex/llm-error-recovery-rfc 2026-07-20 21:59:47 +08:00
Tianyi Cui
41196b7e4f Merge branch 'codex/goal-tools' into codex/goal-session
# Conflicts:
#	docs/event-producer-consumer.md
2026-07-20 21:55:13 +08:00
Tianyi Cui
23eb41c98b Merge pull request #442 from deepseek-harness/codex/tui-windows-contract
Support and verify the TUI on Windows
2026-07-20 21:49:41 +08:00
Tianyi Cui
9d0a75b154 Merge branch 'codex/goal-domain' into codex/goal-tools
# Conflicts:
#	docs/event-producer-consumer.md
2026-07-20 21:44:06 +08:00
Tianyi Cui
11afddf61d Merge branch 'rfc/loop' into codex/goal-domain
# Conflicts:
#	docs/event-producer-consumer.md
#	knip.json
2026-07-20 21:37:04 +08:00