Repository navigation
feat(recall): name the skill a recalled Gene pins, with the command that installs it - #106
Conversation
…ommand that installs it A Gene can pin a skill in preconditions (skill:git+<repo>@<commit>#sha256=<digest>&path=<dir>, Evolver 2.0.54). The plugin gives the model no tools and injected only the strategy, so a pinned skill never reached the model. The injected strategy, single or a Recipe step, now ends with the skill's name, the evolver skill fetch command that installs it under .agents, and the SKILL.md to read. These lines sit outside the strategy's token cut.
|
Sentinel 已审核此变更,未发现已核验问题,但发现需要人工确认的风险。 GitHub CI 未通过。 此状态来自当前 CI gate,不是 Sentinel finding;请以最新 CI attempt 的日志为准。 另有 1 个需要人工确认的风险;黄色 advisory 不阻塞合并,建议开发 agent review advisory 评论并逐条确认。 开发 agent 查询详情: 调用 MCP 工具 由 Sentinel 审核 · 目标提交 d18b15d77dda |
|
Sentinel 保留了 1 个尚未确认的审核候选。这些黄色条目不阻塞合并;红色 P0/P1 与其他独立硬门禁不受影响。 单一猜测、缺少变更行证据或纯 checklist 的候选会统一降为 P3。
需要完整证据时,可用行末 由 Sentinel 审核 · 目标提交 d18b15d77dda |
|
Sentinel 已审核此变更,未发现已核验问题,但发现需要人工确认的风险。 另有 1 个需要人工确认的风险;黄色 advisory 不阻塞合并,建议开发 agent review advisory 评论并逐条确认。 开发 agent 查询详情: 调用 MCP 工具 由 Sentinel 审核 · 目标提交 e2fec00086cb |
|
Sentinel 保留了 1 个尚未确认的审核候选。这些黄色条目不阻塞合并;红色 P0/P1 与其他独立硬门禁不受影响。 单一猜测、缺少变更行证据或纯 checklist 的候选会统一降为 P3。
需要完整证据时,可用行末 由 Sentinel 审核 · 目标提交 e2fec00086cb |
The four-step floor keeps out Genes too thin to reuse. A Gene that pins a skill keeps its detail in the skill, so a short strategy that points at it is enough.
|
Sentinel 已审核此变更,未发现已核验问题,但发现需要人工确认的风险。 另有 1 个需要人工确认的风险;黄色 advisory 不阻塞合并,建议开发 agent review advisory 评论并逐条确认。 开发 agent 查询详情: 调用 MCP 工具 由 Sentinel 审核 · 目标提交 90436c763233 |
|
Sentinel 保留了 1 个尚未确认的审核候选。这些黄色条目不阻塞合并;红色 P0/P1 与其他独立硬门禁不受影响。 单一猜测、缺少变更行证据或纯 checklist 的候选会统一降为 P3。
需要完整证据时,可用行末 由 Sentinel 审核 · 目标提交 90436c763233 |
The session ledger keeps each Recipe step's own text for the turn's reuse report and for distillation; it carried the steps but not the pinned skill, while a single strategy's ledger entry did.
|
三条 advisory 说的是同一件事,逐条结论如下:
原因:组合方案(Recipe)每一步的单独文本 修法: 验证: |
|
Sentinel 已审核此变更,未发现需要报告的问题。 开发 agent 查询详情: 调用 MCP 工具 由 Sentinel 审核 · 目标提交 2874dcfb2fb0 |
Problem
Since Evolver 2.0.54 a Gene can pin a skill it needs as one
preconditionsentry:evolver skill fetchand the MCP toolevolver_skill_installinstall it. The plugin injects only a Gene'sstrategyand gives the model no tools, so a host that runs Evolver through this plugin (ZCode, Codex, Claude Code) never learns the Gene needs a skill. For the game-design demo Genes the strategy is the short version and the skill carries the detail: the interfaces, invariant tables and checks.Change
When the injected Gene pins skills, the injected text ends with the skill names, the command that installs them and the file to read:
lib/required-skills.jsreads the pins frompreconditions(also underpayload/gene) and names each skill the way Evolver installs it: the last segment ofpath, or of the repository.lib/recall.js) and into each Recipe step whose Gene pins a skill (lib/recipe.js). They sit outside the strategy's token cut, so a long strategy never loses them.sha256:<64 hex>asset id and a pin that has a commit and a digest; anything else names no skill and the strategy is injected as before..agents/skillsis a skill root ZCode and Codex both load, and the text names the file, so any host can read it.Verified
test/required-skills.test.js(new, 9 cases): one pin, a pin at the repository root, two pins, malformed pins and an unsafe asset id, a long strategy cut for length that keeps the skill lines, a Gene without a pin, a Recipe step, a two-step Gene that pins a skill (injected), and a two-step Gene without a pin (still passed over).npm teston this branch: 1209 pass, 10 skipped, 3 fail; the 3 failures are intest/runtime/desktop-engine.test.jsand fail the same way onmainon this machine.recallStrategyon the live pinned Genesha256:9404aec4…9e7einjected the text above. Running the injected command unchanged in an empty project with Evolver 2.0.54 installed both SKILL.md files, and.agents/skills/quest-prototype-three-round-gate/SKILL.mdis byte-identical to the pinned commit inMike-7777777/gene-skills.Mike-7777777/gene-skills(republish/genes/, two strategy steps and the pin),recallStrategyinjects both steps followed by the install and read lines.npm run packbuiltdist/zcode; ZCode 3.18.2 validated, installed and enabled it, and its hooks ran in a ZCode CLI session.