You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id(world): F11.13 error taxonomy: stable codes plus reasons on the wire #554
Typed errors with stable codes and reasons on the wire, including the reason schedule.at drops; every CapError documented in the guide. Stable codes exist, but reasons are dropped, so a guest or operator sees bad_args with no hint why. The DoS suite (F12.18) asserts documented codes.
Partial. Stable codes exist (the status audit says planned): pkgs/id/src/world_caps.rs:319-346, six CapError codes (cap_denied, unknown_cap, bad_args, failed, actor_denied, outside_ceiling). Reasons are still dropped: world.rs:2646-2648 logs the check_schedule error at debug and returns plain CapError::BadArgs. No error-code list in a guide was found.
Acceptance criteria
Every CapError carries its stable code and a reason on the wire
schedule.at returns the check_schedule reason instead of a plain BadArgs (world.rs:2646-2648)
Implemented in PR #808 (id Phase 11 foundations, session B of the id train), merged to main as 49ee287 with all checks green. The PR body documents the implementation for this item. Closing as complete — reopen if verification finds a gap.
Activity
feat(id): carry reasons on capability refusals (F11.13)
dezren39 commentedon Oct 25, 2026
Implemented in PR #808 (id Phase 11 foundations, session B of the id train), merged to main as 49ee287 with all checks green. The PR body documents the implementation for this item. Closing as complete — reopen if verification finds a gap.