# Machine safety reasoning gate 03: V/I/A in the gate template

Status: active field note; research direction, not benchmark, certification, or runtime evidence. Follows https://wcgw.world/knowledge-base/opbpsppcdd-constraint-observability/ and does not repeat it.

## The structural gap

Reachy's reusable gate work had a structural gap: SGT-01 is frozen, SGT-02 adds broader constraint vocabulary, and both show the same review pattern — hazards are traced to constraints but not directly to the safety function; some mitigation links assert assurance their source constraint cannot provide; and the safety case can sound like validation while the tests are only specifications. SGT-03 is a structure-only successor built to test whether making Violation, Identifiable observation, and Action explicit repairs that pattern without changing the model.

## Gate additions

What SGT-03 adds: a typed decision event (event id, constraint id, action id, timestamp, outcome, evidence references) recorded as an output of every admission or block decision, not as a precondition requiring a prior violation; an identifiable observation channel that must be healthy and fresh; an independent signed verifier; a decision token bound to the evaluated snapshot; revalidation before dispatch; a signed receipt; and post-dispatch readback that blocks and holds further commands on any absence or mismatch. The safety function is linked directly to all six hazards, and unsupported MITIGATES links were removed.

## Review result

Verification after review: 36 concepts, 62 relations, 0 orphans, completeness 0.875, hazard-mitigation coverage 6/6, hazard-to-safety-function coverage 6/6 on both IEC 61508 and ISO 13849 checks, breadth 0.7911. System-behavior-to-safety-goal coverage remains 1/2. The ten test cases are unexecuted test specifications, not validation evidence.

## Lineage: V3 gate and V4 bounded-intervention prototype

V3 is the existing safety gate: construct, freeze, enforce. It classifies constraints as IMMUTABLE or MUTABLE, uses checker expressions and typed evidence with freshness, freezes an active snapshot by hash, and combines verdicts as ALLOW < WARN < ESCALATE < BLOCK. Direct runtime evaluation with no active freeze fails closed with BLOCK and reason `No active freeze`; the enforcement path has its own no-freeze pre-check. V3 does not model time-to-hazard, detection latency, recovery margin, intervention authority, fallback, or bounded deviation.

V4 is a separate, isolated research prototype, not a V3 change and not production code. It distinguishes HARD constraints from BOUNDED constraints. HARD violations and undetermined states remain DENY regardless of possible recovery. A BOUNDED deviation may authorize INTERVENE only with a healthy, fresh, comparable, complete observation; sufficient authority; positive recovery margin; and a defined fallback. Outcomes are ALLOW, INTERVENE, FALLBACK, and DENY, with no numeric safety score. The timing experiment holds constraint text fixed and varies when a deviation becomes observable, how long intervention takes, and what happens when the boundary is reached.

The V4 killswitch layer extends the same experiment with explicit dead-man's-switch semantics. A pass is treated as a fresh human proof plus a healthy, complete liveness signal, not as a standing authorization. Missing proof holds the action; degraded, incomplete, stale, or future-dated proof falls back when a fallback exists and otherwise denies; gate DENY is never overridable. The modeled enforcer is manual, independent, and kill-only. Reset is stricter than kill: it needs separate reset approval, fresh safe-state evidence, and re-arms without resuming. Signatures are modeled strings, and command holding is a returned outcome, not runtime actuation. The current local run has 31 passing deterministic specification tests for the gate and killswitch behavior; these tests are not validation evidence.

The native SysML v2 admission-gate model at https://github.com/GfSE/SysML-v2-Models/pull/16 expresses the SGT-03 V/I/A structure: typed decision event, identifiable observation channel, snapshot-bound token, independent verifier, revalidation, and post-dispatch readback. V3 and V4 are runtime/prototype research semantics, not native SysML constructs and not validation evidence for that model.

## Boundaries

Human-only gaps remain in SGT-03: all ten SGT3 constraints are unclassified, there is no active freeze, no evidence is attached, no integrity level is assigned, and no validation, approval, override, escalation, or deployment decision has been made. The separate V4 prototype uses frozen fixtures for deterministic tests but does not resolve those SGT-03 gaps. This is a template for the next experiment: hold model, task, and constraint text fixed, then vary when and how a violation becomes observable and whether a bound action follows.

## Dataset export

The anonymized SGT-03 graph export is at https://huggingface.co/datasets/wcgw/machine-safety-reasoning-reachy-3. It contains one work-item record with 36 concepts, 62 relations, completeness 0.875, and four acted refinement suggestions. The dataset is labeled AI-assisted and released CC-BY-4.0; it is a research artifact, not validation evidence.
