@cat-factory/contracts 0.344.0 → 0.346.0

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.
@@ -0,0 +1,110 @@
1
+ import * as v from 'valibot';
2
+ import type { AgentFailureKind } from './agent-failure-kinds.js';
3
+ import type { BootstrapJob } from './bootstrap.js';
4
+ import type { AdoptionPlan } from './monorepo-adoption.js';
5
+ /**
6
+ * The moves a bootstrap run is made of.
7
+ *
8
+ * - `scaffold`: the whole of a new-repo run. It clones or scaffolds, then force-pushes the
9
+ * initial commit: one step, because there is no park in it.
10
+ * - `survey` / `review` / `apply`: the monorepo flow's three, the middle one a human's.
11
+ */
12
+ export declare const bootstrapStepIdSchema: v.PicklistSchema<["scaffold", "survey", "review", "apply"], undefined>;
13
+ export type BootstrapStepId = v.InferOutput<typeof bootstrapStepIdSchema>;
14
+ /**
15
+ * A step's state. A derived projection, never a stored value, which is why it is a type and
16
+ * not a picklist: no request or response carries one, so there is nothing to parse.
17
+ *
18
+ * `awaiting_review` is its own value rather than a flavour of `running`: nothing is
19
+ * executing and nothing will until a person answers, which is the opposite of what a
20
+ * spinner claims.
21
+ *
22
+ * `stopped` is its own value for a related reason. A run someone stopped is STORED as
23
+ * `failed` (with a `cancelled` failure kind), and painting the step they stopped in red
24
+ * reports their own decision back to them as a fault: on a monorepo run, a fault in the review
25
+ * step whose only actor is the reviewer.
26
+ *
27
+ * `unknown` is the one that is not a lifecycle position: `status` is a CLOSED vocabulary that
28
+ * is also PERSISTED, so a row written before a member was retired still holds that value, and
29
+ * the reader that meets it is a rendered surface. It renders as the unreadable state it is
30
+ * rather than as `pending`, which would present a stopped run as one that never started.
31
+ */
32
+ export type BootstrapStepState = 'pending' | 'running' | 'awaiting_review' | 'done' | 'failed' | 'stopped' | 'unknown';
33
+ export interface BootstrapRunStep {
34
+ id: BootstrapStepId;
35
+ state: BootstrapStepState;
36
+ }
37
+ /**
38
+ * What the rule READS off a run, and nothing more.
39
+ *
40
+ * Declared structurally rather than as a `Pick<BootstrapJob, …>` so the backend's own record type
41
+ * satisfies it without a conversion, and so what the answer actually depends on is visible at a
42
+ * glance: the presence of a monorepo target and of a settled review, the phase, the run status,
43
+ * the PLAN'S OWN status (the field a retry keeps or drops), and the failure KIND, which is what
44
+ * separates a run that broke from one a person stopped.
45
+ */
46
+ export interface BootstrapRunShape {
47
+ monorepo: object | null;
48
+ phase: BootstrapJob['phase'];
49
+ status: BootstrapJob['status'];
50
+ adoptionPlan: {
51
+ status: AdoptionPlan['status'];
52
+ } | null;
53
+ adoptionReview: object | null;
54
+ /**
55
+ * The structured failure a terminal run recorded, of which only the KIND is read. `cancelled`
56
+ * is a stop, by a person or by the orphan sweep, and a stop is stored as a `failed` status
57
+ * without being a fault. Null on a run that has not faulted.
58
+ */
59
+ failure: {
60
+ kind: AgentFailureKind;
61
+ } | null;
62
+ }
63
+ /** The steps a run of this shape is made of, in order. */
64
+ export declare function bootstrapStepIds(job: Pick<BootstrapRunShape, 'monorepo'>): BootstrapStepId[];
65
+ /**
66
+ * The step the run REACHED: the one it is in, or the one it stopped in.
67
+ *
68
+ * Read off the record's own state rather than a stored cursor, because the record already
69
+ * says: `phase` is written when the apply dispatches, a recorded plan is what the survey
70
+ * produces, and `awaiting_review` is the park itself. A stored step would be a fourth thing
71
+ * to keep in step with those three.
72
+ */
73
+ export declare function bootstrapReachedStep(job: BootstrapRunShape): BootstrapStepId;
74
+ /**
75
+ * Where a retry re-enters, and what it re-enters WITH: the `apply` arm carries the settled
76
+ * review, because that is the state the re-dispatch needs and asking for it a second time is
77
+ * how a caller ends up re-stating the rule.
78
+ */
79
+ export type BootstrapResume<Review> = {
80
+ step: 'scaffold' | 'survey' | 'review';
81
+ } | {
82
+ step: 'apply';
83
+ review: Review;
84
+ };
85
+ /**
86
+ * The step a retry re-enters at: what `BootstrapService.retry` does, in one place both it
87
+ * and the button that offers it read.
88
+ *
89
+ * It differs from {@link bootstrapReachedStep} on one case, deliberately: a run parked on an
90
+ * `unavailable` plan (no model, an unreadable repository, an exhausted budget) resumes at the
91
+ * SURVEY, because the retry drops a non-ready plan so the fixed deployment can produce a real
92
+ * one. Presenting that as "resume from review" would promise the human their pending decision
93
+ * is what the run picks up from, when the suggestion is about to be recomputed.
94
+ *
95
+ * The run's own review type rides through, so the caller that re-dispatches the apply gets it
96
+ * back at the type it stored rather than as the bare `object` this rule reads.
97
+ */
98
+ export declare function bootstrapResume<T extends BootstrapRunShape>(job: T): BootstrapResume<NonNullable<T['adoptionReview']>>;
99
+ /** Just the step a retry re-enters at, for the surfaces that only name it. */
100
+ export declare function bootstrapResumeStep(job: BootstrapRunShape): BootstrapStepId;
101
+ /**
102
+ * The run projected onto its steps: everything before the reached step is done, everything
103
+ * after it is pending, and the reached step carries the run's own state.
104
+ *
105
+ * A terminal run's LATER steps stay `pending` rather than becoming `failed`: a monorepo run
106
+ * that died in its survey never attempted the apply, and colouring it as a failure would
107
+ * report three broken moves where one broke.
108
+ */
109
+ export declare function bootstrapRunSteps(job: BootstrapRunShape): BootstrapRunStep[];
110
+ //# sourceMappingURL=bootstrap-steps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bootstrap-steps.d.ts","sourceRoot":"","sources":["../src/bootstrap-steps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAiB1D;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,wEAAwD,CAAA;AAC1F,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,S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e,CAE3E;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,iBAAiB,GAAG,gBAAgB,EAAE,CAQ5E"}
@@ -0,0 +1,122 @@
1
+ import * as v from 'valibot';
2
+ // ---------------------------------------------------------------------------
3
+ // A bootstrap run's STEPS: what the run is made of, where it got to, and where a
4
+ // retry re-enters.
5
+ //
6
+ // A "bootstrap repo" run is one row with a `phase` field, but it is not one move: a
7
+ // monorepo run surveys both repositories, parks on a human's adoption decisions, and only
8
+ // then writes the service and opens the pull request. Rendering that as a single
9
+ // "bootstrapping…" bar hides which of the three a stopped run actually reached, and a
10
+ // "Retry" button over it reads as "start again" when what the service does is resume.
11
+ //
12
+ // The rule lives here because the SPA and the backend must AGREE about it: the board
13
+ // renders the steps and names the one a retry resumes from, while `BootstrapService.retry`
14
+ // BRANCHES on that same answer. Stated twice, the button and the behaviour drift.
15
+ // ---------------------------------------------------------------------------
16
+ /**
17
+ * The moves a bootstrap run is made of.
18
+ *
19
+ * - `scaffold`: the whole of a new-repo run. It clones or scaffolds, then force-pushes the
20
+ * initial commit: one step, because there is no park in it.
21
+ * - `survey` / `review` / `apply`: the monorepo flow's three, the middle one a human's.
22
+ */
23
+ export const bootstrapStepIdSchema = v.picklist(['scaffold', 'survey', 'review', 'apply']);
24
+ /** The steps a run of this shape is made of, in order. */
25
+ export function bootstrapStepIds(job) {
26
+ return job.monorepo ? ['survey', 'review', 'apply'] : ['scaffold'];
27
+ }
28
+ /**
29
+ * The step the run REACHED: the one it is in, or the one it stopped in.
30
+ *
31
+ * Read off the record's own state rather than a stored cursor, because the record already
32
+ * says: `phase` is written when the apply dispatches, a recorded plan is what the survey
33
+ * produces, and `awaiting_review` is the park itself. A stored step would be a fourth thing
34
+ * to keep in step with those three.
35
+ */
36
+ export function bootstrapReachedStep(job) {
37
+ if (!job.monorepo)
38
+ return 'scaffold';
39
+ if (job.phase === 'apply' && job.adoptionReview)
40
+ return 'apply';
41
+ // A parked run is at the review whatever its plan says: an `unavailable` plan still leaves
42
+ // the decisions to a human, so the run got as far as asking. Where a RETRY re-enters is a
43
+ // different question, and `bootstrapResume` below answers it differently for exactly that
44
+ // case.
45
+ if (job.status === 'awaiting_review' || job.adoptionPlan)
46
+ return 'review';
47
+ return 'survey';
48
+ }
49
+ /**
50
+ * The step a retry re-enters at: what `BootstrapService.retry` does, in one place both it
51
+ * and the button that offers it read.
52
+ *
53
+ * It differs from {@link bootstrapReachedStep} on one case, deliberately: a run parked on an
54
+ * `unavailable` plan (no model, an unreadable repository, an exhausted budget) resumes at the
55
+ * SURVEY, because the retry drops a non-ready plan so the fixed deployment can produce a real
56
+ * one. Presenting that as "resume from review" would promise the human their pending decision
57
+ * is what the run picks up from, when the suggestion is about to be recomputed.
58
+ *
59
+ * The run's own review type rides through, so the caller that re-dispatches the apply gets it
60
+ * back at the type it stored rather than as the bare `object` this rule reads.
61
+ */
62
+ export function bootstrapResume(job) {
63
+ if (!job.monorepo)
64
+ return { step: 'scaffold' };
65
+ const review = job.adoptionReview;
66
+ if (job.phase === 'apply' && review)
67
+ return { step: 'apply', review };
68
+ if (job.adoptionPlan?.status === 'ready')
69
+ return { step: 'review' };
70
+ return { step: 'survey' };
71
+ }
72
+ /** Just the step a retry re-enters at, for the surfaces that only name it. */
73
+ export function bootstrapResumeStep(job) {
74
+ return bootstrapResume(job).step;
75
+ }
76
+ /**
77
+ * The run projected onto its steps: everything before the reached step is done, everything
78
+ * after it is pending, and the reached step carries the run's own state.
79
+ *
80
+ * A terminal run's LATER steps stay `pending` rather than becoming `failed`: a monorepo run
81
+ * that died in its survey never attempted the apply, and colouring it as a failure would
82
+ * report three broken moves where one broke.
83
+ */
84
+ export function bootstrapRunSteps(job) {
85
+ const reached = bootstrapReachedStep(job);
86
+ const ids = bootstrapStepIds(job);
87
+ const reachedAt = ids.indexOf(reached);
88
+ return ids.map((id, index) => ({
89
+ id,
90
+ state: index < reachedAt ? 'done' : index > reachedAt ? 'pending' : stateOfReachedStep(job),
91
+ }));
92
+ }
93
+ /** The reached step wears the run's own status; `pending` means nothing has started yet. */
94
+ function stateOfReachedStep(job) {
95
+ switch (job.status) {
96
+ case 'succeeded':
97
+ return 'done';
98
+ case 'failed':
99
+ // A stop is stored as a failure, and it is the one terminal state that is nobody's fault:
100
+ // it gets its own state so the step a reviewer stopped in is not reported back to them as
101
+ // broken. The KIND is what separates the two; the status cannot.
102
+ return job.failure?.kind === 'cancelled' ? 'stopped' : 'failed';
103
+ case 'awaiting_review':
104
+ return 'awaiting_review';
105
+ case 'running':
106
+ return 'running';
107
+ case 'pending':
108
+ return 'pending';
109
+ default:
110
+ return retiredStatusState(job.status);
111
+ }
112
+ }
113
+ /**
114
+ * A stored status this build no longer defines. Typed `never`, so retiring a member still fails
115
+ * the build here, and answered at runtime so a row the database still holds renders as a state
116
+ * nobody can read rather than as whichever of the five this build happens to list first.
117
+ */
118
+ function retiredStatusState(status) {
119
+ void status;
120
+ return 'unknown';
121
+ }
122
+ //# sourceMappingURL=bootstrap-steps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bootstrap-steps.js","sourceRoot":"","sources":["../src/bootstrap-steps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,8EAA8E;AAC9E,iFAAiF;AACjF,mBAAmB;AACnB,EAAE;AACF,oFAAoF;AACpF,0FAA0F;AAC1F,iFAAiF;AACjF,sFAAsF;AACtF,sFAAsF;AACtF,EAAE;AACF,qFAAqF;AACrF,2FAA2F;AAC3F,kFAAkF;AAClF,8EAA8E;AAE9E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAA;AA0D1F,0DAA0D;AAC1D,MAAM,UAAU,gBAAgB,CAAC,GAAwC;IACvE,OAAO,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,C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BAAgB,CAAC,GAAG,CAAC,CAAA;IACjC,MAAM,SAAS,GAAG,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;IACtC,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;QAC7B,EAAE;QACF,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,GAAG,CAAC;KAC5F,CAAC,CAAC,CAAA;AACL,CAAC;AAED,4FAA4F;AAC5F,SAAS,kBAAkB,CAAC,GAAsB;IAChD,QAAQ,GAAG,CAAC,MAAM,EAAE,CAAC;QACnB,KAAK,WAAW;YACd,OAAO,MAAM,CAAA;QACf,KAAK,QAAQ;YACX,0FAA0F;YAC1F,0FAA0F;YAC1F,iEAAiE;YACjE,OAAO,GAAG,CAAC,OAAO,EAAE,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAA;QACjE,KAAK,iBAAiB;YACpB,OAAO,iBAAiB,CAAA;QAC1B,KAAK,SAAS;YACZ,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS;YACZ,OAAO,SAAS,CAAA;QAClB;YACE,OAAO,kBAAkB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IACzC,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,SAAS,kBAAkB,CAAC,MAAa;IACvC,KAAK,MAAM,CAAA;IACX,OAAO,SAAS,CAAA;AAClB,CAAC"}
@@ -53,14 +53,31 @@ export type BootstrapStatus = v.InferOutput<typeof bootstrapStatusSchema>;
53
53
  */
54
54
  export declare const bootstrapPhaseSchema: v.PicklistSchema<["survey", "apply"], undefined>;
55
55
  export type BootstrapPhase = v.InferOutput<typeof bootstrapPhaseSchema>;
56
+ /**
57
+ * How a bootstrap run DELIVERS what it produced.
58
+ *
59
+ * - `pull_request`: the run pushes a work branch and opens a pull request, so a person reviews
60
+ * the scaffold before it reaches the branch everyone builds from.
61
+ * - `direct_push`: the run commits onto the default branch itself. For a new repository that is
62
+ * a single force-pushed initial commit; for a monorepo the new subdirectory lands on the
63
+ * shared branch AS THE AGENT WORKS, because the harness checkpoints committed work to
64
+ * whichever branch it is pushing, so a run that faults leaves what it had written behind.
65
+ *
66
+ * The schema carries no default, because the two targets want OPPOSITE ones: a brand-new
67
+ * repository has nobody to review its first commit, a monorepo full of other people's services
68
+ * has everybody. A valibot default cannot depend on a sibling field, so the omitted-value rule
69
+ * is applied once, in `BootstrapService.bootstrap`.
70
+ */
71
+ export declare const bootstrapDeliverySchema: v.PicklistSchema<["pull_request", "direct_push"], undefined>;
72
+ export type BootstrapDelivery = v.InferOutput<typeof bootstrapDeliverySchema>;
56
73
  /**
57
74
  * Bootstrap INTO an existing monorepo instead of into a new repository of its own.
58
75
  *
59
76
  * The target is a repository the workspace already projects (so it is already reachable, and
60
77
  * its `isMonorepo` flag is already the board's) plus the subdirectory the new service will
61
- * live in. There is no repo creation and no force-push: the run opens a pull request against
62
- * the monorepo's default branch, which is the only shape that is safe against a repository
63
- * holding other people's services.
78
+ * live in. There is no repo creation and no force-push under either delivery: the run adds a
79
+ * subdirectory, because the target holds other people's services and the new-repo flow's
80
+ * "reinitialise and reset history" would destroy them.
64
81
  */
65
82
  export declare const monorepoBootstrapTargetSchema: v.ObjectSchema<{
66
83
  /** The monorepo's numeric VCS id, as the workspace's repo projection lists it. */
@@ -80,7 +97,11 @@ export declare const monorepoBootstrapRefSchema: v.ObjectSchema<{
80
97
  readonly repoOwner: v.StringSchema<undefined>;
81
98
  /** Name of the monorepo, resolved from the projection at start. */
82
99
  readonly repoName: v.StringSchema<undefined>;
83
- /** The branch the run pushes its work to; null until the apply phase dispatches. */
100
+ /**
101
+ * The work branch the run opens its pull request from; null until the apply phase dispatches,
102
+ * and null for the whole life of a `direct_push` run, which commits onto the default branch
103
+ * and opens no branch of its own.
104
+ */
84
105
  readonly branch: v.NullableSchema<v.StringSchema<undefined>, undefined>;
85
106
  }, undefined>;
86
107
  export type MonorepoBootstrapRef = v.InferOutput<typeof monorepoBootstrapRefSchema>;
@@ -195,11 +216,22 @@ export declare const bootstrapJobSchema: v.ObjectSchema<{
195
216
  readonly repoOwner: v.StringSchema<undefined>;
196
217
  /** Name of the monorepo, resolved from the projection at start. */
197
218
  readonly repoName: v.StringSchema<undefined>;
198
- /** The branch the run pushes its work to; null until the apply phase dispatches. */
219
+ /**
220
+ * The work branch the run opens its pull request from; null until the apply phase dispatches,
221
+ * and null for the whole life of a `direct_push` run, which commits onto the default branch
222
+ * and opens no branch of its own.
223
+ */
199
224
  readonly branch: v.NullableSchema<v.StringSchema<undefined>, undefined>;
200
225
  }, undefined>, undefined>;
201
226
  /** Which half of the monorepo flow the run is in; null on a new-repo run. */
202
227
  readonly phase: v.NullableSchema<v.PicklistSchema<["survey", "apply"], undefined>, undefined>;
228
+ /**
229
+ * How this run delivers its work, resolved at start from the request (or from the target's
230
+ * own default when the request named none). Recorded rather than re-derived: a retry
231
+ * re-dispatches under the delivery the run was started with, and the board says which one a
232
+ * finished run took.
233
+ */
234
+ readonly delivery: v.PicklistSchema<["pull_request", "direct_push"], undefined>;
203
235
  /** The suggestion the human is reviewing (or the stated reason there is none). */
204
236
  readonly adoptionPlan: v.NullableSchema<v.ObjectSchema<{
205
237
  readonly status: v.PicklistSchema<["ready", "unavailable"], undefined>;
@@ -258,8 +290,10 @@ export declare const bootstrapJobSchema: v.ObjectSchema<{
258
290
  readonly reviewedAt: v.NumberSchema<undefined>;
259
291
  }, undefined>, undefined>;
260
292
  /**
261
- * The pull request the apply phase opened against the monorepo; null until it does.
262
- * A monorepo bootstrap's deliverable IS a PR: nothing is merged for the reviewer.
293
+ * The pull request this run opened; null until it does, and null for the whole life of a
294
+ * `direct_push` run. A `pull_request` run's deliverable IS the PR: nothing is merged for the
295
+ * reviewer, which is why a completed run that opened none is reported as a failure rather
296
+ * than as a success with a null here.
263
297
  */
264
298
  readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
265
299
  readonly createdAt: v.NumberSchema<undefined>;
@@ -297,6 +331,12 @@ export declare const bootstrapRepoSchema: v.SchemaWithPipe<readonly [v.ObjectSch
297
331
  */
298
332
  readonly directory: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 400, undefined>]>;
299
333
  }, undefined>, undefined>;
334
+ /**
335
+ * How the run delivers its work. Omitted ⇒ the target's own default: `direct_push` for a
336
+ * new repository (its first commit is reviewed by nobody), `pull_request` for a monorepo
337
+ * (its default branch is everybody's).
338
+ */
339
+ readonly delivery: v.OptionalSchema<v.PicklistSchema<["pull_request", "direct_push"], undefined>, undefined>;
300
340
  /**
301
341
  * The repository role for the bootstrapped frame (backend service / frontend / library /
302
342
  * document repository). Omitted → `service`, so existing callers are unchanged.
@@ -318,6 +358,7 @@ export declare const bootstrapRepoSchema: v.SchemaWithPipe<readonly [v.ObjectSch
318
358
  repoGithubId: number;
319
359
  directory: string;
320
360
  } | undefined;
361
+ delivery?: "direct_push" | "pull_request" | undefined;
321
362
  type?: "document" | "frontend" | "library" | "service" | undefined;
322
363
  description: string;
323
364
  private: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.d.ts","sourceRoot":"","sources":["../src/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoC5B,iEAAiE;AACjE,eAAO,MAAM,2BAA2B;;;;;IAKtC,mDAAmD;;IAEnD,8DAA8D;;IAE9D,gFAAgF;;;;aAIhF,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAErF,6CAA6C;AAC7C,eAAO,MAAM,iCAAiC;;;;;;aAM5C,CAAA;AACF,MAAM,MAA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AAA;AAE3E,kDAAkD;AAClD,eAAO,MAAM,kBAAkB;;;IAG7B,8FAA8F;;IAE9F,4HAA4H;;IAE5H,gDAAgD;;IAEhD,wFAAwF;;IAExF,2EAA2E;;IAE3E,kFAAkF;;;IAGlF;;;;;;OAMG;;IAEH;;;;OAIG;;;;;;;;;;IAEH,qFAAqF;;IAErF,gFAAgF;;;;;;;;;;;;;;;;;;;IAEhF;;;;OAIG;;;;QApFH,oEAAoE;;QAEpE,mEAAmE;;QAEnE;;;;WAIG;;;IA8EH,6EAA6E;;IAE7E;;;;;OAKG;;IAEH,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAElF,kEAAkE;;;;;;;;;;;;;;IAElE;;;;;OAKG;;;;aAIH,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEnE;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;IAE5B,sFAAsF;;IAEtF;;;OAGG;;IAEH;;;;;OAKG;;QAnJL,kFAAkF;;QAElF;;;WAGG;;;IAgJD;;;;OAIG;;IAEH;;;OAGG;;IAEH,iDAAiD;;IAEjD,mEAAmE;;IAEnE;;;OAGG;;;;;;;;;;;;;;oFAON,CAAA;AACD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
package/dist/bootstrap.js CHANGED
@@ -80,14 +80,30 @@ export const bootstrapStatusSchema = v.picklist([
80
80
  * - `apply`: write the service into the monorepo under the settled plan and open a PR.
81
81
  */
82
82
  export const bootstrapPhaseSchema = v.picklist(['survey', 'apply']);
83
+ /**
84
+ * How a bootstrap run DELIVERS what it produced.
85
+ *
86
+ * - `pull_request`: the run pushes a work branch and opens a pull request, so a person reviews
87
+ * the scaffold before it reaches the branch everyone builds from.
88
+ * - `direct_push`: the run commits onto the default branch itself. For a new repository that is
89
+ * a single force-pushed initial commit; for a monorepo the new subdirectory lands on the
90
+ * shared branch AS THE AGENT WORKS, because the harness checkpoints committed work to
91
+ * whichever branch it is pushing, so a run that faults leaves what it had written behind.
92
+ *
93
+ * The schema carries no default, because the two targets want OPPOSITE ones: a brand-new
94
+ * repository has nobody to review its first commit, a monorepo full of other people's services
95
+ * has everybody. A valibot default cannot depend on a sibling field, so the omitted-value rule
96
+ * is applied once, in `BootstrapService.bootstrap`.
97
+ */
98
+ export const bootstrapDeliverySchema = v.picklist(['pull_request', 'direct_push']);
83
99
  /**
84
100
  * Bootstrap INTO an existing monorepo instead of into a new repository of its own.
85
101
  *
86
102
  * The target is a repository the workspace already projects (so it is already reachable, and
87
103
  * its `isMonorepo` flag is already the board's) plus the subdirectory the new service will
88
- * live in. There is no repo creation and no force-push: the run opens a pull request against
89
- * the monorepo's default branch, which is the only shape that is safe against a repository
90
- * holding other people's services.
104
+ * live in. There is no repo creation and no force-push under either delivery: the run adds a
105
+ * subdirectory, because the target holds other people's services and the new-repo flow's
106
+ * "reinitialise and reset history" would destroy them.
91
107
  */
92
108
  export const monorepoBootstrapTargetSchema = v.object({
93
109
  /** The monorepo's numeric VCS id, as the workspace's repo projection lists it. */
@@ -106,7 +122,11 @@ export const monorepoBootstrapRefSchema = v.object({
106
122
  repoOwner: v.string(),
107
123
  /** Name of the monorepo, resolved from the projection at start. */
108
124
  repoName: v.string(),
109
- /** The branch the run pushes its work to; null until the apply phase dispatches. */
125
+ /**
126
+ * The work branch the run opens its pull request from; null until the apply phase dispatches,
127
+ * and null for the whole life of a `direct_push` run, which commits onto the default branch
128
+ * and opens no branch of its own.
129
+ */
110
130
  branch: v.nullable(v.string()),
111
131
  });
112
132
  /**
@@ -180,13 +200,22 @@ export const bootstrapJobSchema = v.object({
180
200
  monorepo: v.nullable(monorepoBootstrapRefSchema),
181
201
  /** Which half of the monorepo flow the run is in; null on a new-repo run. */
182
202
  phase: v.nullable(bootstrapPhaseSchema),
203
+ /**
204
+ * How this run delivers its work, resolved at start from the request (or from the target's
205
+ * own default when the request named none). Recorded rather than re-derived: a retry
206
+ * re-dispatches under the delivery the run was started with, and the board says which one a
207
+ * finished run took.
208
+ */
209
+ delivery: bootstrapDeliverySchema,
183
210
  /** The suggestion the human is reviewing (or the stated reason there is none). */
184
211
  adoptionPlan: v.nullable(adoptionPlanSchema),
185
212
  /** What the human settled; null until the review is submitted. */
186
213
  adoptionReview: v.nullable(resolvedAdoptionSchema),
187
214
  /**
188
- * The pull request the apply phase opened against the monorepo; null until it does.
189
- * A monorepo bootstrap's deliverable IS a PR: nothing is merged for the reviewer.
215
+ * The pull request this run opened; null until it does, and null for the whole life of a
216
+ * `direct_push` run. A `pull_request` run's deliverable IS the PR: nothing is merged for the
217
+ * reviewer, which is why a completed run that opened none is reported as a failure rather
218
+ * than as a success with a null here.
190
219
  */
191
220
  prUrl: v.nullable(v.string()),
192
221
  createdAt: v.number(),
@@ -215,6 +244,12 @@ export const bootstrapRepoSchema = v.pipe(v.object({
215
244
  * once a human has settled it.
216
245
  */
217
246
  monorepo: v.optional(monorepoBootstrapTargetSchema),
247
+ /**
248
+ * How the run delivers its work. Omitted ⇒ the target's own default: `direct_push` for a
249
+ * new repository (its first commit is reviewed by nobody), `pull_request` for a monorepo
250
+ * (its default branch is everybody's).
251
+ */
252
+ delivery: v.optional(bootstrapDeliverySchema),
218
253
  /**
219
254
  * The repository role for the bootstrapped frame (backend service / frontend / library /
220
255
  * document repository). Omitted → `service`, so existing callers are unchanged.
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../src/bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACvE,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAEr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yst.js';
63
63
  export * from './environment-analyst-merge.js';
64
64
  export * from './runners.js';
65
65
  export * from './bootstrap.js';
66
+ export * from './bootstrap-steps.js';
66
67
  export * from './monorepo-adoption.js';
67
68
  export * from './env-config-repair.js';
68
69
  export * from './environment-test.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,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yB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
package/dist/index.js CHANGED
@@ -63,6 +63,7 @@ export * from './environment-analyst.js';
63
63
  export * from './environment-analyst-merge.js';
64
64
  export * from './runners.js';
65
65
  export * from './bootstrap.js';
66
+ export * from './bootstrap-steps.js';
66
67
  export * from './monorepo-adoption.js';
67
68
  export * from './env-config-repair.js';
68
69
  export * from './environment-test.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B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cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA;AACpC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
@@ -8,6 +8,24 @@ export declare const BLUEPRINT_AGENT_KIND = "blueprints";
8
8
  * the environment setup wizard, which merges the draft over its deterministic detection.
9
9
  */
10
10
  export declare const ENVIRONMENT_ANALYST_AGENT_KIND = "environment-analyst";
11
+ /**
12
+ * The agent that scaffolds a new repository from a reference architecture, or writes a new
13
+ * service into an existing monorepo and opens the pull request.
14
+ *
15
+ * Deliberately not `architect`, which is what a bootstrap dispatch used to file its telemetry
16
+ * under: the observability panel groups a run's spend and its provided context BY KIND, so a
17
+ * bootstrap filed as an architect is a run whose only phase is labelled as somebody else's work.
18
+ * It is not a registry kind (nothing places it in a pipeline) and it is not the MODEL routing key
19
+ * either: the facades still resolve the model through `architect`'s routing, so a deployment that
20
+ * pinned a model for its architect keeps getting it here.
21
+ */
22
+ export declare const REPO_BOOTSTRAP_AGENT_KIND = "repo-bootstrapper";
23
+ /**
24
+ * The inline agent that reads a monorepo and the reference template and proposes what a new
25
+ * service should adopt from each. The first half of what a monorepo bootstrap spends, and the
26
+ * half a human then settles.
27
+ */
28
+ export declare const MONOREPO_ADOPTION_AGENT_KIND = "monorepo-adoption-advisor";
11
29
  /**
12
30
  * The id prefix a single-kind run carries in place of a catalog pipeline id. Deliberately not a
13
31
  * `pl_` id: nothing defines it and nothing stores it, so a reader who goes looking for the
@@ -1 +1 @@
1
- {"version":3,"file":"platform-agent-kinds.d.ts","sourceRoot":"","sources":["../src/platform-agent-kinds.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,oBAAoB,eAAe,CAAA;AAEhD;;;GAGG;AACH,eAAO,MAAM,8BAA8B,wBAAwB,CAAA;AAEnE;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,WAAW,CAAA;AAEjD,iEAAiE;AACjE,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE5D"}
1
+ {"version":3,"file":"platform-agent-kinds.d.ts","sourceRoot":"","sources":["../src/platform-agent-kinds.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,oBAAoB,eAAe,CAAA;AAEhD;;;GAGG;AACH,eAAO,MAAM,8BAA8B,wBAAwB,CAAA;AAEnE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,sBAAsB,CAAA;AAE5D;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,8BAA8B,CAAA;AAEvE;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,WAAW,CAAA;AAEjD,iEAAiE;AACjE,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE5D"}
@@ -1,7 +1,7 @@
1
1
  // ---------------------------------------------------------------------------
2
2
  // SINGLE-KIND runs — the agents the PLATFORM starts on their own, with no pipeline behind them.
3
3
  //
4
- // Both sides have to agree about these three strings, which is what puts them here rather than in
4
+ // Both sides have to agree about these strings, which is what puts them here rather than in
5
5
  // kernel: the backend dispatches the kind and stamps the synthesized id onto the run, and the SPA
6
6
  // offers the action and then has to recognise the run that comes back. A copy on each side is a
7
7
  // pair that drifts silently — the run starts, and the surface that was watching for it never sees
@@ -17,6 +17,24 @@ export const BLUEPRINT_AGENT_KIND = 'blueprints';
17
17
  * the environment setup wizard, which merges the draft over its deterministic detection.
18
18
  */
19
19
  export const ENVIRONMENT_ANALYST_AGENT_KIND = 'environment-analyst';
20
+ /**
21
+ * The agent that scaffolds a new repository from a reference architecture, or writes a new
22
+ * service into an existing monorepo and opens the pull request.
23
+ *
24
+ * Deliberately not `architect`, which is what a bootstrap dispatch used to file its telemetry
25
+ * under: the observability panel groups a run's spend and its provided context BY KIND, so a
26
+ * bootstrap filed as an architect is a run whose only phase is labelled as somebody else's work.
27
+ * It is not a registry kind (nothing places it in a pipeline) and it is not the MODEL routing key
28
+ * either: the facades still resolve the model through `architect`'s routing, so a deployment that
29
+ * pinned a model for its architect keeps getting it here.
30
+ */
31
+ export const REPO_BOOTSTRAP_AGENT_KIND = 'repo-bootstrapper';
32
+ /**
33
+ * The inline agent that reads a monorepo and the reference template and proposes what a new
34
+ * service should adopt from each. The first half of what a monorepo bootstrap spends, and the
35
+ * half a human then settles.
36
+ */
37
+ export const MONOREPO_ADOPTION_AGENT_KIND = 'monorepo-adoption-advisor';
20
38
  /**
21
39
  * The id prefix a single-kind run carries in place of a catalog pipeline id. Deliberately not a
22
40
  * `pl_` id: nothing defines it and nothing stores it, so a reader who goes looking for the
@@ -1 +1 @@
1
- {"version":3,"file":"platform-agent-kinds.js","sourceRoot":"","sources":["../src/platform-agent-kinds.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,gGAAgG;AAChG,EAAE;AACF,kGAAkG;AAClG,kGAAkG;AAClG,gGAAgG;AAChG,kGAAkG;AAClG,OAAO;AACP,8EAA8E;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAAA;AAEhD;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,qBAAqB,CAAA;AAEnE;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAAA;AAEjD,iEAAiE;AACjE,MAAM,UAAU,kBAAkB,CAAC,SAAiB;IAClD,OAAO,GAAG,yBAAyB,GAAG,SAAS,EAAE,CAAA;AACnD,CAAC"}
1
+ {"version":3,"file":"platform-agent-kinds.js","sourceRoot":"","sources":["../src/platform-agent-kinds.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,gGAAgG;AAChG,EAAE;AACF,4FAA4F;AAC5F,kGAAkG;AAClG,gGAAgG;AAChG,kGAAkG;AAClG,OAAO;AACP,8EAA8E;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAAA;AAEhD;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,qBAAqB,CAAA;AAEnE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,mBAAmB,CAAA;AAE5D;;;;GAIG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,2BAA2B,CAAA;AAEvE;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAAA;AAEjD,iEAAiE;AACjE,MAAM,UAAU,kBAAkB,CAAC,SAAiB;IAClD,OAAO,GAAG,yBAAyB,GAAG,SAAS,EAAE,CAAA;AACnD,CAAC"}