Repository navigation
Conversation
…L.md references Add the thin-wrapper plugins/inferrsi-antigravity/plugin.json, tools/build_antigravity_plugin.py (enforcing the 24,000-byte SKILL.md body cap), user guide, and packaging/version tests without modifying existing Codex, DSH, or WorkSwarm behavior. Move detailed knowledge-search, MindIE, and evidence-attribution sections from plugins/inferrsi/skills/inferrsi/SKILL.md into references/ (with zero deleted guidance) and copy references/ in tools/build_dsh_plugin.py as well. Agent-assisted-by: Antigravity / Gemini 4 Hydrogen [effort=medium] (implementation) Signed-off-by: Xieyancheng <862049654@qq.com>
|
@Dong1017 @zengchuang-hw @amy-why-3459 @Inference1 PR #890 is ready for review ( Summary of verification on the final head:
|
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 a60322b and head e33d8dc (first review, diffMode: full, diffComplete: true, 14 files). Governing scope: #751 PR 1 (7272400730, 7273519800, 8:55Z Option B decision). Formal reviews on this head: none; no outstanding Request changes. zengchuang-hw's NO PASS on #751 (09:54Z) is a thread comment, not a formal review on this PR.
Limit of this review: I could not read pr/diff.patch in this run (its output was stored outside the workspace). I checked the head-state files below, not the diff hunks. No PASS is possible until the hunks are reviewed.
Blockers
-
Broken cross-reference in
plugins/inferrsi/skills/inferrsi/SKILL.mdlines 165-168: "At round close, import both receipts and the round response as described under search attribution below." No section with that name exists inSKILL.md. The import step (runevidence import-searchafter the round response, with the inclusive line range and--context-idfor each receipt) exists only inreferences/evidence-and-attribution.mdlines 34-41. The pointer at lines 234-236 covers only the line-boundary step. Expected correction: link the round-close step directly toreferences/evidence-and-attribution.md, or restore the one-line import step inSKILL.md. Keep the body at or below 24,000 bytes. -
Required archive evidence does not match the recorded artifact. Condition 3 of the 08:55Z decision asks for
agy plugin validate --stricton the rebuilt archive. The PR records the SHA-256 of/tmp/inferrsi-ag-final.zip, but the validate run targets/tmp/inferrsi-ag-final(the unzipped directory), and the Desktop install came from that directory. Expected correction: runagy plugin validate --stricton the archive or on a fresh extraction of that exact archive, and record the extraction method with the archive SHA-256. Ifagyaccepts only directories, show that the extracted file list matches the archive.
Open question (not a blocker from me)
- The body's
knowledge-model-policyblock declares material AI authorship (Antigravity,human_only: false) for edits to canonical skill text. I could not find a rule in the seeded excerpts that settles whether the knowledge-model gate applies toSKILL.mdorreferences/. Dong1017 should confirm this.
Verified at head
plugins/inferrsi-antigravity/contains onlyplugin.json. There are no forkedskills/orassets/, which matches the accepted design.plugins/inferrsi/skills/inferrsi/hasSKILL.md,references/(evidence-and-attribution.md,knowledge-search.md,mindie-lookup.md) andscripts/. TheSKILL.mdlinks at lines 236 and 241-243 resolve to these files.tools/build_antigravity_plugin.py:MAX_SKILL_BODY_BYTES = 24_000is checked on the canonicalSKILL.mdbeforebuild_bundle(template_path="plugins/inferrsi-antigravity", shared_content_from="plugins/inferrsi", shared_ignore_patterns=("agents",)).tools/plugin_bundle.py:shared_content_fromandshared_ignore_patternsare optional, with defaultsNoneand(), so existing callers keep their behavior. The shared copy coversskills/andassets/and excludesagents.tools/build_dsh_plugin.pylines 86-88 copyreferences/next to the copiedSKILL.md, so relative links resolve in the DSH bundle.references/evidence-and-attribution.mdcontains the moved "Record research and campaign evidence" content.
Non-blocking
tools/build_dsh_plugin.pyline 87 silently skipsreferences/if the directory is missing. A missing directory should fail the build, since the DSHSKILL.mdlinks depend on it.
Not verified here
- The diff hunks, including deletions and the test files. I did not check that the 24,782 to 21,997-byte change deletes no guidance relative to
2af32532; I checked only the movedreferences/file. - The 21,997-byte count, ruff, the 127-test pytest run,
agyvalidation, the Antigravity Desktop load and the clean install. These are the author's reports and were not run here. - Whether the Codex and WorkSwarm builds are unchanged.
I will re-read after the author pushes, and re-check the diff at that point if it is readable.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for zengchuang-hw.
首次检视,回应本轮邀请。目标 main,base a60322b84a954cede1f48da866ade0ab5497bbbd,head e33d8dcbd49d8d0d2a267017fdd523791e1efdd9。按 #751 Option B 核对 14 个路径:清单薄封装、三份 references、DSH 拷贝和单一 canonical 来源符合方案;现行 LF 正文用代码计为 21,998 bytes,与作者的桌面读数同一量级,未触及上限。
阻塞是硬字节门槛没有检查实际打包字节。 _skill_body_bytes 用 read_text(),在计数前把 CRLF 折叠成 LF;builder 却逐字节拷贝源文件。隔离运行精确函数:同一合法 front matter 后写入 24,100 字节的 CRLF 正文,函数报 23,950,超过承诺上限的包仍会生成;测试又用相同 helper 计数,不能独立抓住差异。请按实际归档正文原始字节计数(或明确规范化后再打包同一份规范化字节,并维护多宿主 parity),补 CRLF 的 24,000/24,001 边界与独立 archive 断言。如果认为宿主本身定义的是规范化后大小,需把这一约定和相同输入实测写清。
本轮实跑仅上述原语和字节计数,未重跑整包、agy 或 Desktop;不否定作者报告的当前 macOS 安装结果。
…nd DSH copy Agent-assisted-by: Antigravity / Gemini 4 Hydrogen [effort=medium] (implementation) Signed-off-by: Xieyancheng <862049654@qq.com>
|
@Dong1017 @zengchuang-hw @amy-why-3459 @Inference1 Pushed
Ready for re-review! |
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 auto-smart?optimize_for=balanced).
PR review verdict — PASS
Reviewed base a60322b and head ac3f6bd (full diff, diffComplete: true). This re-review covers the earlier DO NOT PASS on e33d8dc (COMMENT, #pullrequestreview-6114857034) and zengchuang-hw's NO PASS on e33d8dc (#pullrequestreview-6114865807). Scope: #751 PR 1 as accepted (7272424204) and Option B split (7273519800).
Earlier findings, status at ac3f6bd:
- Resolved: broken cross-reference.
plugins/inferrsi/skills/inferrsi/SKILL.mdL165-169 now links the round-close import toreferences/evidence-and-attribution.md, and that file L34-41 contains theevidence import-searchstep. - Resolved: body byte counting.
tools/build_antigravity_plugin.pyL20-24 counts rawread_bytes()after front matter instead of an LF-folded text read. Raw counting never reports fewer bytes than the folded count, so this is the conservative direction.tests/apps/test_antigravity_plugin.pyL132-158 adds the 24,000 (pass) and 24,001 (fail) CRLF boundary cases, and L83-86 re-checks the raw bytes of the extracted archive independently of the builder helper. - Resolved: silent DSH guard.
tools/build_dsh_plugin.pyL86-87 now copiesreferences/unconditionally, so a missing directory fails the build.tests/apps/test_dsh_plugin.pyL63-69 checks the copied references and their relative links. - Resolved, per code: Antigravity manifest is thin (
plugins/inferrsi-antigravity/plugin.jsonhas noskills/orassets/copy). The author reports the Desktop-loaded body at 22,049 bytes, under the 24,000 cap.
Verified by reading head files at ac3f6bd: the builder, tools/plugin_bundle.py build_bundle shared-content and ignore parameters, the three references/*.md files, and the full SKILL.md (L1-12, L155-353). No dangling references/ links in those parts.
Not verified here:
- I did not run ruff, pytest,
agy plugin validate --strict, or the Antigravity Desktop load. I did not reproduce the archive SHA-2566f316b6e68e5177175b1b83b424784258f99672ebb2ef2c98737419494fe7719. The PASS relies on the author's reported runs on ac3f6bd, which match the body and thread. - The
diff.patchtext was too large to read in this run, so I checked the head state of the changed files rather than each hunk. I did not readdocs/guides/plugins/antigravity-plugin.md,README.md,tests/apps/test_codex_plugin.py, ortests/apps/test_plugin_source_version.py.
Non-blocking follow-up: the Desktop byte count (22,049) is the author's observation. It is consistent with raw counting but does not prove the host's own rule. The raw count is the safe side either way.
Goal acceptance and any #751 closure stay with @Dong1017.
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
回应新提交复审。main base a60322b84a954cede1f48da866ade0ab5497bbbd;上轮 e33d8dcbd49d8d0d2a267017fdd523791e1efdd9 → ac3f6bd1c65d6d881e0537ff42b833f45e8beeb9,增量四文件。原始字节计数修复了 CRLF 被折叠的问题;归档读取断言不再调用同一个生产 helper,测试还走完整 builder 的 24,000/24,001 边界。引用改成实际迁移后的文件链接;DSH 拷贝 references 失败将显式停止,而不是打出缺引用的包。
独立在精确 head 的 _skill_body_bytes 上运行 24,000 与 24,001 原始 CRLF 边界,均计算正确;该 helper 对当前正文算 22,050,低于上限。未独立重跑整包、agy 或 Desktop;正式安装与目标验收由 #751 继续。
amy-why-3459
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @amy-why-3459.
复核 a60322b84a954cede1f48da866ade0ab5497bbbd → ac3f6bd1c65d6d881e0537ff42b833f45e8beeb9 的完整 14 文件 diff。Antigravity 仍是薄清单,复用原技能和素材。正文拆出的三份指引仍可找到,保留首次 Find 前起始行提示,轮次结束的指针现在指向实际导入说明。DSH 构建缺少 references 时显式失败;24,000/24,001 原始 CRLF 字节边界走完整 builder,归档断言不共享生产 helper。独立按固定 head 的正文计数,含分隔符后的空行也约 22 KB,低于上限。
作者报告用 SHA-256 固定归档的新解包运行 strict(0 警告),Desktop 无截断并从安装目录读到了移出的引用,128 项插件/目录回归通过。我未独立重跑宿主或全量测试。当前 hosted CI 仍显示 action_required;本批准仅覆盖 #751 PR1 的代码及现有验证,不代表 CI、发布或结案已完成。
Governing Issue and delivery slice
Refs #751
Anchors touched: none
Dong-bot(acting for@Dong1017) in#751(7209585238,7272424204,7273519800) and#864(7274839567), implemented by@ikkoc.plugins/inferrsi-antigravity/plugin.json: thin Antigravity manifest only (no forkedskills/orassets/).tools/plugin_bundle.py&tools/build_antigravity_plugin.py:build_bundle(..., shared_content_from="plugins/inferrsi", shared_ignore_patterns=("agents",))pulling canonicalskills/(excluding Codex-onlyagents/) andassets/fromplugins/inferrsi/, with a hard<= 24,000-byteSKILL.mdbody check.plugins/inferrsi/skills/inferrsi/SKILL.md(30,504->22,049body bytes on2af32532with zero guidance deleted; details moved toplugins/inferrsi/skills/inferrsi/references/), plus a pre-findpointer to record the Codex rollout starting line as suggested by@Inference1.tools/build_dsh_plugin.py: copiesplugins/inferrsi/skills/inferrsi/references/into the DSH bundle.docs/guides/plugins/antigravity-plugin.md&README.md: build, install, and verification guide.tests/apps/test_antigravity_plugin.py,tests/apps/test_codex_plugin.py,tests/apps/test_dsh_plugin.py, andtests/apps/test_plugin_source_version.py:<= 24,000-byte body guard, byte-for-byte parity, relativereferences/link resolution across Codex/DSH/Antigravity, and version-stamping tests.agySkillEval runner adapter, Marketplace submission, ortools/check_release.py/ release automation wiring.Section-to-reference map (
plugins/inferrsi/skills/inferrsi/SKILL.mdon2af32532)SKILL.mdsection (2af32532)SKILL.md## Research and diagnosesearch/read/collect mechanics (L234–L282)references/knowledge-search.mdfind+readentrypoint & link toreferences/knowledge-search.md### Consult MindIE for unresolved Ascend questions(L284–L331)references/mindie-lookup.mdreferences/mindie-lookup.md### Record research and campaign evidence(L333–L388)references/evidence-and-attribution.mdfind+ link toreferences/evidence-and-attribution.mdevidence log, and bilingualdashboard --translations; keeping the pre-findpointer in the entrypoint prevents missed line boundariesKnowledge authorship declaration
Changed artifacts and evidence
plugins/inferrsi-antigravity/plugin.json,tools/plugin_bundle.py,tools/build_antigravity_plugin.pytest_antigravity_plugin.pyverifies byte-for-byte parity withplugins/inferrsi/and<= 24,000-byte body cap (passed)SKILL.mdsplit & zero deleted guidanceplugins/inferrsi/skills/inferrsi/SKILL.md,references/*.md30,504->22,049body bytes; relativereferences/link resolution verified across Codex, DSH, and Antigravity tests (passed)tools/build_dsh_plugin.py,tests/apps/test_dsh_plugin.py,tests/apps/test_plugin_source_version.pytest_antigravity_plugin.py,test_codex_plugin.py,test_dsh_plugin.py,test_workswarm_plugin.py,test_plugin_source_version.py, andtest_cli_catalog.pypassedagy plugin validate --strict(0 warnings)/tmp/inferrsi-ag-v3.zip(SHA-256:6f316b6e68e5177175b1b83b424784258f99672ebb2ef2c98737419494fe7719)agy 1.5.20:agy plugin validate --strict /tmp/inferrsi-ag-v3-extracted/inferrsi->✔ Validation passed(0 warnings)/tmp/inferrsi-ag-v3-extracted/inferrsito~/.gemini/config/plugins/inferrsion Antigravity2.35.2(hub-2.36.0, macOS26.6.1arm64, Python3.13.13)GetAllPluginsreportsskill: inferrsi body_bytes: 22049 truncated: False; read~/.gemini/config/plugins/inferrsi/skills/inferrsi/references/evidence-and-attribution.mdfrom installed bundle; also verified--plugin-info,find/read, andskills enter task-performanceChecks and dependencies
uvx ruff check src tests tools: passed (All checks passed!)PYTHONPATH=src:. uv run --python /opt/homebrew/bin/python3.13 --no-project --with pytest --with pyyaml --with jsonschema pytest tests/apps/test_antigravity_plugin.py tests/apps/test_codex_plugin.py tests/apps/test_dsh_plugin.py tests/apps/test_workswarm_plugin.py tests/apps/test_plugin_source_version.py tests/apps/test_cli_catalog.py -q: 128 passed, 0 failedagy 1.5.20agy plugin validate --strict: passed (0 warnings, archive SHA-2566f316b6e68e5177175b1b83b424784258f99672ebb2ef2c98737419494fe7719)2.35.2(hub-2.36.0, macOS26.6.1arm64, Python3.13.13):GetAllPlugins(22049bytes,truncated: False) + installed reference read passedpytestin a--no-projectenvironment withoutpip install -e ".[dev]"failed on unrelated subprocess tests (ModuleNotFoundError: No module named 'inferrsi'); full editable-installpytestdeferred to CI.tools/plugin_bundle.py:build_bundleadds optionalshared_content_fromandshared_ignore_patternsparameters (defaulting toNone/()).Remaining work and Issue closure
#751closure stays with@Dong1017.@Dong1017中文说明
Refs #751(按Dong-bot在#751与#864的决议,将 Option B 的SKILL.md瘦身一并合入 PR 1)。plugins/inferrsi-antigravity/plugin.json(不复制skills/或assets/)+tools/build_antigravity_plugin.py(复用tools/plugin_bundle.py,强制校验SKILL.md正文<= 24,000字节)+ 文档docs/guides/plugins/antigravity-plugin.md与README.md入口。SKILL.md(零内容删减):将plugins/inferrsi/skills/inferrsi/SKILL.md从2af32532的30,504字节精简到22,049字节,把检索细则、MindIE 查询和证据归因与双语看板迁入references/,并在主干保留链接及@Inference1建议的首次find前记录 Codex rollout 起始行提示。tools/build_dsh_plugin.py同步拷贝references/;在 Codex、DSH、Antigravity 测试中补齐相对链接解析、<= 24,000字节守卫、逐字节一致与版本号校验(128 个测试全绿,ruff check src tests tools通过)。章节迁移对照表(基于
2af32532)SKILL.md位置(2af32532)SKILL.md原位保留内容## Research and diagnose中find/read/resource/collect/ 适用范围细则(L234–L282)references/knowledge-search.mdfind+read入口引导与链接[knowledge-search.md](references/knowledge-search.md)### Consult MindIE for unresolved Ascend questions整节(L284–L331)references/mindie-lookup.md[mindie-lookup.md](references/mindie-lookup.md)### Record research and campaign evidence整节(含evidence log/evidence import-search/ Codex rollout 归因 / 双语dashboard --translations)(L333–L388)references/evidence-and-attribution.mdfind前单独记录 Codex rollout 起始行的简短提示 + 链接[evidence-and-attribution.md](references/evidence-and-attribution.md)evidence log与双语看板翻译等条件性细则;入口保留防漏提示即可ac3f6bd1c65d6d881e0537ff42b833f45e8beeb9):agy 1.5.20执行agy plugin validate --strict0 warnings 通过(归档 SHA-256:6f316b6e68e5177175b1b83b424784258f99672ebb2ef2c98737419494fe7719)。2.35.2(hub-2.36.0,macOS26.6.1arm64,Python3.13.13)完整加载inferrsi(22,049字节,truncated: False),并从安装目录成功读取迁出的references/evidence-and-attribution.md。