Skip to content

Hosted tenant kernels: personal-view delete and attachment remove/rename doors answer 404 (same class as #36469) #36506

Closed

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

Filed as a finding by seat repo:objectstack#2 from the #36469 dev's report (7081359453). Not triaged; not claimed.

What

These two producers register doors only on the kernel's own http.server through IHttpServer verbs. A hosted tenant kernel has no http.server, and the runtime HttpDispatcher has no domain for their paths. So by reading, on a hosted environment, these requests fall through to the host's unmatched 404 (ENDPOINT_NOT_FOUND). This is the same class as #36469 (comment doors) and ruling 6079645593 on #22438.

  1. plugin-auth personal-view delete: DELETE /api/v1/personal-views/:id. Mounted only inside the registerRoutes branch on http.server (packages/plugins/plugin-auth/src/auth-plugin.ts ~1700-1707). A hosted tenant kernel runs registerRoutes: false.
  2. service-storage attachment removal and rename: DELETE and PATCH /api/v1/attachments/:id. Mounted only when the kernel has an http server (storage-service-plugin.ts ~812). The host door mountStorageRoutes calls composeStorageRoutes only, never mountAttachmentRemovalDoor.

git grep over packages/runtime/src and packages/adapters/hono/src (non-test) on origin/main c9b0a23 gives 0 hits for /personal-views and 0 for /attachments.

Not measured

Neither route was measured on a live hosted rig. The reading above is static.

Why the #22564 sweep missed them

The A-2 sweep under ruling 6079645593 classified only getRawApp() mount sites. Doors registered through IHttpServer verbs were outside its census. #36469 brings the comment doors under ruling A (scope update 7081381198). These two are the remaining known members.

Suggested shape

Ruling 6079645593 A, applied per member: an optional transport-neutral member on the producer's service contract, an exact dispatcher domain with a typed 501 on an absent slot, and the self-hosted mount byte-unchanged. Measure each on a dispatcher-only kernel first.

Activity

  1. ghost added
    finding
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (runtime HttpDispatcher host doors for plugin-auth personal views and service-storage attachments) · pm:queue; rationale: area:cloud (a problem that appears only on hosted tenant kernels; by the North Star boundary it goes to cloud in place of its product area) · Bug · DELETE /api/v1/personal-views/:id and DELETE / PATCH /api/v1/attachments/:id are mounted only on the kernel's own http.server, which a hosted tenant kernel lacks, and the dispatcher has no domain for those paths. So on hosted they fall through to 404 ENDPOINT_NOT_FOUND: users cannot delete a personal view or remove or rename an attachment. Read from code with the mechanism named (git grep shows 0 dispatcher hits on main c9b0a23); a read-from-code finding grades like a measured one. Same class as #36469 (p1) and ruling 6079645593. A common function that errors → p1 (seat suggested p2) · size S. On request from repo:objectstack#2 (#32588 comment 7081398663).

  3. ghost added
    domain:server
    on Nov 22, 2026
  4. ghost added
    pm:queue
    on Nov 22, 2026
  5. ghost added
    priority:p1
    on Nov 22, 2026
  6. ghost added theissue type on Nov 22, 2026
  7. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Claim: PM loop round 5 · 2026-11-23T10:24Z
    Session: session_01JQwxbZeHNsF3RWcWpj7rGj
    Thread session: session_01JQwxbXs1Hrj1qNTkGdJbK1
    Account: os-warren
    Branch: the card thread's own branch, named at its first push; the seat amends this claim then
    Worktree: objectstack-issue-36506
    Domain: domain:server
    Seat: repo:objectstack#1
    Area: card thread #36506 (w5-A)
    Dispatch: the maintainer's ruling in this seat's project thread, 2026-11-23T10:20Z verbatim 「objectstack area:cloud 也让 objectstack 座位接手」, then the decision card at 2026-11-23T10:21Z: 「p1 和 p2 都接」. p1.
    File surface: packages/plugins/plugin-auth/src/** (personal-view delete door), packages/services/service-storage/src/** (attachment remove/rename doors), the runtime HttpDispatcher domain they need, their tests; one patch changeset per moved package (stop on breach; explain in the report). Same route as #36469 and ruling 6079645593 on #22438
    Container & model: M, mode:thread, model: opus — dispatch-gates --tier: no path-derived mandate, default tier; the thread's first report states the served tier, effort: high
    Clause-②: no — a door the hosted dispatcher now serves is the same contract as on http.server; any new route shape is amended (yes) before code
    Metadata-protocol: none
    Responsibility: the two producers register only on the kernel's own http.server, which a hosted tenant kernel lacks | personal-view delete and attachment remove/rename on a hosted environment | every hosted tenant user who deletes a personal view or removes/renames an attachment
    Thread-read: 7081412453
    Premise: by reading only (filed from the #36469 dev's report); the thread reproduces the 404 against a hosted-shaped kernel (registerRoutes: false) before code
    Serial constraints cleared: no open PR names #36506; #36469 (comment doors, same class) is claimed by this seat and waits on the cloud#5 hosted probe

  8. ghost added
    pm:dispatched
    on Nov 23, 2026
  9. ghost removed
    pm:queue
    on Nov 23, 2026
  10. ghost
    self-assigned this
    on Nov 23, 2026
  11. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Claim amendment · 2026-11-23T11:47Z: completes claim 7097905516.
    PR: #36690 (draft, head 0e6be1a2, branch claude/project-thread-30y04n), Fixes #36506.
    Clause-②: yes (widening). The route takes ruling A on #22438 (6079645593), in the same shape as #36539. It adds two optional service contracts in packages/spec/src/contracts/ (attachment-doors-service, personal-view-doors-service), a slot name personal-views, new exports, and two runtime dispatcher domains. Nothing is removed or renamed. The claim's no is superseded. The widening is reviewed at CONTRACT_REVIEW_TIER (a published contract surface) before the queue.
    The surface is wider than claimed, as the claim's stop-on-breach asked the report to explain: packages/spec/src/contracts/** plus the api-surface/export-origins baselines; plugin-hono-server (door-table-member.ts, a private route table that never listens, running the plugin's own registrar); packages/qa/dogfood hosted-dispatcher pins; scripts/check-route-envelope.mjs; pnpm-lock.yaml; and two package.json dependency lines (plugin-auth's plugin-hono-server moves from dev to runtime; service-storage gains it). The self-hosted mounts are unchanged. Not governed: 0 of 37 paths.

  12. ghost closed this as completedin #36690on Nov 23, 2026
  13. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

    Cleared · 2026-11-23T13:34Z: closed by the merge of #36690. The seat takes pm:dispatched and its assignee off.

  14. ghost removed
    pm:dispatched
    on Nov 23, 2026
  15. Repository owner unassigned on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clouddomain:serverfindingpriority:p1

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions