baro-ai 0.45.0 → 0.45.2
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 +18 -0
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -10099,6 +10099,24 @@ function buildDefaultStoryPrompt(story) {
|
|
|
10099
10099
|
"- If a single-file edit is sufficient, make a single-file edit. Resist expanding.",
|
|
10100
10100
|
"- If you notice unrelated bugs or improvements, mention them in your final commit",
|
|
10101
10101
|
" message under a `Noted (out of scope):` line so the user can file follow-ups.",
|
|
10102
|
+
"- Do NOT take external side-effecting actions \u2014 opening GitHub issues, posting PR",
|
|
10103
|
+
" comments, sending notifications, pushing tags \u2014 UNLESS this story's acceptance",
|
|
10104
|
+
" criteria explicitly require it. In a parallel run many agents share one working",
|
|
10105
|
+
" tree, so a failure you observe is very likely produced by another story, not you.",
|
|
10106
|
+
"- If `npm test` / `cargo test` / the build surfaces a FAILURE in a file this story",
|
|
10107
|
+
" did not create or modify, it is not yours to fix OR report. Note it under",
|
|
10108
|
+
" `Noted (out of scope):` and move on \u2014 do not open an issue for it. A dedicated",
|
|
10109
|
+
" triage story (or the user) owns deciding whether a shared failure is a real bug.",
|
|
10110
|
+
"- If \u2014 and ONLY if \u2014 this story's acceptance criteria explicitly require you to open",
|
|
10111
|
+
" a GitHub issue, you MUST dedup BEFORE creating: run",
|
|
10112
|
+
' `gh issue list --state open --search "<key symptom / file:line>"` and read the',
|
|
10113
|
+
" titles it returns. If an open issue already describes the same root cause, do NOT",
|
|
10114
|
+
" create a second one \u2014 at most add a comment to the existing issue if you have new",
|
|
10115
|
+
" information. Only run `gh issue create` when no open issue matches. Give every issue",
|
|
10116
|
+
" you do create a specific, deterministic title (name the file and the symptom, e.g.",
|
|
10117
|
+
' "GetShopsQueryFilter: numeric city throws in @Transform") so a later run or a',
|
|
10118
|
+
" sibling agent can match it and skip. This holds even when several stories are each",
|
|
10119
|
+
" told to file issues \u2014 the search-then-create check is what prevents duplicates.",
|
|
10102
10120
|
"",
|
|
10103
10121
|
"IMPORTANT: Before you commit, you MUST verify the project builds successfully:",
|
|
10104
10122
|
" - If Cargo.toml exists: run `cargo build` and fix all errors and warnings",
|