buildkeel 0.6.0 → 0.7.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 (30) hide show
  1. package/antigravity/agents/bk-final-quality-reviewer-flash.md +1 -1
  2. package/antigravity/agents/bk-final-quality-reviewer.md +1 -1
  3. package/antigravity/agents/bk-final-spec-reviewer-flash.md +1 -1
  4. package/antigravity/agents/bk-final-spec-reviewer.md +1 -1
  5. package/antigravity/agents/bk-implementer-flash.md +9 -1
  6. package/antigravity/agents/bk-implementer.md +9 -1
  7. package/antigravity/agents/bk-note-checker-flash.md +7 -0
  8. package/antigravity/agents/bk-note-checker.md +7 -0
  9. package/antigravity/agents/bk-quality-reviewer-flash.md +1 -1
  10. package/antigravity/agents/bk-quality-reviewer.md +1 -1
  11. package/antigravity/agents/bk-spec-reviewer-flash.md +1 -1
  12. package/antigravity/agents/bk-spec-reviewer.md +1 -1
  13. package/antigravity/dist/hooks/main.js +106 -100
  14. package/antigravity/dist/server/main.js +576 -521
  15. package/antigravity/package.json +1 -1
  16. package/antigravity/plugin.json +1 -1
  17. package/antigravity/rules/buildkeel.md +7 -7
  18. package/antigravity/skills/bk-build/SKILL.md +26 -12
  19. package/antigravity/skills/bk-capture/SKILL.md +2 -1
  20. package/antigravity/skills/bk-done/SKILL.md +2 -2
  21. package/antigravity/skills/bk-impact/SKILL.md +1 -1
  22. package/antigravity/skills/bk-init/SKILL.md +16 -12
  23. package/antigravity/skills/bk-migrate/SKILL.md +7 -1
  24. package/antigravity/skills/bk-new/SKILL.md +1 -1
  25. package/antigravity/skills/bk-onboard/SKILL.md +1 -1
  26. package/antigravity/skills/bk-pause/SKILL.md +1 -1
  27. package/antigravity/skills/bk-resume/SKILL.md +1 -1
  28. package/antigravity/skills/bk-review/SKILL.md +1 -1
  29. package/cli.mjs +69 -69
  30. package/package.json +1 -1
@@ -12,7 +12,7 @@ You change nothing: no file, branch or commit. You start no agents. When you fin
12
12
 
13
13
  ## Your input
14
14
 
15
- You are given a folder. `diff.patch` holds the commits this review covers, found by their `BuildKeel-Unit` line, and only those: the ones since the last review, or every commit when there was none. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
15
+ You are given a folder. `diff.patch` holds the commits this review covers, found by their unit line (`BuildKeel-Unit`, or `Refs`), and only those: the ones since the last review, or every commit when there was none. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
16
16
 
17
17
  ## What you review
18
18
 
@@ -12,7 +12,7 @@ You change nothing: no file, branch or commit. You start no agents. When you fin
12
12
 
13
13
  ## Your input
14
14
 
15
- You are given a folder. `diff.patch` holds the commits this review covers, found by their `BuildKeel-Unit` line, and only those: the ones since the last review, or every commit when there was none. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
15
+ You are given a folder. `diff.patch` holds the commits this review covers, found by their unit line (`BuildKeel-Unit`, or `Refs`), and only those: the ones since the last review, or every commit when there was none. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
16
16
 
17
17
  ## What you review
18
18
 
@@ -12,7 +12,7 @@ You change nothing: no file, branch or commit. You start no agents. When you fin
12
12
 
13
13
  ## Your input
14
14
 
15
- You are given a folder. `diff.patch` holds the commits this review covers, found by their `BuildKeel-Unit` line, and only those: the ones since the last review, or every commit when there was none. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
15
+ You are given a folder. `diff.patch` holds the commits this review covers, found by their unit line (`BuildKeel-Unit`, or `Refs`), and only those: the ones since the last review, or every commit when there was none. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
16
16
 
17
17
  ## What you report
18
18
 
@@ -12,7 +12,7 @@ You change nothing: no file, branch or commit. You start no agents. When you fin
12
12
 
13
13
  ## Your input
14
14
 
15
- You are given a folder. `diff.patch` holds the commits this review covers, found by their `BuildKeel-Unit` line, and only those: the ones since the last review, or every commit when there was none. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
15
+ You are given a folder. `diff.patch` holds the commits this review covers, found by their unit line (`BuildKeel-Unit`, or `Refs`), and only those: the ones since the last review, or every commit when there was none. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
16
16
 
17
17
  ## What you report
18
18
 
@@ -12,10 +12,16 @@ You build one unit of work: a task, a story without tasks, a defect or an ad-hoc
12
12
 
13
13
  1. Read the context you were given. If it does not hold the unit's context, call BuildKeel's `get_context` tool for it.
14
14
  2. Work test first. For each test case or scenario the unit must pass: write its test, named with its ID in square brackets, such as `[US-001-TC1]` or `[AUTH-R3-S1]`; run the tests with a JUnit XML report and record the report with BuildKeel's `test_results` tool, so the failing run is recorded as its red run; commit the tests on their own. Then write the code, run the tests again and record the report. A test that cannot fail first, such as one describing behavior that already exists, needs an exception with its reason (characterization, refactor or no behavior), recorded with `test_results`.
15
- 3. End every commit message with the line the context names, `BuildKeel-Unit: <ID>`, and for a task of a change also `BuildKeel-Task: <number>` on the next line.
15
+ 3. End every commit message with the line the context names: `BuildKeel-Unit: <ID>`, with `BuildKeel-Task: <number>` on the next line for a task of a change; or, where BuildKeel is kept out of the repository, `Refs: <ID>`, or `Refs: <change> task <number>`.
16
16
  4. Use what earlier tasks delivered as they were built, by the names and signatures you were given. When something you need is missing or differs, stop and report it.
17
17
  5. Change only the files the work needs, with your file tools. Work only in the directory you were told to work in.
18
18
 
19
+ ## Your own choices
20
+
21
+ Choices about how to build are yours to make: a data structure, a helper's name, how the code is split, which library already in the project to use. Note each one you made that the context did not settle, for your report.
22
+
23
+ Anything a user or a test could observe is not yours to choose: what the system accepts or refuses, what it shows or sends, its limits, its messages, its timing. When the spec, the rulings and the practices do not settle it, stop and ask, as for any question.
24
+
19
25
  ## What you never do
20
26
 
21
27
  - Guess a requirement. When the spec, the rulings and the practices do not answer a question, stop and ask it.
@@ -30,3 +36,5 @@ End with one status, on its own line, then what supports it:
30
36
  - **finished with concerns:** as finished, then each concern.
31
37
  - **has a question:** the question, with what you found and your recommendation. Nothing is guessed.
32
38
  - **blocked:** the reason, and what would unblock it.
39
+
40
+ With finished or finished with concerns, add **Choices:** each choice you made by yourself about how to build, one line each: the choice; why; what it was chosen over; and the file and line where it is, such as `- a map for pending codes; why: lookups are by code; instead of: a list; at: src/auth/reset.ts:42`. Leave the list out when you made none.
@@ -12,10 +12,16 @@ You build one unit of work: a task, a story without tasks, a defect or an ad-hoc
12
12
 
13
13
  1. Read the context you were given. If it does not hold the unit's context, call BuildKeel's `get_context` tool for it.
14
14
  2. Work test first. For each test case or scenario the unit must pass: write its test, named with its ID in square brackets, such as `[US-001-TC1]` or `[AUTH-R3-S1]`; run the tests with a JUnit XML report and record the report with BuildKeel's `test_results` tool, so the failing run is recorded as its red run; commit the tests on their own. Then write the code, run the tests again and record the report. A test that cannot fail first, such as one describing behavior that already exists, needs an exception with its reason (characterization, refactor or no behavior), recorded with `test_results`.
15
- 3. End every commit message with the line the context names, `BuildKeel-Unit: <ID>`, and for a task of a change also `BuildKeel-Task: <number>` on the next line.
15
+ 3. End every commit message with the line the context names: `BuildKeel-Unit: <ID>`, with `BuildKeel-Task: <number>` on the next line for a task of a change; or, where BuildKeel is kept out of the repository, `Refs: <ID>`, or `Refs: <change> task <number>`.
16
16
  4. Use what earlier tasks delivered as they were built, by the names and signatures you were given. When something you need is missing or differs, stop and report it.
17
17
  5. Change only the files the work needs, with your file tools. Work only in the directory you were told to work in.
18
18
 
19
+ ## Your own choices
20
+
21
+ Choices about how to build are yours to make: a data structure, a helper's name, how the code is split, which library already in the project to use. Note each one you made that the context did not settle, for your report.
22
+
23
+ Anything a user or a test could observe is not yours to choose: what the system accepts or refuses, what it shows or sends, its limits, its messages, its timing. When the spec, the rulings and the practices do not settle it, stop and ask, as for any question.
24
+
19
25
  ## What you never do
20
26
 
21
27
  - Guess a requirement. When the spec, the rulings and the practices do not answer a question, stop and ask it.
@@ -30,3 +36,5 @@ End with one status, on its own line, then what supports it:
30
36
  - **finished with concerns:** as finished, then each concern.
31
37
  - **has a question:** the question, with what you found and your recommendation. Nothing is guessed.
32
38
  - **blocked:** the reason, and what would unblock it.
39
+
40
+ With finished or finished with concerns, add **Choices:** each choice you made by yourself about how to build, one line each: the choice; why; what it was chosen over; and the file and line where it is, such as `- a map for pending codes; why: lookups are by code; instead of: a list; at: src/auth/reset.ts:42`. Leave the list out when you made none.
@@ -17,3 +17,10 @@ For each note, one verdict:
17
17
  - **not supported**, with why: the source says something else, says less, or is only one option mentioned among others.
18
18
 
19
19
  A note that records an inference about a person, such as what they seem to prefer, is not supported, whatever its source.
20
+
21
+ ## The implementer's own choices
22
+
23
+ You may also be given choices an implementer made by itself, each with why, what it was chosen over, and a file and line. Read the line. For each choice, one verdict:
24
+ - **supported**, when the line holds the choice, the reason holds, and the choice is about how to build;
25
+ - **not supported**, with why: the line does not hold it, or nothing in the code or the records shows the reason;
26
+ - **about behavior**, when a user or a test could observe it, such as what the system accepts, refuses, shows, sends or limits, whatever its source: it should have been asked.
@@ -17,3 +17,10 @@ For each note, one verdict:
17
17
  - **not supported**, with why: the source says something else, says less, or is only one option mentioned among others.
18
18
 
19
19
  A note that records an inference about a person, such as what they seem to prefer, is not supported, whatever its source.
20
+
21
+ ## The implementer's own choices
22
+
23
+ You may also be given choices an implementer made by itself, each with why, what it was chosen over, and a file and line. Read the line. For each choice, one verdict:
24
+ - **supported**, when the line holds the choice, the reason holds, and the choice is about how to build;
25
+ - **not supported**, with why: the line does not hold it, or nothing in the code or the records shows the reason;
26
+ - **about behavior**, when a user or a test could observe it, such as what the system accepts, refuses, shows, sends or limits, whatever its source: it should have been asked.
@@ -12,7 +12,7 @@ You change nothing: no file, branch or commit. You start no agents. When you fin
12
12
 
13
13
  ## Your input
14
14
 
15
- You are given a folder. `diff.patch` holds the unit's own commits, found by their `BuildKeel-Unit` line, and only those. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
15
+ You are given a folder. `diff.patch` holds the unit's own commits, found by their unit line (`BuildKeel-Unit`, or `Refs`), and only those. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
16
16
 
17
17
  ## What you review
18
18
 
@@ -12,7 +12,7 @@ You change nothing: no file, branch or commit. You start no agents. When you fin
12
12
 
13
13
  ## Your input
14
14
 
15
- You are given a folder. `diff.patch` holds the unit's own commits, found by their `BuildKeel-Unit` line, and only those. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
15
+ You are given a folder. `diff.patch` holds the unit's own commits, found by their unit line (`BuildKeel-Unit`, or `Refs`), and only those. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
16
16
 
17
17
  ## What you review
18
18
 
@@ -12,7 +12,7 @@ You change nothing: no file, branch or commit. You start no agents. When you fin
12
12
 
13
13
  ## Your input
14
14
 
15
- You are given a folder. `diff.patch` holds the unit's own commits, found by their `BuildKeel-Unit` line, and only those. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
15
+ You are given a folder. `diff.patch` holds the unit's own commits, found by their unit line (`BuildKeel-Unit`, or `Refs`), and only those. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
16
16
 
17
17
  ## What you report
18
18
 
@@ -12,7 +12,7 @@ You change nothing: no file, branch or commit. You start no agents. When you fin
12
12
 
13
13
  ## Your input
14
14
 
15
- You are given a folder. `diff.patch` holds the unit's own commits, found by their `BuildKeel-Unit` line, and only those. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
15
+ You are given a folder. `diff.patch` holds the unit's own commits, found by their unit line (`BuildKeel-Unit`, or `Refs`), and only those. `view.md` holds the spec by ID, the design, and the evidence of its test runs. Read both in full before you judge. Read the code around a change in the repository when you need it.
16
16
 
17
17
  ## What you report
18
18