Repository navigation
Generic --ack extension:id for risky scaffold acknowledgements (refs #345) - #354
Merged
Merged
Conversation
…ion:id (refs #345) Replaces the store-specific --allow-public-write flag and the allowPublicWrite/publicWrite contract fields with ScaffoldRequest.acknowledgements and ScaffoldResult.acknowledged. Core rejects unconsumed acknowledgements and prints the exact retry command on refusal. Co-Authored-By: Claude Sonnet 5 <[email protected]>
jimhoyd
force-pushed
the
feat/generic-scaffold-ack-345
branch
from
September 21, 2026 00:23
84f221d to
e390137
Compare
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.
Refs #345 (does not close it).
What
--allow-public-write,ScaffoldRequest.allowPublicWriteandScaffoldResult.publicWritewith a generic channel: repeatable--ack <extension>:<id>-> opaqueScaffoldRequest.acknowledgements; scaffolds list what they used inScaffoldResult.acknowledged.--ackno scaffold consumed (before writing), rejects malformed ids, and rejects a scaffold claiming an id it was not given or not qualified with its own name.acknowledgement: '<name>:<id>'; core appends the exact re-run command (same --with/--pin/--no-manifest plus all --ack). Store usesstore:public-write.routeNotes(core only renders).Back-compat decision
--allow-public-writeis removed, not aliased. Published core 0.4.2 never accepted it (only main did), so no released core user has it in history; an alias would need core to map it to a store id, which is the store-specific knowledge this issue removes. Note: published @jimhoyd/urlcode-store 0.4.2 already contains the old refusal readingrequest.allowPublicWrite; it cannot be satisfied by any core, and the new store needs a core that sendsacknowledgements(peer floor is #346's area; store scaffold edits kept minimal).Verification
npm ci,npm run docs:llms,npm run check:docs,npm run verify(incl. verify:workspaces, workspace-integration) pass locally. Core pack: 428 files (cap 440); ui untouched.🤖 Generated with Claude Code