iiRecord
Agentic AI Atlas · GAP-HADAPT-003: Cost-Based Routing Policies
page:docs-harness-features-backlog-gaps-harness-adaptation-gap-hadapt-003a5c.ai
II.
Page JSON

page:docs-harness-features-backlog-gaps-harness-adaptation-gap-hadapt-003

Structured · live

GAP-HADAPT-003: Cost-Based Routing Policies json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · wiki/docs/harness-features-backlog/gaps/harness-adaptation/gap-hadapt-003.mdCluster · wiki
Record JSON
{
  "id": "page:docs-harness-features-backlog-gaps-harness-adaptation-gap-hadapt-003",
  "_kind": "Page",
  "_file": "wiki/docs/harness-features-backlog/gaps/harness-adaptation/gap-hadapt-003.md",
  "_cluster": "wiki",
  "attributes": {
    "nodeKind": "Page",
    "sourcePath": "docs/harness-features-backlog/gaps/harness-adaptation/GAP-HADAPT-003.md",
    "sourceKind": "repo-docs",
    "title": "GAP-HADAPT-003: Cost-Based Routing Policies",
    "displayName": "GAP-HADAPT-003: Cost-Based Routing Policies",
    "slug": "docs/harness-features-backlog/gaps/harness-adaptation/gap-hadapt-003",
    "articlePath": "wiki/docs/harness-features-backlog/gaps/harness-adaptation/GAP-HADAPT-003.md",
    "article": "\n# GAP-HADAPT-003: Cost-Based Routing Policies\n\n| Field | Value |\n|-------|-------|\n| Category | harness-adaptation |\n| Priority | High |\n| Effort | L |\n| Status | Missing |\n\n## Description\nRoute tasks to cheapest capable harness/model combination. Set per-run or per-session cost budgets with automatic downgrade.\n\n## Current State\nNo cost awareness in routing. All tasks go to configured harness regardless of cost.\n\n## Target State\nCost-aware routing considers harness/model pricing. Per-run and per-session cost budgets. Automatic downgrade to cheaper model when budget nearing limit. Cost optimization suggestions.\n\n## Dependencies\n- [GAP-HADAPT-001](../harness-adaptation/GAP-HADAPT-001.md) -- capability routing foundation\n- [GAP-SESSION-004](../session-management/GAP-SESSION-004.md) -- session-level cost budgets\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Harness adapters | `packages/sdk/src/harness/` |\n| Config module | `packages/sdk/src/config/` |\n\n## Recommendation\nPhase 2 implementation. Define cost model per harness/model. Implement budget tracking. Auto-downgrade when budget threshold reached.\n",
    "documents": []
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "page:docs-harness-features-backlog",
      "to": "page:docs-harness-features-backlog-gaps-harness-adaptation-gap-hadapt-003",
      "kind": "contains_page"
    }
  ]
}