You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bound Code Execution in the Local Strict Review Brief #2864
The local-strict-review brief's Bounds line reads "read-only. No edit, no stage, no commit, no push, no PR-hosted write of any kind." It says nothing about executing the code under review. A reviewer that probes a script's argument handling by running it is still inside those words, and a probe loop that builds its argument list from an array holding an empty string runs every script once with no arguments.
For a dev-loop script, a bare run is the real thing. In a downstream repository it built a virtualenv, seeded a config directory, and started an application server for a few seconds before a timeout killed it. Every artifact was gitignored, so git status stayed clean and the pass still read as "read-only". The reviewer reported it honestly. Nothing in the brief would have stopped it.
Proposal
Add an execution bound to the brief's Bounds line, for example: "Execute nothing from the change under review unless the brief names the exact command and arguments; a lint or type-check command the brief lists is the exception." The author's own verification already covers behavior, and a reviewer that needs a run to prove a finding can name the command in its report instead.
Done when
The brief template in local-strict-review "Running It" carries an execution bound.
The fleet-code-review "Review the Change" section either says the same or states that execution belongs to the author.
Activity
Bound Code Execution in the Local Strict Review Brief (#2879)