Repository navigation
Move target repository descriptors into packaged resources - #716
Conversation
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
|
Codex 代表 @Dong1017 请求 @david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 独立评审当前提交 请重点核对三处:默认 Doctor 和显式目标的行为边界;七份描述符在 wheel、sdist 和三个宿主包中的路径及字节一致性;旧版指纹与历史审计摘要的保留。已实测已安装 wheel 删除 |
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 auto-smart?optimize_for=balanced).
Reviewed base 3efb03e and head eab7aec (first revision, diffComplete: true). This is a self-review by the PR author, so this COMMENT is not an independent approval.
No defect found in the head state I could check. I am not passing it yet because the three checks you asked for are not all covered by evidence I could read.
Verified at head eab7aec
src/inferrsi/resources/repo_packs/holds seven files:afd_plugin,sglang,sglang_omni,strata,vllm,vllm_omni,vllm_rlt(.json). They matchREPO_TYPESatsrc/inferrsi/resources/repository_packs.pyL9.repository_packreads the flat path (L15). The module imports onlyjson,importlib.resourcesandtyping(L3–L7), so the neutral loader does not importinferrsi.harness.src/inferrsi/resources/__init__.pyis import-free.src/inferrsi/harness/datais absent at head, so the old Harness copies are gone.pyproject.tomlL40"inferrsi.resources" = ["repo_packs/*.json"]ships the flat files as package data.- Plain Doctor:
src/inferrsi/apps/cli/arguments.pyL467–472 sets the doctorrepo_typedefault toNone.src/inferrsi/apps/host/inspection.pyL72–73 loads a pack only whenrepo_type is not None. Plain Doctor therefore does not depend on any descriptor, and an explicit--repo-typeloads only its own pack. planandrunkeep thevllm_omnidefault (arguments.pyL109,_common).src/inferrsi/knowledge/catalog.pyL12 takesREPO_TYPESfrom the neutral loader, so the knowledge scopes stay on the same registry.
Open evidence (blocks PASS)
- Byte identity of the seven descriptors against base
3efb03ea(blob IDs, per-file digests and the SHA-256a60e1cc1…5806dset). I could not readpr/diff.patchin this run, and the head reads cannot show base blobs. Please post the rename list and digest check output. - Indexer evidence-runner fingerprint for both the frozen older checkout and the new layout, and the A7 historical digest records. The PR claims these pass; I did not locate the fingerprint code in this head read, so the claim is unverified.
- Host manifests and archive contents for Codex, Workswarm and DSH (sdist and wheel). The body reports them, but I did not inspect them.
ruffandpytestresults are author-reported. I did not run them, and I did not read CI status.
Decision record note
The #500 decision recorded 2026-11-26 12:44Z says "REPO_TYPES stays 8". Main and this head both have 7 entries, and this PR does not change the count. That record needs correcting; this review does not depend on it.
Next
I will re-read after the author pushes or posts items 1–3. Two of the four reviewers named in the thread (david6666666, zengchuang-hw) have not posted formal reviews on this head yet, and an independent Approve is still needed.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
|
Codex 代表 @Dong1017 请 @david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw 独立评审修订 1. 七份描述符原始字节。 表中每个
合计 4,092 B。集合 SHA-256 为 2. Indexer 与 A7。 在三个完整 Git checkout 上用当前
基线和当前修订排除这 7 个路径后,同一批 768 个文件的指纹均为 3. 当前修订的实际打包结果。 对每份归档逐个读取全部 7 个文件,核对上表基线原字节,另核对每份宿主
可从此提交分别构建 sdist、wheel 和三个宿主包,按成员摘要重放。wheel 数据声明 · 共用宿主打包与清单 · Workswarm 嵌套包 · DSH 两份运行时 4. 执行记录与交接。 当前修订 已在 #500 正文与负责人交接记录明确,本 PR 对主线的 7 个目标做迁移。合入后 #518 增加第 8 个 |
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 auto-smart?optimize_for=balanced).
Reviewed base 3efb03e and head 6c85229 (revision 2; the prior DO NOT PASS was on eab7aec). This is a self-review by the PR author, so this COMMENT is not an independent approval and does not approve or change scope.
Blocker: I could not read the diff. pr/diff.patch is diffComplete: true in pr/meta.json, but the file was written outside the readable workspace (50.5 KB), so I could not check the incremental change from eab7aec to 6c85229, including the two relative-link fixes in the AFD and vLLM-RLT review reports the author describes. This is a gap in my access, not a defect I found in the code. I will re-read the diff on the next push or @Dong1017 mention.
Verified at head 6c85229 (read directly):
src/inferrsi/resources/repo_packs/holds exactly seven descriptors (afd_plugin,sglang,sglang_omni,strata,vllm,vllm_omni,vllm_rlt,.json), matchingREPO_TYPESatsrc/inferrsi/resources/repository_packs.pyL9.src/inferrsi/resources/repository_packs.pyL12–16 reads the flat path. The module imports onlyjson,importlib.resources.filesandtyping(L3–7).src/inferrsi/harness/data/repo_packsreturns Not Found, so the old Harness copies are gone.pyproject.tomlL40 shipsrepo_packs/*.jsonas package data.src/inferrsi/apps/cli/arguments.pyL467–472 sets the doctorrepo_typedefault toNone, andsrc/inferrsi/apps/host/inspection.pyL72–73 loads a pack only whenrepo_type is not None. A plain Doctor therefore does not need any descriptor.tools/evaluate_indexer.pyL39–42 fingerprints both the legacysrc/inferrsi/harness/datapath (for frozen baselines) and the flatsrc/inferrsi/resources/repo_packspath.tools/plugin_bundle.pyL61–63 stagesresources/repo_packs/*.jsonas package data for the host bundles.
Author-reported, not replayed by me:
- The seven blob IDs and byte counts (4,092 B total) and the collection SHA-256
a60e1cc1…5806d. - The wheel, sdist, Codex, Workswarm and DSH archive digests, and the claim that each host manifest matches its seven files.
- The indexer corpus digests and A7 history entries (
docs/legacy-knowledge-manifest.jsonL346–370, L396–402). - The installed-wheel damage-isolation run (exit 2 for the removed target).
ruff checkand the 24-test documentation/fingerprint/A7 set.
Open before a PASS:
- The incremental diff eab7aec→6c85229, read in full, with the two doc-link fixes confirmed.
- Full GitHub CI on 6c85229. The seed shows only the two
installed-packagechecks as passing, and the body says the full Ubuntu 3.10/3.11 run decides the integrated outcome. - The
plan/rundefault for--repo-type(vllm_omni), which I did not re-read at head.
The earlier three requested checks (descriptor bytes, indexer/A7, packaged contents) are answered in the revision body with evidence. I have not replayed that evidence, so they are not yet confirmed independently. The earlier doc-link finding is reported fixed, pending item 1.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
|
Codex 代表 @Dong1017 回复第二轮复核。当前提交为 完整增量。从 diff --git a/docs/reviews/issue91-afd-plugin-intake.md b/docs/reviews/issue91-afd-plugin-intake.md
index 2f1731bd..76ca0676 100644
--- a/docs/reviews/issue91-afd-plugin-intake.md
+++ b/docs/reviews/issue91-afd-plugin-intake.md
@@ -9 +9 @@ Status: **descriptor-only / intake-plan; located-not-mined**. This report propos
-- The existing [pack descriptor](../../src/inferrsi/harness/data/repo_packs/afd_plugin/pack.json) already names this repository. Its only scenario is `systems.afd`; execution requires caller-supplied external commands, and CUDA/ROCm/Ascend compatibility remains `unverified`. The descriptor is unchanged.
+- The existing [pack descriptor](../../src/inferrsi/resources/repo_packs/afd_plugin.json) already names this repository. Its only scenario is `systems.afd`; execution requires caller-supplied external commands, and CUDA/ROCm/Ascend compatibility remains `unverified`. The descriptor is unchanged.
diff --git a/docs/reviews/issue91-vllm-rlt-intake.md b/docs/reviews/issue91-vllm-rlt-intake.md
index 9390a3cf..38519c6e 100644
--- a/docs/reviews/issue91-vllm-rlt-intake.md
+++ b/docs/reviews/issue91-vllm-rlt-intake.md
@@ -9 +9 @@ Status: **descriptor-only / intake-plan; located-not-mined**. This report propos
-- The existing [pack descriptor](../../src/inferrsi/harness/data/repo_packs/vllm_rlt/pack.json) is corrected only to the canonical source repository, with the earlier name retained in its existing `notes` field. Its scenarios stay `recurrent.fixed_depth` and `recurrent.adaptive_exit`; execution remains caller-supplied, and CUDA/ROCm/Ascend compatibility stays `unverified`. No provenance or license fields are added to the descriptor schema.
+- The existing [pack descriptor](../../src/inferrsi/resources/repo_packs/vllm_rlt.json) is corrected only to the canonical source repository, with the earlier name retained in its existing `notes` field. Its scenarios stay `recurrent.fixed_depth` and `recurrent.adaptive_exit`; execution remains caller-supplied, and CUDA/ROCm/Ascend compatibility stays `unverified`. No provenance or license fields are added to the descriptor schema.默认目标仓。在该提交实际构造 CLI 解析器并分别解析三条命令,默认的 CI 实际结果。同一提交的两个 Ubuntu 全量检查均成功,每项 7,542 passed、89 skipped、1 deselected,另有 675 个子测试通过及 1 条 warning。两个安装包检查、PR 引用、浏览器和两个宿主兼容检查也都通过,提交状态 |
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @amy-why-3459. Independent review of 6c85229c against 3efb03ea for #712. I checked the patch and verified all seven old/new descriptor blob IDs and bytes (4,092 B), the manifest's actual historical/current loader hashes, and the two corrected documentation links. Isolated calls to the pinned loader, Doctor inspection and shared host staging verified that plain Doctor does not load a descriptor, all seven explicit targets resolve, and removing vllm_omni.json affects only that explicit selection. The staged bundle carried all seven identical files and hashes. The fingerprint code includes the old and new resource roots without rewriting pinned history.
Ready CI passed both Linux full checks, both installed-package checks and all four other jobs; knowledge policy passed. I used the author’s installed CLI / sdist / three host archive evidence for the corresponding archive-level checks; I did not rebuild the full release archives independently. Approval covers repository descriptors and Doctor only, not #500 cutover or #518.
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
回应修订邀请。首审:base 3efb03ea71356786b19b705e53f65267c17d19bf → head 6c85229ca8aae4f0ae3ba042dc6af33e7887af04,覆盖最初邀请的资源迁移及随后的两处文档链接修正。范围为 #712 与 #500 的资源迁移决定。
独立从 GitHub 分别读取 base 与 head 的 7 对描述符并逐内容比较,全部一致。核对 loader、wheel package-data、共用宿主打包规则和新旧路径的指纹覆盖。用提取的 exact-head loader / inspection 和临时目录运行:默认不读 pack,七个显式目标读各自内容;删掉 vllm_omni.json 后默认与另一个目标仍正常,只选缺失目标才报对应文件。主机和包资源解析使用替身;没有独立重建 wheel、宿主包或运行完整套件。安装态故障隔离仍由本 PR 的独立安装回归覆盖。
|
回应这条提醒:最初邀请的 |
|
Codex,代表 @Dong1017 执行已授权的第一段集成。 已将当前获批提交 集成核对合入提交与获批提交的 Git tree 相同。两位有写权限的独立 reviewer 均在该版本正式批准,所需知识声明检查和 Ready 工作流均通过。 Amy 的批准 · zengchuang 的批准 · Ready CI · 知识声明 |
Governing Issue and delivery slice
Refs #712
Dong1017 authorized the target-repository resource move as the first independently mergeable slice of #500. The neutral loader retains its public registry and API. A plain
inferrsi doctornow inspects its environment independently of repository descriptors. An explicit--repo-typeloads just that target. The plan/run default stays available to existing callers. Accepted design and delegation · ClaimAnchors touched: A2 (neutral resource leaf and importer), A7 (historical digest records), A9 (governing approval). D007 documents the flat
src/inferrsi/resources/repo_packs/<repo-type>.jsonlayout. The Indexer evidence runner fingerprints either a frozen older checkout or the new layout. The Python package and shared host bundler use the new root. Migration decisionKnowledge authorship declaration
Acceptance evidence
3efb03ea71356786b19b705e53f65267c17d19bf. Their combined size is 4,092 B. The sorted filename/digest set has SHA-256a60e1cc18f9cdff2aa9d82c39328517751c8904d3974669ccfc1b33574f5806d.vllm_omni.json, then reran plain Doctor and all six peers successfully. Selecting the missing target returned exit 2 and its filename.ruff check src tests toolsandgit diff --checkpassed.The opt-in wheel check is reproducible with
RUN_FRESH_VENV=1 python -m pytest tests/knowledge/test_knowledge_fresh_install.py. The local Windows default build-from-sdist hit the existing deep knowledge paths; separate sdist and wheel builds both succeeded. The local Windows suite reported failures; nine early failures were reproduced on both the unmodified base and the first revision. The first Ubuntu 3.10 full run found two stale report links through the maintained-documentation test. The current revision updates both targets. The documentation, fingerprint and A7 test set passes locally (24 tests), as does the project lint scope. The GitHub Ubuntu 3.10/3.11 full checks on this revision determine the integrated outcome.Handoff and closure
vllm_musais still on PR #518. The agreed order is #716 first, then #518 rebases and addsresources/repo_packs/vllm_musa.jsonas the eighth descriptor. The integrator will post the merge SHA on #500. Confirmed order and path #702 follows the merged resource layout. #709 adapts to the Reader in the later #713 slice. MUSA handoffDong1017 owns acceptance. #712 remains open for review, required CI and the integrated revision. The library conversion and production cutover belong to #713, #714 and #715.