@tokenfactory/acc-runner 0.44.1 → 0.44.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -1
- package/dist/bin-resolve.d.ts +39 -3
- package/dist/bin-resolve.d.ts.map +1 -1
- package/dist/bin-resolve.js +176 -12
- package/dist/bin-resolve.js.map +1 -1
- package/dist/build-fingerprint.d.ts +66 -0
- package/dist/build-fingerprint.d.ts.map +1 -0
- package/dist/build-fingerprint.js +70 -0
- package/dist/build-fingerprint.js.map +1 -0
- package/dist/build-info.generated.d.ts +3 -0
- package/dist/build-info.generated.d.ts.map +1 -0
- package/dist/build-info.generated.js +3 -0
- package/dist/build-info.generated.js.map +1 -0
- package/dist/capacity/resume-controller.d.ts +5 -3
- package/dist/capacity/resume-controller.d.ts.map +1 -1
- package/dist/capacity/resume-controller.js +9 -0
- package/dist/capacity/resume-controller.js.map +1 -1
- package/dist/chat-delegation-guard.d.ts +23 -0
- package/dist/chat-delegation-guard.d.ts.map +1 -0
- package/dist/chat-delegation-guard.js +62 -0
- package/dist/chat-delegation-guard.js.map +1 -0
- package/dist/chat-lane.d.ts +17 -6
- package/dist/chat-lane.d.ts.map +1 -1
- package/dist/chat-lane.js +29 -8
- package/dist/chat-lane.js.map +1 -1
- package/dist/companion-identity.d.ts +37 -0
- package/dist/companion-identity.d.ts.map +1 -1
- package/dist/companion-identity.js +98 -29
- package/dist/companion-identity.js.map +1 -1
- package/dist/companion-run.d.ts +1 -50
- package/dist/companion-run.d.ts.map +1 -1
- package/dist/companion-run.js +48 -105
- package/dist/companion-run.js.map +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +14 -3
- package/dist/config.js.map +1 -1
- package/dist/conformance.d.ts +49 -0
- package/dist/conformance.d.ts.map +1 -0
- package/dist/conformance.js +121 -0
- package/dist/conformance.js.map +1 -0
- package/dist/cost-pricing.d.ts +46 -0
- package/dist/cost-pricing.d.ts.map +1 -1
- package/dist/cost-pricing.js +58 -1
- package/dist/cost-pricing.js.map +1 -1
- package/dist/credential-identity.d.ts +70 -0
- package/dist/credential-identity.d.ts.map +1 -0
- package/dist/credential-identity.js +128 -0
- package/dist/credential-identity.js.map +1 -0
- package/dist/doctor.d.ts +33 -1
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js +284 -44
- package/dist/doctor.js.map +1 -1
- package/dist/engines/chat-stream.d.ts +71 -1
- package/dist/engines/chat-stream.d.ts.map +1 -1
- package/dist/engines/chat-stream.js +126 -8
- package/dist/engines/chat-stream.js.map +1 -1
- package/dist/engines/claude-code-chat.d.ts +11 -1
- package/dist/engines/claude-code-chat.d.ts.map +1 -1
- package/dist/engines/claude-code-chat.js +69 -5
- package/dist/engines/claude-code-chat.js.map +1 -1
- package/dist/engines/claude-code.d.ts.map +1 -1
- package/dist/engines/claude-code.js +30 -6
- package/dist/engines/claude-code.js.map +1 -1
- package/dist/engines/codex.d.ts.map +1 -1
- package/dist/engines/codex.js +18 -5
- package/dist/engines/codex.js.map +1 -1
- package/dist/engines/registry.d.ts +26 -0
- package/dist/engines/registry.d.ts.map +1 -1
- package/dist/engines/registry.js +37 -0
- package/dist/engines/registry.js.map +1 -1
- package/dist/engines/types.d.ts +5 -0
- package/dist/engines/types.d.ts.map +1 -1
- package/dist/failure-classifier.d.ts +1 -1
- package/dist/failure-classifier.d.ts.map +1 -1
- package/dist/failure-classifier.js +65 -12
- package/dist/failure-classifier.js.map +1 -1
- package/dist/gh.d.ts +15 -0
- package/dist/gh.d.ts.map +1 -1
- package/dist/gh.js +18 -0
- package/dist/gh.js.map +1 -1
- package/dist/git.d.ts +6 -0
- package/dist/git.d.ts.map +1 -1
- package/dist/git.js +27 -1
- package/dist/git.js.map +1 -1
- package/dist/keychain.d.ts +17 -0
- package/dist/keychain.d.ts.map +1 -1
- package/dist/keychain.js +30 -0
- package/dist/keychain.js.map +1 -1
- package/dist/loc-advisory.d.ts +70 -0
- package/dist/loc-advisory.d.ts.map +1 -0
- package/dist/loc-advisory.js +196 -0
- package/dist/loc-advisory.js.map +1 -0
- package/dist/locks/claim-lock-policy.d.ts +67 -0
- package/dist/locks/claim-lock-policy.d.ts.map +1 -0
- package/dist/locks/claim-lock-policy.js +132 -0
- package/dist/locks/claim-lock-policy.js.map +1 -0
- package/dist/login.d.ts +59 -2
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +87 -7
- package/dist/login.js.map +1 -1
- package/dist/mcp-spawn.d.ts +54 -0
- package/dist/mcp-spawn.d.ts.map +1 -1
- package/dist/mcp-spawn.js +88 -4
- package/dist/mcp-spawn.js.map +1 -1
- package/dist/migration-seq-guard.d.ts +28 -1
- package/dist/migration-seq-guard.d.ts.map +1 -1
- package/dist/migration-seq-guard.js +111 -6
- package/dist/migration-seq-guard.js.map +1 -1
- package/dist/output-diagnostics.d.ts +15 -0
- package/dist/output-diagnostics.d.ts.map +1 -0
- package/dist/output-diagnostics.js +95 -0
- package/dist/output-diagnostics.js.map +1 -0
- package/dist/pr-open-guard.d.ts +67 -0
- package/dist/pr-open-guard.d.ts.map +1 -0
- package/dist/pr-open-guard.js +79 -0
- package/dist/pr-open-guard.js.map +1 -0
- package/dist/prepr-gate.d.ts +229 -1
- package/dist/prepr-gate.d.ts.map +1 -1
- package/dist/prepr-gate.js +406 -3
- package/dist/prepr-gate.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +30 -5
- package/dist/program.js.map +1 -1
- package/dist/provider-auth.d.ts +8 -0
- package/dist/provider-auth.d.ts.map +1 -1
- package/dist/provider-auth.js +10 -0
- package/dist/provider-auth.js.map +1 -1
- package/dist/runtime/quarantine.d.ts +11 -0
- package/dist/runtime/quarantine.d.ts.map +1 -1
- package/dist/runtime/quarantine.js +16 -1
- package/dist/runtime/quarantine.js.map +1 -1
- package/dist/runtime/reviewer.d.ts +90 -2
- package/dist/runtime/reviewer.d.ts.map +1 -1
- package/dist/runtime/reviewer.js +547 -46
- package/dist/runtime/reviewer.js.map +1 -1
- package/dist/runtime/running-build.d.ts +24 -0
- package/dist/runtime/running-build.d.ts.map +1 -0
- package/dist/runtime/running-build.js +62 -0
- package/dist/runtime/running-build.js.map +1 -0
- package/dist/runtime/worktree.d.ts +45 -0
- package/dist/runtime/worktree.d.ts.map +1 -1
- package/dist/runtime/worktree.js +174 -5
- package/dist/runtime/worktree.js.map +1 -1
- package/dist/task-runner.d.ts +126 -5
- package/dist/task-runner.d.ts.map +1 -1
- package/dist/task-runner.js +1219 -127
- package/dist/task-runner.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/watch-chat/wire.d.ts +80 -0
- package/dist/watch-chat/wire.d.ts.map +1 -1
- package/dist/watch-chat/wire.js +203 -43
- package/dist/watch-chat/wire.js.map +1 -1
- package/dist/watch.d.ts +70 -16
- package/dist/watch.d.ts.map +1 -1
- package/dist/watch.js +501 -89
- package/dist/watch.js.map +1 -1
- package/package.json +2 -2
package/dist/prepr-gate.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PinnedNodeResolution } from "./node-version.js";
|
|
2
|
-
export type PreprGateName = "nul-check" | "scope" | "typecheck" | "lint" | "build" | "test" | "migration-lint";
|
|
2
|
+
export type PreprGateName = "nul-check" | "scope" | "deps" | "deps-stale" | "typecheck" | "lint" | "build" | "test" | "migration-lint";
|
|
3
3
|
/**
|
|
4
4
|
* Run order. typecheck → lint → build → test mirrors the CLAUDE.md quality-gate
|
|
5
5
|
* order (cheapest / most-likely-to-fail first) so a broken worktree fails on
|
|
@@ -14,6 +14,34 @@ export interface PreprGateFailure {
|
|
|
14
14
|
exitCode: number | null;
|
|
15
15
|
/** Tail of the gate's combined stdout+stderr — what broke, log-safe. */
|
|
16
16
|
outputTail: string;
|
|
17
|
+
/**
|
|
18
|
+
* PREPR-GATE-TIMEOUT-VISIBILITY-1: set iff `gate === "test"`. A structured
|
|
19
|
+
* fingerprint of the red suite so a consumer never has to grep `outputTail`
|
|
20
|
+
* to answer "which test, and did it TIME OUT?". A gate failure that is a
|
|
21
|
+
* per-test TIMEOUT (`timedOut: true`) is a categorically different signal from
|
|
22
|
+
* an assertion failure — it is almost always slow-box / concurrency, not a
|
|
23
|
+
* defect in the diff — and downstream triage must be able to tell them apart
|
|
24
|
+
* from the record alone.
|
|
25
|
+
*/
|
|
26
|
+
test?: PreprTestFailureDetail;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* PREPR-GATE-TIMEOUT-VISIBILITY-1: the machine-readable summary of a red `test`
|
|
30
|
+
* gate. Built from the gate's raw output by `describeTestGateFailure`, so both
|
|
31
|
+
* the timeout flag and the offending test id come from the SAME parse the
|
|
32
|
+
* baseline-consult already trusts (`parseVitestFailLines`).
|
|
33
|
+
*/
|
|
34
|
+
export interface PreprTestFailureDetail {
|
|
35
|
+
/** True when the run failed (at least partly) on a per-test/hook TIMEOUT. */
|
|
36
|
+
timedOut: boolean;
|
|
37
|
+
/** Every failing id, ordered + de-duplicated (`<relFile> > <full name>`). */
|
|
38
|
+
failing: string[];
|
|
39
|
+
/** The first failing id, or null when none could be parsed. */
|
|
40
|
+
primaryId: string | null;
|
|
41
|
+
/** The first failing test's file, split off `primaryId`. */
|
|
42
|
+
file: string | null;
|
|
43
|
+
/** The first failing test's name, split off `primaryId`. */
|
|
44
|
+
name: string | null;
|
|
17
45
|
}
|
|
18
46
|
export interface PreprGateResult {
|
|
19
47
|
/** True when every present gate passed (or the gate was skipped). */
|
|
@@ -26,6 +54,14 @@ export interface PreprGateResult {
|
|
|
26
54
|
absent: PreprGateName[];
|
|
27
55
|
/** Set iff `ok === false`: the first gate that failed + its output tail. */
|
|
28
56
|
failure?: PreprGateFailure;
|
|
57
|
+
/**
|
|
58
|
+
* PREPR-GATE-CRASH-CLASS-1: set (with `ok: false` and NO `failure`) when a
|
|
59
|
+
* gate's TOOL crashed — exit ≥128 / a killing signal / a V8 crash banner — on
|
|
60
|
+
* BOTH its first run and its one retry. INFRA, not a verdict: the caller must
|
|
61
|
+
* NOT fail the task and must NOT discard an already-open PR. `ok` stays false
|
|
62
|
+
* so no PR is opened off a check that never ran.
|
|
63
|
+
*/
|
|
64
|
+
crash?: PreprGateCrash;
|
|
29
65
|
/**
|
|
30
66
|
* SHADOW MODE: set when the migration linter reported findings but the
|
|
31
67
|
* `migration_lint_blocking` knob is OFF — the PR was NOT blocked, but the
|
|
@@ -104,6 +140,7 @@ export interface PreprGateDeps {
|
|
|
104
140
|
runGate?: (workdir: string, gate: PreprGateName) => Promise<{
|
|
105
141
|
exitCode: number | null;
|
|
106
142
|
output: string;
|
|
143
|
+
signal?: string | null;
|
|
107
144
|
}>;
|
|
108
145
|
/** Env source for the skip flag. Default: `process.env`. */
|
|
109
146
|
env?: NodeJS.ProcessEnv;
|
|
@@ -360,6 +397,174 @@ export declare function classifyTestEnvironmentFailure(output: string, ctx?: Tes
|
|
|
360
397
|
* neither the reviewer nor the rework loop charges it to the PR.
|
|
361
398
|
*/
|
|
362
399
|
export declare function formatTestEnvironmentNotice(verdict: TestEnvironmentVerdict, ctx: TestEnvironmentContext, outputTail: string): string;
|
|
400
|
+
/**
|
|
401
|
+
* The classification a gate whose TOOL crashed carries — deliberately distinct
|
|
402
|
+
* from `prepr_gate_failed`: a non-zero exit from tsc/eslint/vitest is a verdict
|
|
403
|
+
* ON THE DIFF, but a tool that aborted produced no verdict at all.
|
|
404
|
+
*
|
|
405
|
+
* Live incident 2026-08-28 (runner ljoz): `tsc --noEmit` crashed V8 (exit 134,
|
|
406
|
+
* "Abort trap: 6", node v22.23.2) on EVERY prepr_gate run; the runner read the
|
|
407
|
+
* crash as a typecheck FAILURE and flipped tasks needs-review → failed AFTER
|
|
408
|
+
* their PRs were already open with CI typecheck GREEN (#2050, #2052), and
|
|
409
|
+
* failed-task-triage then requeued finished work for full re-runs.
|
|
410
|
+
*/
|
|
411
|
+
export declare const GATE_TOOL_CRASHED_CLASSIFICATION: "gate_tool_crashed";
|
|
412
|
+
/**
|
|
413
|
+
* POSIX shells (and pnpm, which mirrors them) report "killed by signal N" as
|
|
414
|
+
* exit 128+N, so anything at or above the floor is a death, not a verdict — no
|
|
415
|
+
* gate tool here exits ≥128 to mean "found problems" (tsc 1/2, eslint 1/2,
|
|
416
|
+
* vitest 1). The map only names the common offsets for the operator log.
|
|
417
|
+
*/
|
|
418
|
+
export declare const GATE_CRASH_EXIT_FLOOR = 128;
|
|
419
|
+
/** `134` → `SIGABRT`; an unmapped offset → null (still a crash, just unnamed). */
|
|
420
|
+
export declare function signalForExitCode(exitCode: number): string | null;
|
|
421
|
+
/**
|
|
422
|
+
* Stderr fingerprints of a gate tool DYING rather than reporting findings. They
|
|
423
|
+
* exist because the exit code alone is not always ≥128: a wrapper (pnpm/turbo)
|
|
424
|
+
* can normalise a child's signal death to exit 1, and V8's OOM path prints its
|
|
425
|
+
* fatal banner before exiting 134 *or* 1 depending on how it was reached.
|
|
426
|
+
* Ordered most-specific first; the first match wins.
|
|
427
|
+
*
|
|
428
|
+
* Each pattern matches an ANNOUNCEMENT of a death — the shell's `(core dumped)`
|
|
429
|
+
* / `: <signum>` suffix, a wrapper's "Command failed with signal", or a V8
|
|
430
|
+
* banner line — never a bare mention of a signal name. That precision is the
|
|
431
|
+
* whole point: a gate's output routinely QUOTES these tokens without having
|
|
432
|
+
* crashed (a red `test` gate prints the names and source lines of failing
|
|
433
|
+
* tests, and this repo's own suite asserts on "SIGABRT", "SIGSEGV" and
|
|
434
|
+
* "Segmentation fault"). A false positive here is the expensive direction —
|
|
435
|
+
* it discards a genuine verdict on the diff and reports it as infra — so these
|
|
436
|
+
* stay narrow, and the exit-code / signal paths above carry the real load.
|
|
437
|
+
*/
|
|
438
|
+
export declare const GATE_CRASH_SIGNATURES: Array<{
|
|
439
|
+
id: string;
|
|
440
|
+
re: RegExp;
|
|
441
|
+
hint: string;
|
|
442
|
+
}>;
|
|
443
|
+
/** Verdict of the gate-crash classifier. `crashed` → INFRA, never a failure. */
|
|
444
|
+
export interface GateCrashVerdict {
|
|
445
|
+
crashed: boolean;
|
|
446
|
+
/** Which rule matched (`exit-134`, `signal:SIGABRT`, or a signature id). */
|
|
447
|
+
signature: string | null;
|
|
448
|
+
/** Log-safe reason, whichever way it went. */
|
|
449
|
+
reason: string;
|
|
450
|
+
/**
|
|
451
|
+
* WHICH evidence carried the call. `signal` and `exit-code` are the process's
|
|
452
|
+
* own death certificate and are trusted outright; `output-signature` is a read
|
|
453
|
+
* of text the gate PRINTED, which a gate can also print while alive, so
|
|
454
|
+
* callers may second-guess it against a verdict the same output carries.
|
|
455
|
+
* `runner-threw` is the harness itself blowing up — also not a text read.
|
|
456
|
+
*/
|
|
457
|
+
basis: "signal" | "exit-code" | "output-signature" | "runner-threw" | "none";
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* Decide whether a non-zero gate result is the TOOL crashing (infra) rather
|
|
461
|
+
* than the gate reporting findings (a verdict on the diff). Fails CLOSED toward
|
|
462
|
+
* "real failure": only an explicit signal, an exit in the 128+N band, or a known
|
|
463
|
+
* crash fingerprint counts. A bare `exitCode: null` does NOT — null means
|
|
464
|
+
* "unknown" to the injected gate runners, and reading it as a crash would wave
|
|
465
|
+
* genuine failures through as infra.
|
|
466
|
+
*/
|
|
467
|
+
export declare function classifyGateCrash(exitCode: number | null, output: string, signal?: string | null): GateCrashVerdict;
|
|
468
|
+
/** The reported shape of a gate whose TOOL crashed on every attempt it got. */
|
|
469
|
+
export interface PreprGateCrash {
|
|
470
|
+
classification: typeof GATE_TOOL_CRASHED_CLASSIFICATION;
|
|
471
|
+
gate: PreprGateName;
|
|
472
|
+
/** Exit code of the crashed run (null when it died on a signal) + the signal. */
|
|
473
|
+
exitCode: number | null;
|
|
474
|
+
signal: string | null;
|
|
475
|
+
/** Which rule matched (see `classifyGateCrash`) and why, log-safe. */
|
|
476
|
+
signature: string;
|
|
477
|
+
reason: string;
|
|
478
|
+
/** How many times the gate ran (the one retry makes this 2). */
|
|
479
|
+
attempts: number;
|
|
480
|
+
/** `gate_tool_crashed:<gate>` — what the caller writes as block_reason. */
|
|
481
|
+
blockReason: string;
|
|
482
|
+
/** The operator/reviewer-facing INFRA notice — log/PR-safe, quote verbatim. */
|
|
483
|
+
reviewerNotice: string;
|
|
484
|
+
outputTail: string;
|
|
485
|
+
}
|
|
486
|
+
/** `gate_tool_crashed:typecheck` — the canonical block_reason for a crash. */
|
|
487
|
+
export declare function gateCrashBlockReason(gate: PreprGateName): string;
|
|
488
|
+
/**
|
|
489
|
+
* Build the reported crash. Its notice opens with the prefix the reviewer
|
|
490
|
+
* already treats as "harness fault, not a defect" (`INFRA_NOTICE_PREFIX`) and
|
|
491
|
+
* states the handling explicitly: the diff is unjudged, so nothing may be
|
|
492
|
+
* failed or closed on this evidence.
|
|
493
|
+
*/
|
|
494
|
+
export declare function buildGateCrash(gate: PreprGateName, verdict: GateCrashVerdict, attempts: number, outputTail: string, exitCode?: number | null, signal?: string | null): PreprGateCrash;
|
|
495
|
+
/**
|
|
496
|
+
* Turn a gate-runner that THREW into the same infra outcome a crashed child
|
|
497
|
+
* produces: a harness that blew up judged nothing either, so it parks the task
|
|
498
|
+
* instead of dead-lettering it. Still fails CLOSED where it matters — `ok` is
|
|
499
|
+
* false, so no PR is opened off the back of it.
|
|
500
|
+
*/
|
|
501
|
+
export declare function gateRunnerCrashResult(err: unknown, gate?: PreprGateName): PreprGateResult;
|
|
502
|
+
/**
|
|
503
|
+
* A gate that RAN and reported findings — a verdict ON THE DIFF, and the only
|
|
504
|
+
* one of the three classes here that is the task's own fault. Sibling of
|
|
505
|
+
* `GATE_TOOL_CRASHED_CLASSIFICATION` (the tool died mid-check, judging nothing)
|
|
506
|
+
* and `DEPS_MISSING_CLASSIFICATION` (the tool was never there to run). All three
|
|
507
|
+
* render as `<class>` or `<class>:<gate>`, so a consumer splits on the first
|
|
508
|
+
* colon and gets a stable machine-readable token either way.
|
|
509
|
+
*/
|
|
510
|
+
export declare const PREPR_GATE_FAILED_CLASSIFICATION: "prepr_gate_failed";
|
|
511
|
+
/**
|
|
512
|
+
* The worktree has NO node_modules — the parent clone is cold and the opt-in
|
|
513
|
+
* per-worktree install is off (or failed) — so every gate binary (tsc / eslint /
|
|
514
|
+
* vite) is absent.
|
|
515
|
+
*
|
|
516
|
+
* Live 2026-08-27: this surfaced as `pnpm typecheck` dying "tsc: command not
|
|
517
|
+
* found", which the runner recorded as a `typecheck` FAILURE — a defect in code
|
|
518
|
+
* that was never compiled. It is an environment fault on the runner HOST,
|
|
519
|
+
* fixable only by `pnpm install` in the parent clone; it gets its own class so
|
|
520
|
+
* triage can never auto-rework a task over a missing binary.
|
|
521
|
+
*/
|
|
522
|
+
export declare const DEPS_MISSING_CLASSIFICATION: "deps-missing";
|
|
523
|
+
/**
|
|
524
|
+
* WORKTREE-STALE-DEPS-1: the worktree's node_modules ARE present — symlinked
|
|
525
|
+
* from the warm parent clone — but a rework merge advanced the worktree's
|
|
526
|
+
* code past the parent's installed deps AFTER the symlinks were seeded. The
|
|
527
|
+
* failures this produces (`Cannot find module 'x'`, plus its untyped-import
|
|
528
|
+
* TS7006/TS2339 tail) land in files the task never touched — an environment
|
|
529
|
+
* fault, not a verdict on the diff. Sibling of `DEPS_MISSING_CLASSIFICATION`
|
|
530
|
+
* (nothing to seed at all); this one is "seeded, but stale".
|
|
531
|
+
*/
|
|
532
|
+
export declare const DEPS_STALE_CLASSIFICATION: "deps-stale";
|
|
533
|
+
/**
|
|
534
|
+
* The `block_reason` for a gate that did not pass: `deps-missing` /
|
|
535
|
+
* `deps-stale` for the two environment faults, else `prepr_gate_failed:<gate>`.
|
|
536
|
+
* The crash case has its own constructor (`gateCrashBlockReason`) and is NOT
|
|
537
|
+
* re-derived here — a crashed tool is classified by `classifyGateCrash` before
|
|
538
|
+
* a failure is ever built.
|
|
539
|
+
*/
|
|
540
|
+
export declare function gateFailureBlockReason(gate: PreprGateName): string;
|
|
541
|
+
/**
|
|
542
|
+
* Operator-facing fix-it for a deps-less worktree. Names `pnpm install` in the
|
|
543
|
+
* PARENT clone (the cheap, correct fix — worktrees are then seeded by symlink)
|
|
544
|
+
* and the opt-in per-worktree install as the slower fallback.
|
|
545
|
+
*/
|
|
546
|
+
export declare function formatDepsMissingFailure(repoPath: string): string;
|
|
547
|
+
/**
|
|
548
|
+
* The gate result a deps-less worktree produces, WITHOUT running anything.
|
|
549
|
+
* Fails closed (`ok: false` — no PR is opened off a check that never ran) and
|
|
550
|
+
* carries `failure.gate === "deps"`, which is what routes the caller to
|
|
551
|
+
* `deps-missing` rather than to a typecheck verdict.
|
|
552
|
+
*/
|
|
553
|
+
export declare function depsMissingGateResult(repoPath: string): PreprGateResult;
|
|
554
|
+
/**
|
|
555
|
+
* WORKTREE-STALE-DEPS-1: operator-facing fix-it for a worktree whose seeded
|
|
556
|
+
* node_modules no longer satisfy pnpm-lock.yaml after a rework merge. `detail`
|
|
557
|
+
* carries the lockfile-identity mismatch so the operator sees exactly what
|
|
558
|
+
* drifted without re-deriving it.
|
|
559
|
+
*/
|
|
560
|
+
export declare function formatDepsStaleFailure(repoPath: string, detail: string): string;
|
|
561
|
+
/**
|
|
562
|
+
* The gate result a stale-deps worktree produces, WITHOUT running anything.
|
|
563
|
+
* Fails closed (`ok: false` — no PR is opened off a check that never ran) and
|
|
564
|
+
* carries `failure.gate === "deps-stale"`, which routes the caller to
|
|
565
|
+
* `deps-stale` rather than to a typecheck verdict.
|
|
566
|
+
*/
|
|
567
|
+
export declare function depsStaleGateResult(repoPath: string, detail: string): PreprGateResult;
|
|
363
568
|
/**
|
|
364
569
|
* Text-source extensions the NUL/binary check scans. An allowlist (never a
|
|
365
570
|
* binary denylist) so genuine binary assets — images, fonts, the design export —
|
|
@@ -518,6 +723,23 @@ export interface ParsedFailLine {
|
|
|
518
723
|
export declare function parseVitestFailLines(output: string): ParsedFailLine[];
|
|
519
724
|
/** Failing ids only — the ordered, de-duplicated id list. */
|
|
520
725
|
export declare function parseVitestFailureIds(output: string): string[];
|
|
726
|
+
/**
|
|
727
|
+
* PREPR-GATE-TIMEOUT-VISIBILITY-1: vitest's per-test / per-hook timeout banner.
|
|
728
|
+
* It prints `Error: Test timed out in 20000ms` (or `Hook timed out in …`) for a
|
|
729
|
+
* test the runner killed at the ceiling — distinct from an assertion, which
|
|
730
|
+
* prints `AssertionError` / a diff. Matched loosely (any `timed out in <n>ms`)
|
|
731
|
+
* so a future vitest wording change does not silently reclassify a timeout as an
|
|
732
|
+
* assertion.
|
|
733
|
+
*/
|
|
734
|
+
export declare const TEST_TIMEOUT_RE: RegExp;
|
|
735
|
+
/**
|
|
736
|
+
* PREPR-GATE-TIMEOUT-VISIBILITY-1: fingerprint a red `test` gate from its raw
|
|
737
|
+
* output — whether it TIMED OUT and which test(s) failed — so the runner can
|
|
738
|
+
* record a structured, queryable signal instead of only a stderr tail. Pure and
|
|
739
|
+
* total: an unparseable output yields `{ timedOut:false, failing:[], … null }`,
|
|
740
|
+
* never a throw.
|
|
741
|
+
*/
|
|
742
|
+
export declare function describeTestGateFailure(output: string): PreprTestFailureDetail;
|
|
521
743
|
/**
|
|
522
744
|
* Recover the failing ids from a red `test` gate's output and decide whether the
|
|
523
745
|
* recovery can be TRUSTED. Trust requires BOTH of the reporter's own counts to
|
|
@@ -565,6 +787,12 @@ export declare function formatNewTestFailures(newFailures: string[], preExisting
|
|
|
565
787
|
* test-ENVIRONMENT signature does not set `failure` at all: it comes back
|
|
566
788
|
* `ok: true` with `testEnvironmentFailure` (`needs-env`), whose `reviewerNotice`
|
|
567
789
|
* the caller should log verbatim so the reviewer reads it as INFRA.
|
|
790
|
+
*
|
|
791
|
+
* PREPR-GATE-CRASH-CLASS-1: a gate whose TOOL crashed (exit ≥128, a killing
|
|
792
|
+
* signal, or a V8 crash banner) is retried once and, if it crashes again, comes
|
|
793
|
+
* back as `{ ok: false, crash }` with NO `failure`. `ok: false` still means "do
|
|
794
|
+
* not open a PR", but the caller must route `crash` as INFRA: block with
|
|
795
|
+
* `crash.blockReason`, never fail the task, and never touch an already-open PR.
|
|
568
796
|
*/
|
|
569
797
|
export declare function runPreprGate(workdir: string, deps?: PreprGateDeps): Promise<PreprGateResult>;
|
|
570
798
|
//# sourceMappingURL=prepr-gate.d.ts.map
|
package/dist/prepr-gate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepr-gate.d.ts","sourceRoot":"","sources":["../src/prepr-gate.ts"],"names":[],"mappings":"AAgEA,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,mBAAmB,CAAC;AAM3B,MAAM,MAAM,aAAa,GACrB,WAAW,GACX,OAAO,GACP,WAAW,GACX,MAAM,GACN,OAAO,GACP,MAAM,GACN,gBAAgB,CAAC;AAErB;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,aAAa,EAA2C,CAAC;AAEnF,MAAM,WAAW,gBAAgB;IAC/B,yBAAyB;IACzB,IAAI,EAAE,aAAa,CAAC;IACpB,qDAAqD;IACrD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,wEAAwE;IACxE,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,EAAE,EAAE,OAAO,CAAC;IACZ,uEAAuE;IACvE,OAAO,EAAE,OAAO,CAAC;IACjB,6CAA6C;IAC7C,GAAG,EAAE,aAAa,EAAE,CAAC;IACrB,2EAA2E;IAC3E,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,4EAA4E;IAC5E,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE;QACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,uDAAuD;QACvD,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF;;;;;OAKG;IACH,WAAW,CAAC,EAAE;QACZ,yEAAyE;QACzE,SAAS,EAAE,MAAM,EAAE,CAAC;QACpB,UAAU,EAAE,MAAM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