{
  "scope": "Teaching graph only; no hardware interface, e-stop or safety certification",
  "target_runtime": "ROS 2 Jazzy, Ubuntu 24.04, system Python 3.12; same host; use_sim_time=false",
  "publisher_assumption": "One trusted proposal publisher; no authorization or source arbitration is implemented",
  "input": {
    "topic": "/demo/proposal",
    "type": "geometry_msgs/msg/TwistStamped",
    "nominal_rate_hz": 10,
    "qos": {"history": "keep_last", "depth": 1, "reliability": "best_effort", "durability": "volatile"},
    "frame_id": "base_link",
    "stamp": "Proposal creation time in the same ROS/system clock domain; not receipt time",
    "allowed_fields": {"linear.x_m_s": [-0.5, 0.5], "angular.z_rad_s": [-1.0, 1.0]},
    "other_twist_axes": "Must equal zero; all values must be finite",
    "max_age_ms": 500,
    "max_future_offset_ms": 50,
    "ordering": "Accepted stamps strictly increase within a clock epoch"
  },
  "gate": {
    "receipt_silence_timeout_ms": 300,
    "receipt_clock": "Python time.monotonic on the guard process",
    "nominal_output_rate_hz": 20,
    "timer_clock": "rclpy STEADY_TIME",
    "invalid_input": "Revoke previous proposal; publish zero on the next timer callback",
    "silence": "Publish zero after local receipt age exceeds 300 ms, on the next timer callback",
    "recovery": "Fresh valid proposal automatically resumes output; not a latched safety reset",
    "clock_jump": "Backwards observed ROS/local clock invalidates state; forward ROS jump can expire input",
    "deadline_limit": "50 ms is the requested timer period, not a proven scheduling bound"
  },
  "outputs": [
    {"topic": "/demo/accepted_twist", "type": "geometry_msgs/msg/TwistStamped", "stamp": "Guard output time", "consumer": "CLI inspection only; no motor driver supplied"},
    {"topic": "/demo/guard_status", "type": "std_msgs/msg/String", "encoding": "JSON fields reason, linear_x, angular_z", "consumer": "decision_observer logs changes; JSON String is deliberately minimal, not a production interface recommendation"}
  ],
  "output_qos": {"history": "keep_last", "depth": 1, "reliability": "reliable", "durability": "volatile"},
  "limits": ["No TF transformation: wrong frame is rejected", "No lifecycle implementation in these regular nodes", "No ROS runtime test was performed locally", "A guard crash produces silence, not a zero message; any real downstream boundary needs its own timeout", "Multi-host clocks, simulated-time replay, publisher identity and actuator dynamics are outside scope"]
}
