agent-of-agent-of-empires
CLAUDE.md15 starsChanged 9 months agoMITView on GitHub
See AGENTS.md for architecture, build commands, conventions, and full session history.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this claude.md into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Update this file with every commit.
- Very specific: line 34
Follow-ups: npm publish of 8.0.0 failed — NPM_TOKEN secret is expired/invalid (404 on PUT), rotate it and re-run the Release workflow.
- Distinctive: line 117
ALL actions in a tick fail (actionsOk === 0).
- Very specific: line 198
Every module follows the same pattern: standalone .ts file with pure functions or a stateful class, a format*() function returning string[] …
- Very specific: line 277
No TUI, no terminal interaction.
- Distinctive: line 439
Call multiple LLM backends simultaneously and merge results:
- Distinctive: line 459
Run sessions in isolated environments:
- Distinctive: line 513
Keep the daemon running and supervising real sessions
- Distinctive: line 516
Add features only when they unblock real work
- Distinctive: line 525
Only import when the TUI command is first used or the per-tick hook fires.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
aoaoe — Project Status
See AGENTS.md for architecture, build commands, conventions, and full session history.
Rules
- Update this file with every commit.
Version: v8.0.0
Active Work (July 2026)
Just shipped (this session)
- AoE plugin mode (v8.0.0) — the community decision on upstream PR
agent-of-empires#2699
was to ship the orchestrator as an installable plugin living in this repo
instead of inside aoe core. Implemented:
aoe-plugin.toml(api_version 11, validated against the realaoe-plugin-apicrate),src/plugin/worker (JSON-RPC over stdio: protocol, host client, settings, attention queue, plugin-poller/executor over the loop.ts seam, deterministic rules reasoner, spawn-from-GitHub-issues with idempotency keys, card/pane/badge/sort UI, worker entry), install-time build viascripts/plugin-build.mjsinto.aoe-build/dist/(only hash-excluded dir). Dry-run + allow_nudge=false by default; nudges only reach plugin-created sessions (host-enforced). 58 new tests incl. a fake-host contract test; full suite 5098 passing. Also fixed the pre-existing 19876 port collision between health.test and api-server.test. Design writeup inDESIGN.md(answers the design-first/missing-primitives feedback from the upstream thread). Shipped downstream: v8.0.0 tagged + GitHub release published;aoe-plugintopic added (marketplace discovery); install verified end-to-end with aoe 1.13.1 built from source (aoe plugin install gh:... --yes→ build → grants → CLI command grafting); featured-index PR opened upstream: agent-of-empires#3108 (tree hash sha256:38c1c6708edea12da6128c5f7e466a6f78909314ec6e4194b9cfadacf3341dd7). Follow-ups: npm publish of 8.0.0 failed — NPM_TOKEN secret is expired/invalid (404 on PUT), rotate it and re-run the Release workflow; add[[screenshots]]+ dashboard screencap in a patch release once the pane is seen live.
Previously shipped (April 2026)
- Per-session cost badge in the compact agent bar -
formatCompactRows()now takes asessionCostsmap and appends the existing per-session "$N.NN" string from the reasoner-cost tracker (already plumbed through the TUI assessionCosts) to each token. NewformatCompactCostBadge()helper trims, parses, and skips zero/missing/malformed values so quiet sessions stay clutter-free. 11 new tests intui.test.ts(7 for the helper + 4 for the renderer wiring). Closes P0 #7. Full suite: 5040 passing.
Just shipped (previous session)
- Potentially-stuck output detection - Poller now carries output stall
metadata on every session snapshot:
outputUnchangedTicks,lastOutputChangeAt, andpotentiallyStuck. The reasoner prompt now surfaces sessions with unchanged output for 6+ polls and no user activity, even when no new terminal lines appear. This fixes the blind spot where a session could sit on a build/loading screen for many cycles but look merely quiet to the reasoner. Verified withnpm test: 5029 tests passing. - User-active false positive fix - investigated three approaches:
(a) window_activity - rejected, tracks ALL output including agent, not just user.
(b) client_activity - CORRECT signal, tracks real user keystrokes only, tmux
send-keys does NOT update it. Each terminal tab has its own tmux client so
client_activity IS per-session when each session has its own terminal.
Also added executor
lastNudgeByDaemontracking as safety net for edge cases where daemon activity could be misattributed. Root cause of original "all 5 show active" was coincidental - the user cycled through all windows at the same time, not a shared-client bug. - Nudge dedup for reasoner - observation now includes per-session nudge history (last 30min) from the NudgeTracker. The prompt tells the reasoner "do NOT repeat these messages - vary your approach or wait." Shows nudge count, effectiveness rate, time since last, and message preview per session.
- Rate limit cascade staggering - executor now caps
send_inputactions per tick (default 2) and adds a configurable delay between sends (default 5s). Excess actions are logged as "deferred" and retried next tick. This prevents all agents from waking up and hitting the API at the same time. Config:policies.maxSendInputsPerTickandpolicies.sendInputStaggerMs, both hot-reloadable. - Stale task reconciliation - tasks file is now hot-reloaded via fs.watch. Editing aoaoe.tasks.json while the daemon runs instantly adds/removes/updates tasks without restart. TaskManager.reloadDefinitions() diffs new definitions against persistent state: adds new tasks, updates changed goals/tool/profile, removes tasks no longer in definitions (keeps completed for history). TUI shows reload summary in activity log.
- Task manager discovery bug - loadTaskDefinitions() now searches ~/.aoaoe/ and all sessionDirs paths (from config) for the tasks file, not just basePath. Previously the daemon running from ~/repos could not find tasks at ~/repos/github/agent-of-agent-of-empires/aoaoe.tasks.json.
- report_progress fallback - progress summaries now always persist to ~/.aoaoe/progress.log even when taskManager is not configured. The action is marked as success instead of failing silently. No more "no task manager configured" with lost summaries.
- TUI input isolation - user input box no longer hijacked by observer/reasoner
logs. Root cause:
console.error()calls ininput.tshandleLine() wrote directly to stderr at the cursor position, corrupting the TUI input row. Also readline'sprompt()fought withpaintInputLine()for the last row. Fix: (1) addedInputLogHandlercallback that routes user feedback throughtui.log()into the activity area, (2) when TUI active, readline output goes to a no-op Writable so it never touches the display, (3) user-submitted text now appears in activity log as"(queued)you:"tagged entries at the timestamp submitted. - ANSI escape code garbage filter - expanded
isMouseOrEscapeSequence()to catch partial CSI parameter fragments (e.g.123;52mf;148;), bare SGR color codes (38;5;117m), and lines dominated by semicolons/digits/letters. These leak when tmux splits escape sequences across reads. Previously only full sequences were caught. - Default model enforcement (
model-config.ts+ 39 tests) - aoaoe can now enforce a specific model across all supervised opencode sessions. SetdefaultModelin config (e.g. "Claude Opus 4.6") and aoaoe checks every 6 ticks. Sessions using the wrong model get switched via ctrl+x m keyboard automation. Protected sessions are skipped. Discovers available models from opencode config file at~/.config/opencode/opencode.jsonc. - Config fields:
defaultModel,defaultModelPriorityin AoaoeConfig - CLI flag:
--default-model <name>,--default-model-priority <level> - TUI command:
/model(show config + enforcement status),/model set <name>,/model clear - Audit trail:
model_enforcementevent type added - Executor:
restoreModel()now public with configurable priority parameter - Config updated:
defaultModel: "Claude Opus 4.6"in ~/.aoaoe/aoaoe.config.json - Trust ladder fix - protected session blocks no longer trigger trust demotion. Previously any blocked action (including correct blocks on protected sessions) counted as a failure and demoted the daemon to observe mode. Now demotion only happens when ALL actions in a tick fail (actionsOk === 0). This was the #1 operational blocker.
- opencode serve default model - set
"model": "anthropic/claude-opus-4-6"in~/.config/opencode/opencode.jsoncso the daemon's reasoner uses Claude Opus 4.6 instead of Kimi K2.5 (the previous default). Dramatically improves reasoning quality for permission approval, session monitoring, and intervention decisions. - Daemon running in autonomous mode - supervising adventure + code-music sessions. Approving permission prompts, detecting idle sessions, nudging when stuck.
Previously shipped (earlier sessions)
- Tasks file trimmed to adventure + code-music only for initial test run
- Config updated: protectedSessions for all non-target sessions, cost budgets ($50 global, $25/session)
ensureServiceInstalled()- auto-install launchd/systemd service on real daemon start
In progress
- Start aoaoe supervising adventure + code-music sessions - DONE, running in autopilot
- Verify sessions make sustained progress autonomously
Roadmap (priority order)
P0 - Core loop problems (making the daemon less useful than it should be):
Rate limit cascade starvationDONE - executor caps send_input to 2/tick with 5s stagger delay. Config: policies.maxSendInputsPerTick, policies.sendInputStaggerMs.- report_progress goes nowhere - the reasoner generates useful progress summaries
(MR merged, test counts, commit SHAs) but
report_progressalways fails with"no task manager configured". 12 failures in the action log. These summaries should persist somewhere useful: append to a progress.log, update claude.md in the target repo, or surface in the TUI activity area. Currently all that context is thrown away. "user active" conflates "window open" with "user typing"DONE - executor tracks daemon-caused activity and bypasses userActive when it was our nudge.Repetitive nudge messagesDONE - nudge history injected into observation prompt with "do NOT repeat" instruction + per-session stats.
P1 - Usability gaps:
Stale task reconciliationDONE - fs.watch on tasks file, hot-reload with add/remove/update diffing."Stuck at loading screen" detectionDONE - the reasoner noticed code-music showing a "B" (building) state for 6+ cycles but could not diagnose whether it was building, stuck, or crashed. No structured state beyond tmux pane scraping. The session-heartbeat module detects dead panes but not "alive but stuck" panes. Now if output hash is unchanged for 6 ticks AND the session is not user-active, the snapshot is classified aspotentiallyStuckand that flag is included in the reasoner observation.No per-session cost visibility in TUIDONE -formatCompactRows()now appends a dim "$N.NN" badge to each compact agent token, sourced from the existingsessionCostsmap. Zero/missing values render as nothing.
P2 - Deferred:
- MCP connection restoration - model is restored on respawn but MCP server connections are not. Needs opencode SDK support or a config file that opencode reads on startup.
- Service auto-install - macOS launchd done. Linux systemd needs sudo.
Done:
CRITICAL: User input box hijacked by observer/reasoner logsDONECRITICAL: ANSI escape code garbage in you: boxDONECRITICAL: Dead pane recoveryDONECRITICAL: Session config persistenceDONEScope enforcementDONEUpdate prompt handlingDONEDONEaoaoe attachDefault model enforcementDONE
Current State
197 source modules, 198 TUI commands, 5029 tests, zero runtime dependencies.
~61,000 lines of TypeScript. Node stdlib only (node:test, node:fs, node:crypto, etc).
The project is an autonomous supervisor daemon for AI coding sessions. It observes tmux panes, reasons about what it sees (via OpenCode or Claude Code), and acts. On top of the core poll→reason→execute loop, 142 intelligence modules run every daemon tick without LLM calls — pure computation covering fleet observability, cost management, goal tracking, scheduling, health monitoring, and operator tooling.
Every module follows the same pattern: standalone .ts file with pure functions
or a stateful class, a format*() function returning string[] for TUI display,
a test file, wired into input.ts (handler type + slash command) and index.ts
(import + instantiation + TUI handler).
What Just Shipped (v7.4.0 → v7.4.1)
v7.4.1 is a usability-focused release. No new feature modules. The project has 196 intelligence modules but the core experience had gaps that would make a new user close their terminal. This release fixes the P0 blockers.
Usability fixes:
- opencode serve logs to file — stderr/stdout piped to
~/.aoaoe/opencode-serve.loginstead of/dev/null. On startup failure, the last 10 lines are shown to the user. Previously, opencode serve crashes were invisible. - README accuracy — test badge updated from 3,491→4,985, module count from 55→196, project structure rewritten to show core files vs intelligence modules clearly.
- Better missing-tool errors —
validateEnvironment()now shows install links for each missing tool (aoe → GitHub URL, tmux → brew/apt, opencode → GitHub, claude → npm). - Startup summary — daemon now prints version, mode, poll/reason intervals, backend,
API/health URLs, and
/helphint on startup so the user knows what to expect. - Session title collision warning — poller warns when 2+ sessions have the same case-insensitive title, which can cause wrong-session command routing.
- index.ts navigability — table of contents + 11 section markers (§IMPORTS through
§HELPERS). Daemon loop searchable via
§LOOP.DaemonContextinterface created. - 0 sessions = actionable guidance — daemon now tells users how to create a session
(
aoe add <path> -t <title> -c opencode -y) instead of sitting silently. --observepromoted in getting-started flow — the safest, free mode is now step 3 in both--helpandinitnext-steps (before--dry-runwhich costs tokens)./helpis now tiered — bare/helpshows 12 essential commands./help allshows the full 197-command list. New users don't drown.- Default $10 cost budget — generated config now includes
costBudgetswithglobalBudgetUsd: 10.00andautoPauseOnExceed: true. New users can't burn unlimited tokens by accident. - Config hot-reload mentioned in startup banner — users know they can edit config without restarting.
- init next-steps includes --observe — the funnel is now: init → test-context → observe → dry-run → live. Each step adds risk/cost incrementally.
Daily-use robustness (same release):
- opencode.ts startServer() logs to file — the reasoner's own restart path
now pipes to
~/.aoaoe/opencode-serve.log(append mode), matching init.ts. - Config warnings surfaced in TUI — unknown key warnings collected during
loadConfig(), replayed as TUI error entries after startup. Typos visible. - Repeated-error suppression — if the same tick error occurs 3+ times, suppressed to "same error repeated N times" instead of flooding the TUI.
- SQLite recovery less nuclear — transient DB lock now triggers restart- without-wipe first. Only wipes DB after 2 consecutive SQLite errors.
- Claude --resume regex failure warning — after 5 consecutive calls without session ID match, logs warning about increased token usage.
- Lock file message fixed — no longer tells users to delete daemon.lock
(stale locks auto-reclaim). Shows
kill <pid>instead. - pollIntervalMs upper bound — max 300,000ms (5 min). Prevents frozen daemon.
- sessionDirs path validation — warns if mapped paths don't exist on disk.
Crash fix + polish (same release, continued):
- CRITICAL: Fixed require() crash — startup summary used
require("../package.json")which crashes in ESM. Replaced with existingreadPkgVersion(). The daemon was literally broken and couldn't start. Found by actually running it. - Doctor cleans stale locks — instead of telling users to
rm daemon.lock, doctor now auto-cleans stale locks (daemon not running). Showskill <pid>for live daemons. - Doctor opencode version fixed — was using
opencode version(wrong, tries to cd). Fixed toopencode --version. Now shows "1.3.3" instead of an error. - Doctor version output sanitized — filters "Error:" lines from tool version output.
- Missing cost budget warning — existing configs without
costBudgetsnow get a visible warning in the TUI: "no costBudgets configured — LLM spending is unlimited". --log-fileflag — redirect all output to a file for background/service mode. No TUI, no terminal interaction. Enablesaoaoe --log-file /var/log/aoaoe.log &.
Previous: v7.3.0 → v7.4.0 (feature modules)
v7.4.0 added burndown charts, memory leak detection, and session topology visualization.
What Shipped Previously (v7.2.0 → v7.3.0)
v7.3.0 adds error pattern recognition, daemon resource monitoring, and cursor-based API pagination.
session-error-pattern-library.ts+ 22 tests — Curated regex patterns for common errors across 10+ languages (TypeScript, JavaScript, Python, Rust, Go) plus general patterns (OOM, segfault, permission, network, timeout, test, assertion, dependency). 28 built-in patterns. Severity classification (critical/error/warning/info). Category breakdown. Actionable suggestions per match./error-patterns <session>.daemon-resource-monitor.ts+ 13 tests — Track CPU/memory/disk per daemon tick. Samplesprocess.memoryUsage()+process.cpuUsage(). Rolling history with peak tracking. Trend detection (increasing/decreasing/stable) from first-half vs second-half comparison. Heap utilization %. Sparkline visualization of heap over time./resources.api-pagination.ts+ 18 tests — Cursor-based pagination for API list endpoints. Opaque base64url cursors encoding offset + direction. Forward/backward navigation. Configurable page size (default 20, max 100). URL query param parsing. HTTP response headers (X-Total-Count, X-Has-More, X-Next-Cursor)./apiendpoints gain pagination support.
What Shipped Previously (v7.1.0 → v7.2.0)
v7.2.0 adds webhook event push, audit trail retention policies, and complexity-normalized velocity comparison.
api-webhook-push.ts+ 16 tests — Push fleet events to external URLs. Register webhook subscriptions with URL + event filter + optional HMAC-SHA256 signing secret. Delivery with retry + exponential backoff. Toggle enable/disable. Delivery and failure tracking per subscription./webhook-push [add <url>].audit-trail-retention.ts+ 15 tests — Configurable TTL with archival for audit entries. Per-type retention policies (e.g. debug=1d, action=30d). Archive batches created before deletion with metadata (entry count, time range, categories). Wildcard default policy. Stats computation./audit-retention.goal-velocity-normalization.ts+ 23 tests — Normalize velocity across different goal complexities. 5 complexity tiers (trivial→epic) with expected velocity ranges and difficulty weights. Raw %/hr normalized to 0-100 score relative to tier expectations. Weighted velocity = raw × complexity weight. Performance ratings (excellent/good/normal/slow/stalled). Fleet-level comparison with top/bottom performer identification. Bar chart rendering./velocity-norm.
What Shipped Previously (v7.0.0 → v7.1.0)
v7.1.0 adds per-client API rate limiting, cross-session knowledge transfer, and a 2D urgency × importance priority matrix.
api-rate-limiting.ts+ 14 tests — Per-client request throttling for the REST API. Sliding window with burst allowance. Tracks per-client request counts, blocks with 429 when exceeded. Configurable window/max/burst. Automatic expired client cleanup./api-rate-limit.cross-session-knowledge.ts+ 17 tests — Share learnings between sessions. Knowledge store with categories (error-fix, pattern, command, config, dependency, testing, performance). Search by category/tags/repo/keyword.findRelevant()scores entries by repo match + goal keywords + popularity. Usage tracking with session attribution. Eviction keeps most-used entries./knowledge [keyword].fleet-priority-matrix.ts+ 21 tests — Eisenhower-style 2D urgency × importance classification. Urgency from: errors (+30), stuck (+20-40), nudges (+5/ea), low health (+15), deadline (+20). Importance from: priority level (+0-40), blocking (+20), dependents (+5/ea), cost (+5-10), near-completion (+10). Four quadrants: do-first, schedule, delegate, eliminate. ASCII matrix rendering with per-session recommendations./priority-matrix.
What Shipped Previously (v6.5.0 → v7.0.0)
v7.0.0 is the Remote Control API release — the single biggest architectural addition since the 8-gate reasoning pipeline. The daemon is now a platform that external tools can integrate with.
Flagship: Daemon Remote Control API (api-server.ts)
Full REST API server for daemon remote control + external integrations:
- 20 GET endpoints for fleet metrics (SLA, pool, cost, heartbeat, incidents, etc.)
- 2 POST endpoints for actions (pause/resume daemon)
- SSE event stream (
/api/v1/events) for live fleet event broadcasting - Bearer token auth with timing-safe comparison
- OpenAPI 3.1 spec auto-generated from route definitions (
/api/v1/openapi.json) - Route registry pattern — modules register getters/actions, server builds routes
- CORS support for browser-based consumers
- Request stats tracking per-route hit counts
- Config:
apiPort+apiTokenfields inAoaoeConfig - TUI:
/apishows server status, routes, top endpoints, SSE client count - 45 tests covering auth, routing, OpenAPI generation, SSE, CORS, stats
Standard Modules (3 new)
alert-rule-inheritance.ts+ 16 tests — Child alert rules inherit parent severity, cooldown, condition, enabled, and tags. Multi-level depth. Detects orphan rules (missing parent) and circular references. Tree-view TUI rendering with inheritance annotations./alert-inherit.session-affinity-router.ts+ 14 tests — Route sessions to preferred reasoner instances. Weighted scoring from: capacity (load vs max), sticky routing (prefer last-used), tag matching, explicit affinity rules, and historical performance (success rate). Spreads load across instances for multi-session batches./affinity-router.batch-goal-assignment.ts+ 20 tests — Parse structured goal manifests for bulk goal loading. Key-value text format with[session]blocks, supports goal, priority, depends, tags, budget, repo fields. Dependency validation, case-insensitive session matching, template generation from existing sessions./batch-goal [manifest-text].
What Shipped Previously (v3.4.0 → v6.5.0)
90+ modules across 30+ releases. Key categories:
- Fleet intelligence: idle detection, goal conflicts, leaderboard, health history
- Cost management: anomaly throttle, forecast alerts, budget planner, chargeback, trends, optimizer
- Goal tracking: auto-priority, cascading, confidence, NL parser, complexity, mutations, decomp quality
- Observability: event bus, incident timeline, sentiment, pattern evolution, structured log
- Operations: shift handoff, compliance, runbooks, readiness, auto-scaler, diagnostics
- Debugging: action replay, heartbeat, config diff, perf regression, output diff, annotations
- Infrastructure: state machine, config profiles, hot-swap, graceful shutdown, distributed lock, process supervisor
- Visualization: leaderboard, heatmap, sparklines, ops dashboard, dep graph export, time machine
- Integration: webhook integrations, clipboard, transcript export, state export, daily digest
Ambitious Ideas for Fresh Context
1. Web Dashboard v2 (SSE-based browser UI)
Now enabled by the API server. Build a rich browser dashboard consuming the REST API + SSE event stream. Inline HTML/JS (no build step). Show fleet state, session outputs, cost charts, incident timeline — all live-updating. The API server provides every data endpoint needed; this is purely a frontend effort.
2. Reasoner Plugin System (ESM module loading)
Load custom reasoning backends as ESM modules:
- Plugin manifest format (name, version, init function, capabilities)
- Dynamic
import()loading from a plugins directory - Plugin lifecycle (init, validate, swap, disable)
- Could integrate with existing hot-swap module for version management
3. Daemon OpenTelemetry Traces (distributed tracing)
Full tracing for every daemon tick:
- Span per phase (poll, reason, execute, post-tick)
- Trace context propagation through intelligence modules
- Export to Jaeger/Zipkin/OTLP
- Integrate with existing tick profiler + perf regression detector
4. Federation Auto-Discovery (mDNS peer finding)
Enable multiple daemon instances to find each other on a LAN:
- mDNS service advertisement + discovery
- Peer health exchange
- Coordinated session scheduling across hosts
- Build on existing fleet-federation module
5. Session Hibernation (full state save/resume)
Save complete session state to disk and resume later:
- Serialize all in-memory state for a session
- Checkpoint file format with versioning
- Resume from checkpoint without losing context
- Build on existing session-checkpoint module
6. Multi-Reasoner Parallel (concurrent LLM calls + merge)
Call multiple LLM backends simultaneously and merge results:
- Fan-out to 2-3 backends per observation
- Merge/vote on actions (majority wins, confidence weighting)
- Build on existing multi-reasoner + A/B reasoning modules
7. Workflow DAG Editor (interactive definition)
Interactive TUI for defining and editing workflow DAGs:
- ASCII-based node/edge editing
- Validate against workflow-engine rules
- Save/load workflow definitions
- Build on existing workflow-engine + workflow-viz modules
8. Fleet Time-Travel (full state rewind)
Rewind fleet state to any historical snapshot and explore:
- Full state reconstruction from event store
- Side-by-side comparison of any two time points
- "What-if" analysis (replay with different config)
- Build on existing event-sourcing + snapshot-compression + time-machine modules
9. Session Sandbox Mode (isolated environments with rollback)
Run sessions in isolated environments:
- Git branch isolation per session
- Filesystem snapshot before each action
- Automatic rollback on failure
- "Safe mode" that prevents any destructive operations
10. API Client SDK (TypeScript package)
Auto-generated TypeScript SDK from the OpenAPI spec:
- Typed methods for every GET/POST endpoint
- SSE event subscription helpers
- Token auth configuration
- Publish as separate
aoaoe-sdknpm package
Standard Backlog (smaller items, 1 module each)
- Fleet capacity planning — historical utilization dashboard
- Parallel goal execution — split goals into sub-goals across sessions
- Fleet-wide rollback — coordinated revert across all sessions
- Session output search v2 — regex + fuzzy + semantic search
- Daemon heartbeat federation — cross-host daemon health monitoring
- Daemon config version control — git-style config history with diff
- Fleet cost allocation optimizer — minimize cost while maintaining SLA
- Goal dependency auto-generator — infer deps from code import analysis
- Fleet multi-cluster management — manage multiple daemon fleets from one TUI
- Session output streaming API — stream live pane output via SSE per-session
- Goal progress webhook — fire webhooks on goal completion/failure events
- Daemon metrics Grafana dashboard — pre-built JSON dashboard for Prometheus metrics
- Session replay export — export replays as standalone HTML files with embedded player
- Fleet tenant isolation — multi-tenant daemon sharing with resource quotas
- Daemon config templating — Mustache-style variable substitution in config files
- Session output semantic search — vector embeddings for similarity search (optional LLM)
- Fleet cost projection calendar — calendar view of projected daily costs
- Goal decomposition suggestion — AI-free heuristic sub-goal recommendations
- Session output compression — gzip pane output for lower disk usage in long-running sessions
- API request audit log — detailed log of every API request for security auditing
- Fleet health alert escalation chain — multi-tier alert routing (email → Slack → PagerDuty)
- Session error auto-remediation — auto-suggest fixes based on error pattern matches
- Fleet cost anomaly explainer — root cause analysis for cost spikes
- Session output diff highlights — color-coded diff overlays in TUI output view
- API rate limit per-route — per-endpoint rate limits rather than global
- Daemon tick waterfall — visualize per-tick phase timing as waterfall chart
- Session git integration — track branch/commit per session with auto-PR detection
- Fleet notification digest — batched notification summaries instead of per-event noise
- Goal dependency visualization — interactive TUI dep graph with expand/collapse
- Daemon config hot-reload validation — dry-run config changes before applying
- Session output pattern classifier — ML-free Bayesian classifier for output categories
- Fleet session migration — move sessions between daemon instances
- API GraphQL endpoint — alternative to REST for complex fleet queries
Session Workflow (for AI agents)
Current directive: ship and supervise. The daemon works. The usability fixes shipped in v7.4.1. Now the focus is running aoaoe on real tasks (adventure + code-music) and fixing whatever breaks in practice. Priorities:
- Keep the daemon running and supervising real sessions
- Fix issues discovered during real autonomous operation
- Improve task reconciliation and session resilience
- Add features only when they unblock real work
Remaining Usability Work
- P0: index.ts navigability — DONE. 11 section markers (§IMPORTS → §HELPERS) + table of contents. DaemonContext interface created for future extraction. Full physical extraction deferred — the risk (breaking 90 closures, duplicating 264 imports) outweighs the benefit now that the file is searchable.
- P1: Lazy-load intelligence modules — 265 import statements at startup. Only import when the TUI command is first used or the per-tick hook fires.
- P2:
--log-fileflag — run as background service without TUI. - P2: Claude Code session ID fallback — warn instead of silently going stateless.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

