Title: id (#2091 piece 1): delete-request delivery + grant/decline round-trip on the deletion state machine · Issue #14232 · developing-today/code · GitHub
Open Graph Title: id (#2091 piece 1): delete-request delivery + grant/decline round-trip on the deletion state machine · Issue #14232 · developing-today/code
X Title: id (#2091 piece 1): delete-request delivery + grant/decline round-trip on the deletion state machine · Issue #14232 · developing-today/code
Description: Split of #2091 piece 1 (delete requests), filed from second-pass task 21758. Pieces 2 (server policies) and 3 (federated replication) stay on #2091, blocked on this. Substrate (landed, #10238) pkgs/id/crates/id-core/src/graph/deletion.rs...
Open Graph Description: Split of #2091 piece 1 (delete requests), filed from second-pass task 21758. Pieces 2 (server policies) and 3 (federated replication) stay on #2091, blocked on this. Substrate (landed, #10238) pkgs...
X Description: Split of #2091 piece 1 (delete requests), filed from second-pass task 21758. Pieces 2 (server policies) and 3 (federated replication) stay on #2091, blocked on this. Substrate (landed, #10238) pkgs...
Opengraph URL: https://github.com/developing-today/code/issues/14232
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id (#2091 piece 1): delete-request delivery + grant/decline round-trip on the deletion state machine","articleBody":"Split of #2091 piece 1 (delete requests), filed from second-pass task 21758. Pieces 2 (server policies) and 3 (federated replication) stay on #2091, blocked on this.\n\n## Substrate (landed, #10238)\n\n`pkgs/id/crates/id-core/src/graph/deletion.rs` + `pkgs/id/crates/id-events/tests/deletion_state_machine.rs`: local Request/Queue/Hide/ClearHide/AdminTrueDelete state machine with signed evidence. Deliberately local — one replica never mutates another.\n\n## Gap\n\n#2091 piece 1 needs more than local retention:\n\n1. **Reason-carrying request.** `DeletionAction::Request` carries only `request_id`; the evidence has a `rationale` string but the request path takes no reason. A first-class delete request carries a reason from the requester.\n2. **Delivery to authorities.** Nothing routes a request to the tag author, group admins, or server owners. The state machine has `actor` labels but no delivery.\n3. **Grant/decline round-trip.** No grant or decline transition exists: `Queue` moves a request to moderation, `AdminTrueDelete` deletes under local policy. A decline is not recorded, and a grant is not distinguished from an admin delete.\n\n## Scope\n\n- Reason-carrying `Request` (or a request envelope type) delivered to the relevant authority holders.\n- `Grant` / `Decline` transitions with signed evidence; grant produces a delete under the server's policy path, decline is recorded with no delete.\n- Tests: request→deliver→grant produces a policy delete; request→decline records with no delete (mirror the `deletion_state_machine.rs` oracle style).\n- Out of scope: server policy engine over clear markers (piece 2), opt-in federated replication with signed-chain validation (piece 3) — those stay on #2091.\n\n## Acceptance\n\n- Delete request round-trip: request with reason -> delivered to author/admins/server owners -> grant produces a delete under the server's policy, decline is recorded with no delete.\n- Tests cover request grant and decline paths.\n\nRefs #2091 (parent, holds pieces 2–3), #10238 (substrate), #2090 (marker prerequisite, closed), #185 (owner decision, closed).\n\n\u003c!-- pm-metadata:start -->\n```json\n{\n \"direct_parent\": null,\n \"links\": [],\n \"lineage\": {\n \"design\": null,\n \"roadmap_item\": null,\n \"priority\": null\n },\n \"pm_meta\": 1,\n \"provenance\": {\n \"queue_id\": null,\n \"scheduled_start\": null,\n \"picked_up_at\": null,\n \"work_started_at\": null,\n \"created_at\": \"2026-11-24T09:05:19Z\",\n \"session_id\": \"ses_e5df41ff89bffeJWncgxN8BlWI\",\n \"lane\": null,\n \"host\": \"amd\",\n \"worktree\": \"/home/user/git/code\",\n \"model\": null,\n \"lane_start_issues\": [],\n \"workspace_ref\": {\n \"kind\": \"worktree\",\n \"id\": \"/home/user/git/code\",\n \"repo\": \"developing-today/code\",\n \"branch\": \"oc-code-06/design-10391-iroh-transport\",\n \"sha\": \"9c2b4ad096e30beb45358cbde674ed4c8a52434e\"\n },\n \"auth_subject\": \"oc-code-01\",\n \"stamped_by\": \"fleet 0.1.0 (native)\"\n }\n}\n```\n\u003c!-- pm-metadata:end -->\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-24T09:05:22Z","url":"https://github.com/developing-today/code/issues/14232"}
| 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:d9bb63ec-096c-f0af-3719-27f1b6b2ee2d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA9C:259026:83FFD0:AB8F3A:6B062F6D |
| html-safe-nonce | 53eadce741cebc55d937e7b993147b45c23f3605c576edb991c5cdceafeb42f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTlDOjI1OTAyNjo4M0ZGRDA6QUI4RjNBOjZCMDYyRjZEIiwidmlzaXRvcl9pZCI6Ijc0OTA5MzM2ODkxNzA2Njk0MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 67de6a6c6c2ae33032943b786e145c603ae8d4c66df42e93bfc06479951127ba |
| hovercard-subject-tag | issue:6578310991 |
| 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/14232/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b629cc769ac1f2482eececc8eb3f3103c3024201a871a9c1f1eaca6b8317f05/developing-today/code/issues/14232 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b629cc769ac1f2482eececc8eb3f3103c3024201a871a9c1f1eaca6b8317f05/developing-today/code/issues/14232 |
| og:image:alt | Split of #2091 piece 1 (delete requests), filed from second-pass task 21758. Pieces 2 (server policies) and 3 (federated replication) stay on #2091, blocked on this. Substrate (landed, #10238) pkgs... |
| 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 | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| 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 | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | canary-2 |
| 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