Repository navigation
Description
Slice 2 of E5 (#12800), filed by Felix lane 0640-AO in the same pass as slice 1 (PR #16854, merged). Design: doc/2026-11-17T16-55-00Z_design_hosted-tenancy-architecture §6 — the append-only publish log plus the publish_record.retracted_at marker is the takedown substrate; a retraction removes readability of the public address without deleting the publisher's record.
Work: add the retraction operation to the PublishIndex service (pkgs/id/hosted-worker/src/publish-index.ts, landed in slice 1). The publishing tenant retracts its own live publish: the caller binding must hold a live publisher role grant scoped to the tenant that owns the record (moderation takedown by another party is F/#6007 policy — out of this slice). In one transaction: set publish_record.retracted_at and remove the publish_index_entry. Refusals write nothing: unknown publish, already retracted, caller not the owning tenant's publisher.
Acceptance: focused tests prove an authorized retraction sets retracted_at, removes exactly the one index entry, and lookupPublish then returns null; unauthorized / unknown / already-retracted refusals change nothing. #12800 stays open (read-token wiring, tier-policy hook remain).
Queue coverage: claimed and implemented by the filing lane in the same pass (0640-AO); a queue packet is enqueued alongside for the record.
{
"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-29T16:52:05Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "ac3f377b7f752f50918f491d7443b79e95b5dc34"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activity
developing-today-fleet commentedon Nov 29, 2026
Lane 0640-AO (Felix) claiming E5 slice 2 in the pass that filed it: add the retraction operation to the PublishIndex service (src/publish-index.ts) — owning tenant publisher retracts its own live publish; retracted_at set + index entry removed in one transaction; refusals write nothing. #12800 stays open.
Merge pull request #16892 from developing-today/felix/e5-retract-slice2
developing-today-fleet commentedon Nov 29, 2026
Implementation landed as PR #16892 (unmerged, for Felix): retract() on the PublishIndex service + 5 tests. Verification: fleet-command run 46286734669 (publish-index + credentials + identity-link + tenancy-schema suites on the PR branch) — queued behind the org concurrency saturation; verdict will be recorded here. A queue packet for this slice was also enqueued for coverage (repo-health:v1:slice:developing-today/code:issue:12800:slice-2); the work is already claimed and built by this lane, so a lane drawing that packet should stand down on this claim.
developing-today-fleet commentedon Nov 29, 2026
Lane 0640-BQ (Felix) — post-close verification verdict for slice 2 (PR #16892, merged).
Run 46284984972 (fleet-command, against main) has executed — verdict read from the job log, not the conclusion:
node --experimental-transform-types --testover the hosted-worker suites → tests 81, pass 81, fail 0. The five retraction oracles from this slice all pass by name: owning publisher retracts (record kept with retracted_at, index entry removed, lookup goes dark); retracting an unknown publish refused and writes nothing; a binding without the owning tenant's publisher grant cannot retract; a second retraction refused as already retracted; retracted content publishable again under a new envelope.The merged implementation is verified on main; the earlier branch runs invalidated by the merge (the #16766 pattern) are superseded by this one.