cli/pkg/agentic
Athena 794cff9409 feat(agentic): add agent allowance system for model quotas and budgets
Implements quota enforcement for agents including daily token limits,
daily job limits, concurrent job caps, model allowlists, and global
per-model budgets. Quota recovery returns 50% for failed jobs and
100% for cancelled jobs.

Go: AllowanceService with MemoryStore, AllowanceStore interface, and
25 tests covering all enforcement paths.

Laravel: migration for 5 tables (agent_allowances, quota_usage,
model_quotas, usage_reports, repo_limits), Eloquent models,
AllowanceService, QuotaMiddleware, and REST API routes.

Closes #99

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 05:53:52 +00:00
..
prompts feat(framework): add core DI framework and improve dev commands 2026-01-30 09:02:16 +00:00
allowance.go feat(agentic): add agent allowance system for model quotas and budgets 2026-02-16 05:53:52 +00:00
allowance_service.go feat(agentic): add agent allowance system for model quotas and budgets 2026-02-16 05:53:52 +00:00
allowance_test.go feat(agentic): add agent allowance system for model quotas and budgets 2026-02-16 05:53:52 +00:00
client.go feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
client_test.go feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
completion.go feat(errors): Unify errors and logging (#180) 2026-02-02 06:48:40 +00:00
completion_test.go fix(agentic): use context.TODO instead of nil Context (#94) 2026-02-01 15:58:26 +00:00
config.go fix: resolve conflict markers and remove legacy code after branch consolidation 2026-02-08 22:08:35 +00:00
config_test.go feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
context.go fix: resolve API signature mismatches after IO migration merge 2026-02-08 21:55:10 +00:00
context_test.go feat(agentic): add AI collaboration features 2026-01-28 20:04:45 +00:00
embed.go feat(framework): add core DI framework and improve dev commands 2026-01-30 09:02:16 +00:00
service.go feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
types.go feat(agentic): implement core-agentic API client 2026-01-28 19:58:41 +00:00