buildkeel 0.7.0 → 0.7.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/README.md +33 -4
- package/antigravity/agents/bk-break-it-pro.md +25 -0
- package/antigravity/agents/bk-designer-pro.md +20 -0
- package/antigravity/agents/bk-edge-cases-pro.md +31 -0
- package/antigravity/agents/bk-final-quality-reviewer-pro.md +47 -0
- package/antigravity/agents/bk-final-spec-reviewer-pro.md +37 -0
- package/antigravity/agents/bk-implementer-pro.md +40 -0
- package/antigravity/agents/bk-note-checker-pro.md +26 -0
- package/antigravity/agents/bk-quality-reviewer-pro.md +47 -0
- package/antigravity/agents/bk-readiness-reader-pro.md +28 -0
- package/antigravity/agents/bk-spec-reviewer-pro.md +37 -0
- package/antigravity/dist/hooks/main.js +208 -143
- package/antigravity/dist/server/main.js +653 -595
- package/antigravity/package.json +1 -1
- package/antigravity/plugin.json +1 -1
- package/antigravity/rules/buildkeel.md +1 -1
- package/antigravity/skills/bk-build/SKILL.md +3 -3
- package/antigravity/skills/bk-done/SKILL.md +1 -1
- package/antigravity/skills/bk-init/SKILL.md +4 -0
- package/antigravity/skills/bk-models/SKILL.md +16 -0
- package/antigravity/skills/bk-review/SKILL.md +1 -1
- package/cli.mjs +151 -142
- package/cursor/.cursor-plugin/plugin.json +16 -0
- package/cursor/LICENSE +49 -0
- package/cursor/THIRD-PARTY-NOTICES +231 -0
- package/cursor/agents/bk-break-it.md +17 -0
- package/cursor/agents/bk-designer.md +12 -0
- package/cursor/agents/bk-edge-cases.md +23 -0
- package/cursor/agents/bk-final-quality-reviewer.md +39 -0
- package/cursor/agents/bk-final-spec-reviewer.md +29 -0
- package/cursor/agents/bk-implementer.md +32 -0
- package/cursor/agents/bk-note-checker.md +18 -0
- package/cursor/agents/bk-quality-reviewer.md +39 -0
- package/cursor/agents/bk-readiness-reader.md +20 -0
- package/cursor/agents/bk-spec-reviewer.md +29 -0
- package/cursor/agents/index.json +99 -0
- package/cursor/bin/bk-launch +34 -0
- package/cursor/bin/bk-launch.cmd +36 -0
- package/cursor/bin/bk-start.cjs +28 -0
- package/cursor/dist/hooks/main.js +232 -0
- package/cursor/dist/server/main.js +834 -0
- package/cursor/hooks/hooks.json +36 -0
- package/cursor/mcp.json +24 -0
- package/cursor/package.json +8 -0
- package/cursor/practices/P-01.md +7 -0
- package/cursor/practices/P-02.md +7 -0
- package/cursor/practices/P-03.md +7 -0
- package/cursor/practices/P-04.md +7 -0
- package/cursor/practices/P-05.md +7 -0
- package/cursor/practices/P-06.md +7 -0
- package/cursor/practices/P-07.md +7 -0
- package/cursor/practices/P-08.md +7 -0
- package/cursor/practices/P-09.md +7 -0
- package/cursor/practices/P-10.md +7 -0
- package/cursor/practices/P-11.md +7 -0
- package/cursor/practices/P-12.md +7 -0
- package/cursor/practices/P-13.md +7 -0
- package/cursor/practices/P-14.md +7 -0
- package/cursor/practices/P-15.md +7 -0
- package/cursor/project/commands/bk-approve.md +50 -0
- package/cursor/project/commands/bk-build.md +248 -0
- package/cursor/project/commands/bk-capture.md +207 -0
- package/cursor/project/commands/bk-done.md +112 -0
- package/cursor/project/commands/bk-impact.md +48 -0
- package/cursor/project/commands/bk-init.md +92 -0
- package/cursor/project/commands/bk-migrate.md +71 -0
- package/cursor/project/commands/bk-models.md +9 -0
- package/cursor/project/commands/bk-new.md +121 -0
- package/cursor/project/commands/bk-onboard.md +134 -0
- package/cursor/project/commands/bk-pause.md +49 -0
- package/cursor/project/commands/bk-resume.md +28 -0
- package/cursor/project/commands/bk-review.md +49 -0
- package/cursor/project/commands/bk-settings.md +11 -0
- package/cursor/project/commands/bk-stats.md +33 -0
- package/cursor/project/commands/bk-status.md +11 -0
- package/cursor/project/rules/buildkeel.mdc +80 -0
- package/cursor/skills/buildkeel/SKILL.md +80 -0
- package/cursor/templates/adhoc.md +15 -0
- package/cursor/templates/adr.md +31 -0
- package/cursor/templates/defect.md +35 -0
- package/cursor/templates/design.md +49 -0
- package/cursor/templates/epic.md +31 -0
- package/cursor/templates/idea.md +35 -0
- package/cursor/templates/spec-driven/capability.md +28 -0
- package/cursor/templates/spec-driven/proposal.md +41 -0
- package/cursor/templates/spec-driven/spec-change.md +43 -0
- package/cursor/templates/spec-driven/tasks.md +25 -0
- package/cursor/templates/story.md +31 -0
- package/cursor/templates/task.md +43 -0
- package/cursor/templates/test-plan.md +29 -0
- package/cursor/templates/thread.md +41 -0
- package/package.json +17 -3
- package/pi/LICENSE +49 -0
- package/pi/THIRD-PARTY-NOTICES +231 -0
- package/pi/agents/bk-break-it.md +17 -0
- package/pi/agents/bk-designer.md +12 -0
- package/pi/agents/bk-edge-cases.md +23 -0
- package/pi/agents/bk-final-quality-reviewer.md +39 -0
- package/pi/agents/bk-final-spec-reviewer.md +29 -0
- package/pi/agents/bk-implementer.md +32 -0
- package/pi/agents/bk-note-checker.md +18 -0
- package/pi/agents/bk-quality-reviewer.md +39 -0
- package/pi/agents/bk-readiness-reader.md +20 -0
- package/pi/agents/bk-spec-reviewer.md +29 -0
- package/pi/agents/index.json +135 -0
- package/pi/bin/bk-launch +34 -0
- package/pi/bin/bk-launch.cmd +36 -0
- package/pi/bin/bk-start.cjs +28 -0
- package/pi/dist/hooks/main.js +232 -0
- package/pi/dist/server/main.js +834 -0
- package/pi/extension.js +241 -0
- package/pi/package.json +8 -0
- package/pi/practices/P-01.md +7 -0
- package/pi/practices/P-02.md +7 -0
- package/pi/practices/P-03.md +7 -0
- package/pi/practices/P-04.md +7 -0
- package/pi/practices/P-05.md +7 -0
- package/pi/practices/P-06.md +7 -0
- package/pi/practices/P-07.md +7 -0
- package/pi/practices/P-08.md +7 -0
- package/pi/practices/P-09.md +7 -0
- package/pi/practices/P-10.md +7 -0
- package/pi/practices/P-11.md +7 -0
- package/pi/practices/P-12.md +7 -0
- package/pi/practices/P-13.md +7 -0
- package/pi/practices/P-14.md +7 -0
- package/pi/practices/P-15.md +7 -0
- package/pi/prompts/bk-approve.md +53 -0
- package/pi/prompts/bk-build.md +251 -0
- package/pi/prompts/bk-capture.md +210 -0
- package/pi/prompts/bk-done.md +115 -0
- package/pi/prompts/bk-impact.md +51 -0
- package/pi/prompts/bk-init.md +95 -0
- package/pi/prompts/bk-migrate.md +73 -0
- package/pi/prompts/bk-models.md +11 -0
- package/pi/prompts/bk-new.md +124 -0
- package/pi/prompts/bk-onboard.md +137 -0
- package/pi/prompts/bk-pause.md +52 -0
- package/pi/prompts/bk-resume.md +31 -0
- package/pi/prompts/bk-review.md +52 -0
- package/pi/prompts/bk-settings.md +13 -0
- package/pi/prompts/bk-stats.md +36 -0
- package/pi/prompts/bk-status.md +13 -0
- package/pi/skills/buildkeel/SKILL.md +68 -0
- package/pi/templates/adhoc.md +15 -0
- package/pi/templates/adr.md +31 -0
- package/pi/templates/defect.md +35 -0
- package/pi/templates/design.md +49 -0
- package/pi/templates/epic.md +31 -0
- package/pi/templates/idea.md +35 -0
- package/pi/templates/spec-driven/capability.md +28 -0
- package/pi/templates/spec-driven/proposal.md +41 -0
- package/pi/templates/spec-driven/spec-change.md +43 -0
- package/pi/templates/spec-driven/tasks.md +25 -0
- package/pi/templates/story.md +31 -0
- package/pi/templates/task.md +43 -0
- package/pi/templates/test-plan.md +29 -0
- package/pi/templates/thread.md +41 -0
package/antigravity/package.json
CHANGED
package/antigravity/plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buildkeel",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "BuildKeel keeps requirements, tests and code connected, from the business idea down to the commit, and gives the agent that full picture before it writes anything.",
|
|
5
5
|
"homepage": "https://buildkeel.ai"
|
|
6
6
|
}
|
|
@@ -9,7 +9,7 @@ BuildKeel keeps requirements, tests and code connected. Follow these rules in an
|
|
|
9
9
|
|
|
10
10
|
Talk with the user as you would without BuildKeel, as a thinking partner, the way BuildKeel's session report describes: explain the options, trade-offs and pitfalls before you ask, ask in prose, recommend only what the evidence supports, and never push toward a plan or a BuildKeel step. Discussing ideas, weighing options, talking through architecture and reading code are free: leave BuildKeel's artifacts, stages, IDs and commands out of it.
|
|
11
11
|
|
|
12
|
-
BuildKeel comes in when the user starts a BuildKeel command, or when you are about to change a file (see "Before changing code"). Once that is done, the conversation is free again. Start a BuildKeel command only when the user asks for it, by typing it or in their own words, such as "let's capture this" or "build the next task": never on your own initiative, and never because it would be the next step. /bk-approve, /bk-done, /bk-init and /bk-
|
|
12
|
+
BuildKeel comes in when the user starts a BuildKeel command, or when you are about to change a file (see "Before changing code"). Once that is done, the conversation is free again. Start a BuildKeel command only when the user asks for it, by typing it or in their own words, such as "let's capture this" or "build the next task": never on your own initiative, and never because it would be the next step. /bk-approve, /bk-done, /bk-init, /bk-migrate and /bk-models start only when the user types them, since they approve, finish, set up, migrate or choose the person's models: when asked for one in words, tell the user to type it. /bk-status, /bk-settings and /bk-stats only read, and you may run them on your own; /bk-pause when the user says words such as "let's stop here", since it saves nothing until they agree.
|
|
13
13
|
|
|
14
14
|
## The spec tree
|
|
15
15
|
|
|
@@ -121,7 +121,7 @@ Call `query` with `view: "settings"` once, before the first agent: its part "To
|
|
|
121
121
|
For each task:
|
|
122
122
|
|
|
123
123
|
1. **Its view.** Call `get_context` with `role: "implementer"` and the unit's `id`; in a change, also its `task` number. It holds the task's context, what the tasks before it built, and the working notes and rulings.
|
|
124
|
-
2. **Start the implementer
|
|
124
|
+
2. **Start the implementer,** saying the implementer line the settings view gives, with that view as it is: it holds every ruling saved so far. Give it nothing else: not the whole plan and not this conversation. If the agent fails to start, stop the run, say so with the reason, and offer to go on here (the default).
|
|
125
125
|
3. **Take its status.** It ends with one of these:
|
|
126
126
|
- **finished:** go on to the review.
|
|
127
127
|
- **finished with concerns:** show the concerns in a line each. A concern about what was agreed stops the run, as "Behavior that looks wrong" says; otherwise go on to the review, and name them again at the end of the run.
|
|
@@ -129,7 +129,7 @@ For each task:
|
|
|
129
129
|
- **blocked:** stop the run, show the reason, and ask the user how to go on.
|
|
130
130
|
4. **Check its work** before the review: its commits carry the unit's line (and in a change, the task's), and its test runs are recorded. Call `test_results` with no report: if the task's tests have no current passing result, run them and record the report yourself, once.
|
|
131
131
|
|
|
132
|
-
Keep the ID each agent's start gives
|
|
132
|
+
Keep the ID each agent's start gives, or, where the host gives none, its conversation or name, with its role and round: the execution record needs them.
|
|
133
133
|
|
|
134
134
|
A run in fresh agents goes from records, not from memory: the ticks, completion records, test runs, rulings and commits. When a run is stopped or the conversation is compacted, /bk-build on the same parent or change goes on from the first unit not finished or task not ticked.
|
|
135
135
|
|
|
@@ -172,7 +172,7 @@ Each task is reviewed once it is built, whether it was built in a fresh agent or
|
|
|
172
172
|
A review is done by three fresh agents: the spec reviewer, the quality reviewer and the break-it agent. None of them is the agent that wrote the code, and none sees this conversation.
|
|
173
173
|
|
|
174
174
|
1. **The packages.** Call `review` with `action: "input"`, the `id` (and in a change, the `task` when one task is reviewed), and the `kind` of this review: `kind: "after-task"` in a run, `kind: "final"` at finishing, `kind: "on-demand"` when the user asks. It says which reviewers to start, and only those: each reviewer that is switched on, and at finishing only the commits since the last review, with one spec-compliance review of the whole change when its tasks were reviewed in a run. It writes each one's package, the diff and the reviewer's view, to a folder, and prepares the break-it agent's worktree when break-it runs. When it says nothing is to be reviewed, review nothing, and say so in a line, with why.
|
|
175
|
-
2. **The reviewers.** Call `query` with `view: "settings"`, if you have not in this conversation: it names the agent to start for each role, with the model and effort to pass on this host. Start the reviewers the input names: after a task, the spec reviewer and the quality reviewer; at finishing, the final spec reviewer and the final quality reviewer; and the break-it agent. Give each the folder the input names for it and nothing else, and the break-it agent its worktree too. They can run at the same time.
|
|
175
|
+
2. **The reviewers.** Call `query` with `view: "settings"`, if you have not in this conversation: it names the agent to start for each role, with the model and effort to pass on this host. Start the reviewers the input names, saying the reviewers' line the settings view gives: after a task, the spec reviewer and the quality reviewer; at finishing, the final spec reviewer and the final quality reviewer; and the break-it agent. Give each the folder the input names for it and nothing else, and the break-it agent its worktree too. They can run at the same time.
|
|
176
176
|
3. **Record each report as it is,** with `review`, `action: "record"`, the same `id` (and `task`), the `reviewer` (spec, quality or break-it), the `kind` of this review, and the report's lists: its verdicts, findings, proposed additions, what was done well and its verdict, or the break-it agent's failing tests. Never change a finding's severity or wording.
|
|
177
177
|
4. **When a reviewer cannot be started,** follow "When agents can't be started": review it here, as each reviewer's instructions would, and record each report with `by: "author"`. Say in a line that it was reviewed by the author, so it does not count as an independent review.
|
|
178
178
|
5. **Answer each finding.** Check it against the code first: never accept a finding only because a reviewer made it. Then answer it with `review`, `action: "answer"` and the `finding`'s ID:
|
|
@@ -47,7 +47,7 @@ Review the whole unit, or the whole change, with `kind: "final"`, as follows. In
|
|
|
47
47
|
A review is done by three fresh agents: the spec reviewer, the quality reviewer and the break-it agent. None of them is the agent that wrote the code, and none sees this conversation.
|
|
48
48
|
|
|
49
49
|
1. **The packages.** Call `review` with `action: "input"`, the `id` (and in a change, the `task` when one task is reviewed), and the `kind` of this review: `kind: "after-task"` in a run, `kind: "final"` at finishing, `kind: "on-demand"` when the user asks. It says which reviewers to start, and only those: each reviewer that is switched on, and at finishing only the commits since the last review, with one spec-compliance review of the whole change when its tasks were reviewed in a run. It writes each one's package, the diff and the reviewer's view, to a folder, and prepares the break-it agent's worktree when break-it runs. When it says nothing is to be reviewed, review nothing, and say so in a line, with why.
|
|
50
|
-
2. **The reviewers.** Call `query` with `view: "settings"`, if you have not in this conversation: it names the agent to start for each role, with the model and effort to pass on this host. Start the reviewers the input names: after a task, the spec reviewer and the quality reviewer; at finishing, the final spec reviewer and the final quality reviewer; and the break-it agent. Give each the folder the input names for it and nothing else, and the break-it agent its worktree too. They can run at the same time.
|
|
50
|
+
2. **The reviewers.** Call `query` with `view: "settings"`, if you have not in this conversation: it names the agent to start for each role, with the model and effort to pass on this host. Start the reviewers the input names, saying the reviewers' line the settings view gives: after a task, the spec reviewer and the quality reviewer; at finishing, the final spec reviewer and the final quality reviewer; and the break-it agent. Give each the folder the input names for it and nothing else, and the break-it agent its worktree too. They can run at the same time.
|
|
51
51
|
3. **Record each report as it is,** with `review`, `action: "record"`, the same `id` (and `task`), the `reviewer` (spec, quality or break-it), the `kind` of this review, and the report's lists: its verdicts, findings, proposed additions, what was done well and its verdict, or the break-it agent's failing tests. Never change a finding's severity or wording.
|
|
52
52
|
4. **When a reviewer cannot be started,** follow "When agents can't be started": review it here, as each reviewer's instructions would, and record each report with `by: "author"`. Say in a line that it was reviewed by the author, so it does not count as an independent review.
|
|
53
53
|
5. **Answer each finding.** Check it against the code first: never accept a finding only because a reviewer made it. Then answer it with `review`, `action: "answer"` and the `finding`'s ID:
|
|
@@ -92,4 +92,8 @@ Only when the user confirms, call `manage` again with the same values (the same
|
|
|
92
92
|
|
|
93
93
|
For a Spec-driven tree, new or existing, the result asks it. Ask **Guide me through my first change** (the default) or **Jump right in**, and record the answer with `manage`, `action: "guide"`, `guide: "on"` or `"off"`.
|
|
94
94
|
|
|
95
|
+
## 10. Models for the agents
|
|
96
|
+
|
|
97
|
+
Last, and optional: offer to choose the models for BuildKeel's agents. Call `query` with `view: "models"`, and ask, with your tool for asking a question with choices, as its last line says: **Keep the defaults** first, then **Choose models now**; where the result says choosing comes first (on Pi), **Choose models now** first. If the user chooses models, go on as /bk-models does. Keeping the defaults changes nothing.
|
|
98
|
+
|
|
95
99
|
Do not create or edit any BuildKeel files yourself; the `manage` tool does all of it. If `manage` reports a problem, show it with its fix and ask how to continue.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bk-models
|
|
3
|
+
description: "BuildKeel: Choose the model and effort for each of BuildKeel's agents on this host, from the models you can use: your own choice, kept on this machine. Roles your team set stay as the team set them. Run as /bk-models, only when the user types it."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
BuildKeel's tools are on the MCP server `buildkeel`: call each one with `call_mcp_tool` (`ServerName` `buildkeel`, `ToolName` the tool's name), passing `workspace`, the absolute path of this project's folder. Never read or write the spec tree's files instead. If you have no `call_mcp_tool` tool, tell the user to start a new conversation and stop: never run BuildKeel's server or programs yourself.
|
|
7
|
+
|
|
8
|
+
Whenever a step says to show something and ask about it, write it out in your reply as normal text and end that reply with the question in plain text, calling no tool after it: the user may see nothing you wrote before a tool call. Use your tool for asking a question with choices only for a quick choice with nothing to read, and put in the question itself anything the user needs to choose.
|
|
9
|
+
|
|
10
|
+
Call the BuildKeel `query` tool with `view: "models"`. If the result says this repository is not set up for BuildKeel, tell the user how to set it up with /bk-init, and stop. Otherwise show its "Now" list to the user as it is, in your reply as normal text, with the models to choose from.
|
|
11
|
+
|
|
12
|
+
Then ask about each group as the result says, one group per question, with your tool for asking a question with choices: the group's current choice first, then "Same as the previous group" (from the second group on), then each model the result lists, and "Each one separately", which asks that group's agents one by one. Skip a group whose agents the team set, and say in a line that the team set them. Then ask the effort for each group the same way, the current one first; on Antigravity there is none to ask.
|
|
13
|
+
|
|
14
|
+
When every group is answered, call `manage` with `action: "models"` and `models`, one entry for each agent whose choice changed (its `role`, or "handoff" for the Principal handoff round, its `model` and its `effort`), without `apply`. Show the table it returns. Show it in full in your reply, as normal text: the document, table or list itself. End the message with your question in plain text, and take the user's next message as the answer. Never put what you show inside your question tool. Only when the user agrees, call it again with `apply: true`, and show the result.
|
|
15
|
+
|
|
16
|
+
These are the user's own choices, in their own `~/.buildkeel/settings.yaml`, never committed. To set models for the whole team, the team changes `agents` in the spec tree's `buildkeel.yaml` instead: say so if the user asks.
|
|
@@ -28,7 +28,7 @@ Say in a line what is reviewed: the unit or change, or the range, and how many c
|
|
|
28
28
|
A review is done by three fresh agents: the spec reviewer, the quality reviewer and the break-it agent. None of them is the agent that wrote the code, and none sees this conversation.
|
|
29
29
|
|
|
30
30
|
1. **The packages.** Call `review` with `action: "input"`, the `id` (and in a change, the `task` when one task is reviewed), and the `kind` of this review: `kind: "after-task"` in a run, `kind: "final"` at finishing, `kind: "on-demand"` when the user asks. It says which reviewers to start, and only those: each reviewer that is switched on, and at finishing only the commits since the last review, with one spec-compliance review of the whole change when its tasks were reviewed in a run. It writes each one's package, the diff and the reviewer's view, to a folder, and prepares the break-it agent's worktree when break-it runs. When it says nothing is to be reviewed, review nothing, and say so in a line, with why.
|
|
31
|
-
2. **The reviewers.** Call `query` with `view: "settings"`, if you have not in this conversation: it names the agent to start for each role, with the model and effort to pass on this host. Start the reviewers the input names: after a task, the spec reviewer and the quality reviewer; at finishing, the final spec reviewer and the final quality reviewer; and the break-it agent. Give each the folder the input names for it and nothing else, and the break-it agent its worktree too. They can run at the same time.
|
|
31
|
+
2. **The reviewers.** Call `query` with `view: "settings"`, if you have not in this conversation: it names the agent to start for each role, with the model and effort to pass on this host. Start the reviewers the input names, saying the reviewers' line the settings view gives: after a task, the spec reviewer and the quality reviewer; at finishing, the final spec reviewer and the final quality reviewer; and the break-it agent. Give each the folder the input names for it and nothing else, and the break-it agent its worktree too. They can run at the same time.
|
|
32
32
|
3. **Record each report as it is,** with `review`, `action: "record"`, the same `id` (and `task`), the `reviewer` (spec, quality or break-it), the `kind` of this review, and the report's lists: its verdicts, findings, proposed additions, what was done well and its verdict, or the break-it agent's failing tests. Never change a finding's severity or wording.
|
|
33
33
|
4. **When a reviewer cannot be started,** follow "When agents can't be started": review it here, as each reviewer's instructions would, and record each report with `by: "author"`. Say in a line that it was reviewed by the author, so it does not count as an independent review.
|
|
34
34
|
5. **Answer each finding.** Check it against the code first: never accept a finding only because a reviewer made it. Then answer it with `review`, `action: "answer"` and the `finding`'s ID:
|