Skip to content

fix: bound the vault-MCP parity audit's CLI scan to its own subparser#32

Merged
joeseverino merged 1 commit into
mainfrom
fix/parity-audit-cli-scan
Jun 23, 2026
Merged

fix: bound the vault-MCP parity audit's CLI scan to its own subparser#32
joeseverino merged 1 commit into
mainfrom
fix/parity-audit-cli-scan

Conversation

@joeseverino

Copy link
Copy Markdown
Owner

Changes

Modified: tests/audits/check-vault-mcp-parity.mjs

1 file changed, 5 insertions(+), 1 deletion(-)

parseCliUpdateFlags anchored the end of the update-writeup block on
`args = parser.parse_args()`, which lives in __main__.py, not cli.py — so the
slice ran to EOF and swept up every later subcommand's flags. Adding any
subcommand after update-writeup (the new task-* verbs did) tripped it. Bound
the scan to the next `.add_parser(` so it reads only update-writeup, order-
independent.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying jseverino with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b15971
Status: ✅  Deploy successful!
Preview URL: https://bce33c2b.jseverino.pages.dev
Branch Preview URL: https://fix-parity-audit-cli-scan.jseverino.pages.dev

View logs

@joeseverino joeseverino merged commit f0ebff3 into main Jun 23, 2026
7 checks passed
@joeseverino joeseverino deleted the fix/parity-audit-cli-scan branch June 23, 2026 23:18
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