II.
Page overview
Reference · livepage:docs-harness-features-backlog-gaps-harness-adaptation-gap-hadapt-003
GAP-HADAPT-003: Cost-Based Routing Policies overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for page:docs-harness-features-backlog-gaps-harness-adaptation-gap-hadapt-003.
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
# GAP-HADAPT-003: Cost-Based Routing Policies
| Field | Value |
|-------|-------|
| Category | harness-adaptation |
| Priority | High |
| Effort | L |
| Status | Missing |
## Description
Route tasks to cheapest capable harness/model combination. Set per-run or per-session cost budgets with automatic downgrade.
## Current State
No cost awareness in routing. All tasks go to configured harness regardless of cost.
## Target State
Cost-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.
## Dependencies
- [GAP-HADAPT-001](../harness-adaptation/GAP-HADAPT-001.md) -- capability routing foundation
- [GAP-SESSION-004](../session-management/GAP-SESSION-004.md) -- session-level cost budgets
## Key Files
| Component | Path |
|-----------|------|
| Harness adapters | `packages/sdk/src/harness/` |
| Config module | `packages/sdk/src/config/` |
## Recommendation
Phase 2 implementation. Define cost model per harness/model. Implement budget tracking. Auto-downgrade when budget threshold reached.
documents
[]
Outgoing edges
None.
Incoming edges
contains_page1
- page:docs-harness-features-backlog·PageHarness Features Backlog: Gap Analysis (Restructured)