baro-ai 0.35.0 → 0.36.1

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/cli.mjs CHANGED
@@ -8549,6 +8549,7 @@ function markStoryPassed(prd, storyId, durationSecs) {
8549
8549
  )
8550
8550
  };
8551
8551
  }
8552
+ var BARO_COAUTHOR_TRAILER = "Co-Authored-By: baro <285254893+baro-rs@users.noreply.github.com>";
8552
8553
  function buildDefaultStoryPrompt(story) {
8553
8554
  const acceptance = story.acceptance.length ? story.acceptance.map((a, i) => `${i + 1}. ${a}`).join("\n") : "(none specified)";
8554
8555
  const tests = story.tests.length ? story.tests.map((t) => `- ${t}`).join("\n") : "(no test commands specified)";
@@ -8582,7 +8583,18 @@ function buildDefaultStoryPrompt(story) {
8582
8583
  " - If pyproject.toml or requirements.txt: ensure code is import-clean",
8583
8584
  " - Otherwise: ensure linting/typecheck passes",
8584
8585
  "",
8585
- "When done with the story, commit your changes with a clear message."
8586
+ "When done with the story, commit your changes with a clear message.",
8587
+ "",
8588
+ "COMMIT MESSAGE TRAILER (mandatory):",
8589
+ "Every commit you create as part of this story MUST end with a blank line",
8590
+ "followed by this exact trailer line \u2014 no edits, no surrounding text:",
8591
+ "",
8592
+ ` ${BARO_COAUTHOR_TRAILER}`,
8593
+ "",
8594
+ 'Use `git commit -m "\u2026" -m "" -m "' + BARO_COAUTHOR_TRAILER + '"` so the',
8595
+ "trailer lands on its own paragraph at the bottom (git collapses the empty",
8596
+ "middle `-m` to a blank line between the subject and the trailer). This",
8597
+ "attributes the commit to the baro account in the contributors view."
8586
8598
  ].join("\n");
8587
8599
  }
8588
8600
 
@@ -10410,6 +10422,8 @@ var Finalizer = class extends BaroParticipant {
10410
10422
  lines.push("---");
10411
10423
  lines.push("");
10412
10424
  lines.push("\u{1F916} Plan. Parallelize. Review. Ship. \u2014 opened by baro");
10425
+ lines.push("");
10426
+ lines.push(BARO_COAUTHOR_TRAILER);
10413
10427
  return lines.join("\n");
10414
10428
  }
10415
10429
  async hasGhBinary() {