{
  "schema": "friday.mission_control.status.v1",
  "generated_at": "2026-04-25 18:55 IST",
  "mission_control": {
    "name": "Friday Mission Control",
    "mode": "global_owner_command_room",
    "root_url": "https://friday.seaes.in/",
    "status_url": "https://friday.seaes.in/status.json",
    "registries": {
      "projects": "/srv/factory/mission-control/config/project-registry.json",
      "agents": "/srv/factory/mission-control/config/agent-registry.json",
      "live_agents": "/srv/factory/state/agents"
    },
    "docs": {
      "operating_manual": "/srv/factory/ops/mission-control-operating-manual.md",
      "readiness": "/srv/factory/ops/mission-control-readiness.md",
      "blueprint": "/srv/factory/ops/global-system-blueprint.md",
      "mission_control_readme": "/srv/factory/mission-control/README.md",
      "subagent_reliability_policy": "/srv/factory/ops/subagent-reliability-policy.md",
      "project_cell_template": "/srv/factory/ops/project-cell-template.md",
      "mach_hms_project_001": "/srv/factory/ops/mach-hms-project-001.md",
      "openclaw_cutover_plan": "/srv/factory/ops/openclaw-mission-control-cutover-plan.md"
    },
    "guardrails": [
      "HMS is Project 001; no feature coding starts until Mihir gives explicit green signal.",
      "Mission Control remains global and truth-first; do not replace it with a prettier zero-state UI.",
      "Subagent success is not accepted until Friday independently verifies evidence."
    ]
  },
  "services": {
    "factory_runner": "active",
    "factory_heartbeat": "active",
    "mission_control_render_timer": "active",
    "friday_global_pulse_timer": "active"
  },
  "queue": {
    "queued": 0,
    "running": 0,
    "done": 44,
    "failed": 0
  },
  "repos": {
    "mach_hms": "012f384",
    "plane": "c62930ebc",
    "forgejo": "9c4fc72985"
  },
  "http": {
    "mission_control_root": 200,
    "mission_control_status": 200,
    "plane_path": 200,
    "plane_api": 200,
    "forgejo_path": 200,
    "forgejo_direct": 200,
    "openclaw_path": 200,
    "openclaw_dashboard": 200,
    "openclaw_api_health": 200
  },
  "agents": [
    {
      "id": "friday",
      "name": "Friday",
      "role": "Chief of Staff / Controller",
      "current_task": "Operating global Mission Control; HMS onboarded as Project 001; coding paused until Mihir green signal",
      "workspace": "/srv/factory",
      "authority": "Coordinate, verify, report, and escalate. Mutating infrastructure only when explicitly asked or clearly within current task scope.",
      "status": "active",
      "last_seen": "2026-04-25 18:55 IST"
    },
    {
      "id": "claude",
      "name": "Claude",
      "role": "Architect / Spec reviewer",
      "current_task": "Waiting for green signal to start Structured Discharge Summary blueprint",
      "workspace": "/srv/factory/workspaces/mach-hms",
      "authority": "Design and review; no merge authority.",
      "status": "idle",
      "last_seen": ""
    },
    {
      "id": "codex",
      "name": "Codex",
      "role": "Coder",
      "current_task": "Waiting for approved implementation task",
      "workspace": "/srv/factory/workspaces/mach-hms",
      "authority": "Implement in isolated branch/workspace; must run verification before handoff.",
      "status": "idle",
      "last_seen": ""
    },
    {
      "id": "reviewer",
      "name": "Reviewer subagents",
      "role": "Spec + quality review",
      "current_task": "Waiting for code/spec output to review",
      "workspace": "/srv/factory/workspaces/mach-hms",
      "authority": "Challenge assumptions; verify diffs, tests, and acceptance criteria.",
      "status": "idle",
      "last_seen": ""
    },
    {
      "id": "verifier",
      "name": "Verifier subagents",
      "role": "Tests / smoke checks",
      "current_task": "Waiting for test or deployment verification work",
      "workspace": "/srv/factory/workspaces/mach-hms",
      "authority": "Run checks and produce evidence; never mark unverified work as green.",
      "status": "idle",
      "last_seen": ""
    }
  ],
  "agent_summary": {
    "total": 5,
    "active": 1,
    "idle": 4,
    "blocked": 0,
    "other": 0
  },
  "projects": {
    "registry_path": "/srv/factory/mission-control/config/project-registry.json",
    "registry_exists": true,
    "registry_version": 1,
    "projects": [
      {
        "id": "P001",
        "slug": "mach-hms",
        "name": "MACH HMS",
        "category": "product / healthcare",
        "owner": "Mihir Kshirsagar",
        "status": "onboarded_not_started",
        "priority": 100,
        "phase": "Project 001 onboarded; development paused until Mihir green signal",
        "summary": "Flagship AI-enabled hospital management system based on the CARE fork. Mission Control tracks it as the first project cell; feature coding has not started.",
        "github_repo": "mihir-maker/mach-hms",
        "dashboard_url": "/project/mach-hms",
        "mission_control_url": "https://friday.seaes.in/",
        "plane_url": "https://friday.seaes.in/plane/",
        "forgejo_url": "https://friday.seaes.in/forgejo/",
        "local_paths": [
          {
            "label": "Repo workspace",
            "path": "/srv/factory/workspaces/mach-hms",
            "exists": true,
            "required": true,
            "kind": "directory",
            "git": {
              "path": "/srv/factory/workspaces/mach-hms",
              "exists": true,
              "is_git": true,
              "branch": "main",
              "commit": "012f384",
              "status": "## main...origin/main",
              "dirty": false
            }
          },
          {
            "label": "Factory root",
            "path": "/srv/factory",
            "exists": true,
            "required": true,
            "kind": "directory"
          },
          {
            "label": "Mission Control",
            "path": "/srv/factory/mission-control",
            "exists": true,
            "required": true,
            "kind": "directory"
          },
          {
            "label": "VPS onboarding checklist",
            "path": "/srv/factory/ops/mach-hms-vps-onboarding-checklist.md",
            "exists": true,
            "required": false,
            "kind": "file"
          },
          {
            "label": "Project 001 control doc",
            "path": "/srv/factory/ops/mach-hms-project-001.md",
            "exists": true,
            "required": true,
            "kind": "file"
          },
          {
            "label": "Subagent reliability policy",
            "path": "/srv/factory/ops/subagent-reliability-policy.md",
            "exists": true,
            "required": true,
            "kind": "file"
          },
          {
            "label": "Mission Control operating manual",
            "path": "/srv/factory/ops/mission-control-operating-manual.md",
            "exists": true,
            "required": true,
            "kind": "file"
          }
        ],
        "health_urls": [
          "https://friday.seaes.in/",
          "https://friday.seaes.in/status.json",
          "https://friday.seaes.in/plane/",
          "https://friday.seaes.in/forgejo/"
        ],
        "metrics": {
          "modules_total": 13,
          "modules_complete": 0,
          "open_prs_expected": 0
        },
        "module_phases": {
          "phase_1_foundation": [
            1,
            2,
            4,
            12
          ],
          "phase_2_clinical": [
            3,
            5,
            6,
            7
          ],
          "phase_3_operations": [
            8,
            9,
            10,
            11
          ],
          "phase_4_portal": [
            13
          ]
        },
        "guardrails": [
          "No HMS feature coding until Mihir explicitly green-lights it.",
          "GitHub remains source of truth for branches, PRs, and issues.",
          "Every coding slice must have a scope packet, isolated workspace, test command, reviewer, verifier, and rollback note.",
          "Subagent success is not accepted until Friday independently verifies files, diffs, tests, or service health.",
          "Failures are retried with a changed strategy when safe; persistent blockers are escalated honestly.",
          "No background worker should consume premium ChatGPT/Claude budget without explicit approval.",
          "Friday reports blockers and meaningful milestones only; no routine progress noise."
        ],
        "next_control_step": "After Mihir green-lights HMS execution: #1 Discharge Summary spec packet, then isolated branch/workspace, tests, review, PR.",
        "control_doc": "/srv/factory/ops/mach-hms-project-001.md",
        "health": [
          {
            "url": "https://friday.seaes.in/",
            "status": 200,
            "ok": true
          },
          {
            "url": "https://friday.seaes.in/status.json",
            "status": 200,
            "ok": true
          },
          {
            "url": "https://friday.seaes.in/plane/",
            "status": 200,
            "ok": true
          },
          {
            "url": "https://friday.seaes.in/forgejo/",
            "status": 200,
            "ok": true
          }
        ],
        "readiness": "ready"
      }
    ]
  },
  "project_summary": {
    "total": 1,
    "ready": 1,
    "attention": 0,
    "active_or_onboarded": 1
  },
  "mach_hms": {
    "total": 13,
    "complete": 0,
    "percent_complete": 0.0,
    "current_module": "Structured Discharge Summary",
    "repo_path": "/srv/factory/workspaces/mach-hms",
    "git_head": "012f384",
    "git_status": "## main...origin/main",
    "coding_status": "not_started_until_green_signal",
    "issues": [
      {
        "number": 1,
        "title": "SPEC: Structured Discharge Summary",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-1",
          "assigned-claude"
        ]
      },
      {
        "number": 2,
        "title": "SPEC: Insurance & TPA Billing",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-1",
          "assigned-claude"
        ]
      },
      {
        "number": 3,
        "title": "SPEC: Operation Theatre Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-2",
          "assigned-claude"
        ]
      },
      {
        "number": 4,
        "title": "SPEC: MIS Reports & Analytics Dashboard",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-1",
          "assigned-claude"
        ]
      },
      {
        "number": 5,
        "title": "SPEC: Blood Bank Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-2",
          "assigned-claude"
        ]
      },
      {
        "number": 6,
        "title": "SPEC: Advanced Lab / LIS Enhancement",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-2",
          "assigned-claude"
        ]
      },
      {
        "number": 7,
        "title": "SPEC: Radiology / RIS + PACS Viewer",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-2",
          "assigned-claude"
        ]
      },
      {
        "number": 8,
        "title": "SPEC: HR, Payroll & Shift Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-3",
          "assigned-claude"
        ]
      },
      {
        "number": 9,
        "title": "SPEC: Diet & Kitchen Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-3",
          "assigned-claude"
        ]
      },
      {
        "number": 10,
        "title": "SPEC: NABH Compliance Templates",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-3",
          "assigned-claude"
        ]
      },
      {
        "number": 11,
        "title": "SPEC: Advanced Inventory & Vendor Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-3",
          "assigned-claude"
        ]
      },
      {
        "number": 12,
        "title": "SPEC: ABDM / ABHA Integration",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-1",
          "assigned-claude"
        ]
      },
      {
        "number": 13,
        "title": "SPEC: Patient Self-Service Portal",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-4",
          "assigned-claude"
        ]
      }
    ],
    "open_prs": 0,
    "prs": [],
    "blocked_issues": 0
  },
  "github": {
    "repo": "mihir-maker/mach-hms",
    "issues": [
      {
        "number": 1,
        "title": "SPEC: Structured Discharge Summary",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-1",
          "assigned-claude"
        ]
      },
      {
        "number": 2,
        "title": "SPEC: Insurance & TPA Billing",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-1",
          "assigned-claude"
        ]
      },
      {
        "number": 3,
        "title": "SPEC: Operation Theatre Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-2",
          "assigned-claude"
        ]
      },
      {
        "number": 4,
        "title": "SPEC: MIS Reports & Analytics Dashboard",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-1",
          "assigned-claude"
        ]
      },
      {
        "number": 5,
        "title": "SPEC: Blood Bank Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-2",
          "assigned-claude"
        ]
      },
      {
        "number": 6,
        "title": "SPEC: Advanced Lab / LIS Enhancement",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-2",
          "assigned-claude"
        ]
      },
      {
        "number": 7,
        "title": "SPEC: Radiology / RIS + PACS Viewer",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-2",
          "assigned-claude"
        ]
      },
      {
        "number": 8,
        "title": "SPEC: HR, Payroll & Shift Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-3",
          "assigned-claude"
        ]
      },
      {
        "number": 9,
        "title": "SPEC: Diet & Kitchen Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-3",
          "assigned-claude"
        ]
      },
      {
        "number": 10,
        "title": "SPEC: NABH Compliance Templates",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-3",
          "assigned-claude"
        ]
      },
      {
        "number": 11,
        "title": "SPEC: Advanced Inventory & Vendor Management",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-3",
          "assigned-claude"
        ]
      },
      {
        "number": 12,
        "title": "SPEC: ABDM / ABHA Integration",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-1",
          "assigned-claude"
        ]
      },
      {
        "number": 13,
        "title": "SPEC: Patient Self-Service Portal",
        "state": "OPEN",
        "status": "spec-pending",
        "labels": [
          "spec-pending",
          "phase-4",
          "assigned-claude"
        ]
      }
    ],
    "open_prs": 0,
    "prs": [],
    "blocked_issues": 0
  }
}
