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.
- package/antigravity/agents/bk-final-quality-reviewer-flash.md +1 -1
- package/antigravity/agents/bk-final-quality-reviewer.md +1 -1
- package/antigravity/agents/bk-final-spec-reviewer-flash.md +1 -1
- package/antigravity/agents/bk-final-spec-reviewer.md +1 -1
- package/antigravity/agents/bk-implementer-flash.md +9 -1
- package/antigravity/agents/bk-implementer.md +9 -1
- package/antigravity/agents/bk-note-checker-flash.md +7 -0
- package/antigravity/agents/bk-note-checker.md +7 -0
- package/antigravity/agents/bk-quality-reviewer-flash.md +1 -1
- package/antigravity/agents/bk-quality-reviewer.md +1 -1
- package/antigravity/agents/bk-spec-reviewer-flash.md +1 -1
- package/antigravity/agents/bk-spec-reviewer.md +1 -1
- package/antigravity/dist/hooks/main.js +106 -100
- package/antigravity/dist/server/main.js +576 -521
- package/antigravity/package.json +1 -1
- package/antigravity/plugin.json +1 -1
- package/antigravity/rules/buildkeel.md +7 -7
- package/antigravity/skills/bk-build/SKILL.md +26 -12
- package/antigravity/skills/bk-capture/SKILL.md +2 -1
- package/antigravity/skills/bk-done/SKILL.md +2 -2
- package/antigravity/skills/bk-impact/SKILL.md +1 -1
- package/antigravity/skills/bk-init/SKILL.md +16 -12
- package/antigravity/skills/bk-migrate/SKILL.md +7 -1
- package/antigravity/skills/bk-new/SKILL.md +1 -1
- package/antigravity/skills/bk-onboard/SKILL.md +1 -1
- package/antigravity/skills/bk-pause/SKILL.md +1 -1
- package/antigravity/skills/bk-resume/SKILL.md +1 -1
- package/antigravity/skills/bk-review/SKILL.md +1 -1
- package/cli.mjs +69 -69
- package/package.json +1 -1
package/antigravity/package.json
CHANGED
package/antigravity/plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buildkeel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
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
|
|
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-migrate start only when the user types them, since they approve, finish, set up or migrate: 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
|
|
|
@@ -21,12 +21,12 @@ A team can rename the stages of its process and add stages of its own. When it h
|
|
|
21
21
|
|
|
22
22
|
## Before changing code
|
|
23
23
|
|
|
24
|
-
Every code change belongs to the active unit of this working tree: a task, a story built without tasks, a defect or an ad-hoc unit, and in a Spec-driven tree a change, a defect or an ad-hoc unit. If there is none,
|
|
24
|
+
Every code change belongs to the active unit of this working tree: a task, a story built without tasks, a defect or an ad-hoc unit, and in a Spec-driven tree a change, a defect or an ad-hoc unit. If there is none, BuildKeel either holds the edit or lets it go ahead with a warning, as this person's `code-edits` setting says. When it holds it, ask the user how to go on, with your tool for asking a question with choices if you have one, recommending the choice that fits. When it warns, the edit has gone ahead: tell the user once, in a line, and offer the same choices.
|
|
25
25
|
|
|
26
|
-
1. **Capture what we discussed
|
|
26
|
+
1. **Capture what we discussed** with /bk-capture, which turns the conversation into the artifacts the team's process needs, to approve and then build; in a Spec-driven tree, into a change, which needs no approval. If they choose it, start it, and change nothing more until a unit is active. Recommend it when the conversation shaped new work.
|
|
27
27
|
2. **Start the unit it belongs to** with /bk-build <ID>, when the change is part of planned work.
|
|
28
28
|
3. **Record it as an ad-hoc unit** with a short title you propose, and start it as /bk-build does for a description: for a small change that belongs to no planned work.
|
|
29
|
-
4. **Go ahead without a unit.** Only the user can choose this: then call the BuildKeel `manage` tool with `action: "untracked"` first, and tell them the change will belong to no unit.
|
|
29
|
+
4. **Go ahead without a unit.** Only the user can choose this, for just the files at hand (offer this first) or for the whole working tree: then call the BuildKeel `manage` tool with `action: "untracked"`, and `scope: "files"` with the files or folders, or `scope: "tree"`, first, and tell them the change will belong to no unit. Files git ignores are never held, so they need none of this.
|
|
30
30
|
|
|
31
31
|
When the user reports a defect, or a test fails in work that was finished, offer to record a defect with /bk-new defect, which sorts a report first. Call `get_context` when you need the unit's requirements, design and test cases again.
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ If BuildKeel says a change is outside the areas the active unit relates to, tell
|
|
|
36
36
|
|
|
37
37
|
## Commits
|
|
38
38
|
|
|
39
|
-
End every commit message with the active unit's
|
|
39
|
+
End every commit message with the active unit's line, after a blank line:
|
|
40
40
|
|
|
41
41
|
```
|
|
42
42
|
Add the reset endpoint
|
|
@@ -44,7 +44,7 @@ Add the reset endpoint
|
|
|
44
44
|
BuildKeel-Unit: TK-047
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
When a commit does exactly one task of a change, add `BuildKeel-Task: <task number>`, such as `BuildKeel-Task: 1.2`, on the next line. If the message has other trailer lines, such as `Co-Authored-By`, keep them all in that last block with no blank line between them, so git reads them as trailers. Use the active unit's ID, never another unit's. Do not rewrite commits that are already made.
|
|
47
|
+
When a commit does exactly one task of a change, add `BuildKeel-Task: <task number>`, such as `BuildKeel-Task: 1.2`, on the next line. Where BuildKeel is kept out of the repository, write `Refs: TK-047` (or `Refs: CH-004 task 1.2`) instead. If the message has other trailer lines, such as `Co-Authored-By`, keep them all in that last block with no blank line between them, so git reads them as trailers. Use the active unit's ID, never another unit's. Do not rewrite commits that are already made.
|
|
48
48
|
|
|
49
49
|
## Tests
|
|
50
50
|
|
|
@@ -52,7 +52,7 @@ When you write a test for a test case, put the test case's ID in square brackets
|
|
|
52
52
|
|
|
53
53
|
A test written before BuildKeel may be matched to a test case instead of tagged; the unit's context lists those matches. When you change such a test, add its test case's ID to its name too; BuildKeel drops the match when the unit is finished.
|
|
54
54
|
|
|
55
|
-
Run the tests with a JUnit XML reporter, writing the report under `.buildkeel/` (git ignores it), and record each report with the BuildKeel `test_results` tool. For example:
|
|
55
|
+
Run the tests with a JUnit XML reporter, writing the report under `.buildkeel/` (git ignores it; where BuildKeel is kept out, under the folder the session report names), and record each report with the BuildKeel `test_results` tool. For example:
|
|
56
56
|
|
|
57
57
|
- Vitest: `npx vitest run --reporter=default --reporter=junit --outputFile.junit=.buildkeel/junit.xml`
|
|
58
58
|
- Jest: `npx jest --reporters=default --reporters=jest-junit` with `JEST_JUNIT_OUTPUT_FILE=.buildkeel/junit.xml`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bk-build
|
|
3
|
-
description: "BuildKeel: Start a unit and build it: a task, story, defect or change by its ID, the ready units under a parent, or a small change described in words. Run as /bk-build [an ID, a parent's ID, or what to change in words], e.g. TK-001, US-001, or \"fix the footer link\"
|
|
3
|
+
description: "BuildKeel: Start a unit and build it: a task, story, defect or change by its ID, the ready units under a parent, or a small change described in words. Run as /bk-build [an ID, a parent's ID, or what to change in words], e.g. TK-001, US-001, or \"fix the footer link\"."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
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.
|
|
@@ -59,7 +59,7 @@ If the unit is already the active unit in this working tree, it is not started a
|
|
|
59
59
|
|
|
60
60
|
- **Refused by the start gate:** show every failing check with its fix, as it is. Offer the fix that comes first, such as approving the story or its test plan. Do not start anything else in its place without asking.
|
|
61
61
|
- **Uncommitted changes:** show the files it lists. If it says some of them set BuildKeel up (such as `.buildkeel.yaml` or the spec tree's `buildkeel.yaml`), offer first **Commit them as setting BuildKeel up** (the default): commit only those files, with a message such as "Set up BuildKeel" and no `BuildKeel-Unit` line, then deal with any other files as below, and call `start_work` again. Every other change must belong to one unit, so ask the user what to do with them, offering these choices:
|
|
62
|
-
1. **Commit them to the active unit** (the default, when there is one). Show what will be committed, commit it with the message ending in `BuildKeel-Unit: <
|
|
62
|
+
1. **Commit them to the active unit** (the default, when there is one). Show what will be committed, commit it with the message ending in the active unit's line, as the session report names it (`BuildKeel-Unit: <ID>`, or `Refs: <ID>` where BuildKeel is kept out), then call `start_work` again. When there is no active unit, ask which unit the changes belong to instead.
|
|
63
63
|
2. **Set them aside.** List the files again and ask for an explicit yes. Then run `git stash push --include-untracked -m "BuildKeel: set aside before starting <ID>"`, tell the user they can bring the changes back with `git stash pop`, and call `start_work` again.
|
|
64
64
|
3. **Leave them, and do not start.**
|
|
65
65
|
|
|
@@ -78,7 +78,7 @@ Sum up the context: what to build, the acceptance criteria and the test cases, b
|
|
|
78
78
|
|
|
79
79
|
If the user asks for it to be built in a fresh agent, build it as "Building in fresh agents" says, as a run of one.
|
|
80
80
|
|
|
81
|
-
To build it, test first: write the tests for its test cases, each test named with its test case ID in square brackets, one ID per bracket; run them with a JUnit XML report and record it with the BuildKeel `test_results` tool, so their failing run is recorded as their 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 existing behavior, needs an exception with its reason, recorded with `test_results`. Commit as you go, each message ending with
|
|
81
|
+
To build it, test first: write the tests for its test cases, each test named with its test case ID in square brackets, one ID per bracket; run them with a JUnit XML report and record it with the BuildKeel `test_results` tool, so their failing run is recorded as their 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 existing behavior, needs an exception with its reason, recorded with `test_results`. Commit as you go, each message ending with the unit's line the context names, and change files only with your file editing tools. The run stops to ask, as "When a run stops" says. When the work is committed and its test cases pass, tell the user they can finish it with /bk-done; do not finish it yourself.
|
|
82
82
|
|
|
83
83
|
## Build what is ready under a parent
|
|
84
84
|
|
|
@@ -104,13 +104,13 @@ Any other answer, such as a change to the list, is taken in, and the list is sho
|
|
|
104
104
|
For each unit, in order:
|
|
105
105
|
|
|
106
106
|
1. **Start it.** Call `start_work` with its `id` and `run: true`; from the second unit on, also pass `stack: true`, so its branch starts from the branch of the unit just finished. If the start is refused, or there are uncommitted changes, stop the run: show the result as it is and ask the user how to go on.
|
|
107
|
-
2. **Build it.** Call `query` with `view: "run"` and the parent's `id` again: if it says the unit cannot start because something it uses is missing, stop the run, name what is missing, and ask the user how to go on. In fresh agents, build it as "Building in fresh agents" says, then go on to step 3. Here, work from the context `start_work` returned: the unit, its requirements, its design, and its test cases. Write the tests for its test cases first, each test named with its test case ID in square brackets, one ID per bracket: run them and record the report with `test_results`, so their failing run is recorded as their red run, and commit them on their own; then write the code. A test that cannot fail first needs an exception with its reason, recorded with `test_results`. Commit as you go, each message ending with
|
|
107
|
+
2. **Build it.** Call `query` with `view: "run"` and the parent's `id` again: if it says the unit cannot start because something it uses is missing, stop the run, name what is missing, and ask the user how to go on. In fresh agents, build it as "Building in fresh agents" says, then go on to step 3. Here, work from the context `start_work` returned: the unit, its requirements, its design, and its test cases. Write the tests for its test cases first, each test named with its test case ID in square brackets, one ID per bracket: run them and record the report with `test_results`, so their failing run is recorded as their red run, and commit them on their own; then write the code. A test that cannot fail first needs an exception with its reason, recorded with `test_results`. Commit as you go, each message ending with the unit's line the context names, and change files only with your file editing tools. When a task needs a test case its own test plan does not have, the plan the user agreed changes: show the test case you would add, with its `covers` line and why it is needed, and ask before saving it. 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. Once the user agrees, add it with `{{new}}` for its number and save the whole plan with `save_draft` and the plan's `id`: unless the result says the plan waits for approval, it is recorded at once as its next version, and the run goes on.
|
|
108
108
|
3. **Test it.** Run the tests with a JUnit XML report and record it with the BuildKeel `test_results` tool. When a test fails, fix the code or the test and run them again.
|
|
109
109
|
4. **Review it,** as "Reviews after each task" says.
|
|
110
|
-
5. **Finish it.** Call `finish_work` without `apply`. If it says the tests have no current result, run them again and record them, once. If it says the revert check has not run yet, run it, once: call `manage` with `action: "revert-check"`, run the unit's tagged tests in the worktree it prepares, from that directory, with a JUnit XML report written there (it links the dependencies the main checkout has installed: never install, update or remove a package through a link, and install in the worktree only where it says to), and record it with `test_results` and `purpose: "revert-check"`; likewise run mutation testing when it says so, and record its report with `purpose: "mutation"`. Then call `finish_work` without `apply` again. The task's review after it was built counts as its final review when it covers its latest commit, so a task the run reviewed needs no other. If it is refused for any other reason, or lists commits without
|
|
111
|
-
6.
|
|
110
|
+
5. **Finish it.** Call `finish_work` without `apply`. If it says the tests have no current result, run them again and record them, once. If it says the revert check has not run yet, run it, once: call `manage` with `action: "revert-check"`, run the unit's tagged tests in the worktree it prepares, from that directory, with a JUnit XML report written there (it links the dependencies the main checkout has installed: never install, update or remove a package through a link, and install in the worktree only where it says to), and record it with `test_results` and `purpose: "revert-check"`; likewise run mutation testing when it says so, and record its report with `purpose: "mutation"`. Then call `finish_work` without `apply` again. The task's review after it was built counts as its final review when it covers its latest commit, so a task the run reviewed needs no other. If it is refused for any other reason, or lists commits without the unit's line, stop the run and show it. Otherwise write the unit's execution record first, outcome finished, as "The execution record" says, so that finishing folds it into the completion record and totals its tokens; then call `finish_work` with `apply: true`, with `notes` holding the unit's working notes, as "Working notes at checkpoints" says: the user's choice to build covers finishing each unit that passes its done gate.
|
|
111
|
+
6. **Close it** with the execution record's summary, as the unit's closing account, and name its completion record. Then go on to the next unit.
|
|
112
112
|
|
|
113
|
-
At the end, show a table of the run: each unit, its branch, its commits, how it was built (a fresh agent or here), and its completion record, or where the run stopped and why. The last branch holds the whole run: say that one pull request from it reviews all of it, or that each branch can have its own pull request, each based on the previous one and merged in order. If the completion records are not pushed, remind the user to push the spec repo.
|
|
113
|
+
At the end, show a table of the run: each unit, its branch, its commits, how it was built (a fresh agent or here), and its completion record, or where the run stopped and why. The last branch holds the whole run: say that one pull request from it reviews all of it, or that each branch can have its own pull request, each based on the previous one and merged in order. If the completion records are not pushed, remind the user to push the spec repo. Then call `query` with `view: "conversation"`, and do as it says about offering to compact the conversation; every finished unit's notes are saved already.
|
|
114
114
|
|
|
115
115
|
## Building in fresh agents
|
|
116
116
|
|
|
@@ -129,18 +129,32 @@ 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 (Claude Code), or its conversation or name (Antigravity), with its role and round: the execution record needs them.
|
|
133
|
+
|
|
132
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.
|
|
133
135
|
|
|
136
|
+
## The execution record
|
|
137
|
+
|
|
138
|
+
When each task's run ends, finished, or stops, write its execution record once (in Full SDLC, just before finishing the unit, so that the finish takes it in), whether it was built in fresh agents or here: call `manage` with `action: "execution"`, the unit's or change's `id`, in a change its `task`, `run` (leave it out for the run's first task: the result gives the run ID, which you pass for every later task of this run), its `outcome` (finished, finished-with-concerns, question, blocked or stopped), `summary`, `agents`, and, when it stopped, `stops`, and any `departures` from the plan.
|
|
139
|
+
|
|
140
|
+
- **summary:** for people, under 150 words, the outcome first: what was built, against what, with which tests, or why it stopped.
|
|
141
|
+
- **agents:** each agent you started for the task, in order: its `role` (implementer, spec-reviewer, quality-reviewer, break-it), the `agent` its start gave, its `round`, the `tier` when it ran on another than its role's (such as a handoff's round), what it `asked`, its `report` as you received it, and for an implementer its `chose`. None when it was built here.
|
|
142
|
+
- **chose:** when the implementer's report lists choices of its own, give them to the note checker first, with the task's working notes, as "Working notes at checkpoints" says, and pass each with its `choice`, `why`, `insteadOf`, `at` (file and line) and the checker's `verdict` (supported, not-supported or about-behavior) and `reason`. BuildKeel keeps the supported ones and those about behavior, and leaves out the rest, saying why.
|
|
143
|
+
|
|
144
|
+
**A choice about behavior** is shown to the user at the end of the task, before the next one, as something that should have been asked: the choice, where it is, and what it was chosen over. Ask whether to keep it. **Keep it:** save it as a ruling with the user's words as its `quote`, as "Rulings" says. **Change it:** give it to the task's implementer as a finding, through the fix loop.
|
|
145
|
+
|
|
146
|
+
BuildKeel reads each agent's transcript and writes what it did by pointer only. Show the summary the result gives as the task's closing account, and give no other.
|
|
147
|
+
|
|
134
148
|
## Parallel runs
|
|
135
149
|
|
|
136
150
|
Only in Full SDLC, only in fresh agents, and only for the batches `query` with `view: "run"` gives. Batch by batch:
|
|
137
151
|
|
|
138
|
-
1. **A worktree for each task.** Call `manage` with `action: "worktree"`, the task's `id`, and `from` set to the run's branch `bk/run-<parent ID>` once it exists, otherwise leave `from` out. It adds the task's own worktree and starts the task there, on its own branch. If it cannot, stop the run and show why.
|
|
152
|
+
1. **A worktree for each task.** Call `manage` with `action: "worktree"`, the task's `id`, and `from` set to the run's branch (`bk/run-<parent ID>`, or `run-<parent ID>` where BuildKeel is kept out) once it exists, otherwise leave `from` out. It adds the task's own worktree and starts the task there, on its own branch. If it cannot, stop the run and show why.
|
|
139
153
|
2. **Its agents, at the same time.** Start each task's implementer as "Building in fresh agents" says, all of the batch at once, each with its view from `get_context` called with `workspace` set to its worktree. Tell each agent its folder: it works only there, and passes it as `workspace` to every BuildKeel tool.
|
|
140
154
|
3. **Each on its own branch.** As each reports, review it as "Reviews after each task" says, with its reviewer view from its worktree, and finish it with `finish_work`, `workspace` set to its worktree, as step 5 of the run says. Then remove its worktree with `manage`, `action: "worktree"`, its `id` and `remove: true`.
|
|
141
155
|
4. **Together.** Once the batch is finished, call `manage` with `action: "merge"`, the parent's `id`, and `ids` with the batch's tasks in task order. Show in a line each what it reports: a file two tasks changed, or a file outside a task's Files. Then call it with `apply: true` once per task: each merges one branch onto `bk/run-<parent ID>`. After each, run the tests and record the report with `test_results`. A conflict, or a failing test you cannot fix, stops the run, to ask the user how to go on. When the user says to resolve a conflict here, call `manage` with `action: "merge"`, the same `id` and `ids`, `apply: true` and `resolve: true`: the merge is left open. Edit only the files it names, keeping what each task meant, and commit nothing yourself; then call it with `apply: true` again, which commits the merge once nothing is left in conflict, and run the tests.
|
|
142
156
|
|
|
143
|
-
Then go on with the next batch, from the run's branch. At the end,
|
|
157
|
+
Then go on with the next batch, from the run's branch. At the end, the run's branch holds the whole run: one pull request from it reviews it all.
|
|
144
158
|
|
|
145
159
|
## Rulings
|
|
146
160
|
|
|
@@ -199,7 +213,7 @@ A run stops and asks the user:
|
|
|
199
213
|
- when a requirement is unclear (two readings, a missing case, a conflict with the code): ask one question, with your recommendation. Never guess a requirement;
|
|
200
214
|
- when agreed behavior looks wrong, as "Behavior that looks wrong" says.
|
|
201
215
|
|
|
202
|
-
A run that stops is a checkpoint: before you ask, keep its working notes, as "Working notes at checkpoints" says, with `save_draft`, `type: "working-notes"`, `apply: true`, `at: "run-stopped"`, and `standing` saying in a sentence where the run stopped and why.
|
|
216
|
+
A run that stops writes the task's execution record first, as "The execution record" says, with the outcome and `stops`. A run that stops is a checkpoint: before you ask, keep its working notes, as "Working notes at checkpoints" says, with `save_draft`, `type: "working-notes"`, `apply: true`, `at: "run-stopped"`, and `standing` saying in a sentence where the run stopped and why.
|
|
203
217
|
|
|
204
218
|
## Working notes at checkpoints
|
|
205
219
|
|
|
@@ -235,7 +249,7 @@ The units are open changes, defects and ad-hoc units, and no gate runs. Defects
|
|
|
235
249
|
4. **Set it up and work together**: start it, build nothing, and ask the user how to begin.
|
|
236
250
|
|
|
237
251
|
When every task is ticked already, say so instead, and that the user can run /bk-done to finish the change.
|
|
238
|
-
3. **Each task in turn, test first.** Before each task, call `query` with `view: "run"` and the change's `id` again: if it says the next task cannot start because something it uses is missing, stop, name what is missing, and ask the user how to go on. In fresh agents, build it as "Building in fresh agents" says, have it reviewed as "Reviews after each task" says, then tick it as below. Here, write its tests first, each test named with the scenario ID it checks in square brackets, one ID per bracket, such as `[AUTH-R3-S1]`; run them with a JUnit XML report and record it with `test_results`, so their failing run is recorded as their red run, and commit them on their own. Then write the code, run the tests again and record the report. A test that cannot fail first needs an exception with its reason, recorded with `test_results`. Commit as you go, each message ending with `BuildKeel-Unit: <change ID
|
|
252
|
+
3. **Each task in turn, test first.** Before each task, call `query` with `view: "run"` and the change's `id` again: if it says the next task cannot start because something it uses is missing, stop, name what is missing, and ask the user how to go on. In fresh agents, build it as "Building in fresh agents" says, have it reviewed as "Reviews after each task" says, then tick it as below. Here, write its tests first, each test named with the scenario ID it checks in square brackets, one ID per bracket, such as `[AUTH-R3-S1]`; run them with a JUnit XML report and record it with `test_results`, so their failing run is recorded as their red run, and commit them on their own. Then write the code, run the tests again and record the report. A test that cannot fail first needs an exception with its reason, recorded with `test_results`. Commit as you go, each message ending with the lines the context names for the change and the task (`BuildKeel-Unit: <change ID>` and `BuildKeel-Task: <task number>`, or `Refs: <change ID> task <task number>` where BuildKeel is kept out), on the next line when a commit does exactly that one task. Once the task's stated verification passes, have it reviewed as "Reviews after each task" says, then tick it with `save_draft`, `type: "tasks"`, the change's `id`, `tick` set to its number, such as `["2.3"]`, and `notes` with the working notes since the last tick, as "Working notes at checkpoints" says, and say so in a line, with the progress the result gives. Never ask before ticking. Then close the task with its execution record, as "The execution record" says. A failing test you cannot fix, or an unclear requirement, stops the run, as "When a run stops" says.
|
|
239
253
|
- **Behavior that looks wrong** stops the run too: name the requirement or scenario and why, and ask **Keep it as agreed** or **Change it**, your recommendation first. Kept: build it as agreed. Changed: a requirement of this change's own spec change is edited in place, as the next point says, with the follow-on edits to the proposal, design and tasks. A requirement as an archived change left it is changed through this change, with a spec change modifying it (the default), or through a separate change drafted with /bk-capture, as the user prefers. In code nothing describes yet, document it first as version 0 of a capability spec, then change it.
|
|
240
254
|
- **A change to what was agreed** stops the run too: a requirement or scenario to add, change or drop, a task's wording, or a task to add or remove. Say which file, what changes and why, show the change in full, and ask. 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. Before adding a requirement to a change with more than half its tasks ticked, ask once first whether it belongs in this change or a new one, and draft nothing until the user answers. Save it only once the user agrees, then go on: one requirement with `save_draft`, `type: "spec-change"`, the change's `id`, its `capability` and `requirement` (`id` and `content` to replace it, `section` and `content` to add one, `id` and `drop` to take one out); a task list's wording as the whole file. Never change the spec on your own initiative, not even to make your own check pass.
|
|
241
|
-
4. **At the end**, show each task with its commits and whether it is ticked, or where the run stopped and why. When the last tick's result says every task is done, pass on that the user can run /bk-done to finish the change. Do not finish the change yourself: /bk-done reviews the code against the change's requirements before it is archived.
|
|
255
|
+
4. **At the end**, show each task with its commits and whether it is ticked, or where the run stopped and why. When the last tick's result says every task is done, pass on that the user can run /bk-done to finish the change. Do not finish the change yourself: /bk-done reviews the code against the change's requirements before it is archived. Then call `query` with `view: "conversation"`, and do as it says about offering to compact the conversation: each tick saved its working notes.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bk-capture
|
|
3
|
-
description: "BuildKeel: Turn what you discussed into a plan: a plain summary, then the artifacts your process needs, agreed one by one or all at once, as you choose. Run as /bk-capture [which part of the conversation to capture; all of it when left out]
|
|
3
|
+
description: "BuildKeel: Turn what you discussed into a plan: a plain summary, then the artifacts your process needs, agreed one by one or all at once, as you choose. Run as /bk-capture [which part of the conversation to capture; all of it when left out]."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
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.
|
|
@@ -181,6 +181,7 @@ Version 0 describes what the code does today, as if BuildKeel had been used from
|
|
|
181
181
|
It changes nothing the user has not agreed to.
|
|
182
182
|
2. **Gaps.** List each pitfall or constraint from the summary that no saved artifact covers, and treat each as a gap, as above. Then show what was drafted as a table: ID, title, and its open questions, if any.
|
|
183
183
|
3. **A resumed thread.** When this capture started from a thread, close it with `save_draft`, `type: "thread"`, its `id` and `captured` set to the top artifact saved, and say so in a line: the thread links to what it became.
|
|
184
|
+
4. **Compacting.** Call `query` with `view: "conversation"` and do as it says: when the conversation is long, it says to offer compacting it once, with a line to paste that keeps what was saved and drops the discussion. What was agreed is saved in the drafts already; save any working notes first. Otherwise say nothing about it.
|
|
184
185
|
|
|
185
186
|
## 6. Approve them, or leave them as drafts
|
|
186
187
|
|
|
@@ -33,7 +33,7 @@ A story built through tasks, an epic, or a stage the team added above its storie
|
|
|
33
33
|
3. Call the BuildKeel `finish_work` tool without `apply`, with `id` if the user named a unit, `notes` with the notes the checker supports, and `context` with what it adds (`departures`, `limitations`, `followUps`, `forNext`). It runs the done gate and writes nothing.
|
|
34
34
|
- **A check on the tests not run yet:** when the result says the revert check, or mutation testing, has not run yet, run it first, once, without asking, then call `finish_work` without `apply` again. For the revert check: call `manage` with `action: "revert-check"`, run the unit's tagged tests in the worktree it prepares, from that directory, with a JUnit XML report written there (it links the dependencies the main checkout has installed: never install, update or remove a package through a link, and install in the worktree only where it says to), and record it with `test_results` and `purpose: "revert-check"`; when the tests cannot run there, remove the worktree with `remove: true` and say why. For mutation testing: run the command the result names, and record its report with `test_results` and `purpose: "mutation"`.
|
|
35
35
|
- **Refused only because tests have no current result** (not run, or run before the code last changed): run the tests with a JUnit XML report, record it with `test_results`, and call `finish_work` without `apply` again. Do this once, without asking.
|
|
36
|
-
- **Refused by the done gate** for anything else: show every failing check with its fix, as it is, and where each test case stands. Offer the fix that comes first: commit uncommitted changes (ending the message with `BuildKeel-Unit: <ID>`), write a test that is missing its tag, fix a failing test, or run the tests again. Do not finish anything else in its place.
|
|
36
|
+
- **Refused by the done gate** for anything else: show every failing check with its fix, as it is, and where each test case stands. Offer the fix that comes first: commit uncommitted changes (ending the message with the unit's line, `BuildKeel-Unit: <ID>` or `Refs: <ID>`), write a test that is missing its tag, fix a failing test, or run the tests again. Do not finish anything else in its place.
|
|
37
37
|
- **Not the active unit, or no active unit:** show the message and its fix.
|
|
38
38
|
- **A story or epic refused because work under it is open:** show every open unit with its fix, and where each test case stands. Offer to start the first open unit with /bk-build.
|
|
39
39
|
- **The final review not run yet:** when the result says the unit has no final review, review it now, before showing anything else, as "The final review" says, then call `finish_work` without `apply` again. It always runs, whatever the settings say of reviews after each task.
|
|
@@ -76,7 +76,7 @@ When the unit is a defect, offer closing it without a fix beside finishing it, w
|
|
|
76
76
|
|
|
77
77
|
Ask the user, the default first, with what the result said in your reply. 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. The choices:
|
|
78
78
|
|
|
79
|
-
- If the result lists commits without
|
|
79
|
+
- If the result lists commits without the unit's line, ask what to do with them:
|
|
80
80
|
1. **Count them all as <ID> work and finish** (the default).
|
|
81
81
|
2. **Choose which to leave out.** Then ask which ones, allowing several, and finish with those left out.
|
|
82
82
|
3. **Stop, and do not finish yet.**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bk-impact
|
|
3
|
-
description: "BuildKeel: Review what a change to an approved artifact affects: preview a new version before approving it, or decide on each suspect with the user. Run as /bk-impact [ID], e.g. US-001 to preview its new version in draft, or US-001-TC2 to review one suspect; every suspect when left out
|
|
3
|
+
description: "BuildKeel: Review what a change to an approved artifact affects: preview a new version before approving it, or decide on each suspect with the user. Run as /bk-impact [ID], e.g. US-001 to preview its new version in draft, or US-001-TC2 to review one suspect; every suspect when left out."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
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.
|
|
@@ -20,15 +20,19 @@ Before any question, call `manage` with `action: "init"` and nothing else. It on
|
|
|
20
20
|
- When it says the folder is not a git repository, ask before anything else, with your tool for asking a question with choices, so the user can pick an answer: **Run git init for me** (the default) or **Stop**. Only when the user agrees, call `manage` with `action: "init"`, `apply: true` and nothing else: it runs `git init`, so never run it yourself. Then say in one line that `git init` ran, before the next question. Ask nothing else until this is settled.
|
|
21
21
|
- When it says the repository is already set up, show that, and stop.
|
|
22
22
|
|
|
23
|
-
## 2.
|
|
23
|
+
## 2. Keep BuildKeel out of this repository?
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Explain in two lines: kept out, nothing in this repository names BuildKeel (no file, no hook, no line in commits), so the product can be released with no trace of it; the plan lives in a spec repository of its own, and each clone of this repository is pointed at it once with /bk-init. Set up in the repository, `.buildkeel.yaml` and a `.gitignore` line are committed, so teammates are set up by cloning, and commits carry a `BuildKeel-Unit` line. Ask, with your tool for asking a question with choices: **Keep BuildKeel out of this repository** (the default, listed first) or **Set it up in the repository, for the team**. Pass `keepOut: false` in every call to `manage` below only when they choose the second.
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
## 3. Where the spec tree lives
|
|
28
|
+
|
|
29
|
+
If the user gave a path above, use it as an existing spec tree and skip this question; if `manage` then reports there is no spec tree there, ask whether to create a new spec repository at that path instead. Otherwise ask, in the order the first `manage` call gave, which follows whether this repository has a remote:
|
|
30
|
+
|
|
31
|
+
- **A new spec repository**, a repository of its own that several code repositories and the team share: first and recommended when this repository has a remote. Ask for its folder, outside this repository, such as `../specs`: a folder that does not exist yet, an empty folder, or an empty repository the user has cloned. Use `location: "new-repo"` with that `path`. When the first call said gh is signed in, offer next to create it as a private GitHub repository with the name it gave, using the user's own gh sign-in and pushing nothing; pass `github` with that name only on a yes.
|
|
32
|
+
- **In this repository**, in a `specs/` folder, only when BuildKeel is set up in the repository: first then when this repository has no remote, labeled for trying BuildKeel out, with a line that /bk-migrate can move it to a repository of its own later. Kept out, do not offer it: a new spec repository is first, as a folder beside this one, such as `../<this repository's name>-specs`.
|
|
28
33
|
- **An existing spec tree**, usually its own repository shared by several code repositories. Ask for its local path. If it is not cloned yet, tell the user to clone it first.
|
|
29
|
-
- **A new spec repository**, a repository of its own that several code repositories will share. Ask for its folder, outside this repository, such as `../specs`: a folder that does not exist yet, an empty folder, or an empty repository the user has cloned. Use `location: "new-repo"` with that `path`.
|
|
30
34
|
|
|
31
|
-
##
|
|
35
|
+
## 4. The mode
|
|
32
36
|
|
|
33
37
|
For a new spec tree only: an existing tree keeps its own, and `manage` says which. Ask, with a line on each:
|
|
34
38
|
|
|
@@ -37,13 +41,13 @@ For a new spec tree only: an existing tree keeps its own, and `manage` says whic
|
|
|
37
41
|
|
|
38
42
|
Pass the choice as `mode` (`spec-driven` or `full-sdlc`) in every call to `manage` below.
|
|
39
43
|
|
|
40
|
-
##
|
|
44
|
+
## 5. Stamping their own commits
|
|
41
45
|
|
|
42
|
-
Explain: while a unit of work is active, BuildKeel adds a line `BuildKeel-Unit: <id>` to commits the agent makes. Stamping is on by default: setup installs a git hook that adds the same line to commits they make themselves, for example in a terminal. It changes nothing when no unit is active, and can be turned off later, which uninstalls the hook. If the repository already manages its git hooks with another tool, nothing is installed and BuildKeel shows the lines to add. Ask, with your tool for asking a question with choices: **Stamp my commits** (the default, listed first) or **Don't stamp them**. Pass `stampCommits: false` only when they turn it off.
|
|
46
|
+
Only when BuildKeel is set up in the repository; kept out, skip this step: no hook is installed, and commits carry the work's ID as `Refs: <id>`. Explain: while a unit of work is active, BuildKeel adds a line `BuildKeel-Unit: <id>` to commits the agent makes. Stamping is on by default: setup installs a git hook that adds the same line to commits they make themselves, for example in a terminal. It changes nothing when no unit is active, and can be turned off later, which uninstalls the hook. If the repository already manages its git hooks with another tool, nothing is installed and BuildKeel shows the lines to add. Ask, with your tool for asking a question with choices: **Stamp my commits** (the default, listed first) or **Don't stamp them**. Pass `stampCommits: false` only when they turn it off.
|
|
43
47
|
|
|
44
|
-
Then call `manage` with `action: "init"`, the `location` (`this-repo`, `existing` or `new-repo`), the `path` if there is one, `stampCommits` and, for a new tree, `mode`, without `apply`. Show the list it returns, as it is, in your reply as normal text.
|
|
48
|
+
Then call `manage` with `action: "init"`, the `location` (`this-repo`, `existing` or `new-repo`), the `path` if there is one, `keepOut: false` when they chose to set it up in the repository, `stampCommits` and, for a new tree, `mode`, without `apply`. Show the list it returns, as it is, in your reply as normal text.
|
|
45
49
|
|
|
46
|
-
##
|
|
50
|
+
## 6. The process, for a new Full SDLC spec tree
|
|
47
51
|
|
|
48
52
|
Topics for this step, in this order:
|
|
49
53
|
|
|
@@ -70,7 +74,7 @@ When no topic is left, call `manage` again without `apply` and show the whole ta
|
|
|
70
74
|
|
|
71
75
|
Pass each agreed template in `templates`, by type, and call `manage` again without `apply`: it checks each one. Nothing is written until every template the list names is given and passes.
|
|
72
76
|
|
|
73
|
-
##
|
|
77
|
+
## 7. Numbering, for a new Spec-driven spec tree
|
|
74
78
|
|
|
75
79
|
Topics for this step: **numbering**, how the tree's IDs read.
|
|
76
80
|
|
|
@@ -78,13 +82,13 @@ Work from the topics listed for this step. The user may answer in their own word
|
|
|
78
82
|
|
|
79
83
|
The list shows the tree's IDs, each with an example: changes, capability codes, requirements, scenarios, defects and ad-hoc units. Show them as they are, then ask in plain text whether to keep them (the default) or change them, with examples of other numbering, such as `RFC-0012` or `PROJ-12` for changes, or `AUTH-REQ1` for requirements. A change of change, defect or ad-hoc prefix or digits goes in `process`, such as `{ change: { prefix: RFC, width: 4 } }`; a change of the letters in requirement or scenario IDs goes in `markers`. Call `manage` again without `apply` with them, show the IDs it returns, and ask the user to confirm them. Pass `settled: ["numbering"]` once they keep or confirm the numbering.
|
|
80
84
|
|
|
81
|
-
##
|
|
85
|
+
## 8. Confirm and set up
|
|
82
86
|
|
|
83
87
|
Show the last list `manage` returned in full and ask whether to set up with it, change something or stop. An existing spec tree keeps its own process and numbering: just ask the user to confirm the list. 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.
|
|
84
88
|
|
|
85
89
|
Only when the user confirms, call `manage` again with the same values (the same `process`, `settled`, `templates` and `markers`, when there are any) and `apply: true`. Show the result as it is, including any lines the user must add to their hook manager, and, for a new spec repository, that it needs a remote and a push before others can use it.
|
|
86
90
|
|
|
87
|
-
##
|
|
91
|
+
## 9. The guide
|
|
88
92
|
|
|
89
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"`.
|
|
90
94
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bk-migrate
|
|
3
|
-
description: "BuildKeel: Move a Spec-driven tree to Full SDLC, area by area, or upgrade a spec tree in an older format,
|
|
3
|
+
description: "BuildKeel: Move a Spec-driven tree to Full SDLC, area by area, move a spec tree kept in this repository to a repository of its own, or upgrade a spec tree in an older format, without touching approved versions. Run as /bk-migrate, only when the user types it."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
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.
|
|
@@ -19,6 +19,12 @@ Call the BuildKeel `manage` tool with `action: "migrate"`, without `apply`.
|
|
|
19
19
|
- If it lists what changes (the working files and `buildkeel.yaml`, in one commit, with frozen versions and records left exactly as they are), show it as it is and ask, with your tool for asking a question with choices: **Migrate** (the default) or **Not now**. Only when the user confirms, call `manage` again with `action: "migrate"` and `apply: true`, and show the result as it is. Remind the user to push the spec repo, and that teammates need this version of BuildKeel, or a later one, to work in the tree. Then stop.
|
|
20
20
|
- If it says there is nothing to migrate, go on below.
|
|
21
21
|
|
|
22
|
+
## Move the spec tree to its own repository
|
|
23
|
+
|
|
24
|
+
When the spec tree is kept inside this code repository (the session report, or `query` with `view: "settings"`, says where it lives), and the user asked to move it, or asked what /bk-migrate can do: explain in a line that a repository of its own lets other code repositories and teammates share it, and that it moves with its whole history. Ask for its folder, outside this repository, such as `../specs`: a new or empty folder, or an empty repository they cloned. Ask, with your tool for asking a question with choices, whether to also create it as a private GitHub repository with their own gh sign-in (**No** is the default), and its name, such as `acme/payments-specs`, if so.
|
|
25
|
+
|
|
26
|
+
Call `manage` with `action: "move-tree"`, the `path` and, only on a yes, `github`, without `apply`, and show the steps it returns as they are. If it refuses, for changes not committed in the tree for example, show why and stop. Only when the user agrees, call it again with `apply: true`, and show the result as it is.
|
|
27
|
+
|
|
22
28
|
## Move a Spec-driven tree to Full SDLC
|
|
23
29
|
|
|
24
30
|
If BuildKeel's session report, or `query` with `view: "process"`, says this spec tree follows Full SDLC, say that the tree is up to date and there is nothing to move, and stop.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bk-new
|
|
3
|
-
description: "BuildKeel: Draft an artifact, break a parent down into drafts of its children, or record a defect. Run as /bk-new <type> [parent ID] [what to draft], e.g. story EP-01, stories from EP-01, or defect TK-001
|
|
3
|
+
description: "BuildKeel: Draft an artifact, break a parent down into drafts of its children, or record a defect. Run as /bk-new <type> [parent ID] [what to draft], e.g. story EP-01, stories from EP-01, or defect TK-001."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bk-onboard
|
|
3
|
-
description: "BuildKeel: Document code that existed before BuildKeel, area by area: map the code, then draft each area for people to review and approve. Run as /bk-onboard [an area to onboard, or nothing to choose]
|
|
3
|
+
description: "BuildKeel: Document code that existed before BuildKeel, area by area: map the code, then draft each area for people to review and approve. Run as /bk-onboard [an area to onboard, or nothing to choose]."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
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.
|
|
@@ -20,7 +20,7 @@ The user typed: whatever follows /bk-pause in the user's message (nothing, if th
|
|
|
20
20
|
|
|
21
21
|
## Pausing work
|
|
22
22
|
|
|
23
|
-
1. **Uncommitted changes.** Run `git status` in the code repo. When files are changed, list them and ask, with your tool for asking a question with choices: **Commit them as work in progress** (the default), committed with the message `WIP: <what they hold>` ending with `BuildKeel-Unit: <
|
|
23
|
+
1. **Uncommitted changes.** Run `git status` in the code repo. When files are changed, list them and ask, with your tool for asking a question with choices: **Commit them as work in progress** (the default), committed with the message `WIP: <what they hold>` ending with the unit's line (`BuildKeel-Unit: <ID>`, or `Refs: <ID>` where BuildKeel is kept out), or **Leave them as they are**, named in the pause record. Never discard or stash anything.
|
|
24
24
|
2. **Working notes.** Draft the working notes since the last checkpoint or pause, and check them, as below, steps 1 and 2.
|
|
25
25
|
|
|
26
26
|
**Working notes.** At this checkpoint, draft the working notes since the last checkpoint or pause: what the work learned that the code and the spec do not say. Each is one of these: a decision and why (with `replaces` naming an earlier decision it replaces), a constraint or pitfall, a dead end (what was tried, and why it failed), an open question, or the next step. Rulings are kept already. Give each its source: the user's own words, copied exactly, as `quote`; a `file` and `line`; or a `record`, such as a requirement, a finding or a commit. Never record an inference about a person, such as what they seem to prefer. With nothing new to note, leave notes out.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bk-resume
|
|
3
|
-
description: "BuildKeel: Resume paused work: a unit, a change or a thread, by its ID, or pick from what is paused, the most recent first. Run as /bk-resume [nothing, or an ID], e.g. TK-013 or TH-004
|
|
3
|
+
description: "BuildKeel: Resume paused work: a unit, a change or a thread, by its ID, or pick from what is paused, the most recent first. Run as /bk-resume [nothing, or an ID], e.g. TK-013 or TH-004."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bk-review
|
|
3
|
-
description: "BuildKeel: Review the work on a unit or change with fresh reviewers: spec compliance by ID, code quality, and tests that try to break it. The active unit by default. Run as /bk-review [an ID, or a range of commits], e.g. TK-001, CH-012 or main..HEAD; the active unit when left out
|
|
3
|
+
description: "BuildKeel: Review the work on a unit or change with fresh reviewers: spec compliance by ID, code quality, and tests that try to break it. The active unit by default. Run as /bk-review [an ID, or a range of commits], e.g. TK-001, CH-012 or main..HEAD; the active unit when left out."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
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.
|