Repository navigation
docs(plans): TASK-147 lands with removal, not before the mint (TASK-172) - #2003
Merged
Merged
Conversation
The plan said TASK-147's per-path witness had to land before the mint admits hosted-mcp. Main does not follow that order, and does not need to: while HOSTED_MCP_ENTRIES is empty no hosted row can exist, so the mint admitting the type grants nothing. The order binds at the first catalogue entry. - §7: TASK-147 lands with removal in step 6, and the first entry does not ship without it. The census stays, and gains two paths: the legacy Discord delete, and the PATCH route's podId, which is refused on a hosted row only because the row holds no linkedUserId. - §10: the witness moves from step 4 to step 6. Step 4 keeps TASK-175's refusal. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The hosted-MCP scope said TASK-147's per-path witness lands before the mint admits
hosted-mcp(§7, and step 4 in §10). Main doesn't follow that order: #2002 admits the type first. It doesn't need to.HOSTED_MCP_ENTRIESis[](backend/integrations/hostedMcp/entries.ts:14), so no hosted row can exist yet and no hosted grant can be minted. The order binds at the first catalogue entry instead.routes/discord.ts:241) finds its row byinstallationIdandtype: 'discord'. TASK-147's title names this path, but the census did not.PATCH /api/integrations/:idcan set apodIdon a user-scoped row, and that would put the row in reach of pod deletion'sdeleteMany({ podId }). The route refuses a hosted row only because the row holds noconfig.linkedUserId(routes/integrations.ts:672), so a witness now pins that refusal.What I checked, on
87c73258Integrationdelete and bulk update:podController.ts:730admin/installables.ts:108and:145discord.ts:246integrations.ts:822installableReconciler.ts:86and:127decisionCardReconcileService.ts:175, which only stampsclosedAton a card.PATCH /:idis the one generic writer that setspodId,statusorisActive. The others I read are scoped to their own provider's rows, or write fields that move no row.Docs only: 1 file, +6/−2.
Gate: Rhea
🤖 Generated with Claude Code