@cat-factory/kernel 0.328.0 → 0.329.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.
Files changed (37) hide show
  1. package/dist/domain/monorepo-adoption.logic.d.ts +87 -0
  2. package/dist/domain/monorepo-adoption.logic.d.ts.map +1 -0
  3. package/dist/domain/monorepo-adoption.logic.js +323 -0
  4. package/dist/domain/monorepo-adoption.logic.js.map +1 -0
  5. package/dist/domain/pr-report.d.ts +27 -3
  6. package/dist/domain/pr-report.d.ts.map +1 -1
  7. package/dist/domain/pr-report.js +28 -10
  8. package/dist/domain/pr-report.js.map +1 -1
  9. package/dist/domain/service-registration.d.ts +11 -3
  10. package/dist/domain/service-registration.d.ts.map +1 -1
  11. package/dist/domain/service-registration.js +9 -1
  12. package/dist/domain/service-registration.js.map +1 -1
  13. package/dist/domain/types.d.ts +1 -1
  14. package/dist/domain/types.d.ts.map +1 -1
  15. package/dist/index.d.ts +2 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +7 -2
  18. package/dist/index.js.map +1 -1
  19. package/dist/ports/agent-runs.d.ts +4 -1
  20. package/dist/ports/agent-runs.d.ts.map +1 -1
  21. package/dist/ports/bootstrap-repositories.d.ts +49 -2
  22. package/dist/ports/bootstrap-repositories.d.ts.map +1 -1
  23. package/dist/ports/bootstrap-runner.d.ts +15 -8
  24. package/dist/ports/bootstrap-runner.d.ts.map +1 -1
  25. package/dist/ports/bootstrap-runner.js.map +1 -1
  26. package/dist/ports/index.d.ts +3 -2
  27. package/dist/ports/index.d.ts.map +1 -1
  28. package/dist/ports/index.js.map +1 -1
  29. package/dist/ports/monorepo-adoption.d.ts +37 -0
  30. package/dist/ports/monorepo-adoption.d.ts.map +1 -0
  31. package/dist/ports/monorepo-adoption.js +2 -0
  32. package/dist/ports/monorepo-adoption.js.map +1 -0
  33. package/dist/ports/repo-bootstrapper.d.ts +89 -3
  34. package/dist/ports/repo-bootstrapper.d.ts.map +1 -1
  35. package/dist/ports/repo-files.d.ts +16 -0
  36. package/dist/ports/repo-files.d.ts.map +1 -1
  37. package/package.json +2 -2
@@ -1,20 +1,55 @@
1
1
  import type { BootstrapFailureKind, StepSubtasks } from '../domain/types.js';
2
+ /**
3
+ * Bootstrap into a subdirectory of an EXISTING monorepo instead of into a new repository.
4
+ *
5
+ * Present ⇒ the dispatch is a different shape end to end, and deliberately so: the run clones
6
+ * the monorepo (writable) with the reference template beside it as a READ-ONLY sibling, works
7
+ * inside `directory`, and finishes with a work branch and a pull request. It never force-pushes
8
+ * and never resets history: the target holds other people's services, so the new-repo flow's
9
+ * "reinitialise and force-push" is not merely wrong here, it is destructive.
10
+ */
11
+ export interface MonorepoBootstrapLeg {
12
+ /** The monorepo's numeric VCS id (already in the workspace's repo projection). */
13
+ repoGithubId: number;
14
+ /** Owner of the monorepo. */
15
+ owner: string;
16
+ /** Name of the monorepo. */
17
+ name: string;
18
+ /** The new service's subdirectory, relative to the repo root. */
19
+ directory: string;
20
+ /** The work branch to create off the monorepo's default branch and push. */
21
+ branch: string;
22
+ /** Title + body for the pull request the run opens. */
23
+ pr: {
24
+ title: string;
25
+ body: string;
26
+ };
27
+ }
2
28
  export interface BootstrapRepoRequest {
3
29
  /** Workspace the run belongs to (resolves the GitHub installation to use). */
4
30
  workspaceId: string;
5
- /** Id of the bootstrap job this run records into (also keys the container job). */
31
+ /** Id of the bootstrap job this run records into. */
6
32
  jobId: string;
33
+ /**
34
+ * The id the container job is dispatched and polled under (the run's `driveId`). Equal to
35
+ * `jobId` on a single-drive run; a monorepo run's apply phase carries its own, because its
36
+ * survey drive already used the run's id and neither the container inventory nor the durable
37
+ * driver can reuse a key that has been through a terminal state.
38
+ */
39
+ containerJobId: string;
7
40
  /** The base repository to clone from, or undefined to scaffold from scratch. */
8
41
  referenceRepo?: {
9
42
  owner: string;
10
43
  name: string;
11
44
  };
12
- /** The repository to create and bootstrap into. */
45
+ /** The repository to create and bootstrap into (a new-repo run only). */
13
46
  target: {
14
47
  name: string;
15
48
  description: string;
16
49
  private: boolean;
17
50
  };
51
+ /** Set for a monorepo run: where the service lands and how the change is delivered. */
52
+ monorepo?: MonorepoBootstrapLeg;
18
53
  /** Effective bootstrapper instructions (reference defaults + per-run extras). */
19
54
  instructions: string;
20
55
  }
@@ -28,10 +63,18 @@ export interface BootstrapRepoOutcome {
28
63
  /** Default branch the bootstrapped contents were pushed to. */
29
64
  defaultBranch: string;
30
65
  }
31
- /** Addresses a dispatched bootstrap job for polling (the container is keyed by job id). */
66
+ /**
67
+ * Addresses a dispatched bootstrap job for polling.
68
+ *
69
+ * Two ids, because they diverge on a monorepo run: `jobId` addresses the RUN (the stored row the
70
+ * poll reads its target from), `containerJobId` addresses the dispatched container. Passing one
71
+ * for both is how an apply-phase poll would silently attach to the survey drive's key.
72
+ */
32
73
  export interface BootstrapJobHandle {
33
74
  workspaceId: string;
34
75
  jobId: string;
76
+ /** The dispatched container's job id (the run's `driveId`); equal to `jobId` for a plain run. */
77
+ containerJobId: string;
35
78
  }
36
79
  /** A bootstrap job's current state, as the container reports it via the poll. */
37
80
  export interface BootstrapJobUpdate {
@@ -40,6 +83,12 @@ export interface BootstrapJobUpdate {
40
83
  subtasks?: StepSubtasks;
41
84
  /** Present when `state === 'done'`: where the bootstrapped repo landed. */
42
85
  outcome?: BootstrapRepoOutcome;
86
+ /**
87
+ * Present when `state === 'done'` on a MONOREPO run: the pull request the agent opened. A
88
+ * monorepo bootstrap's deliverable IS the pull request, so its absence on a completed apply is
89
+ * a failure to report rather than a field to leave null (see `pollBootstrapJob`).
90
+ */
91
+ prUrl?: string;
43
92
  /** Present when `state === 'failed'`: why the run faulted. */
44
93
  error?: string;
45
94
  /** Present when `state === 'failed'`: classification of the fault. */
@@ -47,6 +96,15 @@ export interface BootstrapJobUpdate {
47
96
  /** Present when `state === 'failed'`: extended diagnostic detail, if any. */
48
97
  detail?: string;
49
98
  }
99
+ /** A monorepo the workspace projects, resolved as a bootstrap target. */
100
+ export interface MonorepoTargetRepo {
101
+ owner: string;
102
+ name: string;
103
+ /** The installation the repo is reached through. */
104
+ installationId: number;
105
+ /** The repo's default branch, or null when the provider reported none. */
106
+ defaultBranch: string | null;
107
+ }
50
108
  export interface RepoBootstrapper {
51
109
  /**
52
110
  * Whether the workspace is connected to GitHub (an active App installation
@@ -54,6 +112,34 @@ export interface RepoBootstrapper {
54
112
  * with a clear error instead of recording a job that immediately fails.
55
113
  */
56
114
  isWorkspaceConnected(workspaceId: string): Promise<boolean>;
115
+ /**
116
+ * Resolve a repository the WORKSPACE projects as a monorepo bootstrap target. Returns null when
117
+ * the workspace projects no such repo, which is what scopes the feature: without it, naming a
118
+ * numeric id would be a way to open a pull request against any repository the deployment's
119
+ * credential happens to reach.
120
+ *
121
+ * READ-ONLY, and separate from {@link markRepoAsMonorepo} for that reason. The two are one
122
+ * DECISION but not one moment: the caller still has refusals to raise between them (a directory
123
+ * that already holds somebody's service, a path that escapes the repository), and a flag written
124
+ * before those would survive the refusal. `resolveRepoTarget` hands an agent a service's
125
+ * subdirectory only while the flag is set, so a repo left marked by a rejected request changes
126
+ * the working directory every service already pinned to it is dispatched at.
127
+ *
128
+ * Lives on this port rather than beside the repo projection because the projection reaches the
129
+ * engine only where a VCS connection is configured, and this is exactly the path that needs it:
130
+ * an unconfigured deployment must refuse the whole monorepo flow, not half-resolve it.
131
+ */
132
+ resolveMonorepoTarget(workspaceId: string, repoGithubId: number): Promise<MonorepoTargetRepo | null>;
133
+ /**
134
+ * Declare that a resolved repo hosts several services, once the request that needed it has
135
+ * survived every pre-flight. Idempotent: a repo already marked is left alone.
136
+ *
137
+ * Pinning a service to a subdirectory IS this declaration, so the mark cannot be skipped: a
138
+ * service pinned inside a repo that is not marked as a monorepo would have its agents dispatched
139
+ * at the repository ROOT, building in the wrong place with nothing to say so. It is the LAST
140
+ * thing the resolution does, never the first.
141
+ */
142
+ markRepoAsMonorepo(workspaceId: string, repoGithubId: number): Promise<void>;
57
143
  /**
58
144
  * Pre-flight the target repo (exists, reachable, empty-or-boilerplate) and
59
145
  * dispatch the bootstrap container. Returns once the job is accepted — the work
@@ -1 +1 @@
1
- {"version":3,"file":"repo-bootstrapper.d.ts","sourceRoot":"","sources":["../../src/ports/repo-bootstrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAe5E,MAAM,WAAW,oBAAoB;IACnC,8EAA8E;IAC9E,WAAW,EAAE,MAAM,CAAA;IACnB,mFAAmF;IACnF,KAAK,EAAE,MAAM,CAAA;IACb,gFAAgF;IAChF,aAAa,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/C,mDAAmD;IACnD,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAA;IAC/D,iFAAiF;IACjF,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,yCAAyC;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAA;IACb,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,+DAA+D;IAC/D,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,2FAA2F;AAC3F,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,iFAAiF;AACjF,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAA;IACpC,sEAAsE;IACtE,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,oBAAoB,CAAA;IAC9B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAA;IAC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,6EAA6E;IAC7E,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,yEAAyE;AACzE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,oDAAoD;IACpD,cAAc,EAAE,MAAM,CAAA;IACtB,0EAA0E;IAC1E,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAC3D;;;;;;;;;;;;;;;;OAgBG;IACH,qBAAqB,CACnB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAA;IACrC;;;;;;;;OAQG;IACH,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC5E;;;;;;OAMG;IACH,cAAc,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAA;IAC1E,iEAAiE;IACjE,aAAa,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAA;IACtE;;;;OAIG;IACH,aAAa,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACxD;;;;;;;OAOG;IACH,uBAAuB,CACrB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACzD"}
@@ -97,6 +97,22 @@ export interface RepoFiles {
97
97
  * without the capability) omits it, so the preOp passes through and the reviewer reviews cold.
98
98
  */
99
99
  listReviewThreads?(number: number): Promise<GitHubReviewThread[]>;
100
+ /**
101
+ * A pull request's current description/body verbatim, or null when it has none or can't be
102
+ * read. The READ half of an engine-managed body region (kernel's `spliceManagedSection`): the
103
+ * new body must be computed from the body as it is RIGHT NOW, or the write clobbers whatever a
104
+ * human or an agent put there in the meantime.
105
+ *
106
+ * Optional: a bound client that can't read a PR body omits it, and the caller then reports the
107
+ * region as unpublished rather than writing a body it composed from nothing.
108
+ */
109
+ getPullRequestBody?(number: number): Promise<string | null>;
110
+ /**
111
+ * Replace a pull request's description with `body`. Paired with {@link getPullRequestBody} and
112
+ * used only for the read-splice-write of an engine-managed region, never to author a whole
113
+ * description: the agent owns the narrative.
114
+ */
115
+ updatePullRequestBody?(number: number, body: string): Promise<void>;
100
116
  }
101
117
  /**
102
118
  * Build a {@link RepoFiles} bound to a workspace's GitHub installation + a repo. The
@@ -1 +1 @@
1
- {"version":3,"file":"repo-files.d.ts","sourceRoot":"","sources":["../../src/ports/repo-files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AACnG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EAChB,MAAM,oBAAoB,CAAA;AAiB3B,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,CAAA;IACvE;;;OAGG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzE;;;;OAIG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAA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
4
  "description": "Shared vocabulary, pure logic, and port interfaces for the Agent Architecture Board.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@cat-factory/contracts": "0.339.0",
27
+ "@cat-factory/contracts": "0.340.0",
28
28
  "ai": "^7.0.85",
29
29
  "yaml": "^2.9.0"
30
30
  },