Skip to content

fix(stage): say the not-on-GitHub approval hint needs a terminal - #146

Merged
cabljac merged 1 commit into
mainfrom
fix/approval-off-hint
Oct 21, 2026
Merged

cabljac merged 1 commit into
mainfrom
fix/approval-off-hint

Conversation

@cabljac

@cabljac cabljac commented Oct 21, 2026

Copy link
Copy Markdown
Owner

On a mirror with approval reviewed or two-person whose origin is not on GitHub, venfork stage refuses with a precondition error, because it cannot read the mirror PR. The hint said to run venfork stage approval off. Lowering the level needs a person to confirm at a terminal, so a script or agent that followed the hint wrote off without a confirm, and the next stage refused with gate-weakened. The hint led to a second refusal.

The hint now says that a mirror not on GitHub cannot use the gate, and to run venfork stage approval off at a terminal and confirm it. The gate behaviour does not change: a lowered level still needs a person at a terminal.

Repro first: on the verify fixture (local bare origin), stage approval two-person, stage --no-pr --yes, stage approval off, stage --no-pr --yes ended in gate-weakened. With the fix the same drive at a terminal (vf_yes stage approval off) stages the branch. The new integration test in tests/integration/approval.test.ts pins the hint text and that following it stages. bun run verify passes (1322 unit, 529 integration).

Not verified: e2e tiers.

On a gated mirror whose origin is not on GitHub, stage refused with a
precondition hint to run `venfork stage approval off`. Lowering the level
needs a person to confirm at a terminal, so a script or agent that followed
the hint got `gate-weakened` on the next stage. The hint now says to run it
at a terminal and confirm it.
@cabljac
cabljac merged commit fca9179 into main Oct 21, 2026
4 checks passed
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