Repository navigation
agentcompass 0.2.0: route on AgentCompass v0.6.0 (four capability categories, quota economy, data gates) - #1083
Open
akiiwa-games wants to merge 2 commits into
Open
akiiwa-games wants to merge 2 commits into
akiiwa-games wants to merge 2 commits into
Conversation
…tegories, quota economy and data gates The scoring engine is AgentCompass v0.6.0's, ported module by module: ten new modules under src/ (axis-scores, candidate-eval, candidate-ranking, fleet, plans, quota-economy, quota-pools, reference-data, task-intake, user-scores). The task profile now carries axis_demand (divergence, coding, aesthetics, tool_operation, 0..3); rows with missing data are out of automatic routing but can still be named. realtime_loop, the capability floor and the family/unknown "generic row" scoring are gone. Includes the session-continuity change of 0.1.5/0.1.6 (magpie-community#791). The package tests run on their own (no AgentCompass checkout, no network); the comparison with the Python engine stays in the source repository. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
….1.4022 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Moves
packages/agentcompassfrom 0.1.4 to 0.2.0: the scoring engine is now AgentCompass v0.6.0's, ported module by module in the source repository (akiiwa-games/magpie-agentcompass-router;src/here is byte-identical to its commitac494f3).Contains the continuity change of #791. The package also holds the 0.1.5/0.1.6 work (session hold on any pooled runtime, a replayed state has no age, classifier-only profiles, account states, routing contract), because the source already includes it. This PR and #791 overlap in
continuity.jsandmiddleware.js; please decide which to review. Merge either one, or this one and close #791.What changes for users
<model>:<effort>by a task profile's four capability categories (divergence,coding,aesthetics,tool_operation, demand 0..3), each effort's time and price, and session continuity. The quota economy gates on 5h windows and prices the longer windows.src/: axis-scores, candidate-eval, candidate-ranking, fleet, plans, quota-economy, quota-pools, reference-data, task-intake, user-scores.userScores: your own category scores for a model.Behaviour changes you will notice
axis_demand,access,wants_fastandread_only_revieware required.context_scale,hallucination_risk,error_cost,divergenceandrealtime_loopare gone. A profile in the old shape is refused (invalid_caller_profile); there is no compatibility read.realtime_loop(option, request field, session hold). Fromcatalog.js:DEFAULT_MODELS,DEFAULT_SCORING_POLICY,KIND_TRAITS,CANONICAL_ROUTES,EFFORT_CURVES,resolveModelSpec. Fromindex.js:computeWindowCost,demandForecast,evaluateModelQuota,CANONICAL_ROUTES,healthOnlyQuotas. Fromcontinuity.js:effectiveRealtimeLoop. New:ROUTES. The capability floor and the tier-based raise in the session hold are removed.warnings. Family and unknown names (claude-opus-9) have no score of their own, so only naming them dispatches them. An account whoseplanis not reported has unknown capacity: putplaninquotas.antigravityandgeminino longer borrow another provider's table.quotasfile broken for over 6 hours excludes onlypool/quotas, with a warning.How it was tested
HOME=<empty dir> bun test packages/agentcompass: 140 pass, 0 fail (Windows, bun 1.4.4).bun scripts/check.mjs agentcompass: registry.json passes.src/:allocator.planat v0.6.0 (a 58,016-row grid of profiles and pools; the 19,339 sampled rows match on model, effort and score to 1e-9);magpie-cli-linux-amd64, sha25646e96145…128dd0, matching the release'sSHA256SUMS): CLI install and options, market listing and GUI API, Mode A, Mode B through/v1/systemone, classifier unavailable, session continuity and the turn lock, 7 pool shapes × 4 profiles × 4 protocols (112 requests, every route equal to the engine's), the four categories, pins, caller profiles, and no-profile requests. All passed; the record isdocs/linux-sandbox-e2e-report-0.1.4022.jsonthere.registry.json: only the agentcompass summary changed (same text as the source's registry entry).
中文摘要
agentcompass 从 0.1.4 升到 0.2.0:评分引擎换成 AgentCompass v0.6.0(四类能力 divergence / coding / aesthetics / tool_operation,各档位耗时与价格,配额经济,数据门禁)。本 PR 包含 #791 的会话连续性改动(0.1.5/0.1.6),两者在 continuity.js 与 middleware.js 上重叠,请维护者决定审哪一个。升级影响:画像字段变了(旧形状会被拒绝)、删除 realtime_loop 及若干导出、缺数据的行不进自动路由(点名仍可派发)、未上报 plan 的账号容量未知。包内测试独立运行(140 通过);同一份
src/在源仓库里与 Python 引擎对拍一致,并在真实 Magpie 0.1.4022 的 Linux 沙箱里跑通了全部场景,只有真实上游账号那一个场景没有跑。🤖 Generated with Claude Code