This repository was archived by the owner on Jul 30, 2026. It is now read-only.
fix(agents): collapse unstable OMP and Claude identities - #140
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
Walkthrough本次更新调整 Claude 与 OMP 的代理身份解析和版本标识,提高 TUI 缓存 schema 版本,修改 CLI 测试断言,并放宽覆盖率工作流的执行条件。 Changes代理身份解析
CLI 缓存与错误输出
覆盖率工作流
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Treat anyhow error backtraces as distinct from panic output so tarpaulin can exercise the malformed-config CLI path.
makoMakoGo
marked this pull request as ready for review
July 13, 2026 02:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OMP Swarmreporting identityagentTypeandsubagent_typevalues intoClaude SubagentWhy
The Agents tab is an accounting view whose primary key must be a stable agent type. OMP swarm artifact names and one-off Claude task labels were being used as grouping identities, creating many low-value rows. Claude's behavior also contradicted ADR 0006, which requires unknown temporary sidechain names to use the generic
Claude Subagentidentity.Impact
OMP swarm usage now appears in one
OMP Swarmrow. Claude retains known stable roles such as Explore, Plan, and General Purpose while temporary labels are aggregated intoClaude Subagent. Token, cost, message, and instance accounting remain intact.Validation
cargo fmt --all -- --checkcargo testcargo build --release -p tokscale-cliSummary by cubic
Stabilizes agent grouping in the Agents tab and enables coverage on PRs. OMP swarm artifacts now report as "OMP Swarm", and unknown Claude sidechains report as "Claude Subagent", reducing noisy rows while preserving instance-level accounting.
agentType/subagent_typevalues to "Claude Subagent"; keep known roles (Explore, Plan, General Purpose).cargo tarpaulincan cover the malformed-config path.Written for commit 6800834. Summary will update on new commits.
Summary by CodeRabbit
改进
文档