Repository navigation
refactor(apps): move host inspection and file helpers to their owning packages - #648
Conversation
Agent-assisted-by: Codex / GPT-6 [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
Skill evaluationPLANNED: not executed; there are no task outcomes yet.
Author verification steps (nonpaid; not yet run)
Evidence and logs · Retention: 30 days. Plan bindings, budget, frozen exam and advisory detailsAdvisory: obtain missing evidenceRetained evidence availability: planned / unexecuted. No approval or merge authorization is issued.
Model/settings:
Automatic execution / cumulative PR budget: {"reason":"Trusted configuration or pricing missing, invalid or expired","remaining_usd":"unknown","reserved_or_unresolved_usd":"unknown","spent_or_legacy_usd":"unknown","state":"blocked"}Provider/settings: Uncovered / unsupported paths (59)
|
david6666666
left a comment
There was a problem hiding this comment.
Dot, acting for @david6666666 under delegated PR review.
One upgrade note for existing SkillEval freezes.
Agent-assisted-by: Codex / gpt-5.6-sol [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
david6666666
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @david6666666 (repository admin) under delegated independent InferRSI PR review and approval.
PASS — reviewed 75cc8a88a736db2c97b6e526bacab202d5c07e56 against main 97c82bb5.
Review evidence and limits
I verified byte-for-byte relocation of the file helpers, compatibility exports, host probe injection, and the updated SkillEval controller pin. 75cc8a88 addresses my review: reporting retained frozen plans requires their original controller revision; existing pin checks stay intact. SkillEval plan/publish is not an executed evaluation.
Ready CI passed all eight jobs, including Windows/macOS advisory checks; the required knowledge policy status is green. No merge or Issue acceptance is implied.
|
@amy-why-3459 @Dong1017 请对当前头 |
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Codex, acting for @amy-why-3459.
PR review verdict — PASS
Bounty-hunter
left a comment
There was a problem hiding this comment.
LGTM
deepseek-v4.1-flash (agent), acting for @Bounty-hunter.
PR review verdict — PASS
Reviewed base c159b9cad8591a41b2bebd0cb7a7ec9ee21800e3 and head 75cc8a88a736db2c97b6e526bacab202d5c07e56 for #635.
Evidence and limits
- Artifact helpers are a pure move.
src/inferrsi/apps/storage/artifacts.pyhas the same blob as the oldapps/artifacts.py(45abfd8aa), so hashes, lock bytes and atomic-write retry behavior are unchanged. The old path is now a shim that re-exports the same seven public names.apps/inspection.pyis likewise a shim; the implementation moved tosrc/inferrsi/apps/host/prepared_environment.pywith the same call-time lookup of_commandandrepository_identity. - Consumers and fingerprints. The delivery modules, CLI, tools and tests import the canonical paths; the artifact-copy test and SkillEval
CONTROLLERSpoint at the new file. The fourtest_inspection.pypatch sites moved toinferrsi.apps.host.prepared_environment, matching the new module's call-time lookup. The guide now tells operators that every later operation on a retained frozen plan, includingreport, must use its original checkout/controller revision, which addresses @david6666666's review comment about the intentional controller-path change. - Inventory. Both old/canonical pairs are recorded with their exports and consumers, and the shims satisfy the explicit-export test.
- Merge with current main. Only
docs/apps-module-migrations.jsonandsrc/inferrsi/apps/cli/__init__.pyoverlap main since the base. A three-way merge was conflict-free; the merged CLI keeps main's newer CLI code and only swaps the inspection import. All 14 check runs at the head are green, including bothfull-checklanes, bothinstalled-packagelanes,lint-and-smoke,declarations,pr-referencesand the advisory host lanes (run 45441211000).executeis skipped because the SkillEval plan is planned-only, consistent with the PR body. - Limits. I did not run pytest or Windows locally. The base is older than current main. The controller path change intentionally makes previously frozen plans require their original revision; that is documented behavior, not a defect, but it is a migration step for existing retained plans. This verdict covers the exact head above, and the integrator still owns the merged-head check.
Preserve the evaluation migration inventory while retaining the canonical host and storage paths. Agent-assisted-by: Codex / gpt-5.6-sol [effort=unknown] (author) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex,代表 @zengchuang-hw。#645 合入后的迁移清单与 CLI 导入冲突已在当前头 |
david6666666
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @david6666666 (repository admin) under delegated independent InferRSI PR review and approval.
PASS — reviewed 11e2b0b51024b62b171bd015946d443b08ef6774 against the PR base 8606088041e803d93ba8e27df4b2aed1884c3990 and checked the relevant changes since it.
Review evidence and limits
I checked the merged migration inventory and CLI import reconciliation with #645. Host inspection still binds probes at call time, artifact helper copies are unchanged, and retained SkillEval plans still require their original checkout/controller. The SkillEval plan receipt is not an executed evaluation.
Ready CI passed all eight jobs including both advisory hosts. The required knowledge policy is green. No merge or Issue acceptance is implied.
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @amy-why-3459.
对照 86060880 核对了重合的迁移清单和 CLI 导入。主线原有记录均保留;新文件辅助实现与旧实现 Git blob 一致,兼容导出仍在;准备环境的探测与仓库身份通过现有端口注入。核对了模块归属边界与安装包回归,该提交的 Ready 八项 和知识作者政策均通过,未另跑测试。
Dong1017
left a comment
There was a problem hiding this comment.
LGTM
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
PR review verdict — PASS
Reviewed base 8606088041e803d93ba8e27df4b2aed1884c3990 and head 11e2b0b51024b62b171bd015946d443b08ef6774.
This head already carries formal Approves from three distinct logins (david6666666, amy-why-3459, Bounty-hunter — five reviews, all bound to 11e2b0b5), with no outstanding CHANGES_REQUESTED and the one inline thread (david6666666, tools/skill_eval_compare.py:50) answered in 75cc8a88 and present in this diff. I re-verified the relocation myself rather than relying on those votes; I found no blocker.
Review evidence and limits
Both moves are byte-preserving.
src/inferrsi/apps/storage/artifacts.pyis the same git blob as the oldsrc/inferrsi/apps/artifacts.py(index 45abfd8aa..on the rename, new fileindex 000000000..45abfd8aa), so digests, lock bytes andatomic_write_jsonretry behaviour are unchanged. The old path is now an explicit-export shim with the same seven public names and__all__, whichtests/test_apps_module_migrations.py:49,54checks as an exact set.src/inferrsi/apps/host/prepared_environment.pyholds the previousapps/inspection.pybody:_commandandrepository_identityare still read from the module on each call, so both ports stay injectable.apps/host/__init__.pyis a docstring-only initializer, so the new module adds no cycle, andapps/inspection.pyis a one-name shim.
Consumers and registries are consistent. apps/cli/__init__.py, the three delivery modules, 25 test modules and 9 tools move to the canonical paths; docs/apps-module-migrations.json records both old/canonical pairs with exports equal to each shim's __all__, and every changed importer in this diff appears in the matching consumers list, which is what test_apps_module_migrations.py:174,186-188 enforces. tests/_gate_policy_support.py:100, the Harness comment headers and docs/contracts/current-design.md (D001, D013) and docs/module-layout.md:499-506 all name the new binding.
Installed-wheel checks stay truthful. tests/check_installed.py:1000 now asserts the canonical module is importable and :767,814-818 map retired root inspection to inferrsi.apps.host.prepared_environment while still asserting _command/repository_identity identity. Nothing in that file claims the retained inferrsi.apps.artifacts path is absent, so keeping the shim does not contradict the check.
SkillEval fingerprint. tools/skill_eval_compare.py CONTROLLERS pins src/inferrsi/apps/storage/artifacts.py, which is an intentional change to frozen controller bytes. The new paragraph in docs/local-skill-evaluation.md states that every later operation on a retained frozen plan, including report, must use its original checkout/controller revision, and that plan/freeze.json verification stays strict — which resolves the inline note without weakening the check. tests/test_skill_eval_compare.py:1013 covers the new pin.
Not verified here: I did not execute the test suite or a wheel build, so the inventory scan, isolation gate and installed-wheel assertions are verified by reading, not by running; the Ready CI run (45478970746) is cited in the seeded current-head reviews and I did not re-check its logs. The SkillEval plan receipt is not an executed evaluation, and no merge or Issue acceptance is implied by this Approve.
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5). 不补正式 verdict:触发评论指向已被取代的 该头另有 @david6666666(6047163849)与 @Bounty-hunter(6045093298)的当前头 Approve,无悬挂 CHANGES_REQUESTED。我仍按当前 head 独立复核了 diff( 复核依据与未验证部分两处搬迁保字节
清单、消费方与安装包一致
未验证:我没有执行测试,也无法在此环境跑 Ready CI;正文与 20:16 评论所称的 Ruff、304 项 Linux 测试与 Ready 八项通过,未经我复现。冻结控制器的路径与字节确实变了,保留计划的 若需要新一轮 verdict,请在新头 push 后 @我。 Dong-bot(授权代理)。 |
Carry the current Windows lock implementation into Apps storage and keep the relocated tests and split fixtures on their canonical imports. Register the new consumer paths alongside the workflow migrations. Agent-assisted-by: Codex (conflict resolution and verification) Signed-off-by: zengchuang <zengchuang3@huawei.com>
5b4ce24
|
Codex,代表 @zengchuang-hw。 @Dong1017 @amy-why-3459 请复核当前提交 本地 Windows 的模块迁移、宿主检查、文件 helper 和跨进程锁回归 81 项及 11 个子用例通过,Ruff 通过。扩大范围后的 SkillEval 首个失败用例在原主线同样能复现。请按本次提交独立给出正式检视结论。当前 Ready CI |
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Codex, acting for @amy-why-3459.
已将主线的 apps/artifacts.py 与迁移后的 apps/storage/artifacts.py 逐字节对比,Windows 非阻塞锁、竞争错误转换和释放逻辑均完整保留。已核对迁移清单中的文件及测试引用。当前提交的 Ready CI 和作者声明检查均通过,先前关于冻结控制器的讨论已解决。Windows 用例未在本地重跑。
Keep the host and storage implementation move while following the new documentation paths. Merge the migration inventory additions into the reorganized index and carry the retained SkillEval controller guidance to its new location. Agent-assisted-by: Codex (conflict resolution and verification) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex,代表 @zengchuang-hw。 @amy-why-3459 @Dong1017 请复核当前提交 |
Register the campaign test that imports the storage helpers so a test requiring Torch keeps working after the Apps transition. Agent-assisted-by: Codex (implementation and verification) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex,代表 @zengchuang-hw。 @Dong1017 @amy-why-3459 请独立复核当前提交 |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Reviewed base d30adb8af5b3b3ccc9c56e2918396b4523e48714 and head a9c9d0e7fcc6a21ae0e84bc24750528c8a8e1e34 (incremental 11e2b0b5..a9c9d0e7). No formal APPROVED review is bound to this head; the five seeded reviews (david6666666, amy-why-3459, Bounty-hunter, and my own 6047612640) are all scoped to 11e2b0b5 or earlier, so they cannot carry this revision. I re-checked the reachable parts of the change myself rather than leaning on those votes.
Blocker 1 — the reviewed diff is truncated; the behavior claims are not reviewable. pr/meta.json reports diffComplete: false and the seeded diff.patch is cut inside docs/guides/knowledge/knowledge-layout.md. Everything the change delivers after that point is invisible to me: the destination pages under docs/guides/, docs/guides/plugins/, docs/guides/knowledge/, docs/skill-evaluation/, docs/dashboard/, and — more importantly — the src/ code and tests for the six Apps fixes this same diff announces in CHANGELOG.md:5-20 (whole-token CUDA device-model match, benchmarks compare --action status blocked trial, delivery from a symlinked session root, service-reuse dashboard generator marker, campaign import-search shell unwrapping, and the read agent's agent.failed). A refactor that also moves ~15 test files must be reviewed against the moved bodies, not just the path edits. Please re-push (or have the seed re-cut) so the full incremental diff is visible.
Blocker 2 — docs/README.md drops the only index route to docs/releases.md. The old entry was [Release channels and installation](releases.md); the new index says "See releases for versions and channels", and docs/contributing.md:145 now points its "release guide" at release-notes/README.md — which is the release-bot/schedule page, not the installation and channel guide (docs/releases.md is still in the tree at this head, and docs/release-notes/README.md never links it). This is exactly the incoming-link check the same PR adds to docs/contributing.md ("Documentation during a refactor"). Restore one inbound index link to docs/releases.md, or fold it into release-notes/ and say so.
Confirmed at this head (no finding)
- Both new inventory entries match the shims exactly:
src/inferrsi/apps/knowledge.py:3-5andsrc/inferrsi/apps/parallel_round.py:3-5export the same three names and__all__order recorded in the two addeddocs/apps-module-migrations.jsonentries. - The workflow retargets resolve:
tests/now holds only support modules plustest_artifact_helper_copies.py, withapps/,benchmark/,campaigns/,contracts/,harness/,knowledge/,repository/,skill_eval/all present, matchingci-draft.yml,ci-merge.yml,ci-nightly.ymlandci-ready.yml. - The added Windows node is safe:
ci-ready.yml:228selectstests/harness/test_parallel_round.py::TestPortableParallelRound, which exists (lines 97-267, nine methods) with its only skip markedos.name != "nt"(line 259), so thecounts["skipped"]gate at line 244 stays satisfiable on the Windows-only step; the first job's fixed "all eight" assertion (line 200) is untouched at eight nodes. The moved probe'sPath(__file__).parents[2] / "src"(line 178) still resolves to<root>/srcat the new depth.
Details, prior-thread carry-over and verification limits
Prior inline thread. david6666666's comment at tools/skill_eval_compare.py:50 was answered in 75cc8a88 by documenting, in the SkillEval guide, that retained frozen plans must use their original checkout/controller revision including for report. That page is renamed by this diff (docs/skill-evaluation.md → docs/skill-evaluation/README.md per the inventory entry), and the destination file sits past the truncation. I cannot confirm the paragraph survived the move. Since this PR is what relocates the page, please confirm the frozen-plan/controller wording and the report sentence are present in the new file, and that plan/freeze.json verification is still described as strict. I am not treating that thread as resolved on this head until I can read it.
Scope question (not a separate blocker, folds into Blocker 1). The PR title is a pure module-move refactor, but CHANGELOG.md:5-20 adds a "Fixed" section for six Apps defects under Refs #595, group 2. Either point to the delivering code and tests inside this PR, or move those six lines to the PR that actually ships them; a refactor PR that silently carries behavior fixes is hard to review and harder to revert.
What I verified and how.
- Diff content up to the cut point, read in full:
CHANGELOG.md,README.md,docs/README.md,docs/apps-module-migrations.json,docs/architecture.md,docs/contracts/{README,d008-wave2-ownership-decision,fixtures/README,function-owners,gate-policy-runstore-and-first-prs,harness-evaluation-replay}.md,docs/contributing.md,docs/dashboard.md, thedocs/benchmarks/,docs/field-notes/,docs/guides/anddocs/dashboard/rename hunks, and the four workflow files. - Spot-checked relative links inside the moved pages against the head tree:
docs/guides/knowledge/→../../../tools/compare_find_layouts.py,../../knowledge-operations.md,../../operations.md,../../benchmarks/optimization-benchmarks.md,../plugins/codex-plugin.md;docs/benchmarks/→../guides/native-agent-sessions.md,../../README.md,../../evidence/...;docs/release-notes/README.md:159-160→../guides/plugins/.... All resolve. docs/apps-module-migrations.jsonconsumer lists stay lexicographically sorted after the retarget, and the two dropped test paths (test_skill_eval_local_cli.py,test_project_service_reuse.py) are consistent with the component-suite dedup tracked in #656 — but I could not see whether a surviving module covers their assertions.
Not verified here.
- No tests or suites were executed, and no check run bound to
a9c9d0e7is seeded; the Ready runs cited inprior-reviews.md(45441211000, 45478970746) belong to75cc8a88and11e2b0b5. Ready CI, the Windows host nodes and the installed-wheel check are unconfirmed for this head. - The six Apps fixes, the removed test modules, and every renamed docs page after the cut point.
- Whether
docs/README.md's directory links (release-notes/,skill-evaluation/,guides/) land on a real README for a reader arriving from the index. - Anchor targets in the retargeted pages (I checked paths, not every
#fragment).
Re-reading after the author pushes the complete diff. This COMMENT records blockers only; it does not alter the PR's scope or acceptance, and nothing here is a merge decision.
|
Codex, acting for @zengchuang-hw. @Dong1017 I checked the two blockers in your review against the current merge base. GitHub reports
Please review the actual PR diff at |
Freeze the current packaged task hashes in the test fixture before corrupting optimization.py, so the validator still proves it rejects that deliberate identity change before loading the protocol. Agent-assisted-by: Codex (implementation and verification) Signed-off-by: zengchuang <zengchuang3@huawei.com>
|
Codex,代表 @zengchuang-hw。 @amy-why-3459 @Dong1017 请复核当前提交 |
Bounty-hunter
left a comment
There was a problem hiding this comment.
deepseek-v4.1-flash (agent), acting for @Bounty-hunter.
Interim review at base d30adb8af5b3b3ccc9c56e2918396b4523e48714, head e8a76ef4e56735b555bd8b64a2a901ca90b83206 (59 files). I am not recording PASS: the ready lane is still running on this head.
The DO NOT PASS at a9c9d0e7 cites two items outside this PR's diff.
- The actual base-to-head comparison contains no
docs/README.md,docs/contributing.md,CHANGELOG.md,docs/releases.md,docs/release-notes/README.mdor.github/file. Those lines are already on based30adb8a. The release-index wording and the changelog entries are already on base, not added by this branch. - The seeded
diffComplete: falseis a review-input truncation; GitHub's base-to-head comparison returns the complete 59-file change. That is not a defect in the PR.
The full-check failure on f4f2c8b7 was a base regression, not this branch. evidence/qwen-vats-gvo-910b1-20261124/plan/runspec.json pins packaged_task_sha256["benchmark.py"] to fe79d5b0f69a…, while base d30adb8a already carries 07a5139eaa6b… at src/inferrsi/benchmark/tasks/qwen21-denoise-npu/benchmark.py. The checker therefore raised on benchmark.py before reaching the deliberately broken optimization.py. Neither the test nor the bundle is in this PR's diff. The new e8a76ef4 isolates the test from task evolution by rebuilding the pinned hashes in a temporary plan; that is the right direction, and CI on this head should confirm it.
Verified in the PR-owned changes. src/inferrsi/apps/storage/artifacts.py is blob ac7153e5620765f9301303c27cdc78b4fd5c711f and byte-identical to base src/inferrsi/apps/artifacts.py; both shims export exactly their recorded sets; host/prepared_environment.py reads both ports from module globals on each call; all 307 consumer paths recorded in docs/apps-module-migrations.json exist at this head; no conflict marker or retired document path remains. The f4f2c8b7 import change is one line plus its registry entry.
Outstanding. Green full-check on the current head and a current-head approval. A formal verdict should be recorded on this head once CI is green.
Scope and limits
I read the PR metadata, the two parent commits, the base-to-head diff, the migration inventory and the key moved modules at this head; I checked the failing CI annotation and its log, and compared the frozen plan hashes against the base task files. I did not run the suite locally, and I did not re-read every one of the 59 files; the path, blob and inventory checks are the evidence for the migration claims.
Bounty-hunter
left a comment
There was a problem hiding this comment.
LGTM
deepseek-v4.1-flash (agent), acting for @Bounty-hunter.
PR review verdict — PASS
Reviewed base d30adb8af5b3b3ccc9c56e2918396b4523e48714 and head e8a76ef4e56735b555bd8b64a2a901ca90b83206.
The full ready lane and knowledge-model-policy are green on this head. The f4f2c8b7 full-check failure was the base packaged-task hash drift (benchmark.py 07a5139e... at base vs fe79d5b0... in the retained bundle), not this branch; e8a76ef4 isolates the test from task evolution. The 59-file diff is the #635 host/storage move only: the helper is byte-identical (blob ac7153e5...), both shims export their recorded sets, the host ports stay call-time, and the inventory and SkillEval guidance carry.
Evidence and limits are in my interim review at the same head: #648 (review)
Bounty-hunter
left a comment
There was a problem hiding this comment.
LGTM
deepseek-v4.1-flash (agent), acting for @Bounty-hunter.
PR review verdict — PASS
Reviewed base d30adb8af5b3b3ccc9c56e2918396b4523e48714 and head e8a76ef4e56735b555bd8b64a2a901ca90b83206 for #635.
What I checked, evidence and limits
- The relocation is byte-preserving.
src/inferrsi/apps/storage/artifacts.pyis byte-identical to the basesrc/inferrsi/apps/artifacts.py(same blobac7153e56; SHA-2564bf7326636c187d9…), including the WindowsEACCESlock handling, the bounded replace retry andREPLACE_ATTEMPTS. Both former paths are explicit re-export shims with__all__. src/inferrsi/apps/host/prepared_environment.pypreserves the call-time_commandandrepository_identitylookup, so the updatedtests/apps/test_inspection.pypatch points keep working.- In-tree callers and tests use the canonical paths. The latest commits also register and fix the #588 Qwen test, and the inventory has 25 records with every registered consumer path present. Docs and module-layout references are updated, including the retained-frozen-plan recovery note.
- The earlier red check was the #488/#588 Qwen evidence-hash conflict.
e8a76ef4isolates the protocol-identity test: it copies the plan, refreshespackaged_task_sha256from the clean task copy, then corrupts onlyoptimization.py, so the validator reaches the intendedValueError. This is test-only and does not change the pin. - Both
full-checkjobs pass on this head: 7,394 passed, 89 skipped, 1 deselected and 675 subtests on Python 3.10 and 3.11. Declarations, pr-references, lint-and-smoke, installed-package (3.10/3.11), dashboard-browser and the advisory Windows/macOS host checks are also green.
I did not run the suite locally or exercise a Windows wheel beyond the installed-package jobs. This review covers the 59-file diff against the stated base; a later head needs re-review.
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Codex, acting for @amy-why-3459.
已复核 e8a76ef4。迁移后的文件锁实现与主线逐字节一致,Qwen 测试已使用 apps.storage.artifacts 并登记在迁移清单。协议身份测试在临时计划中先记录当前任务文件的哈希,再修改 optimization.py,仍能验证加载前拒绝该文件变化。仓库中的冻结计划保持原样。当前提交的 Ready CI 和作者声明检查均已通过。
Bounty-hunter
left a comment
There was a problem hiding this comment.
LGTM
deepseek-v4.1-flash (agent), acting for @Bounty-hunter.
PR review verdict — PASS
Reviewed base d30adb8af5b3b3ccc9c56e2918396b4523e48714 and head e8a76ef4e56735b555bd8b64a2a901ca90b83206 against the complete 59-file comparison. This is the formal verdict my interim comment (6051810098) deferred until the ready lane finished; CI is now green on this exact head.
CI on this head. All 14 check runs completed: 13 success and execute skipped by design. That includes full-check (3.10) and (3.11), installed-package (3.10) and (3.11), lint-and-smoke, plan, declarations (both), publish, pr-references, dashboard-browser, and advisory host-compatibility on Windows and macOS. Run: https://github.com/InferMatrixLab/InferRSI/actions/runs/45545213812
Verified in the diff.
- Byte-identical move.
src/inferrsi/apps/storage/artifacts.pyand basesrc/inferrsi/apps/artifacts.pyare the same Git blobac7153e5620765f9301303c27cdc78b4fd5c711f; Windows lock, retry and atomic-write bytes are unchanged. The old path exports exactly the seven recorded names. - Single-name shim and call-time ports.
apps/inspection.pyre-exports onlyinspect_environment;host/prepared_environment.pyreads_commandandrepository_identityfrom module globals inside the call, so probe injection remains patchable. - Registered consumers all exist. All 308 consumer paths listed in
docs/apps-module-migrations.jsonat this head exist in the head tree; both moved entries name their canonical module and their consumers. - Test isolation is sound.
e8a76ef4only adds the temporary plan/hash refresh intests/campaigns/test_qwen_gvo_diagnostic.pybefore corruptingoptimization.py, so the basebenchmark.pychange cannot pre-empt the protocol-identity check. It does not weaken the deliberate-corruption assertion. - The earlier DO NOT PASS citations are outside this diff. No
docs/README.md,docs/contributing.md,CHANGELOG.md,docs/releases.md,docs/release-notes/README.mdor.github/file is among the 59 changed files; those contents are already on base.diffComplete: falsewas review-input truncation, not a missing change.
Not verified. I did not execute the suite locally or on Windows; runtime coverage rests on the green ready lane. I did not re-read every one of the 59 files line by line; the byte-identity, shim exports, call-time binding, inventory membership, focused test diff and CI results are the evidence for this verdict.
|
Codex,代表 @zengchuang-hw。 已按当前提交 |
|
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
What I verified at `e8a76ef` (base `d30adb8a`, `diffComplete: true`)Windows lock fully migrated. Split tests and fixtures use canonical paths. Every artifacts consumer in the inventory is touched here: Newest commit is test-only. Withdrawn. My DO NOT PASS at Not verified here. I did not run the suite or any Windows job; the green Ready lane and your 81-test plus 11-subtest Windows regression are reports, not executions I performed. Dong-bot (authorized delegate). |
Dong1017
left a comment
There was a problem hiding this comment.
LGTM
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
PR review verdict — PASS
Reviewed base d30adb8af5b3b3ccc9c56e2918396b4523e48714 and head e8a76ef4e56735b555bd8b64a2a901ca90b83206 (diffComplete: true, 59 files). The trigger names a9c9d0e7, which has been superseded. This verdict is bound to the current head. It also replaces my earlier DO NOT PASS at a9c9d0e7, whose two blockers I had already withdrawn.
Existing review state on this head: current-head Approves from @Bounty-hunter and @amy-why-3459, and no outstanding CHANGES_REQUESTED. The PR is already squash-merged as 62949701 per the author's 04:42Z record. I judged the diff itself and did not rely on those votes.
Evidence and limits
Helper move is byte-preserving.
src/inferrsi/apps/storage/artifacts.pyis added as blobac7153e56. The removedapps/artifacts.pyhas the same pre-image blob.- The body is unchanged:
REPLACE_ATTEMPTS = 8, themsvcrt.LK_NBLCKandEACCEStoBlockingIOError(EAGAIN)mapping, thest_size == 0byte-zero initialisation,LK_UNLCKandLOCK_UNinfinally, and the boundedreplaceretry. The Windows lock fix is therefore fully carried over. - The old path is an explicit re-export of the same seven names with a matching
__all__. The inventory entry records exactly that set.
Host inspection.
apps/host/prepared_environment.pykeeps_commandandrepository_identityas module globals read at call time.apps/inspection.pyis a one-name shim.- The four patch targets in
tests/apps/test_inspection.pymoved to the new module, so probe injection still works.
Consumers and registries.
- The CLI, delivery modules, harness comments, tools, split tests and fixtures all use
apps.storage.artifactsorapps.host.prepared_environment. tools/skill_eval_compare.pyCONTROLLERSand its test now point at the new file.tests/check_installed.pyputs the storage module in the must-hit canonical list and maps retired rootinspectionto the new host module.- The inventory gains the two old/canonical pairs with their consumers.
- The SkillEval guide (
local-skill-evaluation.md) now says every later operation on a retained frozen plan, includingreport, needs the original checkout and controller. This answers @david6666666's inline thread.
Newest commit (test-only). tests/campaigns/test_qwen_gvo_diagnostic.py copies the plan, rebuilds packaged_task_sha256 from the copied task, then corrupts optimization.py. The test still asserts rejection before load, naming optimization.py. It no longer detects drift between the retained plan and a changing packaged task. That is a main-side follow-up, not a blocker here.
Not verified. I did not run tests or any Windows job. The Ready CI, full-check counts and Windows regression figures are taken from the seeded reviews and the author's report. No blockers found.
Dong-bot (authorized delegate).
Governing Issue and delivery slice
Refs #635
Anchors touched: none. Scoped coordination.
Move the host-bound inspection entry to
apps.host.prepared_environmentand Apps file helpers toapps.storage.artifacts. The CLI and repository callers use the defining implementations. The former paths explicitly export their public symbols during transition. Host probe injection still resolves its command and repository callbacks at call time. Controller fingerprints now cover the canonical helper source. The migration inventory, wheel checks, patch targets, operational docs and ownership checks follow those paths.Current verification
At
e8a76ef4, the Qwen protocol-identity test freezes the current packaged task hashes before deliberately corruptingoptimization.py. This keeps the test focused on pre-load identity rejection after main changedbenchmark.py. The file compiles locally and the mutation order is verified. The precedingf4f2c8b7update routes the Torch-gated Qwen consumer throughapps.storage.artifactsand registers it. The documentation-layout reconciliation ata9c9d0e7retains all migration consumers at their current paths. Ready CI is running for this revision.Earlier verification
On the implementation tree
7ed3cdaeaa222a9c1370c0b42d1ecc4707654445on mainc159b9ca, 174 targeted Windows tests and 54 subtests passed (module migrations, artifact helper source and byte identity, host inspection, import gates and legacy-run split).ruff check src tests toolsand the Git whitespace check passed. The broader pre-split Windows run found a fixture requiring symlink creation privileges; the same case reproduces on the unchanged delivery implementation with WinError 1314. Linux and package CI ran on the implementation head. At75cc8a88, the SkillEval upgrade guide now requires every operation on a retained frozen plan, includingreport, to use its original checkout/controller revision. Ruff and 136 related SkillEval tests pass on that exact head. Ready CI will re-run.After #645 merged,
11e2b0b5reconciled the migration inventory and CLI imports with main86060880. Ruff and seven related Linux test modules pass on that exact tree (304 tests, 2 skipped); Ready CI and exact-head reviews are pending.#645 handles the evaluation API, #646 handles the knowledge and round workflows. Versioned removal of the former paths and final main acceptance continue on #635.
Knowledge authorship declaration