{
  "version": 1,
  "repo": "anthony-chaudhary/fak",
  "description": "Named issue views — the default selection surface for fak dispatch and triage. This is the API-readable mirror of the GitHub saved views at https://github.com/anthony-chaudhary/fak/issues/views, which hydrate client-side and are NOT reachable through gh/REST/GraphQL. Edit views here; reconcile against the GitHub UI by hand. Each `query` is GitHub issue-search syntax fed verbatim to `gh issue list --search`. NOTE: `label:a,b` (comma) is OR; two separate `label:` tokens are AND. Always paired with an explicit --limit because gh defaults to 30.",
  "default": "ready-leaves",
  "limit": 300,
  "views": [
    {
      "slug": "ready-leaves",
      "title": "Ready leaves",
      "query": "is:open -label:epic -label:research no:assignee",
      "note": "The default 'what should I work on' surface: unclaimed, non-epic, non-research issues — the dispatchable backlog. Epics are umbrellas (see `epics`); research is design-shaped (not ship-ready)."
    },
    {
      "slug": "p0-p1",
      "title": "P0/P1 leaves",
      "query": "is:open label:priority/P0,priority/P1 -label:epic sort:created-asc",
      "note": "Prioritized, dispatchable leaves. P0 = load-bearing, do first; P1 = high priority. Oldest-first so the long-waiting work surfaces."
    },
    {
      "slug": "epics",
      "title": "Epics (decompose, don't dispatch)",
      "query": "is:open label:epic",
      "note": "Parent/umbrella issues that group child leaves by track. Feed these to /dos-replan to decompose — do NOT dispatch an epic as a single leaf."
    },
    {
      "slug": "needs-triage",
      "title": "Needs human triage",
      "query": "is:open label:idea-scout",
      "note": "Auto-filed by the daily idea-scout (tools/idea_scout.py). A standing queue for the /issue-triage pass — set priority/kind/area before they become dispatchable. Often empty; that means triage is caught up."
    },
    {
      "slug": "help-wanted",
      "title": "Help wanted",
      "query": "is:open label:\"help wanted\" -label:epic",
      "note": "Issues flagged as good hand-offs / extra attention needed — the surface to point a new contributor or a spare worker at."
    },
    {
      "slug": "good-first-issue",
      "title": "Good first issue",
      "query": "is:open label:\"good first issue\"",
      "note": "Newcomer-friendly leaves. Smallest blast radius; good for a cold-start worker."
    },
    {
      "slug": "agentic-serving",
      "title": "Agentic serving",
      "query": "is:open label:agentic-serving -label:epic",
      "note": "Area cluster: coherent agentic-first serving (cross-agent shared cache + correctness-gated invalidation). The largest single area in the backlog."
    },
    {
      "slug": "substrate",
      "title": "Substrate / ABI",
      "query": "is:open label:substrate -label:epic",
      "note": "Area cluster: substrate / standard / ABI-as-public-contract work."
    },
    {
      "slug": "trust-floor",
      "title": "Trust floor",
      "query": "is:open label:trust-floor -label:epic",
      "note": "Area cluster: wire the trust floor (Decide-vs-Syscall gap + dormant-until-wired seams)."
    },
    {
      "slug": "gpu",
      "title": "GPU / compute",
      "query": "is:open label:gpu,compute,multi-gpu,metal -label:epic",
      "note": "Area cluster (OR over gpu/compute/multi-gpu/metal): the GPU-backend and kernel work. Often gated on a physical device witness."
    },
    {
      "slug": "current",
      "title": "Current focus (operator-marked)",
      "query": "is:open label:current -label:epic no:assignee",
      "note": "The fleet's DEFAULT dispatch focus (`fak dispatch tick` passes --view current). GitHub milestones cannot carry a label, so 'current' is marked TWO ways: (1) slap the `current` label on specific issues (fine-grained) — they surface here; (2) to make a WHOLE milestone current, edit this query to `is:open milestone:\"<title>\" -label:epic no:assignee`. Empty by default, so the tick fail-softs to the full open backlog until you mark something."
    },
    {
      "slug": "m1-durable-sessions",
      "title": "M1 · Durable sessions",
      "query": "is:open milestone:\"Durable sessions survive 429s, overload & process death\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M1."
    },
    {
      "slug": "m2-kv-cache",
      "title": "M2 · KV cache owned/observed/2x",
      "query": "is:open milestone:\"The KV cache value is owned, observed & 2x\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M2."
    },
    {
      "slug": "m3-serving",
      "title": "M3 · Disaggregated serving",
      "query": "is:open milestone:\"Disaggregated serving at throughput parity on one spine\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M3."
    },
    {
      "slug": "m4-decode",
      "title": "M4 · Decode parity",
      "query": "is:open milestone:\"Decode parity across every backend (GPU/Metal/CPU)\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M4."
    },
    {
      "slug": "m5-benchmarks",
      "title": "M5 · Win the benchmarks",
      "query": "is:open milestone:\"Win the benchmarks we enter (Terminal-Bench #1 + portfolio)\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M5."
    },
    {
      "slug": "m6-agentic-loop",
      "title": "M6 · 10x agentic loop",
      "query": "is:open milestone:\"10x agentic coding loop with witnessed self-correction\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M6."
    },
    {
      "slug": "m7-release",
      "title": "M7 · Auto-release on green trunk",
      "query": "is:open milestone:\"Ship releases automatically on a green trunk\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M7."
    },
    {
      "slug": "m8-observability",
      "title": "M8 · Fleet observability",
      "query": "is:open milestone:\"Fleet observability you can trust\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M8."
    },
    {
      "slug": "m9-dispatch-fleet",
      "title": "M9 · Dispatch fleet to 100 workers",
      "query": "is:open milestone:\"Scale the dispatch fleet to 100 workers\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M9."
    },
    {
      "slug": "m10-model-support",
      "title": "M10 · Model support & routing",
      "query": "is:open milestone:\"Model support & routing parity (Ornith + ensembles)\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M10."
    },
    {
      "slug": "m11-substrate",
      "title": "M11 · Substrate / grammar / interop",
      "query": "is:open milestone:\"Substrate, grammar & interop foundation\" -label:epic no:assignee",
      "note": "Dispatchable leaves of milestone M11."
    }
  ]
}
