Files
stack/docs/TASKS.md
Jarvis 1c3f28ae5a
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
docs(fleet): define declarative config requirements
Refs #758
2026-07-14 14:21:20 -05:00

31 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
W2 planning-complete Tess interaction agent 0 / 5 milestones docs/tess/TASKS.md Issue #706; independent planning gate PASS; M1 issue #707 ready
W3 planning-complete Native Kanban/SOT 0 / 4 phases docs/native-kanban-sot/TASKS.md Issue #751; canon independently approved; implementation held until canon merges
W4 in-progress Fleet declarative config M0 / 6 milestones W4 DAG below Issue #758; M0 requirements/docs only; implementation blocked on M0 gates

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.

#631 — re-seed preserves user fleet data (CRITICAL) — fix/631-reseed-preserves-fleet-data

  • Status: implemented + tested. PRIMARY: install.sh PRESERVE_PATHS += fleet/*.yaml + fleet/agents + fleet/run (glob-aware cp-fallback); TS parity. SECONDARY: refreshActiveFleetUnits propagates unit fixes to ~/.config/systemd/user on mosaic update. bash F6 + TS + unit tests green. Detail: scratchpads/631-reseed-preserves-fleet.md.

#633 — comms-block emitter + FLEET-LAUNCH runbook — feat/633-comms-block-runbook

  • Status: implemented + tested (TDD). mosaic fleet comms-block <role> [--host] wraps resolveCommsBlock → readFleetCommsBlock; fails loud (stderr + exit 1) on unknown role / missing roster instead of silent empty. docs/fleet/FLEET-LAUNCH.md runbook: worker path + orchestrator .env fold (MOSAIC_AGENT_COMMAND; line-41 [-z] short-circuits line-44 yolo hardcode) + 3 launch gotchas + #632 preserve note + North-Star 4-field arc (harness /model roster-native today; yolo + command/channels = PATH B #636). 177 fleet+comms tests green (6 new resolveCommsBlock cases). PATH A of the A→B→webUI arc. Detail: scratchpads/633-comms-block-runbook.md.

W4 — Fleet declarative configuration management (#758)

Rules: The table below is the canonical M0M5 dependency DAG. Each delivery card owns one short-lived branch and one PR. Gate cards (*-ROR, *-SEC, *-VAL, *-MERGE) independently attest to the referenced delivery PR and do not author that PR. No implementation starts until FCM-M0-MERGE is complete. done requires merged PR, terminal-green CI, and linked tracking closure/evidence.

id status description issue agent repo branch depends_on estimate notes
FCM-M0-01 in-progress Ratify requirements, authority/lifecycle/migration decisions, DAG, docs IA checklist, and shipped artifact inventory #758 haiku stack docs/issue-758-m0 18K One docs-only PR; maps FCM-AC-01; no source/schema/roles/examples/systemd/live changes
FCM-M0-ROR not-started Independent requirements/content review of M0 PR #758 sonnet stack FCM-M0-01 8K Verify approved plan fidelity, DAG completeness, links, and every card→AC mapping; non-author attestation
FCM-M0-SEC not-started Independent security review of authority, quarantine, lifecycle, and migration requirements #758 sonnet stack FCM-M0-01 8K Threat-model requirements only; verify no secret-value handling and no surprise-start path; non-author attestation
FCM-M0-VAL not-started Validator certificate for M0 acceptance baseline #758 sonnet stack FCM-M0-ROR, FCM-M0-SEC 6K Confirm FCM-AC-01 and no unresolved architecture blocker; validator cannot merge
FCM-M0-MERGE not-started Merge-gate approval and squash merge of M0 PR #758 haiku stack FCM-M0-VAL 3K Terminal-green CI required; unlocks implementation
FCM-M1-01 not-started Implement narrow v2 executable schema, canonical serialization, and schema/parser parity suite #758 codex stack feat/fcm-v2-contract FCM-M0-MERGE 30K One PR; FCM-AC-02; structural validation only, no lifecycle mutation
FCM-M1-02 not-started Share existing profile/persona/provision resolver for roster semantic validation and topology policy #758 codex stack feat/fcm-shared-role-validation FCM-M1-01 28K One PR; FCM-AC-03; parallel resolver forbidden
FCM-M1-03 not-started Add/ratify validator, team-leader, interaction role contracts, aliases, authority, and lease tests #758 codex stack feat/fcm-role-authority FCM-M1-02 24K One PR; FCM-AC-03; merge-gate remains sole merger
FCM-M1-04 not-started Resolve every shipped example/profile disposition and add CI validation through shared contract/resolver #758 codex stack feat/fcm-example-profile-migration FCM-M1-03 28K One PR; FCM-AC-04; inventory rows cannot remain decision-required
FCM-M1-05 not-started Implement non-mutating config show, validate, and deterministic plan with stable JSON/exit codes #758 codex stack feat/fcm-config-read-plan FCM-M1-02 32K One PR; FCM-AC-05, FCM-AC-09, FCM-AC-10
FCM-M1-DOC not-started Publish v2 fields, roles/leases, desired-vs-observed, and example/profile disposition docs #758 haiku stack docs/fcm-m1-contract FCM-M1-03, FCM-M1-04, FCM-M1-05 16K One PR; FCM-AC-14; update sitemap and docs checklist evidence
FCM-M1-ROR not-started Independent correctness review of all M1 delivery PRs #758 sonnet stack FCM-M1-01, FCM-M1-02, FCM-M1-03, FCM-M1-04, FCM-M1-05, FCM-M1-DOC 14K Exact-head reviews; schema/parser/resolver parity and docs checked
FCM-M1-SEC not-started Independent security review of validation, authority, aliases, and input hardening #758 sonnet stack FCM-M1-01, FCM-M1-02, FCM-M1-03, FCM-M1-04, FCM-M1-05 12K Fuzz/injection/topology/policy findings must be resolved
FCM-M1-VAL not-started Validator certificate for M1 contract/compiler exit #758 sonnet stack FCM-M1-ROR, FCM-M1-SEC 8K Certify FCM-AC-0205 and no mutation/lifecycle path
FCM-M1-MERGE not-started Merge-gate approval for M1 completion #758 haiku stack FCM-M1-VAL 4K All M1 PRs merged, terminal-green, inventory resolved
FCM-M2-01 not-started Implement deterministic mode-0600 .env.generated projection with generation/digest stamps #758 codex stack feat/fcm-generated-env FCM-M1-MERGE 30K One PR; FCM-AC-06; no unit launch migration yet
FCM-M2-02 not-started Implement strict data-only .env.local parser, shadow rejection, and forbidden legacy-key quarantine #758 codex stack feat/fcm-local-env-quarantine FCM-M2-01 34K One PR; FCM-AC-06; never output values or privileged commands
FCM-M2-03 not-started Migrate generic unit/launcher to generated input with fail-closed digest validation #758 codex stack feat/fcm-launch-chain FCM-M2-02 32K One PR; FCM-AC-06; old %i.env cannot launch v2
FCM-M2-04 not-started Implement generation-guarded atomic fleet-agent create/get/list/update/delete and compatibility aliases #758 codex stack feat/fcm-atomic-crud FCM-M2-03 38K One PR; FCM-AC-07, FCM-AC-12; create defaults stopped; no apply engine
FCM-M2-DOC not-started Publish generated-env chain, quarantine, and CRUD operator/developer guides #758 haiku stack docs/fcm-m2-projection-crud FCM-M2-02, FCM-M2-03, FCM-M2-04 16K One PR; FCM-AC-14; synthetic values only
FCM-M2-ROR not-started Independent correctness review of M2 projection and CRUD PRs #758 sonnet stack FCM-M2-01, FCM-M2-02, FCM-M2-03, FCM-M2-04, FCM-M2-DOC 14K Crash/concurrency/idempotency/permissions review
FCM-M2-SEC not-started Independent security review of launch chain, overrides, quarantine, paths, and diagnostics #758 sonnet stack FCM-M2-01, FCM-M2-02, FCM-M2-03, FCM-M2-04 16K Adversarial shell/systemd/tmux/path/secret tests; FCM-AC-0607
FCM-M2-VAL not-started Validator certificate for M2 safe-projection/CRUD exit #758 sonnet stack FCM-M2-ROR, FCM-M2-SEC 8K Prove no hidden launch authority or surprise starts
FCM-M2-MERGE not-started Merge-gate approval for M2 completion #758 haiku stack FCM-M2-VAL 4K All M2 PRs merged and terminal-green
FCM-M3-01 not-started Implement locked local-only config apply with ordered convergence and machine-readable recovery #758 codex stack feat/fcm-local-apply FCM-M2-MERGE 40K One PR; FCM-AC-0810; zero calls for remote/unmanaged entries
FCM-M3-02 not-started Implement transient/persisted start, stop, restart, and fleet-wide lifecycle transitions #758 codex stack feat/fcm-lifecycle FCM-M3-01 36K One PR; FCM-AC-0809; exact socket targeting
FCM-M3-03 not-started Implement status, verify, and doctor desired/observed/generation/drift/readiness contracts #758 codex stack feat/fcm-status-doctor FCM-M3-01 30K One PR; FCM-AC-0910; safe effective output only
FCM-M3-04 not-started Add failure-injection, reboot/linger, unmanaged ownership, socket, and rollback integration suite #758 codex stack test/fcm-lifecycle-recovery FCM-M3-02, FCM-M3-03 32K One PR; FCM-AC-0810
FCM-M3-DOC not-started Publish CLI, lifecycle, status/drift, reconcile/recover, and systemd/tmux troubleshooting docs #758 haiku stack docs/fcm-m3-operations FCM-M3-02, FCM-M3-03, FCM-M3-04 18K One PR; FCM-AC-14
FCM-M3-ROR not-started Independent correctness review of M3 lifecycle/recovery PRs #758 sonnet stack FCM-M3-01, FCM-M3-02, FCM-M3-03, FCM-M3-04, FCM-M3-DOC 16K Exact targeting, state transitions, recovery ordering
FCM-M3-SEC not-started Independent security review of apply/lifecycle authority and unmanaged-resource protection #758 sonnet stack FCM-M3-01, FCM-M3-02, FCM-M3-03, FCM-M3-04 16K Policy denial, injection, TOCTOU, no-value output
FCM-M3-VAL not-started Validator certificate for M3 local lifecycle exit #758 sonnet stack FCM-M3-ROR, FCM-M3-SEC 10K Certify full transition table and FCM-AC-0810
FCM-M3-MERGE not-started Merge-gate approval for M3 completion #758 haiku stack FCM-M3-VAL 4K All M3 PRs merged and terminal-green
FCM-M4-01 not-started Implement field-complete v1 inventory, preview, aliases, unsupported-field reporting, and v2 writer #758 codex stack feat/fcm-v1-migrator FCM-M3-MERGE 38K One PR; FCM-AC-1112; no mutation without --write
FCM-M4-02 not-started Implement observed-state preservation, canary cutover, orphan classification, and reversible rollback #758 codex stack feat/fcm-migration-cutover FCM-M4-01 40K One PR; FCM-AC-11; unknown state blocks; stopped stays stopped
FCM-M4-03 not-started Add synthetic 9-managed/3-unmanaged migration, env quarantine, upgrade, and rollback E2E fixtures #758 codex stack test/fcm-migration-e2e FCM-M4-02 34K One PR; FCM-AC-1112; no real credential/live-host data
FCM-M4-DOC not-started Publish v1→v2 field map, aliases, example disposition, backup/restore, and migration runbook #758 haiku stack docs/fcm-m4-migration FCM-M4-01, FCM-M4-02, FCM-M4-03 18K One PR; FCM-AC-14
FCM-M4-ROR not-started Independent correctness review of M4 migration/cutover PRs #758 sonnet stack FCM-M4-01, FCM-M4-02, FCM-M4-03, FCM-M4-DOC 16K Field completeness, state preservation, rollback fidelity
FCM-M4-SEC not-started Independent security review of migration inventory, quarantine, and cutover #758 sonnet stack FCM-M4-01, FCM-M4-02, FCM-M4-03 16K Secret-safe reporting and non-destructive ownership proof
FCM-M4-VAL not-started Validator certificate for M4 compatibility/migration exit #758 sonnet stack FCM-M4-ROR, FCM-M4-SEC 10K Certify FCM-AC-1112 and rollback evidence
FCM-M4-MERGE not-started Merge-gate approval for M4 completion #758 haiku stack FCM-M4-VAL 4K All M4 PRs merged and terminal-green
FCM-M5-01 not-started Complete fleet documentation IA, sitemap, validated examples, and checklist evidence #758 haiku stack docs/fcm-complete-ia FCM-M4-MERGE 28K One PR; FCM-AC-14; no required checklist item incomplete
FCM-M5-02 not-started Add package/install/update asset-drift and site-owned-state preservation qualification #758 codex stack test/fcm-package-upgrade FCM-M4-MERGE 32K One PR; FCM-AC-13
FCM-M5-03 not-started Run clean-home install, cold-start, local canary, rolling restart, failure, and rollback qualification #758 codex stack test/fcm-dogfood-qualification FCM-M5-01, FCM-M5-02 30K One PR; FCM-AC-08, FCM-AC-11, FCM-AC-13; synthetic harness/evidence only; never mutate production fleet
FCM-M5-ROR not-started Independent final correctness and documentation review #758 sonnet stack FCM-M5-01, FCM-M5-02, FCM-M5-03 16K Verify FCM-AC-0114 evidence and docs links/examples
FCM-M5-SEC not-started Independent final security review and threat-gate closure #758 sonnet stack FCM-M5-01, FCM-M5-02, FCM-M5-03 18K Review launch/migration/lifecycle authority, secret handling, recovery
FCM-M5-VAL not-started Ultron/validator final acceptance certificate #758 sonnet stack FCM-M5-ROR, FCM-M5-SEC 12K Independent certificate for FCM-AC-0115; no merge authority
FCM-M5-MERGE not-started Merge-gate final approve-to-land, terminal CI verification, issue closure, and release handoff #758 haiku stack FCM-M5-VAL 6K Sole merge path; FCM-AC-15; squash merge and close #758 after green CI

W4 acceptance mapping check

Every delivery card maps to at least one FCM-AC-* criterion in its notes. Gate cards verify those mappings rather than introducing implementation. The detailed documentation checklist is docs/scratchpads/758-fleet-config-docs-ia-checklist.md; the shipped artifact inventory is docs/tasks/758-legacy-example-profile-disposition.md.