Skip to content

decide(owner): allowlist npx vitest run/list so interactive /exec and /qa don't prompt (#1349 follow-up) #1361

Open

Description

@admarble

Summary

Add npx vitest run * and npx vitest list * to RUNNER_ALLOWLIST in the allowed-tools gate, and grant them in the exec and qa skills, so an interactive /exec or /qa runs the affected tests (#1349) without a permission prompt.

Current State

Decision needed

npx vitest run * fits the allowlist's rule (fixed subcommand run), but its arguments include --config <file>, which loads arbitrary code. That is the same reach as the already-granted npm test:* (the repo's own script), but any config path. Owner to decide: allowlist with a reason, or keep prompting.

Acceptance Criteria

  • AC-1: owner decision recorded on this issue (allowlist, or close as won't-do) — Evidence: issue comment
  • AC-2: if allowlisted, RUNNER_ALLOWLIST has npx vitest run * and npx vitest list * with reasons, exec and qa grant Bash(npx vitest run:*) and Bash(npx vitest list:*), and the gate passes — Evidence: npx vitest run src/lib/__tests__/skill-allowed-tools-gate.test.ts

Context

Activity

  1. added
    enhancement
    human-required
    on Oct 8, 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

    enhancementhuman-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions