Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/replay-runner-image-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"schemaVersion": 1,
"baseImageRef": "node:22-slim@sha256:6c74791e557ce11fc957704f6d4fe134a7bc8d6f5ca4403205b2966bd488f6b3",
"dockerfileSha256": "18b434af0c6359105293a9bd6bdd890f4b5662ce72308df4bcfc3bb30ae7c1ee",
"packageLockSha256": "35c61915f0b21d5980f5f5aa1bff532da3d9d51c71257c8b28904f7b798e0d71",
"packageLockSha256": "70a2e5ae0e477c97e3bc6fb7c631af2d3a2cec4e56e0ff0bb27c11245b33d96f",
"sourceFiles": {
"scripts/attested-backtest-run-core.ts": "e5f5659dc9204f9406c9874317d71cb02fd7f4c993c9f5caa92545595f522167",
"scripts/attested-backtest-run.ts": "49e0e046e3c4882c0e4afd422a464957b6c4789bad28f5b6682afa9d534424f7",
"scripts/backtest-corpus-export-core.ts": "060d48a2a6073a7d859efc64c87c18ae1d3d25e06391ce94d6ed40874050b2e8",
"scripts/snp-attester.ts": "b917e8541908150bd0c885fbe57e178247e5cd5f78f80eda7dc9e8b77da6deb3"
},
"digest": "5b8665f586317a0f3d77c5ac76891b4cf2ba8f1784977d268b093ce6644b2210"
"digest": "c58858edac2bc9646edf4a82557dc815c796b4485002c1b37de95004f1db1235"
}
14 changes: 8 additions & 6 deletions src/review/automation-rate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ import { safeAll } from "./public-stats";
export const AUTOMATION_RATE_PROVENANCE_HORIZON_ISO = "2026-07-29T00:00:00.000Z";

/** The action classes that ENACT a decision. A PR reaching one of these, with no human signal, is what
* "automated" means. Exported so the read below filters on exactly the set the fold classifies on -- one
* definition, rather than a WHERE clause and a predicate that can drift apart. */
export const AUTOMATION_ENACTING_ACTIONS = ["merge", "close"] as const;

/** The action recording that the gate declined to decide and handed the PR to a person. */
export const AUTOMATION_HOLD_ACTION = "hold";
* "automated" means. Module-private: AUTOMATION_COUNTED_ACTIONS below is the exported surface, and it is
* what both the fold and the read consume -- one definition, rather than a WHERE clause and a predicate
* that can drift apart. */
const AUTOMATION_ENACTING_ACTIONS = ["merge", "close"] as const;

/** The action recording that the gate declined to decide and handed the PR to a person. Module-private for
* the same reason as the set above. */
const AUTOMATION_HOLD_ACTION = "hold";

/** Every action that puts a PR in the series at all -- an enacted decision, or a hold. */
export const AUTOMATION_COUNTED_ACTIONS: readonly string[] = [...AUTOMATION_ENACTING_ACTIONS, AUTOMATION_HOLD_ACTION];
Expand Down