test(docs): 补 doc_claims.rs 守住五通道叙事与中英双语一致(审计 §七 声称已落地,实际不存在)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- rust
- Domain
- documentation, testing
Research direction
Start by reading src/bridge/transport/registry.rs and the existing integration tests under tests/ to match the project’s test conventions. Add a pure-std tests/doc_claims.rs covering the registered transport count, obsolete claims in tracked files, and consistency of channel lists across English and Chinese docs; keep the documented ilink only via claim valid. Run the Rust test suite and confirm the new checks pass.
Written by the indexing model from the issue text.
Description
优先级 P2 · 依赖:无
基线 HEAD = e4f8200
Summary
大仓审计的「防漂移机制落地」表声称本仓已落地「文档断言测试」,该文件实际不存在:
- 审计声称(大仓
docs/DOC_CODE_AUDIT-2026-10-01.md:307):「im-agentproc/tests/doc_claims.rs(4 用例,纯 std)」 - 实际
tests/下只有:mcp_per_turn_context.rs、wip_issue3_fatal_cli_classification.rs、wip_issue5_cli_session_store.rs、wip_issue8_text_limits.rs、wip_issue10_degraded_cli_session.rs、wip_issue15_session_store_persistence.rs、wip_issue15_stale_resume_fallback.rs、wip_issue15_wecom_serialization.rs;无doc_claims.rs。
旁证「没有回归门」的代价:README.md:61 长期写 iLink is the only real adapter today, Feishu / Telegram / … land as new Transport implementations.,而 src/bridge/transport/registry.rs 早已注册 5 个 Transport(:96-100 with_builtins() 顺序 ilink → telegram → wecom → feishu → discord,telegra/wecom/feishu/discord 各自的 adapter 见 :18-22 导入),CI 从未报警。
影响
- 五通道这类对外能力声明没有机器守卫;本仓 README 与
Cargo.toml的 description 因此落后于代码(对外门面出错)。 - 本仓有中英双语文档(
docs/与docs/zh/),漂移会各自发生:本次修正时发现 3 处只有中文镜像漏改(如docs/zh/guide/configuration.md:10,40、docs/zh/transport.md:79),英文侧已更新而中文侧仍写「只实现了 ilink」。
建议
补 tests/doc_claims.rs(纯 std、无需网络与外部 CLI),至少覆盖:
registry.rs注册的 Transport 数量与 README /Cargo.tomldescription 的声明一致;- 仓库跟踪文件中不出现
only real adapter/iLink/WeChat today等旧文案(git grep级别断言或直接读文件断言); - 中英双语通道清单一致(
docs/与docs/zh/对应页面的 kind 清单互相一致)。
边界
- 只加测试,不改文档与代码(文案修正另有 PR:jeffkit/im-agentproc#17)。
- 注意保留一处不改的表述:
docs/guide/configuration.md:11,43的via: … (ilink only)是正确的(registry.rs:242显示ilink_factory是ctx.via的唯一消费者),断言不要把它一并禁掉。 - 同根源另见 jeffkit/hitl-mcp#4 与 jeffkit/argusai#13(跨仓拆开提)。
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 11m
- Merged PRs (30d)
- 7
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jeffkit/im-agentproc
-
Difficulty 4/5 3-5 days Newbie friendliness 40/100
jeffkit/im-agentproc#7 · 8 comments ·
-
needs-human
Difficulty 5/5 Over a week Newbie friendliness 18/100
jeffkit/im-agentproc#6 · 24 comments ·
All issues in jeffkit/im-agentproc
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
IntersectMBO/developer-experience#347 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
registrystack/registry-stack#2168 ·
Maintainers usually reply within 1 day
-
bug crate: 3d help wanted triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kornia/kornia-rs#1203 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Bug] ComponentType classifies 0x8A8A-0xEAEA as GREASE; mls-extensions §7.5 makes them private useOpen
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day