Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
chore: merge current trunk into ci flake repair
Corey Olson5d72ac5ff1c9
diff --cc docs/formats.mdindex eacfcf4f,84f5c4f2..8358f3a8--- a/docs/formats.md+++ b/docs/formats.md@@@ -176,8 -176,8 +176,10 @@@ Engine 61 (`NATIVE_FLAKE_ENGINE`) addsEngine 62 (`HEALTH_CAP_ENGINE`; engine 61 is #887's) caps what one recorded health run shouts. A run sends at most ten notices one by one, resolved first; when it has more, one more notice to the coordinator says how many it held back, and every finding still records its own health event. An idle seat alone hears that it is idle. A recorded run at an older engine replays with its original notices.+ Engine 63 (`RECURRING_JOB_ENGINE`) records recurring jobs. `declareJob` is the coordinator's or the person's: it stores a job's name, its cadence (`10m`, `2h`, `1d`, `hourly` or `daily`) and its owner, and a later declaration replaces the cadence and owner but keeps the run history. `recordJobRun` is any joined seat's and stores the job's name. Both events carry `engine: 63`. `pullboard health` reports a job with no run within one and a half cadences as `JOB_MISSED`, once per episode. An older engine refuses both moves with `ENGINE_VERSION`, and a replay at an older engine ignores their events.++Engine 65 (`CI_FLAKE_ENGINE`) records flake observations imported from CI with `pullboard flakes import <folder>`. Such an observation has kind `ci`, a `ci` record (provider, run id, the failed attempt and its rerun attempt, job, runner and Node version) and a `load` of null, because a hosted runner reports no host load. A failed attempt whose rerun at the same commit passes the test is a flake; one whose TAP names no test by file stays unclassified. Observations of the other kinds replay as at engine 61.+The CLI declares its engine in every relay request's `X-Pullboard-Engine` header.A linked board requires at least engine 48 after issuing any agent token or machine credential, includingrevoked or expired ones; before engine 48 these minimums were 3 and 6. The minimum survives reopening the auth database;diff --cc src/engine.jsindex 2ab11e1c,2749d7d9..e7e39810--- a/src/engine.js+++ b/src/engine.js@@@ -74,9 -74,10 +75,10 @@@ const OPERATION_ENGINE = Object.freeze(/** Dependency edits, causes, sealed reviews, submission proofs, trunk conflicts, health observations and milestone targets retain distinct recorded engine meanings. */function minimumOperationEngine(operation, args, board) {- if (operation === 'recordFlakeObservation') return NATIVE_FLAKE_ENGINE;+ if (operation === 'recordFlakeObservation') return args[0]?.observation?.kind === 'ci' ? CI_FLAKE_ENGINE : NATIVE_FLAKE_ENGINE;if (operation === 'recordLandingBatch' && carriesFlakeDiagnostics(args[0]?.batch)) return NATIVE_FLAKE_ENGINE;if (['proposeSentinel', 'decideSentinel', 'beginSentinelRun', 'finishSentinelRun'].includes(operation) || typeof args[1]?.cause === 'string' && args[1].cause.startsWith('sentinel:')) return BOARD_SENTINEL_ENGINE;+ if (['declareJob', 'recordJobRun'].includes(operation)) return RECURRING_JOB_ENGINE;if (operation === 'recordHealthFindings') return HEALTH_SENTINEL_ENGINE;const options = args[1];if (carriesConflict(operation, args)) return board && store.itemById(board, args[0])?.item_status === 'submitted' ? SUBMITTED_CONFLICT_ENGINE : CONFLICT_ENGINE;diff --cc src/machine.jsindex c91b9816,47d00f4c..807bcdf9--- a/src/machine.js+++ b/src/machine.js@@@ -11,8 -11,8 +11,9 @@@import { RIGOR_NOTICE_ENGINE } from './rigor-source.js';import { HEALTH_CAP_ENGINE } from './health-receipts.js';+import { CI_FLAKE_ENGINE } from './flake-engine.js';import { NATIVE_FLAKE_ENGINE } from './flake-engine.js';+ import { RECURRING_JOB_ENGINE } from './job-engine.js';/** First writer for withdraw-and-remove milestone behavior; shipment remains engine 45. */export const WITHDRAW_MILESTONE_ENGINE = 51;