@kitman-sh/software-engineering 0.10.92 → 0.10.93

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
@@ -20195,6 +20195,7 @@ var WorkUnitOutcome = Struct({
20195
20195
  boundary: optionalKey2(BoundaryChange),
20196
20196
  catchUp: optionalKey2(CatchUp),
20197
20197
  syncedTarget: optionalKey2(Revision),
20198
+ cleanSync: optionalKey2(Literals(["up_to_date", "merged"])),
20198
20199
  harnessHold: optionalKey2(HarnessHold),
20199
20200
  restart: optionalKey2(StepRestart),
20200
20201
  failureSummary: optionalKey2(String5.check(isMinLength(1), isMaxLength(4000)))
@@ -22479,6 +22480,8 @@ var rally = (input) => gen2(function* () {
22479
22480
  });
22480
22481
  if (synced.status === "conflict")
22481
22482
  conflicts.push(`Could not merge the target branch in round ${round}: ${synced.files.join(", ")} (${synced.reason})`);
22483
+ else
22484
+ conflicts.length = 0;
22482
22485
  const base = synced.base;
22483
22486
  if (base === undefined)
22484
22487
  return yield* new BuildBaseUnpinned({
@@ -30393,4 +30396,4 @@ var runKit = (config, identity, packages) => {
30393
30396
  runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
30394
30397
  };
30395
30398
  // .kitman-build-entry.ts
30396
- runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.10.92" }, []);
30399
+ runKit(kitman_config_default, { name: "@kitman-sh/software-engineering", version: "0.10.93" }, []);
@@ -3528,7 +3528,7 @@
3528
3528
  "carried": [
3529
3529
  {
3530
3530
  "name": "@kitman-sh/software-engineering",
3531
- "version": "0.10.92",
3531
+ "version": "0.10.93",
3532
3532
  "setup": "2a237548a69b0cd53ec3be7f687cfa8c2128335b3a655d34e185f2abce6a3c37",
3533
3533
  "loops": [
3534
3534
  "build",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/software-engineering",
3
- "version": "0.10.92",
3
+ "version": "0.10.93",
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.92",
20
+ "@kitman-sh/sdk": "0.10.93",
21
21
  "effect": "^4.1.2"
22
22
  },
23
23
  "kitman": {
24
24
  "bundle": "dist/bundle.js",
25
- "digest": "4a0190c4cef68fdd251124779e541a4a9717be82e6f7e596a23dd5b1007901c8",
25
+ "digest": "f7f4bc64d9ef71c74e4daf7679a432b2328ed9992ef81933996733d4552e8e76",
26
26
  "protocolVersion": 5,
27
27
  "declarations": "dist/declarations.json",
28
28
  "setup": {
package/src/build.ts CHANGED
@@ -304,10 +304,12 @@ const rally = (input: {
304
304
  ...(input.target === undefined ? undefined : { target: input.target })
305
305
  })
306
306
 
307
+ // A round that merges or finds the branch up to date settles every round before it that could not merge.
307
308
  if (synced.status === 'conflict')
308
309
  conflicts.push(
309
310
  `Could not merge the target branch in round ${round}: ${synced.files.join(', ')} (${synced.reason})`
310
311
  )
312
+ else conflicts.length = 0
311
313
 
312
314
  // Pinned, so a target that moves during the round does not move what is reviewed.
313
315
  const base = synced.base