{
  "$schema": "https://chinwag.sh/templates/github-project-v2-schema.json",
  "schema_version": "CHWG-NATIVE-PM-BOARDS-01.v3",
  "title": "Chinwag — Autonomous Multi-Agent Engineering & Live Δ Velocity Board",
  "short_description": "Private-by-Default Executable Kanban, Gantt, SurfaceImpactManifestV1 Sub-Issue Fan-Out, 200ms Proof-of-Green Snap-Back & DORA Cycle-Time Proof (✓ed25519 Signed Receipts)",
  "cli_bootstrap_command": "chinwag board init --github --org <your-org> --private-repo <your-org>/<your-repo> --live",
  "security_invariants": {
    "INV-BOARD-ZERO-LEAK-01": "Dual-repo isolation (--private-repo default vs. explicit --public-repo opt-in); 4-stage H_board pre-publish redaction gate.",
    "INV-NO-DRAFT-ISSUES-01": "Complete ban on addProjectV2DraftIssue (exit 78); every card and sub-issue must be a repository-backed Issue governed by GitHub repository ACLs.",
    "INV-VELOCITY-TIMESTAMP-INTEGRITY-01": "Dual-clock t_claim anchor bound to GitHub native Created timestamp, base_head_sha 0-dirty-LOC check, diff-scope Tier Lock (INV-TIER-LOCK-01), and full Claim->Closed clock.",
    "INV-NO-FAKE-DONE-01": "200ms Proof-of-Green card snap-back if chinwag-ci surface-gate (Pillar 12) or ui-gate (Pillar 9: 1440x900 desktop & 390x844 mobile) fails.",
    "INV-ISSUE-INJECTION-GUARD-01": "Zero autonomous ingestion of unleased public issues; post-claim spec_blake3_256 freeze in .chinwag/state.crdb."
  },
  "visibility_modes": {
    "private_default": {
      "default": true,
      "project_public": false,
      "graphql_mutation": "updateProjectV2(input: { projectId: $projectId, public: false })",
      "cli_command": "chinwag board init --github --org <your-org> --private-repo <your-org>/<private-repo> --live",
      "description": "100% private by default. All parent cards, sub-issues, file scopes, and receipts stay inside your private GitHub repository and private Project v2 board."
    },
    "hybrid_dual_repo": {
      "default": false,
      "project_public": true,
      "cli_command": "chinwag board init --github --org <your-org> --private-repo <your-org>/<private-repo> --public-repo <your-org>/<public-repo> --live",
      "description": "Because INV-NO-DRAFT-ISSUES-01 bans board-level DraftIssues (exit 78), GitHub repository ACLs automatically hide --private-repo cards from external viewers while showcasing --public-repo cards on the same board."
    },
    "public_opt_in": {
      "default": false,
      "project_public": true,
      "cli_command": "chinwag board init --github --org <your-org> --public-repo <your-org>/<public-repo> --public-board --live",
      "redaction_gate": "H_board (BoardRedactionReceiptV1 ✓ed25519)",
      "confidential_seats_blocked": ["@PATENT"],
      "description": "Explicit public showcase mode. Every title, body, and receipt passes the 4-stage H_board redaction gate (scrubbing RFC1918/Tailscale IPs, hostnames, internal paths, and secrets) before touching the GraphQL API."
    }
  },
  "native_system_fields": [
    {
      "name": "Created",
      "github_system_field": "CREATED",
      "read_only": true,
      "role": "Immutable GitHub system timestamp anchoring t_claim and sub-issue creation."
    },
    {
      "name": "Updated",
      "github_system_field": "UPDATED",
      "read_only": true,
      "role": "Immutable GitHub system timestamp reflecting live sub-issue and CI receipt activity."
    },
    {
      "name": "Closed",
      "github_system_field": "CLOSED",
      "read_only": true,
      "role": "Immutable GitHub system timestamp when chinwag-ci merges verified worktrees to main."
    },
    {
      "name": "Parent issue",
      "github_system_field": "PARENT_ISSUE",
      "read_only": true,
      "role": "Links #ID.1 Code, #ID.2 Docs/README, #ID.3 Website/Telemetry, and #ID.4 Mobile UI back to the parent card."
    },
    {
      "name": "Sub-issues progress",
      "github_system_field": "SUB_ISSUES_PROGRESS",
      "read_only": true,
      "role": "Native progress bar (☑️ 4/4) verifying all SurfaceImpactManifestV1 sub-issues are closed before promotion."
    }
  ],
  "surface_impact_gate": {
    "manifest_schema": "SurfaceImpactManifestV1",
    "ci_pillar": "Pillar 12 · chinwag-ci surface-gate + Pillar 9 · chinwag-ci ui-gate",
    "snap_back_latency_ms": 200,
    "snap_back_invariant": "INV-NO-FAKE-DONE-01",
    "required_surfaces": [
      { "id": "code_cli", "sub_issue_suffix": ".1", "scope": "crates/**, src/**" },
      { "id": "readme_docs", "sub_issue_suffix": ".2", "scope": "README.md, docs/**" },
      { "id": "marketing_telemetry", "sub_issue_suffix": ".3", "scope": "site/**, hosted-relay/**" },
      { "id": "ui_geometry_qa", "sub_issue_suffix": ".4", "scope": "1440x900 desktop & 390x844 mobile Playwright ui-gate" }
    ]
  },
  "status_field": {
    "name": "Status",
    "data_type": "SINGLE_SELECT",
    "max_header_length_chars": 27,
    "options": [
      {
        "id": "col_01",
        "name": "01 · 🌱 OPEN BOUNTY (+500 CR)",
        "color": "GREEN",
        "hex": "#20E3B2",
        "description": "External OSS contributor or unassigned spec; awards +500 Corporate OrgWallet Credits on merge."
      },
      {
        "id": "col_02",
        "name": "02 · 📐 SCOPED & BENCHMARKED",
        "color": "BLUE",
        "hex": "#38BDF8",
        "description": "DORA complexity tier (S-XL), SurfaceImpactManifestV1, and disjoint --file-scope contract locked."
      },
      {
        "id": "col_03",
        "name": "03 · ⚡ IN FLIGHT — CLOCK LIVE",
        "color": "YELLOW",
        "hex": "#FBBF24",
        "description": "chinwag task claim signed (TaskLeaseV1 ✓ed25519); wall-clock timer running; Sub-Issues fanned out across code, docs, website, and UI."
      },
      {
        "id": "col_04",
        "name": "04 · ⚖️ TRIBUNAL & COPY GATE",
        "color": "ORANGE",
        "hex": "#FB923C",
        "description": "Undergoing 12-pillar chinwag-ci: H1 (git ls-remote), H2 (Cleanroom CI), H5 (Cross-Model Review), Pillar 9 (ui-gate 1440x900 & 390x844), Pillar 12 (surface-gate), and INV-DECLARATION-COPY-GATE-01. Snaps back in 200ms on any failure."
      },
      {
        "id": "col_05",
        "name": "05 · ✓ SHIPPED — Δ VERIFIED",
        "color": "GREEN",
        "hex": "#20E3B2",
        "description": "Merged to main; ✓ed25519 Speed Receipt posted alongside GitHub Created -> Closed timestamps; 168h SURV clock started."
      }
    ]
  },
  "custom_fields": [
    {
      "name": "Δ Speedup vs. DORA",
      "data_type": "SINGLE_SELECT",
      "options": [
        { "name": "⚡ 100x+ Faster vs. DORA", "color": "GREEN", "hex": "#20E3B2" },
        { "name": "🚀 50x–99x Faster vs. DORA", "color": "BLUE", "hex": "#38BDF8" },
        { "name": "🔥 10x–49x Faster vs. DORA", "color": "PURPLE", "hex": "#A855F7" },
        { "name": "⏱️ Clock Running — In Flight", "color": "YELLOW", "hex": "#FBBF24" },
        { "name": "📐 Baseline Locked — Queued", "color": "GRAY", "hex": "#64748B" }
      ]
    },
    {
      "name": "DORA Baseline",
      "data_type": "SINGLE_SELECT",
      "options": [
        {
          "name": "Tier S · 8.5h Eng / 1.1d Cal (<=100 LOC)",
          "color": "GRAY",
          "active_eng_hours": 8.5,
          "calendar_days": 1.1,
          "min_loc": 1,
          "max_loc": 100
        },
        {
          "name": "Tier M · 27h Eng / 3.4d Cal (100–400 LOC)",
          "color": "BLUE",
          "active_eng_hours": 27.0,
          "calendar_days": 3.4,
          "min_loc": 101,
          "max_loc": 400
        },
        {
          "name": "Tier L · 50h Eng / 6.2d Cal (400–1,200 LOC)",
          "color": "PURPLE",
          "active_eng_hours": 50.0,
          "calendar_days": 6.2,
          "min_loc": 401,
          "max_loc": 1200
        },
        {
          "name": "Tier XL · 112h Eng / 14.0d Cal (1,200+ LOC)",
          "color": "ORANGE",
          "active_eng_hours": 112.0,
          "calendar_days": 14.0,
          "min_loc": 1201,
          "max_loc": 999999
        }
      ]
    },
    {
      "name": "Chinwag Cycle Time",
      "data_type": "TEXT",
      "example": "19m 00s · 4 jj checkpoints (avg 88 LOC) · ☑️ 4/4 surfaces"
    },
    {
      "name": "Net Hours Saved",
      "data_type": "NUMBER",
      "formula": "Baseline_Eng_Hours - Actual_Hours",
      "example": 49.68
    },
    {
      "name": "Execution Mode",
      "data_type": "SINGLE_SELECT",
      "options": [
        { "name": "🔺 3-Seat Triad · Isolated JJ", "color": "PURPLE", "hex": "#A855F7" },
        { "name": "🌐 Subagent Swarm · Cloud Fan-Out", "color": "BLUE", "hex": "#38BDF8" },
        { "name": "🤝 2-Seat Pair · Cross-Model", "color": "PINK", "hex": "#EC4899" },
        { "name": "⚡ Principal Solo · Direct Lease", "color": "GRAY", "hex": "#64748B" },
        { "name": "🌱 Open Bounty · +500 Credits", "color": "GREEN", "hex": "#20E3B2" }
      ]
    },
    {
      "name": "Active Seats",
      "data_type": "TEXT",
      "example": "@ARCHITECT + @WORKHORSE + @TYPE · Gate: @FLINT + @DECLARATION"
    },
    {
      "name": "Architecture Pillar",
      "data_type": "SINGLE_SELECT",
      "options": [
        { "name": "🔒 Kernel & PQ-HPKE Containment", "color": "GREEN" },
        { "name": "🤝 CRDT State & Triad Mesh", "color": "PURPLE" },
        { "name": "⚡ Cleanroom CI & Canary Runner", "color": "BLUE" },
        { "name": "🎨 Workbench UI & Copy Tribunal", "color": "PINK" },
        { "name": "📊 Edge Telemetry & Revenue Ops", "color": "ORANGE" },
        { "name": "🔌 Native Boards & OSS Templates", "color": "YELLOW" }
      ]
    },
    {
      "name": "Cryptographic Receipt",
      "data_type": "TEXT",
      "example": "✓ed25519 · sha:b4289ba · 12/12 CI · Surface 4/4 · UI 192/192"
    },
    {
      "name": "Start Date",
      "data_type": "DATE"
    },
    {
      "name": "Target Date",
      "data_type": "DATE"
    }
  ],
  "default_view_layout": "BOARD_LAYOUT",
  "views": [
    {
      "number": 1,
      "code": "01_KANBAN_EXECUTION_BOARD",
      "name": "01 · Kanban Execution Board",
      "layout": "BOARD_LAYOUT",
      "group_by": "Status",
      "vertical_group_by": null,
      "sort_by": [
        { "field": "Status", "direction": "ASC" },
        { "field": "Net Hours Saved", "direction": "DESC" }
      ],
      "visible_fields": [
        "Title",
        "Assignees",
        "Status",
        "Labels",
        "Sub-issues progress",
        "DORA Baseline",
        "Chinwag Cycle Time",
        "Δ Speedup vs. DORA",
        "Net Hours Saved",
        "Execution Mode",
        "Active Seats",
        "Cryptographic Receipt"
      ]
    },
    {
      "number": 2,
      "code": "02_VELOCITY_AND_DORA_LEDGER",
      "name": "02 · Velocity & DORA Ledger",
      "layout": "TABLE_LAYOUT",
      "group_by": "Status",
      "sort_by": [
        { "field": "Status", "direction": "ASC" },
        { "field": "Updated", "direction": "DESC" }
      ],
      "visible_fields": [
        "Title",
        "Assignees",
        "Status",
        "DORA Baseline",
        "Chinwag Cycle Time",
        "Δ Speedup vs. DORA",
        "Net Hours Saved",
        "Execution Mode",
        "Active Seats",
        "Cryptographic Receipt",
        "Created",
        "Updated",
        "Closed",
        "Parent issue",
        "Sub-issues progress"
      ]
    },
    {
      "number": 3,
      "code": "03_GANTT_ROADMAP_AND_EPICS",
      "name": "03 · 📐 Gantt Roadmap & Epics",
      "layout": "ROADMAP_LAYOUT",
      "start_date_field": "Start Date",
      "target_date_field": "Target Date",
      "color_by": "Architecture Pillar"
    },
    {
      "number": 4,
      "code": "04_OPEN_BOUNTIES",
      "name": "04 · 🌱 Open Bounties (+500 Credits)",
      "layout": "BOARD_LAYOUT",
      "filter": "Execution Mode:\"🌱 Open Bounty · +500 Credits\""
    }
  ],
  "insights_charts": [
    {
      "name": "Engineering Hours Saved per Sprint (SUM)",
      "chart_type": "STACKED_BAR",
      "x_axis": "Closed (Week)",
      "y_axis": "SUM(Net Hours Saved)",
      "group_by": "DORA Baseline"
    },
    {
      "name": "Throughput by Orthogonal Execution Mode",
      "chart_type": "COLUMN",
      "x_axis": "Execution Mode",
      "y_axis": "COUNT(Items)",
      "group_by": "Δ Speedup vs. DORA"
    },
    {
      "name": "Δ Speedup vs. DORA Distribution",
      "chart_type": "DONUT",
      "group_by": "Δ Speedup vs. DORA",
      "y_axis": "SUM(Net Hours Saved)"
    }
  ],
  "subagent_fanout_tiers": [
    {
      "tier": 1,
      "name": "Local Parallel Subagents",
      "mechanism": "Isolated copy-on-write Jujutsu (jj) sub-worktrees with disjoint --file-scope contracts"
    },
    {
      "tier": 2,
      "name": "Chinwag Edge Delivery Engines",
      "mechanism": "Chinwag Reflex-1 (instant triage) + Chinwag Delivery-2 (card-move scoping & sub-issue fan-out) + Chinwag Vision-3 (1440x900 & 390x844 UI audit)"
    },
    {
      "tier": 3,
      "name": "3-Node Cross-Model Principal Mesh",
      "mechanism": "Isolated Jujutsu (jj) copy-on-write Pair, Triad, and Quad sandboxes across orthogonal model families (GPT-6.1, Gemini 4, Claude)"
    },
    {
      "tier": 4,
      "name": "GitHub Actions Cloud CI Runners",
      "mechanism": "chinwag-ci 12-pillar verification (surface-gate Pillar 12 + ui-gate Pillar 9)"
    }
  ]
}
