Orca-Code-Review/scripts
Zhenghua Bao a49ffb5981
chore(summary): drop --fix-first and --held, which nothing reads (#55)
Both flags survived the cascade that gave them meaning. --held marked a
cheap pass withholding a strong review, and --fix-first let the blocking
count follow the fix-first set on such a run, because block-on need not
contain those severities. There is no withholding and no tier line any
more, so the count has followed block-on alone for some time — while the
two flags went on being parsed, and --fix-first went on being validated,
with neither value read by anything downstream.

fix-first REMAINS an action input. It stops the exhaustive loop early
(action.yml), which is a different question from what the summary counts;
the header now says so, so the name cannot argue its way back into this
count later.

Removing a flag the script no longer understands is safe to ship on its
own: the argument loop has no else branch, so an unrecognised flag and the
value after it are skipped one token at a time without shifting the flags
that follow. The surviving block-on test now passes --fix-first in the
MIDDLE of the argv to hold that property down.

Also scopes the action-inputs reference to this action: the hosted App runs
a different review engine, so fix-first and exhaustive can behave
differently there, and the file now says to answer App questions from the
console instead.

Test suite is unchanged by this: 558 pass / 9 fail before and after, the
failures being a pre-existing CRLF mismatch in the action.yml input tests
on a Windows checkout.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
History 2026-09-21 10:09:40 +08:00
..
check-result.mjs fix: fail closed when the L2 judge is unavailable, and name which gate closed (#52) 2026-09-09 14:13:25 +08:00
check-result.test.mjs fix: fail closed when the L2 judge is unavailable, and name which gate closed (#52) 2026-09-09 14:13:25 +08:00
control-plane.mjs fix: control-plane URLs preserve gateway sub-paths (self-hosted deployments) 2026-07-04 10:00:59 +00:00
control-plane.test.mjs fix: control-plane URLs preserve gateway sub-paths (self-hosted deployments) 2026-07-04 10:00:59 +00:00
conventions-directive.test.mjs Feed repo conventions (AGENTS.md/CLAUDE.md) to the review engine (#5) 2026-07-17 18:46:47 +08:00
diff-guard.mjs feat: raise the diff limits so a large PR gets reviewed instead of refused (#53) 2026-09-09 15:02:50 +08:00
diff-guard.test.mjs feat: raise the diff limits so a large PR gets reviewed instead of refused (#53) 2026-09-09 15:02:50 +08:00
exhaustive-merge.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
exhaustive-merge.test.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
fact-proxy.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
fact-proxy.test.mjs fix: point the action at the router's current name (#29) 2026-08-26 15:02:41 +08:00
gate.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
gate.test.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
harness.test.mjs feat: review locally with your own agent as the engine (#51) 2026-09-03 10:27:13 +08:00
i18n.test.mjs feat(cli): add Japanese and Korean (#34) 2026-08-26 16:29:16 +08:00
inject-summary.mjs Sync the product name to "OrcaCode Review", accept all four trigger spellings (#12) 2026-08-18 17:45:49 +08:00
inject-summary.test.mjs Sync the product name to "OrcaCode Review", accept all four trigger spellings (#12) 2026-08-18 17:45:49 +08:00
installer.test.mjs feat: review locally with your own agent as the engine (#51) 2026-09-03 10:27:13 +08:00
judge.mjs fix: fail closed when the L2 judge is unavailable, and name which gate closed (#52) 2026-09-09 14:13:25 +08:00
judge.test.mjs fix: fail closed when the L2 judge is unavailable, and name which gate closed (#52) 2026-09-09 14:13:25 +08:00
localconfig.test.mjs feat: review locally with your own agent as the engine (#51) 2026-09-03 10:27:13 +08:00
platforms.test.mjs feat: review locally with your own agent as the engine (#51) 2026-09-03 10:27:13 +08:00
postfilter.mjs v1.4.1: address review follow-ups on precision-filter (#10) 2026-07-24 17:08:39 +08:00
postfilter.test.mjs test: cover postfilter.mjs 2026-08-19 11:07:13 +08:00
prompt.test.mjs feat!: the CLI installs the skill and hands over; it no longer interrogates (#25) 2026-08-25 18:07:30 +08:00
quiet-filter.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
recipe.test.mjs fix: the shipped recipe kept a bare default, so a pasted copy lost the judge (#49) 2026-08-27 10:08:40 +08:00
report-filter.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
report-filter.test.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
report.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
report.test.mjs feat: one review tier, and a report_on severity filter (#28) 2026-08-26 13:51:58 +08:00
selection.test.mjs feat: review locally with your own agent as the engine (#51) 2026-09-03 10:27:13 +08:00
settings.mjs fix: fail closed when the L2 judge is unavailable, and name which gate closed (#52) 2026-09-09 14:13:25 +08:00
settings.test.mjs fix: fail closed when the L2 judge is unavailable, and name which gate closed (#52) 2026-09-09 14:13:25 +08:00
severity.mjs Sync the product name to "OrcaCode Review", accept all four trigger spellings (#12) 2026-08-18 17:45:49 +08:00
severity.test.mjs P3 severity + summary pinned to top of PR description (#4) 2026-07-16 19:07:27 +08:00
summary-comment.mjs chore(summary): drop --fix-first and --held, which nothing reads (#55) 2026-09-21 10:09:40 +08:00
summary-comment.test.mjs chore(summary): drop --fix-first and --held, which nothing reads (#55) 2026-09-21 10:09:40 +08:00
usage-summary.mjs fix: stop --pricing from being mistaken for the usage file 2026-08-19 11:27:45 +08:00
usage-summary.test.mjs fix: stop --pricing from being mistaken for the usage file 2026-08-19 11:27:45 +08:00