Files
stack/docs/TASKS.md
Jason Woltje 6186c6dd23
Some checks failed
ci/woodpecker/push/ci Pipeline was canceled
ci/woodpecker/pr/ci Pipeline was canceled
docs(fleet): consolidate north-star doctrine — budget governance + control plane + identity (#620-adjacent)
Folds Mos's two consolidated drafts (budgeting/200k/delegation + control-plane/
central-register) into docs/fleet/north-star.md as ONE conflict-free PR per the
merge-map. Doctrine only — no implementation.

- Stack table: +Central register (Postgres fleet schema) + Budget/spend governance
  rows; PoC-socket-hygiene note.
- New '## Budget & token governance': even-spread pacing (Jason override), hard-cap
  downgrade→queue→refuse ladder, multi-sub auto-routing, historical spend learning,
  #558 budget CLI UX; + TTY OPS INVARIANT note.
- New '## Control plane & central register': Postgres fleet schema, gateway-API-only
  access, dispatcher = @mosaicstack/forge pipeline engine + thin forge-exec adapter
  (NOT a new daemon), register backs forge, 'board' role = forge BOD.
- Phased roadmap 4/5 annotated; Decisions of record (2026-06-22) extended (200k cap,
  worker bound #8, delegation discipline, budget governance, spend mandate, unified
  identity = Fleet, role-based session naming) + control-plane subgroup.
- Future enhancements: Matrix-on-local-homeserver future transport (F4) + tmux
  attack-surface hardening. Assumptions extended.

Tracked separately / out of scope: #622 (spend template std), #623 (telemetry
product), #625 (tenant_id schema), #628 (forge-exec adapter).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EsgTQzV5YUGk1JtCLP4B83
2026-06-22 15:03:14 -05:00

7.8 KiB
Raw Blame History

Tasks — MVP (Top-Level Rollup)

Single-writer: orchestrator only. Workers read but never modify.

Mission: mvp-20260312 Manifest: docs/MISSION-MANIFEST.md

This file is a rollup. Per-workstream task breakdowns live in workstream task files (e.g. docs/federation/TASKS.md). Workers operating inside a workstream should treat the workstream file as their primary task source; this file exists for orchestrator-level visibility into MVP-wide state.

Status values: not-started | in-progress | done | blocked | failed

Workstream Rollup

id status workstream progress tasks file notes
W1 planning-complete Federation v1 (FED) 0 / 7 milestones docs/federation/TASKS.md M1 task breakdown populated; M2M7 deferred to mission planning

Cross-Cutting Tracking

These are MVP-level checks that don't belong to any single workstream. Updated by the orchestrator at each session.

id status description notes
MVP-T01 done Author MVP-level manifest at docs/MISSION-MANIFEST.md This session (2026-04-19); PR pending
MVP-T02 done Archive install-ux-v2 mission state to docs/archive/missions/install-ux-v2-20260405/ IUV-M03 retroactively closed (shipped via PR #446 + releases 0.0.27→0.0.29)
MVP-T03 done Land federation v1 planning artifacts on main PR #468 merged 2026-04-19 (commit 66512550)
MVP-T04 not-started Sync .mosaic/orchestrator/mission.json MVP slot with this manifest (milestone enumeration, etc.) Coord state file; consider whether to repopulate via mosaic coord or accept hand-edit
MVP-T05 in-progress Kick off W1 / FED-M1 — federated tier infrastructure Session 16 (2026-04-19): FED-M1-01 in-progress on feat/federation-m1-tier-config
MVP-T06 not-started Declare additional workstreams (web dashboard, TUI/CLI parity, remote control, etc.) as scope solidifies Track each new workstream by adding a row to the Workstream Rollup
T-A292E96F in-progress Fix Mosaic Gitea PR metadata/login wrapper regression for U-Connect merge preflight Kanban t_a292e96f; branch fix/t-a292e96f-gitea-pr-metadata; scratchpad docs/scratchpads/t-a292e96f-gitea-pr-metadata.md

Pointer to Active Workstream

Active workstream is W1 — Federation v1. Workers should:

  1. Read docs/federation/MISSION-MANIFEST.md for workstream scope
  2. Read docs/federation/TASKS.md for the next pending task
  3. Follow per-task agent + tier guidance from the workstream manifest

Thin-core prompt diet (#528) — feat/contract-thin-core

  • Status: PR open, awaiting maintainer merge ratification (fleet-governing change).
  • Cut always-injected contract AGENTS+TOOLS+RUNTIME 8,827→4,122 tok (53%); all 12 hard gates intact.
  • Validation: deterministic gate-checklist PASS; headless A/B thin 7/9 vs monolith 5/9. Detail: scratchpads/contract-thin-core.md.

P5 — Overlay composer + cross-harness (#604) — feat/p5-overlay-composer

  • Status: MERGED to main (#605). R7 (compose-contract) + R8 (cross-harness) + R9 (composer test).
  • composeContract({harness, mosaicHome}) pure fn + .local overlay deltas-by-value; mosaic compose-contract <harness> command; AGENTS bare-launch nudge; composer spec (per-tier anchor + Tier-3 byte-equality). Detail: scratchpads/p5-overlay-composer.md.

P6 — Docs, compliance matrix, alpha tag (#606) — feat/p6-docs-compliance-alpha

  • Status: in-repo deliverables done (CONTRIBUTING.md + harness×gate compliance matrix + check-resident-budget.sh + CI wiring + ALPHA-DOD.md). Remaining: alpha tag v0.0.39-alpha (Lead, post-merge). aiguide reconcile merged (#8). Detail: scratchpads/p6-docs-compliance-alpha.md.

F3-m3 — mosaic update re-seeds framework + relaunches agents (#609) — feat/f3-m3-update-reseed

  • Status: implemented + tested. Closes R13: mosaic update now re-seeds the framework (data-safe MOSAIC_SYNC_ONLY) after the CLI install so shipped launcher/runtime changes activate; --relaunch restarts rostered agents; --no-reseed opts out. Detail: scratchpads/f3-m3-update-reseed.md.

Fleet-polish bundle — boot-survival symmetry (#611) — feat/fleet-polish-bundle

  • Status: MERGED to main. disable-on-remove (boot-resurrection bug, TDD) + add-enable + init-R5 hard guarantee. 4 new + 147 existing fleet tests green. Detail: scratchpads/fleet-polish-bundle.md.

Fleet enhancer role + two-agent floor (#614) — feat/fleet-enhancer-floor

  • Status: MERGED to main. enhancer added to 4 presets; init guarantees 1 orchestrator + >=1 enhancer; remove protects the sole enhancer; enhancer role doc. 155 fleet tests green. Detail: scratchpads/fleet-enhancer-floor.md.

F4 — Orchestrator chat connector + Matrix (#616) — feat/f4-matrix-connector

  • Status: Phase 1 MERGED (#617: connector interface send/subscribe/health + registry + roster schema + design). Phase 2a (#618): Matrix CS-API client + factory. 20 connector tests green; no fleet.ts changes. Remaining Phase 2: init/configure connector-selection UX + roster wiring, systemd launch wiring, Conduit deploy guide. Detail: scratchpads/f4-matrix-connector.md.

Fleet onboarding-injection — comms cheat-sheet + peer roster (#620) — feat/fleet-comms-onboarding

  • Status: implemented + tested. Injects # Fleet Comms (peer roster + cross-host agent-send commands + FLIP-reply + --verify) into each spawned fleet agent via composeContract; optional per-agent host/ssh/socket roster fields (socket: named → -L, unset → default socket no -L). 10 + 2 tests green. Detail: scratchpads/fleet-comms-onboarding.md.

Fleet stand-up fixes — model_hint→--model + socket-default trap (#626) — feat/fleet-standup-fixes

  • Status: implemented + tested. FIX1 model_hint→MOSAIC_AGENT_MODEL→--model. FIX2 absent socket = default tmux socket (no -L) across parse/spawn/systemd-unit/observe (socketArgs helper, bare-empty shellEnvValue, conditional -L). 158 fleet tests green; shipped presets unaffected (explicit socket_name). Detail: scratchpads/fleet-standup-fixes.md.

north-star doctrine consolidation — doc PR — feat/north-star-doctrine

  • Status: applied Mos's consolidated merge-map to docs/fleet/north-star.md (budget governance + control plane/central register + 200k cap + delegation + unified-identity Fleet + role-based naming + tmux security + drift re-captures). Doctrine only; #622/#623/#625/#628 out-of-scope. Conflict checklist green. Detail: scratchpads/north-star-doctrine.md.