{
  "packs": [
    {
      "id": "discovery.core",
      "questions": [
        "What is the objective?",
        "Who are the users and actors?",
        "What is in scope and out of scope?",
        "What are the acceptance criteria?",
        "What NFRs apply (security, performance, availability)?",
        "What are the critical paths and edge cases?",
        "What coverage and complexity thresholds apply?"
      ],
      "gates": [
        "objective_defined",
        "scope_defined",
        "acceptance_criteria_defined",
        "nfrs_defined",
        "test_plan_defined",
        "quality_thresholds_defined"
      ]
    },
    {
      "id": "bug_fix.core",
      "questions": [
        "Expected vs actual behavior?",
        "Steps to reproduce?",
        "Environment and version?",
        "Severity and impact?"
      ],
      "gates": [
        "repro_steps_defined"
      ]
    },
    {
      "id": "pr_review.core",
      "questions": [
        "PR link and target branch?",
        "Blocking comments?",
        "Tests required?"
      ],
      "gates": [
        "comment_audit_complete"
      ]
    },
    {
      "id": "review.severity",
      "questions": [
        "Which comments are blockers vs minor?",
        "Which comments affect correctness or safety?"
      ],
      "gates": [
        "comment_severity_defined"
      ]
    },
    {
      "id": "release.rollout",
      "questions": [
        "What is the rollout plan?",
        "What metrics define success?"
      ],
      "gates": [
        "rollout_defined"
      ]
    },
    {
      "id": "data.monitoring",
      "questions": [
        "How will model drift be monitored?",
        "What alerts are required?"
      ],
      "gates": [
        "monitoring_defined"
      ]
    },
    {
      "id": "design.accessibility",
      "questions": [
        "What accessibility standards apply?",
        "What contrast or usability checks are required?"
      ],
      "gates": [
        "accessibility_defined"
      ]
    },
    {
      "id": "humanities.sources",
      "questions": [
        "What sources are acceptable?",
        "How will source reliability be assessed?"
      ],
      "gates": [
        "source_quality_defined"
      ]
    },
    {
      "id": "business.sensitivity",
      "questions": [
        "What sensitivity analysis is required?",
        "What assumptions are most risky?"
      ],
      "gates": [
        "sensitivity_defined"
      ]
    },
    {
      "id": "legal.compliance",
      "questions": [
        "What compliance constraints apply?",
        "What retention/audit rules are required?"
      ],
      "gates": [
        "compliance_defined"
      ]
    },
    {
      "id": "learn.format",
      "questions": [
        "What output format do you want?",
        "What depth is required?"
      ],
      "gates": [
        "learning_format_defined"
      ]
    },
    {
      "id": "software.quality",
      "questions": [
        "What architecture quality controls are mandatory (DTOs, interfaces, telemetry, security checks)?",
        "What CI quality thresholds are mandatory (tests, lint, build, coverage)?"
      ],
      "gates": [
        "software_quality_controls_defined",
        "ci_thresholds_defined"
      ]
    },
    {
      "id": "legal.quality",
      "questions": [
        "Which jurisdiction(s) and legal frameworks apply?",
        "Which mandatory legal artifacts are required (compliance matrix, risk register, citations)?"
      ],
      "gates": [
        "jurisdiction_defined",
        "legal_artifacts_defined"
      ]
    },
    {
      "id": "business.quality",
      "questions": [
        "Which assumptions must be explicitly tracked?",
        "Which unit economics and sensitivity thresholds must be satisfied?"
      ],
      "gates": [
        "assumptions_defined",
        "financial_thresholds_defined"
      ]
    },
    {
      "id": "humanities.quality",
      "questions": [
        "Which methodology and source-quality standards are required?",
        "How will source limitations and bias be documented?"
      ],
      "gates": [
        "methodology_defined",
        "source_quality_and_limits_defined"
      ]
    },
    {
      "id": "learning.quality",
      "questions": [
        "What curriculum structure and progression model are required?",
        "What assessment and rubric standards must be met?"
      ],
      "gates": [
        "curriculum_defined",
        "assessment_defined"
      ]
    },
    {
      "id": "design.quality",
      "questions": [
        "Which design-system and accessibility standards are required?",
        "How should design rationale and tradeoffs be captured?"
      ],
      "gates": [
        "design_system_defined",
        "design_rationale_defined"
      ]
    },
    {
      "id": "data.quality",
      "questions": [
        "What dataset schema and data-quality rules are required?",
        "What model evaluation, drift monitoring, and reproducibility standards apply?"
      ],
      "gates": [
        "data_schema_defined",
        "ml_quality_controls_defined"
      ]
    }
  ]
}
