mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-07-17 08:22:34 -05:00
[PR #942] [CLOSED] Add Papa routing gate and cost ledger to advisor-orchestrator-worker #14882
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Shubhamsaboo/awesome-llm-apps/pull/942
Author: @telivity-otaip
Created: 7/10/2026
Status: ❌ Closed
Base:
main← Head:add-papa-cost-control-to-aow📝 Commits (2)
c701567Add Papa routing gate and cost ledger to advisor-orchestrator-worker8202bd3Fix Papa to use Fable and simplify routing to advisor|orchestrator📊 Changes
9 files changed (+344 additions, -74 deletions)
View changed files
📝
agent_skills/README.md(+1 -1)📝
agent_skills/advisor-orchestrator-worker/README.md(+15 -8)📝
agent_skills/advisor-orchestrator-worker/SKILL.md(+96 -52)➕
agent_skills/advisor-orchestrator-worker/references/cost-control.md(+61 -0)📝
agent_skills/advisor-orchestrator-worker/references/fallbacks.md(+22 -0)➕
agent_skills/advisor-orchestrator-worker/references/papa-routing.md(+40 -0)➕
agent_skills/advisor-orchestrator-worker/scripts/cost_ledger.sh(+82 -0)📝
agent_skills/evals/advisor-orchestrator-worker/evals.json(+26 -12)📝
agent_skills/evals/advisor-orchestrator-worker/trigger-cases.json(+1 -1)📄 Description
Summary
Extends
advisor-orchestrator-workerwith the two missing tiers between orchestrator and advisor:advisor | orchestrator | domain-kb | guardrail | defer | refusebefore any expensive Fable consult burns tokensscripts/cost_ledger.sh) — deterministic checkpoint on every worker dispatch, Papa call, and advisor consult; refuses when budget is exhausted (no silent bleed)Closes the gap Shubham flagged: advisor consults are no longer automatic at plan review and taste pass — Papa routes cheaper when the material is straightforward.
Architecture change
New references:
papa-routing.md,cost-control.md,guardrails.md,domain-kb.mdNew script:
scripts/cost_ledger.sh(jq, no network, exit 2 on refuse)Test plan
skill_lint.py --strict— PASSrun_trigger_evals.py— PASS (routing descriptions still clear near-misses)skill_scanner.py— cleancost_ledger.shmanually tested — refuses on 3rd worker when cap is 2Note on #941
#941 (external ASIL listing) was the wrong approach — please close it in favor of this skill enhancement.
— Dušan / Telivity (ASIL production patterns)
Made with Cursor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.