fund command - domain budget management

t-622·WorkTask·
·
·
·Omni/Fund/Web.hs
Created2 months ago·Updated1 week ago·pipeline runs →

Description

Edit

New CLI command for managing agent domains and budgets. Separate from agentd (which stays a pure process supervisor).

Commands:

  • fund create <domain> --budget <cents> (create a domain with a budget)
  • fund add <domain> <cents> (inject more budget)
  • fund status (show all domains, budget vs spend)
  • fund spend <domain> (show spend breakdown)

Data model:

  • domains table: name, budget_cents, spent_cents, revenue_cents
  • Reads agentd cost_cents data to compute per-domain spend
  • agentd runs get tagged with a domain

Later: revenue-linked auto-replenishment (e.g., PIL Stripe revenue credits its domain).

This is part of the agent economy design: ownership + budget as lightweight coordination.

Timeline (21)

🔄[system]Open → InProgress1 month ago
💬[system]1 month ago

Pipeline: recovered completed dev run on startup

🔄[system]InProgress → Open1 month ago
💬[system]1 month ago

Pipeline: verification failed: Expected 1 commit on t-622 relative to live, got 0

🔄[system]Open → InProgress1 month ago
💬[system]1 month ago

Pipeline: dev failed (run=dev-t-622-1771488624): Agent exited with code 1: The model gpt-5.3-codex does not exist or you do not have access to it.

🔄[system]InProgress → Open1 month ago
🔄[system]Open → InProgress1 month ago
💬[human]1 month ago

Pipeline scheduler: started run=pipeline-omni-fund-web-hs-t-622-1771561970 domain=Omni/Fund/Web.hs

🔄[human]InProgress → Review1 month ago
💬[human]1 month ago

Pipeline scheduler: run=pipeline-omni-fund-web-hs-t-622-1771561970 domain=Omni/Fund/Web.hs status=done cost=24c (fund-spend=failed)

💬[human]1 week ago

Ava triage: pipeline auto-run reached status=done but the agent made NO git commits and reported blockers (missing files, path mismatches, or need clarification). This task is not actually in review — there's nothing to review. Resetting status to Open so it can be re-scoped.

🔄[human]Review → Open1 week ago
💬[human]1 week ago

No commits found in any branch or reflog. Pipeline scheduler bug — see separate task. Agent runs produced nothing recoverable. Needs fresh re-attempt.