Title: id(world): F11.13 error taxonomy: stable codes plus reasons on the wire · Issue #554 · developing-today/code · GitHub
Open Graph Title: id(world): F11.13 error taxonomy: stable codes plus reasons on the wire · Issue #554 · developing-today/code
X Title: id(world): F11.13 error taxonomy: stable codes plus reasons on the wire · Issue #554 · developing-today/code
Description: What and why 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 n...
Open Graph Description: What and why 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 ...
X Description: What and why 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 ...
Opengraph URL: https://github.com/developing-today/code/issues/554
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(world): F11.13 error taxonomy: stable codes plus reasons on the wire","articleBody":"## What and why\n\nTyped 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.\n\n## Source\n\n- [`.opencode/plans/phase-11-foundations.md:51`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-11-foundations.md#L51)\n- [`.opencode/plans/2026-10-20_phase-11-status.md:23`](https://github.com/developing-today/code/blob/main/.opencode/plans/2026-10-20_phase-11-status.md#L23)\n\n## Current status\n\n**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.\n\n## Acceptance criteria\n\n- [ ] Every `CapError` carries its stable code and a reason on the wire\n- [ ] `schedule.at` returns the `check_schedule` reason instead of a plain `BadArgs` (world.rs:2646-2648)\n- [ ] Every `CapError` code is listed in the guide\n- [ ] Tests assert code and reason for each refusal\n\n## Size\n\nM\n\n## Prerequisites\n\n- #540 — D1-010 F11.10 Split world.rs, world_session.rs, cli.rs (moves only)\n\n\u003c!-- discovery:D1-013 -->\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T06:09:10Z","url":"https://github.com/developing-today/code/issues/554"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8c2543e8-5d44-23ab-f93a-06c763959ad8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B44C:3FD98D:82FBF0:AE06CC:6B063143 |
| html-safe-nonce | 45f13ae5a1f89413c5534b675911ff57b41b25bf42a32201cfbb24211b5e1219 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDRDOjNGRDk4RDo4MkZCRjA6QUUwNkNDOjZCMDYzMTQzIiwidmlzaXRvcl9pZCI6IjEwMDEyNDMwMzU1MzcxMjU2OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b5a237cdad3d9620d8233e364df1c61590ef25de977f6002c824f888a5116bf8 |
| hovercard-subject-tag | issue:5974062348 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/554/issue_layout |
| twitter:image | https://opengraph.githubassets.com/13ff1da11be71b19ba1653c50ac0e66f92bf395525995bb18a89c9d6238c1b55/developing-today/code/issues/554 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/13ff1da11be71b19ba1653c50ac0e66f92bf395525995bb18a89c9d6238c1b55/developing-today/code/issues/554 |
| og:image:alt | What and why 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width