{
  "plan_id": "GP-PLAN-000011",
  "generated_at": "2026-08-22T20:47:53.380679+12:00",
  "status": "Ready",
  "project": {
    "public_id": "GP-PROJ-001",
    "name": "Grand Project",
    "overall_progress": 34.0
  },
  "canonical_sha": "82091a1ed67f8b40b48c63111cd2953c4f82bc86",
  "documentation_state": {
    "latest_completed_round": "CMD-20260821-002",
    "current_through_round": "CMD-20260822-001",
    "documentation_lag": 1,
    "health": "Attention required",
    "issues": [
      "CMD-20260821-001 is marked COMPLETE in the command queue but lacks archived coordinator completion evidence.",
      "manifest:GP-DOCUP-000005.json contains unexpected field `$schema`.",
      "Completed source run CMD-20260821-002 remains undocumented.",
      "Source-run completion for CMD-20260821-001 could not be proven conservatively.",
      "Production full release SHA remains tracked separately and is still unknown."
    ],
    "helper_failures": [],
    "review_queue": [
      {
        "issue_key": "a96ecb0095460c2b",
        "severity": "warning",
        "summary": "CMD-20260821-001 is marked COMPLETE in the command queue but lacks archived coordinator completion evidence.",
        "detail": "CMD-20260821-001 is marked COMPLETE in the command queue but lacks archived coordinator completion evidence.",
        "source_path": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project\\worktrees\\agent-coordinator\\documentation\\project\\.documentation-round-ledger.json",
        "status": "open",
        "provenance_json": {
          "source": "documentation-import"
        },
        "created_at": "2026-08-21T22:39:10.687607",
        "updated_at": "2026-08-22T08:47:53.377680+00:00"
      },
      {
        "issue_key": "67ec73f0e3aba0ce",
        "severity": "warning",
        "summary": "manifest:GP-DOCUP-000005.json contains unexpected field `$schema`.",
        "detail": "manifest:GP-DOCUP-000005.json contains unexpected field `$schema`.",
        "source_path": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project\\worktrees\\agent-coordinator\\documentation\\project\\.documentation-round-ledger.json",
        "status": "open",
        "provenance_json": {
          "source": "documentation-import"
        },
        "created_at": "2026-08-22T08:47:53.341679",
        "updated_at": "2026-08-22T08:47:53.377680+00:00"
      },
      {
        "issue_key": "dbda5f23c9e1e863",
        "severity": "warning",
        "summary": "Completed source run CMD-20260821-002 remains undocumented.",
        "detail": "Completed source run CMD-20260821-002 remains undocumented.",
        "source_path": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project\\worktrees\\agent-coordinator\\documentation\\project\\.documentation-round-ledger.json",
        "status": "open",
        "provenance_json": {
          "source": "documentation-import"
        },
        "created_at": "2026-08-21T22:39:10.687607",
        "updated_at": "2026-08-22T08:47:53.377680+00:00"
      },
      {
        "issue_key": "412e4712e32f78b0",
        "severity": "warning",
        "summary": "Source-run completion for CMD-20260821-001 could not be proven conservatively.",
        "detail": "Source-run completion for CMD-20260821-001 could not be proven conservatively.",
        "source_path": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project\\worktrees\\agent-coordinator\\documentation\\project\\.documentation-round-ledger.json",
        "status": "open",
        "provenance_json": {
          "source": "documentation-import"
        },
        "created_at": "2026-08-21T22:39:10.687607",
        "updated_at": "2026-08-22T08:47:53.377680+00:00"
      },
      {
        "issue_key": "a90301dc9de5e77a",
        "severity": "warning",
        "summary": "Production full release SHA remains tracked separately and is still unknown.",
        "detail": "Production full release SHA remains tracked separately and is still unknown.",
        "source_path": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project\\worktrees\\agent-coordinator\\documentation\\project\\.documentation-round-ledger.json",
        "status": "open",
        "provenance_json": {
          "source": "documentation-import"
        },
        "created_at": "2026-08-22T08:47:53.341679",
        "updated_at": "2026-08-22T08:47:53.377680+00:00"
      }
    ],
    "config": {
      "project_root": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project",
      "metadata_root": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project\\worktrees\\agent-coordinator\\documentation\\project",
      "ledger_path": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project\\worktrees\\agent-coordinator\\documentation\\project\\.documentation-round-ledger.json",
      "manifest_dir": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project\\worktrees\\agent-coordinator\\documentation\\project\\.updates",
      "history_dir": "C:\\Users\\Administrator\\Desktop\\Storage\\Projects\\The Grand Project\\worktrees\\agent-coordinator\\documentation\\project\\history"
    }
  },
  "ready_queue": [
    {
      "public_id": "GP-COMP-012",
      "title": "Admin company management UI.",
      "module": "GP-COMP",
      "milestone_public_id": null,
      "priority": "Normal",
      "complexity": "Medium",
      "status": "Ready",
      "percent_complete": 0.0,
      "sort_order": 12,
      "short_description": "Admin company management UI.",
      "full_description": "Admin company management UI.",
      "existing_minion": "MINION-08",
      "evidence": {
        "source": "roadmap brief",
        "milestone": "GP-M02",
        "module": "GP-COMP",
        "reconciliation": {
          "plan_id": "GP-PLAN-000007",
          "summary": "Admin route/navigation contract exists, but a dedicated company management UI still needs implementation.",
          "readiness": "Dependencies satisfied; this is the next coherent UI slice.",
          "historical_minion": "MINION-08"
        }
      }
    }
  ],
  "review_queue": [
    {
      "public_id": "GP-COMP-010",
      "title": "Tenant isolation.",
      "module": "GP-COMP",
      "milestone_public_id": null,
      "priority": "Normal",
      "complexity": "Medium",
      "status": "Needs Review",
      "percent_complete": 0.0,
      "sort_order": 10,
      "short_description": "Tenant isolation.",
      "full_description": "Tenant isolation.",
      "existing_minion": "MINION-08",
      "evidence": {
        "source": "roadmap brief",
        "milestone": "GP-M02",
        "module": "GP-COMP",
        "reconciliation": {
          "plan_id": "GP-PLAN-000007",
          "summary": "Company-scoped isolation exists through visibility and context resolution, but explicit tenant-ID isolation evidence is still missing.",
          "gap": [
            "No tenant_id model",
            "No dedicated cross-tenant isolation test suite"
          ]
        }
      }
    },
    {
      "public_id": "GP-COMP-017",
      "title": "Tenant isolation tests.",
      "module": "GP-COMP",
      "milestone_public_id": null,
      "priority": "Normal",
      "complexity": "Medium",
      "status": "Needs Review",
      "percent_complete": 0.0,
      "sort_order": 17,
      "short_description": "Tenant isolation tests.",
      "full_description": "Tenant isolation tests.",
      "existing_minion": "MINION-08",
      "evidence": {
        "source": "roadmap brief",
        "milestone": "GP-M02",
        "module": "GP-COMP",
        "reconciliation": {
          "plan_id": "GP-PLAN-000007",
          "summary": "Contract smoke proves visibility scoping, but explicit tenant-isolation test coverage is still missing.",
          "gap": [
            "Dedicated tenant-isolation test suite not found"
          ]
        }
      }
    }
  ],
  "candidate_queue": [
    {
      "public_id": "GP-COMP-012",
      "title": "Admin company management UI.",
      "module": "GP-COMP",
      "milestone_public_id": null,
      "priority": "Normal",
      "complexity": "Medium",
      "status": "Ready",
      "percent_complete": 0.0,
      "sort_order": 12,
      "short_description": "Admin company management UI.",
      "full_description": "Admin company management UI.",
      "existing_minion": "MINION-08",
      "evidence": {
        "source": "roadmap brief",
        "milestone": "GP-M02",
        "module": "GP-COMP",
        "reconciliation": {
          "plan_id": "GP-PLAN-000007",
          "summary": "Admin route/navigation contract exists, but a dedicated company management UI still needs implementation.",
          "readiness": "Dependencies satisfied; this is the next coherent UI slice.",
          "historical_minion": "MINION-08"
        }
      }
    }
  ],
  "candidate_queue_kind": "ready",
  "recommended_objective": "Work the ready queue in milestone order.",
  "current_milestone": "GP-M02 - COMPANIES & RELATIONSHIPS FOUNDATION",
  "latest_completed_milestone": "GP-M10 - SEO / Public Surface Optimization",
  "workstreams": [
    {
      "workstream_id": "WS-01",
      "name": "Admin company management UI.",
      "task_ids": [
        "GP-COMP-012"
      ],
      "module": "GP-COMP",
      "existing_minion": "MINION-08",
      "objective_short": "Admin company management UI.",
      "objective_detail": "Admin company management UI.",
      "dependencies": [
        "GP-COMP-003",
        "GP-COMP-011"
      ],
      "relevant_components": [
        "Core Platform/Common Application Framework/src/CompaniesRelationships/CompaniesRelationshipsService.php",
        "Plugin Modules/Companies & Relationships/COMPANIES-RELATIONSHIPS-FOUNDATION.md",
        "Plugin Modules/Companies & Relationships/database/migrations/2026_08_13_000001_create_companies_relationships_tables.php",
        "Plugin Modules/Companies & Relationships/routes/api.php",
        "Plugin Modules/Companies & Relationships/routes/web.php",
        "app/routers/dashboard.py",
        "app/templates/base.html",
        "app/templates/dashboard.html"
      ],
      "acceptance_criteria": [
        "GP-COMP-012 is implemented against the canonical GPO state.",
        "GP-COMP-012 is validated through the relevant route or service test coverage.",
        "The public dashboard and generated handoff remain consistent."
      ],
      "required_tests": [
        "python -m pytest tests/test_next_round.py",
        "python -m pytest tests/test_documentation_part_d.py",
        "php tests/smoke/companies-relationships-installation.php",
        "php tests/smoke/companies-relationships-contract.php",
        "php tests/smoke/company-relationship-context.php"
      ],
      "collision_risk": "Low",
      "parallelisation_suitability": "Safe Parallel",
      "parallelisation_reason": "Only one ready workstream exists, so no scheduling collision is expected.",
      "recommendation_score": 98.0,
      "why_now": "GP-COMP-012 is Ready, GP-M01 is closed, and MINION-08 can be reused."
    }
  ],
  "parallelisation": {
    "classification": "Safe Parallel",
    "reason": "Only one ready workstream exists, so no scheduling collision is expected."
  },
  "git_gates": {
    "startup": "Previous completed accepted work must be committed, pushed, and synchronized before new work starts.",
    "completion": "Integration -> validation -> CI -> smoke tests -> documentation -> commit -> push -> remote SHA verification -> round closure."
  },
  "documentation_gate": {
    "helper": "MINION-10",
    "action": "catch up documentation",
    "current_through": "CMD-20260822-001",
    "health": "Attention required"
  },
  "completion_criteria": [
    "The ready work is integrated and validated.",
    "The documentation helper is current or explicitly no-op.",
    "The generated prompt can be pasted directly into ChatGPT or Special One.",
    "The next-round plan is saved with a stable ID and current snapshot."
  ],
  "carry_forward_review_items": [
    "GP-COMP-010",
    "GP-COMP-017"
  ]
}