GeezerVison is showing github.com — id (#2091 piece 1): delete-request delivery + grant/decline round-trip on the deletion state machine · Issue #14232 · developing-today/code
id (#2091 piece 1): delete-request delivery + grant/decline round-trip on the deletion state machine #14232DescriptionSplit 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 + 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.
Gap
#2091 piece 1 needs more than local retention:
- 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.
- 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.
- 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.
Scope
- Reason-carrying
Request (or a request envelope type) delivered to the relevant authority holders.
Grant / Decline transitions with signed evidence; grant produces a delete under the server's policy path, decline is recorded with no delete.
- Tests: request→deliver→grant produces a policy delete; request→decline records with no delete (mirror the
deletion_state_machine.rs oracle style).
- Out of scope: server policy engine over clear markers (piece 2), opt-in federated replication with signed-chain validation (piece 3) — those stay on id: delete requests, server delete policies, federated delete replication (code#185 decision) #2091.
Acceptance
- 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.
- Tests cover request grant and decline paths.
Refs #2091 (parent, holds pieces 2–3), #10238 (substrate), #2090 (marker prerequisite, closed), #185 (owner decision, closed).
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T09:05:19Z",
"session_id": "ses_e5df41ff89bffeJWncgxN8BlWI",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code",
"repo": "developing-today/code",
"branch": "oc-code-06/design-10391-iroh-transport",
"sha": "9c2b4ad096e30beb45358cbde674ed4c8a52434e"
},
"auth_subject": "oc-code-01",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activitydeveloping-today commented on Nov 24, 2026 added 3 commits that reference this issue on Nov 24, 2026id(#14232): delete-request delivery + grant/decline round-trip id(#14232): fix Request idempotency compare and action_ticket pattern id(#14232): match on cloned state in Request arm (E0507) dezren39 commented on Nov 24, 2026 Claim (xaltha lane, 2026-11-24): implementing the delete-request round-trip slice on branch xaltha/14232-delete-roundtrip — reason-carrying request envelope with delivery to authority holders, Grant (policy delete, distinct evidence) / Decline (recorded, no delete) transitions on the deletion state machine, with round-trip tests mirroring deletion_state_machine.rs. dezren39 commented on Nov 25, 2026 Progress — Lane xaltha (hourly loop 2026-11-24 ~21:10 CST): resumed the prior xaltha claim. PR opened: #14815 (branch xaltha/14232-delete-roundtrip @89b4bfbeb, worktree worker-preflight clean) — reason-carrying request envelope with delivery retained via deliveries(), Grant (policy true delete, distinct signed evidence) / Decline (recorded DeleteDeclined, no delete), plus grant/decline round-trip tests in deletion_state_machine.rs. The earlier duplicate branch xaltha/14232-delete-request-roundtrip is superseded by this one. Verification: remote only — fleet queue dispatch blocked by TLS defect #13185 (UnknownIssuer, reproduced this run), so the narrowest check (cargo test -p id-events --test deletion_state_machine) was dispatched via the fleet-command.yml fallback, run https://github.com/developing-today/fleet/actions/runs/45535742928 (queued at PR open); result will be noted here when it lands. developing-today-fleet commented on Nov 25, 2026 🤖 Agent note · handed off
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: task 22890 — live claimed task in repo-health-code-pilot
- Found via: monitor reconciliation
- Task: Reverse claim/label mismatch repaired: the queue task is claimed with a live lease but the issue lacked the claim labels; labels synced to queue/claimed + work/assigned + status/in-progress to match the live claim.
- Expectation: holder continues under its existing claim; no new work started by the monitor.
- Links: queue task above
added a commit that references this issue on Nov 26, 2026id(#14232): delete-request delivery + grant/decline round-trip on the…
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|