Skip to content

chore(charter): publish rules match the exact command, no arguments - #76

Merged
mattonweb merged 1 commit into
mainfrom
chore/exact-publish-rules
Nov 7, 2026
Merged

mattonweb merged 1 commit into
mainfrom
chore/exact-publish-rules

Conversation

@mattonweb

Copy link
Copy Markdown
Owner

The allow rules for tools/publish-.ps1 ended in : and so accepted trailing arguments, which would have let a session pass -Destination and publish anywhere it could write. They now match the bare command only; the scripts take their folder from their own defaults. Matt agreed 2026-11-07.

Verified: settings.json parses; the two rule forms (PowerShell, Bash) read back without :*.

The allow rules for tools/publish-*.ps1 ended in :* and so accepted
trailing arguments, which would have let a session pass -Destination
and publish anywhere it could write. They now match the bare command
only; the scripts take their folder from their own defaults. Matt
agreed 2026-11-07.

Verified: settings.json parses; the two rule forms (PowerShell, Bash)
read back without :*.
@mattonweb
mattonweb merged commit c548eeb into main Nov 7, 2026
1 check passed
@mattonweb
mattonweb deleted the chore/exact-publish-rules branch November 7, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant