diff --git a/scripts/resolvers/index.ts b/scripts/resolvers/index.ts index 4af305d8d..e205fcae9 100644 --- a/scripts/resolvers/index.ts +++ b/scripts/resolvers/index.ts @@ -54,7 +54,7 @@ import { generatePlanRealityRows } from './plan-reality'; import { generateSidewaysSweep, generateFlakeFixNumber } from './sideways'; import { generateCoordinatorContract } from './coordinator-contract'; import { generateAutoplanDriverCodes, generateAutoplanDriverCommands, generateAutoplanDriverFiles, generateAutoplanDriverGate, generateAutoplanDriverPhases, generateAutoplanDriverResultFormat } from './autoplan-driver'; -import { generateShipDriverSegmentCall, generateShipDriverStops } from './ship-driver'; +import { generateShipDriverStops } from './ship-driver'; import { generateQAScope, generateQAExploratory, generateQAFunctional, generateQAResource, generateQAReview, generateQAReviewPreflight, generateQAMethodReads } from './qa'; import { generateVoiceTriggerRouting } from './voice-triggers'; import { generateTranscriptDiscovery, generateTranscriptSources } from './transcripts'; @@ -193,7 +193,6 @@ export const RESOLVERS: Record = { AUTOPLAN_DRIVER_FILES: generateAutoplanDriverFiles, AUTOPLAN_DRIVER_CODES: generateAutoplanDriverCodes, SHIP_DRIVER_STOPS: generateShipDriverStops, - SHIP_DRIVER_SEGMENT_CALL: generateShipDriverSegmentCall, SECTION, SECTION_INDEX, TRANSCRIPT_SOURCES: generateTranscriptSources, diff --git a/scripts/resolvers/ship-driver.ts b/scripts/resolvers/ship-driver.ts index 255cf57a8..829a12e1e 100644 --- a/scripts/resolvers/ship-driver.ts +++ b/scripts/resolvers/ship-driver.ts @@ -5,7 +5,6 @@ * must trust most: which heading each STOP sends the parent to. test/ship-driver.test.ts * resolves every anchor against the generated files. */ -import { DELEGATE_SEGMENT_CALL } from '../../lib/ship-budget'; import type { ResolverFn } from './types'; /** Each STOP (or read-when line) a driver run can meet, and the one heading it reads, relative to /ship/. */ @@ -37,7 +36,5 @@ export const SHIP_DRIVER_STOPS: Array<{ when: string; read: string }> = [ { when: '`QUEUE_RECEIPT_STALE`', read: '../docs/ship-policy.md#ship-before-ready' }, ]; -export const generateShipDriverSegmentCall: ResolverFn = () => `${DELEGATE_SEGMENT_CALL / 1000}k`; - export const generateShipDriverStops: ResolverFn = () => SHIP_DRIVER_STOPS.map(s => `- ${s.when}: \`${s.read}\``).join('\n'); diff --git a/ship/DRIVER.md.tmpl b/ship/DRIVER.md.tmpl index 4199ae634..0ca1faa74 100644 --- a/ship/DRIVER.md.tmpl +++ b/ship/DRIVER.md.tmpl @@ -34,7 +34,7 @@ of the pass takes no start). Settle each batch in the program that dispatched it CLAUDE.md names). Prints `STATUS:`, `DIFF:`, `PR:`, `CARRY:`, `SCOPE:`, `MERGE:`, `DISTRIBUTION:`, `POLICY:`, `RUNTIME_LINES:` (for `check --runtime-lines`), `PREGATE:`, `LANE:`. `CARRY: carried` ends the run on its `GSTACK_RESULT:` line. `--delegate measured` delegates a segment -only when a measured call is {{SHIP_DRIVER_SEGMENT_CALL}} or more above the host floor (`DELEGATE:`). A lane +only when a measured call is 150k or more above the host floor (`DELEGATE:`). A lane passes on `tests_ran: N` with exit 0; `tests_ran: 0` is ZERO-RUN, a failed lane; `unknown` is `count unavailable`. In-branch failures stop the ship; after a repair rerun with `--tests-only`. `requires-remote` needs `gstack-pregate clear` before Step 18. The readiness dashboard and a `PERSIST:` hint never replace Step 9.