Repository navigation
feat(aggregator): slice 1 — live needs-you + quota panels (fleet feed + laptop server) - #892
Conversation
…ptop server Quota (#851) renders the fleet feed produced on the sandbox by scripts/collect-fleet-feed.ts: per-pool extractors over the stewardship quota view's dated reads (fail-soft to identity + note), guidance computed from pool state. Attention (#852) merges laptop sessions mapped live from the OpenChamber-managed server (45s cache) with sandbox sessions from the feed, both through the shared OpenCode v2 mapper in src/sources/opencode.ts. Server binds PM_AGG_HOSTS (loopback + tailnet on the laptop, no public route). Refs #890, #851, #852
…dy-for-agent tailnet bind pm-aggregator.service (user unit, env rendered from the laptop SOPS file by aggregator/install.sh) binds loopback + tailnet per Drew's 2026-10-25 network call. ready-for-agent gets the same treatment: bare --host (all interfaces) so 6056 answers on the tailnet address too. The sandbox collector timer ships the fleet feed every ~5 min. Refs #890
The quota sources, server password file, and laptop SSH key live in that user's home; a root system service cannot read them. Refs #890
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 26 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Implements slice 1 of the aggregator dashboard per #890, design in #851 (quota + throughput) and #852 (needs-you).
What ships
Needs-you (#852) — fleet sessions classified into the six states, attention-ordered, evidence inline:
src/sources/opencode.ts): active set, pending permission requests, open forms, last-turn errors (idle error / finish=error / errored tool part), consecutive identical errors, long-running tool calls. Keeper supervision entries fromjules-review-state.jsonannotate matching sessions.Quota (#851) — from the fleet feed file produced on the sandbox by
scripts/collect-fleet-feed.ts(~5 min systemd timer):src/quota-extract.ts) over the stewardship quota view's dated reads; fail-soft — a pool whose read pattern stops matching renders with identity + a 'no current read' note. Live per-pool burn attribution from the sandbox server's active sessions; model-choice guidance (headroom / burn-before-reset / do-not-start) computed at collection (src/quota-guidance.ts).metathe only door); no 'muse plan' pool, no assistant-Power pool.Network (Drew 2026-10-25) — the aggregator binds loopback + tailnet (
PM_AGG_HOSTS, user unitpm-aggregator), no public route. In the same pass, ready-for-agent now binds all interfaces (bare--host) so 6056 answers on the tailnet address too.Deployment —
aggregator/install.sh(SOPS-rendered env, user unit, health gates); sandbox collector units inaggregator/systemd/.Verified live (2026-10-25)
http://127.0.0.1:4870andhttp://100.99.113.103:4870: /quota and /attention 200, real data, provenance states each facet's source + feed age; Meta pool renders walled until its 19:00 CDT reset.ssshows 0.0.0.0:6056; loopback + tailnet 200.bun test40 pass;bunx tsc --noEmitclean.Deferred to slice 2 (per #890)
Projector-ized live per-source quota/attention feeds; throughput burn segments + token-rate history; session -> PR join; Jules sessions in the attention feed; action affordances (view stays read-only); a public password-gated hostname if wanted.
Refs #890
Refs #851
Refs #852
Need help on this PR? Tag
@codesmith-botwith what you need.