imccyu
86c09f6ca9
test(jsonl): mark native Windows ENOTDIR coverage
2026-07-18 12:40:12 +08:00
Huanqi Cao
5a2ca3ff3a
Restore JSONL ENOTDIR distinction on Windows
2026-07-18 12:40:12 +08:00
Huanqi Cao
e47ae0643c
fs-local: POSIX-only mode-bit assertions, document Windows DACL-inheritance semantics
...
Windows drives only the read-only attribute through chmod and reports
synthetic stat mode bits, so writeFileAtomic's mode arguments are inert
there; write-in-progress privacy comes from the staging dir (created in
the target's parent) inheriting the destination directory's DACL.
Production is deliberately unchanged -- the chmod calls are benign
no-ops and platform-guarding them out buys nothing. Tests guard the
mode-bit expects to POSIX; there is no Windows ACL assertion because an
ACL check would pin OS inheritance plus the machine's %TEMP% ACL, not
this package. Decision and rejected alternatives (explicit DACLs,
Get-Acl/icacls test verification) recorded in the new RFC.
2026-07-18 12:40:12 +08:00
Huanqi Cao
715aa7372a
Restore ENOTDIR semantic distinction in resolveLocalTarget on Windows
2026-07-18 12:40:12 +08:00
Huanqi Cao
130944caeb
Close SQLite probe handle after journalMode assertion
2026-07-18 12:40:12 +08:00
Huanqi Cao
1a4af034c0
Accept native ACP path separators in tests
2026-07-18 12:40:12 +08:00
Huanqi Cao
5ed34b66ce
fix(acp-snapshot): make path-separator tests platform-neutral
...
Three tests in the shared acp-snapshot package hardcoded POSIX path
separators in their assertions, so they failed on Windows where
node:path.join produces backslash paths:
- childFixturePaths (suite.spec.ts): expected literal '/snap/s/session.1.jsonl'
but join returns '\snap\s\...' on Windows; use join() for the expected value.
- harness.spec.ts (env-forwarding test): substring-matched a JSON-encoded
path against raw stdout text, where backslash escaping makes the compare
byte-fragile; parse the env-probe chunk and compare the structured value.
- harness.spec.ts (harvested-cwd test): substring-matched the raw cwd
against JSONL text where the cwd is JSON-escaped; parse the session line
and compare the cwd field.
These were master's latent bugs (the package's tests never ran on Windows
until the Windows CI lane observed them). Verified green on Windows via
scripts/caohuanqi-private/run-ci.py --windows.
2026-07-18 12:40:12 +08:00
Huanqi Cao
e15a6168d2
Support durable JSONL persistence on Windows
2026-07-18 12:40:12 +08:00
imccyu
6bc8ab5c57
fix: verify-package-paths
2026-07-18 12:39:20 +08:00
imccyu
de19c6ca08
fix(examples): run coverage subprocesses from built libs
2026-07-18 12:19:48 +08:00
imccyu
b4ab7debb7
fix(ci): avoid unbound TypeScript reader
2026-07-17 23:43:20 +08:00
imccyu
df21d22e28
fix(examples): enforce config dependency resolution
2026-07-17 23:38:05 +08:00
imccyu
5ed531acba
ci(examples): run examples / testing from built lib/js
2026-07-17 23:07:51 +08:00
Tianyi Cui
8d5f08892b
Merge pull request #366 from deepseek-harness/token-meter-service
...
llm: add replay token-meter service
2026-07-17 23:01:20 +08:00
Tianyi Cui
06ea8643ff
Merge newest origin/master into token-meter-service
2026-07-17 22:49:54 +08:00
Tianyi Cui
35ff333e51
docs: move website context window to token meter
2026-07-17 22:44:11 +08:00
Tianyi Cui
350a636ece
Merge pull request #278 from deepseek-harness/codex/simp-session-log-representation
...
Simplify session log representation
2026-07-17 22:41:22 +08:00
Tianyi Cui
f943bc8d4c
Merge latest origin/master into token-meter-service
2026-07-17 22:38:46 +08:00
Tianyi Cui
7a2d5cd28d
Merge master into codex/simp-session-log-representation
2026-07-17 22:33:42 +08:00
Tianyi Cui
1c6a36e4a3
Merge origin/master into token-meter-service
2026-07-17 22:22:55 +08:00
Tianyi Cui
ad16d306cb
Merge pull request #311 from deepseek-harness/worktree/provider-routed-llm-adapters
...
feat(llm): route adapters by provider
2026-07-17 22:21:33 +08:00
Tianyi Cui
b79e7a5e30
Merge master into codex/simp-session-log-representation
2026-07-17 22:20:06 +08:00
Tianyi Cui
847a1a1a5a
Merge remote-tracking branch 'origin/master' into worktree/provider-routed-llm-adapters
...
# Conflicts:
# docs/cordis-catalog/services.md
# docs/event-producer-consumer.md
# packages/core/session/README.md
# packages/core/session/tests/tool-pairing.spec.ts
# website/zh-CN/api/harness/sessions.md
2026-07-17 22:07:37 +08:00
Tianyi Cui
43cf795b2a
Merge pull request #330 from deepseek-harness/compact-tool-pairing
...
compact: move tool-pairing helpers to compact seam
2026-07-17 22:03:07 +08:00
Tianyi Cui
cfa5d60ccb
docs(website): align LLM references with provider routing
2026-07-17 22:02:54 +08:00
Tianyi Cui
578e89a29e
Merge current master into codex/simp-session-log-representation
2026-07-17 22:01:08 +08:00
Tianyi Cui
35e45af081
Merge remote-tracking branch 'origin/master' into worktree/provider-routed-llm-adapters
2026-07-17 21:56:43 +08:00
Tianyi Cui
53680ee6bc
Merge remote-tracking branch 'origin/master' into worktree/provider-routed-llm-adapters
...
# Conflicts:
# docs/cordis-catalog/events.md
# docs/cordis-catalog/services.md
# docs/event-producer-consumer.md
# docs/module-graph.md
# packages/context/time-context/tests/time-context.spec.ts
# packages/cordis/tool-cordis/src/api-catalog.ts
# packages/core/session/README.md
# packages/core/session/src/types.ts
# packages/core/session/tests/surface.spec.ts
# packages/examples/acp-demo/tests/acp-agent.spec.ts
# packages/examples/stdio-demo/tests/stdio-agent.spec.ts
# packages/hooks/hooks-claude/tests/coverage.spec.ts
# packages/hooks/hooks-codex/tests/coverage.spec.ts
# packages/session-query/session-query/tests/session-query.spec.ts
# packages/support/invariants/tests/invariants.spec.ts
# packages/ui/acp/tests/harness.ts
2026-07-17 21:56:10 +08:00
Tianyi Cui
24bd0f3832
Merge origin/master into compact-tool-pairing
2026-07-17 21:55:51 +08:00
Tianyi Cui
487f120604
Merge latest master into codex/simp-session-log-representation
2026-07-17 21:55:29 +08:00
Tianyi Cui
e73cadb99d
Merge pull request #228 from deepseek-harness/feat/website-docs
...
feat: add docs website
2026-07-17 21:52:10 +08:00
Tianyi Cui
ce393ccb93
Merge master into codex/simp-session-log-representation
2026-07-17 21:51:36 +08:00
Tianyi Cui
644245f581
Merge latest master into feat/website-docs
2026-07-17 21:47:19 +08:00
Tianyi Cui
a770c8b093
Merge origin/master into compact-tool-pairing
2026-07-17 21:44:30 +08:00
Tianyi Cui
e7ba36f554
Merge pull request #358 from deepseek-harness/worktree/fix-disposed-session-retirement
...
fix(session-persistence): retire disposed coordinator state
2026-07-17 21:42:10 +08:00
Tianyi Cui
e00d04a0c1
fix(website): normalize generated paths on Windows
2026-07-17 21:39:47 +08:00
Tianyi Cui
ecd84f7eb9
Merge origin/master into compact-tool-pairing
2026-07-17 21:36:06 +08:00
Tianyi Cui
a385b3e465
Merge remote-tracking branch 'origin/master' into codex/pr358-merge-master-20260717
...
# Conflicts:
# docs/event-producer-consumer.md
# packages/session-persistence/session-persistence/README.md
2026-07-17 21:35:43 +08:00
Tianyi Cui
a921fcb7e1
fix(website): resolve package manifests on Windows
2026-07-17 21:32:35 +08:00
Tianyi Cui
447a4ef9fb
Merge latest master into feat/website-docs
2026-07-17 21:25:24 +08:00
Tianyi Cui
cc6cdc9c08
Merge pull request #199 from deepseek-harness/rfc-recallable-compaction
...
docs(rfc): propose recallable compaction — split checkpoints and in-session history recall
2026-07-17 21:22:44 +08:00
Tianyi Cui
d447a7efb8
Merge branch 'master' into feat/website-docs
2026-07-17 21:19:33 +08:00
Tianyi Cui
92b8abdd88
Merge remote-tracking branch 'origin/master' into codex/pr199-merge-master-20260717
...
# Conflicts:
# docs/rfc/INDEX.md
2026-07-17 21:13:43 +08:00
Tianyi Cui
cf872d002f
Merge pull request #339 from deepseek-harness/worktree-fast-gates
...
perf: speed up local pre-push gates
2026-07-17 20:46:20 +08:00
Tianyi Cui
e9a1f63ebd
Merge latest master into worktree-fast-gates
2026-07-17 20:39:05 +08:00
Tianyi Cui
8f859686f2
Merge pull request #352 from deepseek-harness/time-context-history
...
Make time context durable per step
2026-07-17 20:38:25 +08:00
Tianyi Cui
8462bdb041
Merge latest master into worktree-fast-gates
2026-07-17 20:33:24 +08:00
Tianyi Cui
256300c58d
Merge branch 'master' into time-context-history
2026-07-17 20:32:55 +08:00
Tianyi Cui
83a80caa09
Merge pull request #350 from deepseek-harness/worktree/agent-loop-testkit
...
test(support): add shared AgentLoop testkit
2026-07-17 20:28:21 +08:00
Tianyi Cui
7caa723aeb
Merge branch 'master' into worktree-fast-gates
2026-07-17 20:22:34 +08:00