# Work-spec queue

_Generated by `bb work:queue`. Do not edit by hand._

See `work/themes.edn` for theme catalog, `.standards/foundations/work-spec-authoring.mdc` for authoring rules.

## Theme — Dogfood resilience (`dogfood-resilience`, status: in-flight)

Make miniforge capable of running miniforge without paying for
   completed work twice. Provider rate limits, network outages, process
   restarts, and LLM-provider regressions MUST NOT cost the user tokens
   for phases that already succeeded.

**Informative spec:** `specs/informative/I-DOGFOOD-RESILIENCE.md`

| tier | r | theme | spec | axes |
|---|---|---|---|---|
| blocker | ● | dogfood-resilience | `event-log-tool-visibility.spec.edn` — Event log — capture tool name / args / result on every agent tool call | observation+dogfoodenabler |
| blocker | ● | dogfood-resilience | `planner-convergence-and-artifact-submission.spec.edn` — Planner convergence — container-promoted plan artifact + forced context-MCP usage | correctness+observation+tokenconservation+dogfoodenabler |
| blocker | ● | dogfood-resilience | `worktree-persistence-scratch-branch.spec.edn` — Persist worktrees outside /tmp + scratch-branch commits on every write | dogfoodenabler |
| high | ● | dogfood-resilience | `pedestal-interceptor-chain.spec.edn` — Pedestal-style interceptor chain for phase lifecycle | correctness+dogfoodenabler |
| high | ● | dogfood-resilience | `tech-registry-doctor-repo-scoped-bootstrap.spec.edn` — Tech-registry-driven runtime bootstrap — repo-scoped, print-don't-install | correctness+ux+dogfoodenabler |
| high | ○ | dogfood-resilience | `workflow-dependency-declarations.spec.edn` — Workflow dependency declarations — supervisor sequencing + DAG dependencies | dogfoodenabler |
| blocker | ○ | dogfood-resilience | `agent-stream-watchdog-and-resume.spec.edn` — Agent stream watchdog + session-resume for hang recovery | tokenconservation+dogfoodenabler |
| blocker | ○ | dogfood-resilience | `workflow-phase-checkpoint-and-resume.spec.edn` — Workflow phase checkpoint + resume | tokenconservation+dogfoodenabler |

## Theme — Multi-backend CLI parity (`multi-backend-parity`, status: planned)

Miniforge is an agent-CLI-agnostic platform. Every supported CLI
   (claude, codex, cursor-agent, gh copilot, open-codex, amp, …) MUST
   conform to the same planner/implementer/reviewer contract: structured
   output via MCP artifact submission, session resume, stream parser
   coverage, error classification. Today only claude is a first-class
   citizen; codex is registered but its stream parser ignores
   reasoning + tool-call items, and its args builder passes no MCP
   config. Parity is foundational for OSS adoption — users pick their
   agent CLI, not ours.

| tier | r | theme | spec | axes |
|---|---|---|---|---|
| blocker | ● | multi-backend-parity | `multi-backend-cli-parity.spec.edn` — Multi-backend CLI parity — make codex / cursor-agent / copilot / open-codex first-class planners and implementers | correctness+scale+dogfoodenabler |

## Theme — Operational Policy Synthesis (OPSV) (`operational-policy-synthesis`, status: planned)

Discover scaling + budget signals via governed experiments, synthesize
   operational policies, verify against acceptance criteria, and emit
   them as auditable artifacts. Any numeric knob whose optimal value we
   currently guess — agent max-tokens, tool-call caps, timeouts, K8s
   container CPU/memory, I/O bandwidth — is an OPSV target.

| tier | r | theme | spec | axes |
|---|---|---|---|---|
| high | ○ | operational-policy-synthesis | `n07-opsv-agent-budgets.spec.edn` — OPSV: converge agent max-tokens + phase-iteration budgets | observation+tokenconservation+dogfoodenabler |
| medium | ○ | operational-policy-synthesis | `workflow-policy-convergence.spec.edn` — Workflow Policy Convergence: learned workflow selection | workfloworchestration+governance+reliability |

## Theme — DAG orchestration (`dag-orchestration`, status: in-flight)

Miniforge's DAG executor exists and is wired but never fires for
   LLM-generated plans because `plan-from-agent` output doesn't reach
   the DAG check with a :plan/id. Unlocking this turns every non-trivial
   spec from a monolithic implement phase into parallel child workflows
   — the single biggest leverage point for dogfood efficiency.

**Informative spec:** `specs/informative/I-DAG-ORCHESTRATION.md`

| tier | r | theme | spec | axes |
|---|---|---|---|---|
| blocker | ● | dag-orchestration | `plan-from-agent-dag-wiring.spec.edn` — plan-from-agent must emit :plan/id so the DAG orchestrator activates | observation+tokenconservation+dogfoodenabler |
| high | ● | dag-orchestration | `per-task-base-chaining.spec.edn` — Per-Task Base Chaining for DAG Sub-Workflows | workfloworchestration+dagexecution+localmodefidelity |

## Theme — unassigned (`unassigned`, status: planned)

(no theme description)

| tier | r | theme | spec | axes |
|---|---|---|---|---|
| medium | ● | unassigned | `backend-failover.spec.edn` — Backend failover on rate limits | - |
| medium | ● | unassigned | `behavioral-verification-monitor.spec.edn` — Behavioral Verification in the Monitor Phase | - |
| medium | ● | unassigned | `capsule-runtime-spec-wiring.spec.edn` — Wire runtime spec network-policy and secrets to Docker executor | - |
| medium | ● | unassigned | `clj-xref-context-neighborhoods.spec.edn` — Clojure dependency-neighborhood context via clj-xref | - |
| medium | ● | unassigned | `configurable-spec-types.spec.edn` — Configurable Spec Type Taxonomy via Policy Pack | - |
| medium | ● | unassigned | `control-plane-completion.spec.edn` — Control Plane Completion — Decision Wiring, Events, and Dashboard | - |
| medium | ● | unassigned | `dashboard-production-ready.spec.edn` — Build Production-Ready Web Dashboard with High Fidelity | - |
| medium | ● | unassigned | `environment-promotion-pipeline.spec.edn` — Environment Promotion Pipeline | - |
| medium | ● | unassigned | `external-dependency-health-and-failure-attribution.spec.edn` — External dependency health and failure attribution | - |
| medium | ● | unassigned | `fleet-supervisory-deferred.spec.edn` —  | - |
| medium | ● | unassigned | `gitlab-support-tasks.spec.edn` — GitLab Support — Detailed Implementation Tasks | - |
| medium | ● | unassigned | `gitlab-support.spec.edn` — Add GitLab Support for MR Lifecycle Management | - |
| medium | ● | unassigned | `knowledge-mcp-query.spec.edn` — Agent-driven rule query via lookup_policy MCP tool | - |
| medium | ● | unassigned | `migrate-runner-println-to-structured-logging.spec.edn` — Migrate workflow runner println calls to structured logging | - |
| medium | ● | unassigned | `n04-knowledge-safety-pack.spec.edn` — N4: Knowledge-safety policy pack with prompt-injection detection | - |
| medium | ● | unassigned | `n04-kubernetes-diff-parsing.spec.edn` — N4: Kubernetes manifest diff parsing for policy gate evaluation | - |
| medium | ● | unassigned | `n05-http-api-decision.spec.edn` — N5: Resolve HTTP REST + SSE vs winsock and implement API layer | - |
| medium | ● | unassigned | `n06-compliance-metadata.spec.edn` — N6: Add compliance metadata fields to evidence bundles | - |
| medium | ● | unassigned | `n06-sensitive-data-scanning.spec.edn` — N6: Scan evidence bundles for sensitive data before storage | - |
| medium | ● | unassigned | `n07-opsv-converge-verify-actuate.spec.edn` — N7: OPSV CONVERGE, VERIFY, and ACTUATE phases | - |
| medium | ● | unassigned | `n07-opsv-workflow.spec.edn` — N7: OPSV workflow skeleton — DISCOVER phase and experiment pack schema | - |
| medium | ● | unassigned | `n08-oci-governance.spec.edn` — N8: OCI governance — RBAC, listener capabilities, control actions, audit | - |
| medium | ● | unassigned | `n08-otel-trace-context.spec.edn` — N8: OpenTelemetry alignment and W3C Trace Context propagation | - |
| medium | ● | unassigned | `n08-privacy-retention.spec.edn` — N8: Privacy levels for event access and data retention policies | - |
| medium | ● | unassigned | `n09-credential-management.spec.edn` — N9: Credential encryption at rest and rotation for provider tokens | - |
| medium | ● | unassigned | `n09-external-pr-read-only-eval.spec.edn` — N9/N4: Read-only policy evaluation for external PRs | - |
| medium | ● | unassigned | `n09-pr-work-item-model.spec.edn` — N9: PR Work Item model with readiness, risk, and automation tiers | - |
| medium | ● | unassigned | `n09-provider-native-checks.spec.edn` — N9: Publish policy evaluation results as GitHub Check Runs | - |
| medium | ● | unassigned | `n10-tool-execution-audit.spec.edn` — N10: Tool execution audit trail and governed approval flows | - |
| medium | ● | unassigned | `policy-pack-compilation.spec.edn` — Compile policy packs from organizational documents | - |
| medium | ● | unassigned | `polylith-compliance-remediation.spec.edn` — Polylith compliance remediation (pass 2) — fix remaining poly check errors | - |
| medium | ● | unassigned | `polylith-workflow-gates-and-scope.spec.edn` — Polylith workflow gates & change-derived scope | - |
| medium | ● | unassigned | `pr-comment-monitoring.spec.edn` — PR Comment Monitoring — Autonomous Fix/Resolve Workflow | - |
| medium | ● | unassigned | `rn-01-failure-taxonomy.spec.edn` — RN-01: Expand Failure Taxonomy to 10-Class Canonical Enum | - |
| medium | ● | unassigned | `rn-02-workflow-tiers.spec.edn` — RN-02: Add Workflow Tier Field to Workflow Specs | - |
| medium | ● | unassigned | `rn-03-reliability-events.spec.edn` — RN-03: Define Reliability Metric Event Schemas | - |
| medium | ● | unassigned | `rn-04-sli-slo-engine.spec.edn` — RN-04: SLI Computation, SLO Evaluation, and Error Budget Tracking | - |
| medium | ● | unassigned | `rn-05-degradation-modes.spec.edn` — RN-05: Degradation Mode State Machine | - |
| medium | ● | unassigned | `rn-06-outcome-evidence.spec.edn` — RN-06: Extend Outcome Evidence with Reliability Fields | - |
| medium | ● | unassigned | `rn-07-autonomy-model.spec.edn` — RN-07: Unified Autonomy Model (A0-A5) | - |
| medium | ● | unassigned | `rn-08-safe-mode.spec.edn` — RN-08: Safe-Mode Posture with Triggers, Behavior, and Exit Protocol | - |
| medium | ● | unassigned | `rn-09-trust-boundaries.spec.edn` — RN-09: Complete Trust Boundary Validation (TB-1 through TB-5) | - |
| medium | ● | unassigned | `rn-10-validation-layers.spec.edn` — RN-10: Implement 5-Layer Validation Taxonomy (L0-L4) | - |
| medium | ● | unassigned | `rn-11-tool-operational-semantics.spec.edn` — RN-11: Tool Operational Semantics (Timeout/Retry/Circuit-Breaker) | - |
| medium | ● | unassigned | `rn-12-compensation-protocol.spec.edn` — RN-12: DAG Node Compensation Protocol | - |
| medium | ● | unassigned | `rn-13-success-predicates.spec.edn` — RN-13: Configurable Success Predicates for DAG Nodes | - |
| medium | ● | unassigned | `rn-14-tool-response-validation.spec.edn` — RN-14: Tool Response Validation and Injection Sanitization | - |
| medium | ● | unassigned | `rn-15-evaluation-pipeline.spec.edn` — RN-15: Evaluation Pipeline (Golden Sets, Replay, Shadow, Canary) | - |
| medium | ● | unassigned | `rn-16-index-quality.spec.edn` — RN-16: Repository Index Quality Metrics and Canary Protocol | - |
| medium | ● | unassigned | `tool-registry-phase4-6.spec.edn` — Complete tool-registry Phases 4-6 | - |
| medium | ● | unassigned | `tree-sitter-symbol-context.spec.edn` — Tree-sitter symbol extraction for repo-index + context-pack | - |
| medium | ● | unassigned | `tui-decomposition-workflow.spec.edn` — PR Decomposition Workflow — TUI-Driven Sub-PR Generation | - |
| medium | ● | unassigned | `tui-react-renderer.spec.edn` —  | - |
| medium | ● | unassigned | `tui-ws4-governance-surface.spec.edn` — WS4: Governance Surface | - |
| medium | ● | unassigned | `tui-ws5-attention-intervention.spec.edn` — WS5: Attention and Bounded Intervention | - |
| medium | ● | unassigned | `wire-self-repair-chain.spec.edn` — Wire Self-Repair Chain Into Workflow Execution | - |
| medium | ● | unassigned | `workflow-redesign-use-case-targeted.spec.edn` — Redesign Workflows: Use-Case Targeted with Safety by Default | - |

## Theme — semantic-supervision (`semantic-supervision`, status: planned)

(no theme description)

| tier | r | theme | spec | axes |
|---|---|---|---|---|
| critical | ● | semantic-supervision | `progress-detector-semantic-loop-detection.spec.edn` — Progress detector stage 1 — tool-loop and repair-loop anomaly detection | agentquality+supervision+dogfoodenabler |
| critical | ○ | semantic-supervision | `progress-detector-stage-2.spec.edn` — Progress detector stage 2 — event envelope + tool-loop + repair-loop + supervisor wiring | agentquality+supervision+dogfoodenabler |
| critical | ○ | semantic-supervision | `progress-detector-stage-3.spec.edn` — Progress detector stage 3 — agent.invoke runtime wiring + per-category :on-anomaly policy | agentquality+supervision+dogfoodenabler |
