mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-31 22:14:25 +01:00
fix(ship-driver): keep the skill generator off lib/ship-budget so a minimal setup checkout still renders (GSTA-167)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
fc3e2b1847
commit
6782ed48b5
3 files changed
+2
-6
No files matched your search
@@ -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<string, ResolverFn> = {
|
||||
AUTOPLAN_DRIVER_FILES: generateAutoplanDriverFiles,
|
||||
AUTOPLAN_DRIVER_CODES: generateAutoplanDriverCodes,
|
||||
SHIP_DRIVER_STOPS: generateShipDriverStops,
|
||||
SHIP_DRIVER_SEGMENT_CALL: generateShipDriverSegmentCall,
|
||||
SECTION,
|
||||
SECTION_INDEX,
|
||||
TRANSCRIPT_SOURCES: generateTranscriptSources,
|
||||
|
||||
@@ -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 <root>/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');
|
||||
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user