Summary
Add --viewport <name> flag (repeatable) to filter the
configured viewport set. CLI iterates over viewports, reuses
the browser process, and runs rules in parallel across
viewports.
Crate / area
plumb-cli — the plumb binary (only crate allowed stdout/stderr + anyhow)
Phase / batch
Part of #10 → Batch 1B (Integration — real DOMSnapshot + viewport multi-run).
Effort: M
PRD references
Acceptance criteria
Dependencies
- None (first in batch; batch-level deps gate this).
Review gates
02-spec-reviewer
03-code-quality-reviewer
05-architecture-validator
04-test-runner
How to deliver
Dispatch /gh-issue <this-issue-number>. See the root AGENTS.md and the scoped plumb-cli/AGENTS.md for the invariants that apply.
Suggested delivery: gh-issue
Summary
Add
--viewport <name>flag (repeatable) to filter theconfigured viewport set. CLI iterates over viewports, reuses
the browser process, and runs rules in parallel across
viewports.
Crate / area
plumb-cli — the
plumbbinary (only crate allowed stdout/stderr + anyhow)Phase / batch
Part of #10 → Batch
1B(Integration — real DOMSnapshot + viewport multi-run).Effort: M
PRD references
Acceptance criteria
plumb lint <url> --viewport mobile --viewport desktopruns against exactly those two viewports.--viewport, every configured viewport runs.Dependencies
Review gates
02-spec-reviewer03-code-quality-reviewer05-architecture-validator04-test-runnerHow to deliver
Dispatch
/gh-issue <this-issue-number>. See the rootAGENTS.mdand the scopedplumb-cli/AGENTS.mdfor the invariants that apply.Suggested delivery: gh-issue