mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-31 22:14:25 +01:00
Ports the non-reviewer parts of #3633 (gsta-167-pr34) and #3637 (gsta-167-pr5 @2914400)
onto main ae3d58c (v1.91.331.0). Reviewer briefs, checklists, the fix-check prompt and
the depth rules are byte-identical to main and now pinned in
test/review-packets-removed.test.ts.
Left out: gstack-review-packet and its libs, parallel/batched fanout, --like, collect,
the audit prompt split, the docs-audit packet, review-army/adversarial/outside-voice
edits, the gate-scan summary-only block and the review-depth scope-error change.
Packet-bytes reader pricing is dropped from gstack-ship-budget; handoff READ ranges
send each section whole; the driver runs the audit, review, adversarial and
documentation sections as written.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
11 lines
450 B
TypeScript
Executable File
11 lines
450 B
TypeScript
Executable File
#!/usr/bin/env -S bun --no-env-file --config=/dev/null
|
|
/**
|
|
* gstack-ship-preflight — /ship Steps 1-3 and Step 5's pregate and lanes in one call, with
|
|
* STOP:/NEXT: lines wherever the agent must judge. Logic: lib/ship-preflight.ts.
|
|
*/
|
|
import { preflight } from '../lib/ship-preflight';
|
|
|
|
const out = await preflight(process.argv.slice(2), process.cwd());
|
|
(out.exit === 2 ? process.stderr : process.stdout).write(out.text);
|
|
process.exit(out.exit);
|