schemaVersion: 1
analysis:
  parentHarness: H1
  generation: H1
  analysisRunId: h1-root-cause-20260811-a
  stableNamespace: H1/h1-root-cause-20260811-a
  authorityClass: user-confirmed-derived-hypotheses

processProvenance:
  bundleExport: complete
  lunaPatternExtraction:
    status: complete
    model: gpt-5.6-luna
    reasoningEffort: xhigh
    invocation: local-codex-exec-ephemeral-ignore-user-config-read-only
    batchShape: 3 batches x 8 cells
    acceptedOutputs: 24
  solRootCauseMining:
    status: complete
    model: gpt-5.6-sol
    reasoningEffort: high
    invocation: one-single-full-batch-call
    input: all 24 accepted Pattern Evidence plus coverage, outcomes and counterexamples
  coordinator:
    model: gpt-5.6-sol
    reasoningEffort: xhigh
    action: audited the model outputs and submitted only the Weakness shortlist at the first user gate
  confirmationSource: fixed-model-analysis-then-user-confirmation
  note: >-
    The prescribed Luna then Sol analysis completed before the user confirmed
    W-01, W-03 and W-04. Accepted Pattern Evidence and the Sol aggregate remain
    in a temporary directory and were not copied into this analysis workspace;
    failed drafts and retry outputs were excluded from aggregation.
  temporaryArtifacts:
    root: historical-temporary://matrixspec-h1-luna.1kvhTP
    solRootCause: historical-temporary://matrixspec-h1-luna.1kvhTP/sol-root-cause.json
    persistence: temporary-not-copied-to-analysis-workspace
    acceptedPatternFiles:
      - C001.retry3.json
      - C002.yaml
      - C003.yaml
      - C004.yaml
      - C005.yaml
      - C006.retry2.json
      - C007.retry3.json
      - C008.yaml
      - C009.json
      - C010.retry1.json
      - C011.json
      - C012.json
      - C013.json
      - C014.retry1.json
      - C015.json
      - C016.json
      - C017.json
      - C018.json
      - C019.retry1.json
      - C020.json
      - C021.json
      - C022.json
      - C023.retry1.json
      - C024.retry1.json

primaryView:
  denominator: 24
  composition:
    originalH1SelectedCells: 21
    supplementalD5ReplacementCells: 3
  d5Selection:
    selectedCampaign: bat-sanitize-matrixspec-harness-evolution-h1-rerun-20260811
    originalH1D5Weight: 0
    disposition: historical-incident-and-governance-evidence-only
  aggregate:
    workflowCompleted: 10
    focusedTestsPassed: 18
    judgeOutputs: 48
    judgeScoreSum: 4489
    judgeMean: 93.5208333333
    selectedCandidateTokens: 316713117
    selectedCandidateCredits: 4460.56

behaviorExclusions:
  - infrastructure-invalid attempts
  - arithmetic-invalid Judge output from original H1 D5
  - canceled zero-model rejudge and validation20 plans
  - original H1 D5 behavior and cost
  - Freeze inventory governance incident

confirmation:
  status: confirmed
  confirmedWeaknesses:
    - W-01
    - W-03
    - W-04
  unconfirmedWeaknesses:
    - W-02
    - W-05
  note: W-02 and W-05 are not independent Proposal sources; W-02 is not double-counted with W-03 or W-04.

weaknesses:
  - weakness_id: W-01
    stable_ref: H1/h1-root-cause-20260811-a/W-01
    title: 跨阶段恢复责任与可达权限不匹配
    pattern_refs:
      - PT-05
    first_divergence: >-
      Validator 首次把上游 tasks/artifact blocker 写入 validation evidence 后，
      controller 仍只授权 validation，无法执行所请求回退；后续相同 transition
      请求无信息增益。
    hypothesis: >-
      下游角色负责发现上游 blocker，却没有可达 controller transition 来关闭它，
      形成“能发现、不能关闭”的 Recovery 断点。
    attribution:
      - Agent Responsibility
      - Recovery
    support:
      analysisCells:
        - C002
        - C010
        - C013
      affectedRuns:
        - h1-axum-custom-executor-r2-attempt-01
        - h1-eslint-preserve-caught-error-r1-attempt-02
        - h1-prometheus-utf8-negotiation-r1-attempt-01
      observed:
        workflowCompleted: 0/3
        workflowFailed: 3/3
    alternatives:
      - model stochasticity
      - task-specific upstream artifact quality
      - incomplete natural-language handoff
    counterevidence:
      - 多数 primary cells 未触发该模式。
      - C005、C012、C024 可在反馈后继续修复。
    scope: 3 cells across 3 tasks in the primary 24-cell view
    counterfactual_prediction: >-
      validation 内重复 transition 请求消失；同类 blocker 产生真实阶段变化或明确
      terminal disposition。
    confidence: high
    status: confirmed-derived-falsifiable
    raw_refs: []

  - weakness_id: W-03
    stable_ref: H1/h1-root-cause-20260811-a/W-03
    title: 多工件一致性/finalization 闭包不完整
    pattern_refs:
      - PT-02
    first_divergence: >-
      进入 Implementation 或声明 finalization 前，spec/design/tasks/validation
      evidence 仍有缺页、矛盾或缺少追溯。
    hypothesis: >-
      多工件 finalization 的 Verification 边界不完整，使代码或 focused tests
      可通过时，Artifact 状态仍未形成一致闭包。
    attribution:
      - Artifact
      - Verification
    support:
      analysisCells:
        - C006
        - C010
        - C012
        - C016
        - C017
        - C023
      affectedRuns:
        - h1-bat-sanitize-rerun-20260811-r3-attempt-01
        - h1-eslint-preserve-caught-error-r1-attempt-02
        - h1-eslint-preserve-caught-error-r3-attempt-03
        - h1-pytest-addini-type-expressions-r1-attempt-02
        - h1-pytest-addini-type-expressions-r2-attempt-02
        - h1-sqlmodel-field-constraints-r2-attempt-01
      observed:
        workflowCompleted: 1/6
        focusedTestsPassed: 5/6
        judgeOutputs: 12
        judgeMean: 94.75
    alternatives:
      - model stochasticity
      - task-specific documentation complexity
      - downstream instruction ambiguity
    counterevidence:
      - C012 后续修复完成。
      - C024 和无 Pattern 的成功 cells 可形成一致闭包。
    scope: 6 cells across 4 tasks in the primary 24-cell view; C006 is the authoritative replacement D5 cell
    counterfactual_prediction: >-
      “代码/focused 已过，但下游才发现权威工件缺失、矛盾或 trace 不完整”的轨迹减少。
    confidence: medium
    status: confirmed-derived-falsifiable
    raw_refs: []

  - weakness_id: W-04
    stable_ref: H1/h1-root-cause-20260811-a/W-04
    title: Review blocker 未跨 re-entry 保持可验证闭包
    pattern_refs:
      - PT-01
      - PT-02
    first_divergence: >-
      Reviewer 给出 changes-required 后，implementation re-entry 只修复部分问题或
      重复已有检查，未关闭全部原 blocker。
    hypothesis: >-
      review-to-implementation handoff 只有自然语言 findings，没有稳定的 blocker
      closure state，导致部分修复后丢失剩余义务。
    attribution:
      - Information Flow
      - Recovery
      - Verification
    support:
      analysisCells:
        - C007
        - C009
        - C013
        - C016
        - C023
      affectedRuns:
        - h1-cli-item-list-fields-r1-attempt-06
        - h1-cli-item-list-fields-r3-attempt-03
        - h1-prometheus-utf8-negotiation-r1-attempt-01
        - h1-pytest-addini-type-expressions-r1-attempt-02
        - h1-sqlmodel-field-constraints-r2-attempt-01
      observed:
        workflowCompleted: 0/5
        focusedTestsPassed: 4/5
        judgeOutputs: 10
        judgeMean: 92.8
    alternatives:
      - model stochasticity
      - task-specific review complexity
      - incomplete implementation evidence
    counterevidence:
      - C005、C012、C022、C024 review 后成功修复并获批准。
    scope: 5 cells across 4 tasks in the primary 24-cell view
    counterfactual_prediction: >-
      re-entry 对原 blocker 的逐项 closure evidence 增加，重复报告同一 blocker 减少。
    confidence: medium
    status: confirmed-derived-falsifiable
    raw_refs: []

nonAdditivity:
  statement: Weakness and Proposal support cells and costs overlap and must not be summed.
  overlappingCells:
    C010:
      - W-01
      - W-03
    C013:
      - W-01
      - W-04
    C016:
      - W-03
      - W-04
    C023:
      - W-03
      - W-04

evidenceGap:
  persistedPatternEvidenceFilesInAnalysisWorkspace: 0
  acceptedTemporaryPatternEvidenceFiles: 24
  rawRefsStatus: validated-in-accepted-temporary-pattern-evidence-not-persisted-to-analysis-workspace
  note: >-
    Cell IDs, selected physical runs, outcomes, focused results, Judge scores and
    selected cost align with the frozen bundle. The 24 accepted Luna outputs were
    validated for cell identity, input binding, complete segment coverage and raw
    source path/range references, but the accepted files are still under <temporary-analysis-root> and
    are not durably persisted in this analysis workspace.
