Repository navigation
Description
Current state: proposed — the CLI and plugin expose overlapping knowledge lookup routes.
Decision needed: confirm a canonical search route and an explicit in-session capture route, from jiaran-king.
Next action: jiaran-king reviews the proposed command contract and the compatibility checks.
Problem
The plugin routes ordinary skill discovery through find and instructs agents in managed optimization to use campaign knowledge or benchmarks session knowledge. The latter two already share one handler. knowledge search <query> and context <query> also use Find ranking within the package catalog. Agents have to infer which command discovers hits, which assembles material, and which writes round evidence.
Inspect the CLI help for find, knowledge search, context, campaign knowledge, and benchmarks session knowledge. For example, knowledge search "graph mode" --backend ascend and context "graph mode" --backend ascend --repo-type inferrsi both take a text query and have distinct catalog/output contracts. The plugin instructions show the managed-session branch. PR #507 already unified local ranking.
Scope and acceptance
- Standardize agent-facing text discovery on
findin the plugin instructions and operation guide. Keepreadfor exact revisions andcollectfor budgeted assembly. Preserve filtered package inventory and Markdown export. - Document one explicit capture route for project and benchmark sessions.
collect --session <dir>is one option for owner review. Reuse the existing capture path and preserve the frozen knowledge setting, session budget, external-provider policy, pinned revisions, and citable receipts. - Verify the recommended routes for ordinary skill discovery and for a managed round. Keep existing CLI arguments, output shapes and exit codes compatible, and verify that historical traces using the old commands still import.
Completion is a merged fix with CLI compatibility and session evidence checks. Scope covers knowledge lookup, assembly, and capture. Session start and execution-preview aliases can be handled separately.
Requested owner is @jiaran-king. Please confirm the scope and acceptance checks here if you can take it. Related tracking is #379.
Drafted with Codex.
Activity
Dong1017 commentedon Nov 25, 2026
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart).
Triage: #686 asks for
findas the agent discovery route plus one explicit capture route for sessions. The direction fits the acceptedfind → readdefault, but the capture route and acceptance checks are not yet defined.Asks: standardize text discovery on
findin the plugin and operation guide; keepreadfor exact revisions andcollectfor budgeted assembly; name one session capture route; verify historical traces still import. Requested owner: @jiaran-king.Gaps: the managed-round route names and the canonical capture route are unset, and the "CLI compatibility and session evidence checks" are not enumerated.
Risks: the change must not contradict #379's accepted
find → readdefault. Routing alone does not show better decisions. Session evidence should keep hit, read, adopted and outcome as separate fields.Questions:
campaign knowledgeandbenchmarks session knowledgestay, or becomefindaliases?collect --session,campaign capture-context, orcampaign import-search?Next step: @jiaran-king confirms scope, capture route and acceptance checks here. Implementation needs a named human implementer. This triage assigns none and opens no pool task.
Details
Read for this triage:
issue/meta.json,issue/body.md,decisions.md(no entries on #686), issue #379, andplugins/inferrsi/skills/inferrsi/SKILL.mdlines 265-290.findfollowed by the displayedreadcommand is the default knowledge-retrieval flow for README, quickstart and plugins. Old commands stay as compatibility and fallback. bug: Overlapping CLI routes make skill lookup ambiguous for agents #686 should extend that decision, not reopen it.SKILL.mdlines 274-278 say managed optimization usescampaign knowledgeorbenchmarks session knowledge, which use Find by default. Legacy manual campaigns usecampaign capture-context. Search attribution at round close usescampaign import-search. The body namescollect --sessiononly as one option.find → read, so its results cannot validate bug: Overlapping CLI routes make skill lookup ambiguous for agents #686's routing. tracking: Skill Indexer 检索效率、准确性与逐轮采用 #379 also records that the latest tracking comment treats retrieval efficiency and decision quality as unresolved.david6666666 commentedon Nov 25, 2026
Dot, acting for @david6666666 under delegated Issue review.
Please use the newly merged P0.1 benchmark as a compatibility fixture for whichever capture route you choose. Main now freezes the query, scenario, byte cap, card revision and body hash, then checks what actually reached the first verified round (#670). A replacement should still qualify a correctly delivered card, reject an omitted or over-budget card, and never let a later or larger-budget capture retroactively qualify the pair. A shared Find ranking or matching CLI output alone will not cover that regression.
zengchuang-hw commentedon Nov 25, 2026
PASS
Dot,代表 zengchuang-hw。首次检视:同用 Find 排序不代表三种操作等价。对照 #507 的实际差异和插件的会话入口,建议文档首选
find发现、read固定版本、collect只读组装,并明确标出哪条命令会写入会话回执。collect --session若采用,应复用现有捕获入口,不另建一套策略。验收至少对照两条路径:普通
collect不写会话;受管会话复用已有冻结条件、预算和版本,知识关闭时不得走外部检索。旧入口的参数、序列化输出、退出码和历史记录导入继续保留。本意见支持梳理命令契约,不确认新参数或接单,也未运行 CLI。Dong1017 commentedon Nov 25, 2026
@jiaran-king assign to dear jiaran-king
jiaran-king commentedon Nov 25, 2026
Can we finish the migration in #686 and make find the only knowledge search entry point? I propose migrating all in-repo callers to find → read and retiring the old query forms, while preserving non-search features, historical imports, and #670’s delivery checks.
This intentionally breaks old query commands. Is there a specific caller that needs to keep using one unchanged and can’t migrate with this change?
david6666666 commentedon Nov 25, 2026
Dot, acting for @david6666666 under delegated Issue review.
The accepted #379 decision made Find the default but explicitly retained the old forms for compatibility. Migrating in-tree examples does not establish that already-installed plugin bundles or external scripts have migrated. Please record a separate compatibility decision before removing those forms. Also keep discovery separate from managed capture: replacing
campaign knowledgewithfind → readis safe only if the new flow still writes a citeable receipt under the frozen ranking, revision and byte budget.