@kitman-sh/software-engineering 0.10.56 → 0.10.58

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.
package/dist/bundle.js CHANGED
@@ -21470,7 +21470,7 @@ var build_default = defineLoop({
21470
21470
  summary: `Review round ${last.round} passed with nothing blocking.`,
21471
21471
  review: `review:${last.round}`
21472
21472
  }).pipe(catchTag2("StepFailed", (error) => succeed7({ approved: false, reason: error.reason }))) : undefined;
21473
- const landed = input.land === true ? yield* call("land", shepherd_default, {
21473
+ const landed = input.land !== false ? yield* call("land", shepherd_default, {
21474
21474
  changeRequestId: opened.id,
21475
21475
  ...input.taskId === undefined ? undefined : { taskId: input.taskId },
21476
21476
  ...input.branch === undefined ? undefined : { branch: input.branch }
@@ -22252,7 +22252,8 @@ An earlier Build of this failed. ${retry.steer}` };
22252
22252
  ...taskId === undefined ? undefined : { taskId },
22253
22253
  repoBindingId: head.repoBindingId,
22254
22254
  branch: head.branch,
22255
- revision: head.revision
22255
+ revision: head.revision,
22256
+ land: false
22256
22257
  }).pipe(catchTag2("ChildFailed", (failure) => succeed7(failure)));
22257
22258
  if (built instanceof ChildFailed)
22258
22259
  return settled(ticket, { status: "failed", repoBindingId: head.repoBindingId, reason: built.reason });
@@ -29298,4 +29299,4 @@ var runKit = (config, identity, packages) => {
29298
29299
  runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
29299
29300
  };
29300
29301
  // .kitman-build-entry.ts
29301
- runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.10.56" }, []);
29302
+ runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.10.58" }, []);
@@ -3090,7 +3090,7 @@
3090
3090
  "carried": [
3091
3091
  {
3092
3092
  "name": "@kitman-sh/software-engineering",
3093
- "version": "0.10.56",
3093
+ "version": "0.10.58",
3094
3094
  "setup": "2a237548a69b0cd53ec3be7f687cfa8c2128335b3a655d34e185f2abce6a3c37",
3095
3095
  "loops": [
3096
3096
  "build",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/software-engineering",
3
- "version": "0.10.56",
3
+ "version": "0.10.58",
4
4
  "description": "Everything for building software: Loops, their Agents, the skills they use and the Ponytail plugin.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -17,12 +17,12 @@
17
17
  "tsconfig.json"
18
18
  ],
19
19
  "dependencies": {
20
- "@kitman-sh/sdk": "0.10.56",
20
+ "@kitman-sh/sdk": "0.10.58",
21
21
  "effect": "4.1.2"
22
22
  },
23
23
  "kitman": {
24
24
  "bundle": "dist/bundle.js",
25
- "digest": "bbbaf2e21dc9c84ed9f1522a0b7d94d450fccab21918b9b84cf53d4d604abf3a",
25
+ "digest": "ed3f43456848d81db262c65cd16fbbc8ae2683d7b6f44a0348c0de96507e0319",
26
26
  "protocolVersion": 5,
27
27
  "declarations": "dist/declarations.json",
28
28
  "setup": {
package/src/build.ts CHANGED
@@ -57,7 +57,7 @@ export const BuildInput = Schema.Struct({
57
57
  maxRounds: Schema.optional(Schema.Int),
58
58
  /** The Task's open ChangeRequest an earlier Run left, which this Build fixes forward instead of rebuilding. */
59
59
  continuing: Schema.optional(Continuing),
60
- /** Sees the ChangeRequest through to merge with Shepherd once it opens. */
60
+ /** Sees the ChangeRequest through to merge with Shepherd once it opens; false leaves it open for a person. */
61
61
  land: Schema.optional(Schema.Boolean),
62
62
  /**
63
63
  * An open ChangeRequest to fix forward on: the Run works its branch, never force-pushing, and reports in one comment
@@ -517,7 +517,7 @@ export default defineLoop({
517
517
  : undefined
518
518
 
519
519
  const landed =
520
- input.land === true
520
+ input.land !== false
521
521
  ? yield* call('land', shepherd, {
522
522
  changeRequestId: opened.id,
523
523
  ...(input.taskId === undefined ? undefined : { taskId: input.taskId }),
package/src/plan.ts CHANGED
@@ -285,7 +285,9 @@ const buildTicket = (
285
285
  ...(taskId === undefined ? undefined : { taskId }),
286
286
  repoBindingId: head.repoBindingId,
287
287
  branch: head.branch,
288
- revision: head.revision
288
+ revision: head.revision,
289
+ // Plan merges each Build's ChangeRequest into its integration branch itself.
290
+ land: false
289
291
  }).pipe(Effect.catchTag('ChildFailed', (failure: ChildFailed) => Effect.succeed(failure)))
290
292
 
291
293
  if (built instanceof ChildFailed)