forked from gsd-build/get-shit-done
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Problem
Similar to code-trace-index.json (#25), hazard-model.json is regenerated by pipeline hooks, silently reverting user edits. When a user improves the detection score (e.g., from 8 to 4 after adding formalism coverage), the next pipeline run resets it.
Reproduction
- Hazard
HAZARD-IDLE-QUORUM_STARThasdetection: 8, rpn: 320(critical) - User adds test recipe + formal model coverage
- User updates
detection: 4, rpn: 160with justification - Next
hazard-model.cjsrun regenerates the file from trace data, resetting todetection: 8
Expected Behavior
- Detection score overrides should be user-owned and preserved across regeneration
- Option A: Separate
hazard-overrides.jsonthat merges with generated data - Option B: Mark fields as
"user_override": trueso regeneration skips them - The
detection_justificationfield I added was also lost
Impact
Users cannot improve their hazard model's detection scores. The FMEA becomes a read-only artifact that doesn't reflect actual mitigation progress.
Reactions are currently unavailable