What happened:
A cap-off action can execute successfully, but if writing the signed receipt to disk fails, the failure is silently swallowed.
The API still returns ok=true and executed=true, then deletes the staging file, leaving no persisted receipt for the completed action.
Runtime proof on station-v0.65:
action executed : True
API ok : True
API executed : True
receipt files : 0
staging exists : False
RESULT : BUG CONFIRMED
Root cause:
workbench/cap_off_endpoints.py catches all exceptions around the receipt write with except Exception: pass.
Execution then continues, removes the staging file, and returns success.
Expected:
If receipt persistence fails after execution, the failure should be surfaced and the staging artifact should not be discarded as though the action was successfully recorded.
Version:
station-v0.65