2.5 KiB
Timeout Rerun Hygiene Integration Design
Date: 2026-04-19 Status: Draft Upstream Hygiene:
tests/fixtures/generated_scene/timeout_budget_rerun_hygiene_2026-04-19.jsonUpstream Reconciliation:tests/fixtures/generated_scene/full_sweep_status_reconciliation_2026-04-19.json
Intent
Integrate timeout rerun hygiene into future sweep interpretation and reconciliation reporting so budget-sensitive timeout scenes are not miscounted as a single source-unreadable bucket.
This is a reporting and classification integration only. It does not change analyzer or generator behavior.
Problem Statement
The timeout hygiene layer now distinguishes:
rerun-resolved-passrerun-resolved-fail-closedrerun-still-timeoutrerun-error
Without integration, a future sweep or reconciliation still risks reporting:
source-unreadable = 3
when the actual hygiene-aware interpretation is:
2budget-sensitive pass candidates1budget-sensitive fail-closed candidate0persistent timeout after rerun
Scope
In scope:
- define a hygiene-aware reporting schema
- define how raw timeout status and rerun hygiene status coexist
- define reconciliation-layer summary fields
- define output JSON and report for the integrated view
Out of scope:
- analyzer changes
- generator changes
- execution board updates
- scene promotion
- full
102sweep rerun - timeout implementation fixes
Integration Rules
Raw Status Preservation
The raw sweep status is preserved.
Example:
source-unreadable
remains stored as the raw sweep result.
Hygiene Overlay
When a timeout record has a hygiene record, the integrated layer adds:
hygieneStatushygieneInterpretation
Hygiene Interpretation
Allowed integrated timeout interpretations:
timeout-as-pass-candidatetimeout-as-fail-closed-candidatetimeout-still-unreadabletimeout-rerun-error
Summary Output
The integrated summary must report both:
- raw status counts
- hygiene-aware timeout interpretation counts
This prevents lossy reporting.
Output
tests/fixtures/generated_scene/timeout_rerun_hygiene_integration_2026-04-19.jsondocs/superpowers/reports/2026-04-19-timeout-rerun-hygiene-integration-report.md
Success Criteria
- raw timeout counts remain visible
- hygiene-aware timeout interpretation counts are added
- the three timeout records become distinguishable in reconciliation reporting
- no analyzer or generator code is changed
- no execution board state is updated