You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c6678fa
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(harness): close the artifact-primitive edges from six Harness modules into Infra (R2) (#478)
* refactor(harness): close the artifact-primitive edges from six Harness modules into Infra (R2)
agent_sessions, candidates, optimization, optimization_session, project and
task_protocol take digest, sha256 and file_lock from the new
harness/artifact_primitives.py and atomic_write_json from the existing
harness/atomic_json.py. The function bodies equal those in infra/artifacts.py,
so digests, hashes, JSON bytes, atomic replace and lock semantics are
unchanged; infra/artifacts.py stays for its other users.
first_wave_report() no longer reports the 12 harness -> model/infra hits.
The only remaining blocker is the five runtime resource loaders (R3).
Refs #412
Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author)
Signed-off-by: GUOGUO <xwdong1998@163.com>
* test(gate): expect only the R3 loader blocker in two more real-tree checks (R2)
test_knowledge_closure_is_clean_while_overall_stays_false and
test_real_tree_holds_no_forwarder_and_stays_incomplete still pinned the
twelve harness -> infra hits that R2 removed. The H200 full suite caught
both. They now expect only "runtime resource loaders: 5" and zero
harness -> model/infra paths; isolation stays false.
Refs #412
Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author)
Signed-off-by: GUOGUO <xwdong1998@163.com>
* test(harness): drop the in-lock read that Windows denies; pin the R2 runtime identity
A Windows byte-range lock denies a read of the locked byte even from the
same process, so reading the lock file inside file_lock() failed on
Windows before the contention checks ran. Both contention checks stay, and
the sentinel is still checked after release. Also assert that the
optimization session's runtime identity covers artifact_primitives.py.
Refs #412
Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author)
Signed-off-by: GUOGUO <xwdong1998@163.com>
* ci(host): run the R2 Harness primitive and writer nodes on hosted Windows
The host-compatibility job ran only the eight plugin/DSH nodes and the
installed-wheel check, so no independently verifiable job executed the
R2 lock, hash, digest and atomic-writer regressions on Windows, where
the file lock is an msvcrt byte range. Add a Windows-only step that runs
those nodes and test_agent_sessions.py, fails on any skip, and retains
its JUnit result with the other host results. macOS uses the same fcntl
lock as the Linux full-check jobs and does not run the step.
Refs #412
Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author)
Signed-off-by: GUOGUO <xwdong1998@163.com>
---------
Signed-off-by: GUOGUO <xwdong1998@163.com>
0 commit comments