ECSS Safety — Hazard Reporting, Review and Close-Out (space-systems/ecss/q40-hazard-closeout)
Use when the task is the hazard reporting and review clause of ECSS-Q-ST-40C
together with safety-assurance verification of close-out and the safety
verification tracking log: hazards exist, controls have been verified, and the
board has to be told which hazards actually close.
Related but not the same: the ARP4761A safety-assessment closure rollup answers
the civil-certification question over an aircraft-level assessment. This leaf
is the ECSS hazard report and its SVTL row per control, with the board
endorsement and residual-risk acceptance that the ECSS route demands.
Domain quick reference
- A hazard never closes directly. It closes because each of its controls
closed, so the unit of evidence is the control, not the hazard, and the SVTL
is the place the controls are held.
- A control with no SVTL row is not an open item. It is an item nobody is
holding, and it will not appear on any list the review reads. That is worse
than an open row and it should read differently in the findings.
- Closed, evidenced and accepted are three separate conditions. A row marked
closed with no reference is a claim; a row citing evidence nobody accepted
is a submission. Collapsing them into one boolean loses the reason.
- Severity adds conditions on top of the controls rather than changing them.
A catastrophic hazard with every control closed still does not close without
the safety review board behind it.
- A declared residual risk needs an acceptance reference by name. The mirror
case matters too: an acceptance reference with no residual risk declared
means the hazard report and the risk record disagree about what is left.
- The closure fraction is for tracking, not for deciding. A hazard at eighty
percent is an open hazard; the fraction tells the board where the work is.
Workflow
- Validate the hazard report: identity, severity, at least one control, and a
well-formed SVTL entry or an explicit absence for each control.
- Build the SVTL rows for the tracked controls, keyed back to hazard and
control, so the log can be read independently of the reports.
- Name the untracked controls separately from the open ones.
- Grade each control in order — no row, row not closed, closed without an
evidence reference, evidence not accepted — stopping at the first reason so
each control yields one finding with the reason that actually applies.
- Add the hazard-level findings: board endorsement at catastrophic and
critical, residual-risk acceptance where a residual risk is declared, and
the orphan acceptance reference.
- Compute the closure fraction over the controls for tracking.
- Close the hazard only when there are no findings at all, and emit a
close-out statement that says which it is and on what basis.
- Roll the log up: SVTL status counts, untracked control count, open hazards,
and whether any open hazard is catastrophic or critical.
Pitfalls
- Closing a hazard because its controls were verified, without checking that
the verification reached the log. Verified and tracked are different states.
- Treating an untracked control as an open one. Nothing will chase it, because
nothing lists it.
- Accepting a closed SVTL row on its status alone. The status is the assertion
and the evidence reference is what makes it checkable.
- Marking evidence accepted by the same party that produced it, so acceptance
carries no independent judgement.
- Closing a catastrophic hazard on a full control set without the board. The
controls are necessary and the endorsement is the other half.
- Reading the closure fraction as a disposition. It is a progress number and a
hazard is closed or it is not.
- Leaving an acceptance reference behind after the residual risk was designed
out, so the record still says something is being carried.
Behavior contract (gate 3)
The hazard report validation, SVTL row construction, untracked-control
detection, the ordered control grading, hazard-level conditions for board
endorsement and residual-risk acceptance, the closure fraction, the close-out
statement and the hazard-closed / hazard-open disposition plus the
log-closed / log-open / log-blocked rollup are exercised by the gate 3 contract
test: scripts/test_q40_hazard_closeout.py against
scripts/q40_hazard_closeout_logic.py (stdlib unittest, offline). Run:
python3 scripts/test_q40_hazard_closeout.py
Compliance
- ECSS standards are freely downloadable (ESA); cite the source and
paraphrase per standards-map.yaml.
- compliance: STANDARDS-REF, gated: false.
1---2name: q40-hazard-closeout3description: "Perform hazard reporting, review and close-out under ECSS-Q-ST-40C: hold every hazard control on its own row of the safety verification tracking log, discharge a control only when its row is closed, cites evidence and has that evidence accepted, add the safety review board behind a catastrophic or critical hazard and an acceptance reference behind any declared residual risk, then emit the hazard close-out statement and the log rollup. Use when hazards are taken to a safety review for closure. Trigger: ecss, q-st-40c, ecss-hazard-close-out, safety-verification-tracking-log, svtl-annex-c, hazard-close-out-statement, residual-risk-acceptance-reference."4license: Apache-2.05compliance: STANDARDS-REF6standards:7 - id: ecss8 reference-only: true9gated: false10domain: space-systems11pack: space-systems12compatibility: "agentskills.io SKILL.md; any SKILL.md host (Claude Code, Hermes, OpenClaw)"13metadata:14 source: https://skillmd.com/skills/ashfordeou/q40-hazard-closeout15 domain: space-systems16 subdomain: ecss17 tags: [ecss, q-st-40c-safety, q-st-40c, q40-hazard-closeout, ecss-hazard-close-out, safety-verification-tracking-log, svtl-annex-c, hazard-close-out-statement, residual-risk-acceptance-reference]18 version: 0.1.019 author: Aero Agent Skills20---2122# ECSS Safety — Hazard Reporting, Review and Close-Out (space-systems/ecss/q40-hazard-closeout)2324Use when the task is the hazard reporting and review clause of ECSS-Q-ST-40C25together with safety-assurance verification of close-out and the safety26verification tracking log: hazards exist, controls have been verified, and the27board has to be told which hazards actually close.2829Related but not the same: the ARP4761A safety-assessment closure rollup answers30the civil-certification question over an aircraft-level assessment. This leaf31is the ECSS hazard report and its SVTL row per control, with the board32endorsement and residual-risk acceptance that the ECSS route demands.3334## Domain quick reference3536- A hazard never closes directly. It closes because each of its controls37 closed, so the unit of evidence is the control, not the hazard, and the SVTL38 is the place the controls are held.39- A control with no SVTL row is not an open item. It is an item nobody is40 holding, and it will not appear on any list the review reads. That is worse41 than an open row and it should read differently in the findings.42- Closed, evidenced and accepted are three separate conditions. A row marked43 closed with no reference is a claim; a row citing evidence nobody accepted44 is a submission. Collapsing them into one boolean loses the reason.45- Severity adds conditions on top of the controls rather than changing them.46 A catastrophic hazard with every control closed still does not close without47 the safety review board behind it.48- A declared residual risk needs an acceptance reference by name. The mirror49 case matters too: an acceptance reference with no residual risk declared50 means the hazard report and the risk record disagree about what is left.51- The closure fraction is for tracking, not for deciding. A hazard at eighty52 percent is an open hazard; the fraction tells the board where the work is.5354## Workflow55561. Validate the hazard report: identity, severity, at least one control, and a57 well-formed SVTL entry or an explicit absence for each control.582. Build the SVTL rows for the tracked controls, keyed back to hazard and59 control, so the log can be read independently of the reports.603. Name the untracked controls separately from the open ones.614. Grade each control in order — no row, row not closed, closed without an62 evidence reference, evidence not accepted — stopping at the first reason so63 each control yields one finding with the reason that actually applies.645. Add the hazard-level findings: board endorsement at catastrophic and65 critical, residual-risk acceptance where a residual risk is declared, and66 the orphan acceptance reference.676. Compute the closure fraction over the controls for tracking.687. Close the hazard only when there are no findings at all, and emit a69 close-out statement that says which it is and on what basis.708. Roll the log up: SVTL status counts, untracked control count, open hazards,71 and whether any open hazard is catastrophic or critical.7273## Pitfalls7475- Closing a hazard because its controls were verified, without checking that76 the verification reached the log. Verified and tracked are different states.77- Treating an untracked control as an open one. Nothing will chase it, because78 nothing lists it.79- Accepting a closed SVTL row on its status alone. The status is the assertion80 and the evidence reference is what makes it checkable.81- Marking evidence accepted by the same party that produced it, so acceptance82 carries no independent judgement.83- Closing a catastrophic hazard on a full control set without the board. The84 controls are necessary and the endorsement is the other half.85- Reading the closure fraction as a disposition. It is a progress number and a86 hazard is closed or it is not.87- Leaving an acceptance reference behind after the residual risk was designed88 out, so the record still says something is being carried.8990## Behavior contract (gate 3)9192The hazard report validation, SVTL row construction, untracked-control93detection, the ordered control grading, hazard-level conditions for board94endorsement and residual-risk acceptance, the closure fraction, the close-out95statement and the hazard-closed / hazard-open disposition plus the96log-closed / log-open / log-blocked rollup are exercised by the gate 3 contract97test: scripts/test_q40_hazard_closeout.py against98scripts/q40_hazard_closeout_logic.py (stdlib unittest, offline). Run:99python3 scripts/test_q40_hazard_closeout.py100101## Compliance102103- ECSS standards are freely downloadable (ESA); cite the source and104 paraphrase per standards-map.yaml.105- compliance: STANDARDS-REF, gated: false.