buildkeel 0.4.0 → 0.6.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 (67) hide show
  1. package/THIRD-PARTY-NOTICES +3 -3
  2. package/antigravity/THIRD-PARTY-NOTICES +3 -3
  3. package/antigravity/agents/bk-break-it-flash.md +25 -0
  4. package/antigravity/agents/bk-break-it.md +25 -0
  5. package/antigravity/agents/bk-designer-flash.md +20 -0
  6. package/antigravity/agents/bk-designer.md +20 -0
  7. package/antigravity/agents/bk-edge-cases-flash.md +31 -0
  8. package/antigravity/agents/bk-edge-cases.md +31 -0
  9. package/antigravity/agents/bk-final-quality-reviewer-flash.md +47 -0
  10. package/antigravity/agents/bk-final-quality-reviewer.md +47 -0
  11. package/antigravity/agents/bk-final-spec-reviewer-flash.md +37 -0
  12. package/antigravity/agents/bk-final-spec-reviewer.md +37 -0
  13. package/antigravity/agents/bk-implementer-flash.md +32 -0
  14. package/antigravity/agents/bk-implementer.md +32 -0
  15. package/antigravity/agents/bk-note-checker-flash.md +19 -0
  16. package/antigravity/agents/bk-note-checker.md +19 -0
  17. package/antigravity/agents/bk-quality-reviewer-flash.md +47 -0
  18. package/antigravity/agents/bk-quality-reviewer.md +47 -0
  19. package/antigravity/agents/bk-readiness-reader-flash.md +28 -0
  20. package/antigravity/agents/bk-readiness-reader.md +28 -0
  21. package/antigravity/agents/bk-spec-reviewer-flash.md +37 -0
  22. package/antigravity/agents/bk-spec-reviewer.md +37 -0
  23. package/antigravity/bin/bk-launch.cmd +6 -11
  24. package/antigravity/bin/bk-start.cjs +4 -1
  25. package/antigravity/dist/hooks/main.js +121 -118
  26. package/antigravity/dist/server/main.js +622 -394
  27. package/antigravity/package.json +1 -1
  28. package/antigravity/plugin.json +1 -1
  29. package/antigravity/practices/P-01.md +7 -0
  30. package/antigravity/practices/P-02.md +7 -0
  31. package/antigravity/practices/P-03.md +7 -0
  32. package/antigravity/practices/P-04.md +7 -0
  33. package/antigravity/practices/P-05.md +7 -0
  34. package/antigravity/practices/P-06.md +7 -0
  35. package/antigravity/practices/P-07.md +7 -0
  36. package/antigravity/practices/P-08.md +7 -0
  37. package/antigravity/practices/P-09.md +7 -0
  38. package/antigravity/practices/P-10.md +7 -0
  39. package/antigravity/practices/P-11.md +7 -0
  40. package/antigravity/practices/P-12.md +7 -0
  41. package/antigravity/practices/P-13.md +7 -0
  42. package/antigravity/practices/P-14.md +7 -0
  43. package/antigravity/practices/P-15.md +7 -0
  44. package/antigravity/rules/buildkeel.md +7 -7
  45. package/antigravity/skills/bk-approve/SKILL.md +5 -3
  46. package/antigravity/skills/bk-build/SKILL.md +138 -24
  47. package/antigravity/skills/bk-capture/SKILL.md +77 -25
  48. package/antigravity/skills/bk-done/SKILL.md +56 -13
  49. package/antigravity/skills/bk-impact/SKILL.md +6 -4
  50. package/antigravity/skills/bk-init/SKILL.md +66 -21
  51. package/antigravity/skills/bk-migrate/SKILL.md +31 -2
  52. package/antigravity/skills/bk-new/SKILL.md +32 -16
  53. package/antigravity/skills/bk-onboard/SKILL.md +26 -13
  54. package/antigravity/skills/bk-pause/SKILL.md +56 -0
  55. package/antigravity/skills/bk-resume/SKILL.md +35 -0
  56. package/antigravity/skills/bk-review/SKILL.md +56 -0
  57. package/antigravity/skills/bk-settings/SKILL.md +18 -0
  58. package/antigravity/skills/bk-stats/SKILL.md +3 -1
  59. package/antigravity/templates/adr.md +31 -0
  60. package/antigravity/templates/{bug.md → defect.md} +5 -3
  61. package/antigravity/templates/design.md +2 -1
  62. package/antigravity/templates/spec-driven/proposal.md +2 -1
  63. package/antigravity/templates/spec-driven/tasks.md +13 -5
  64. package/antigravity/templates/task.md +23 -2
  65. package/antigravity/templates/thread.md +41 -0
  66. package/cli.mjs +85 -85
  67. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  template: tasks
3
- version: 1
3
+ version: 2
4
4
  description: The work of a change, as numbered tasks in groups ordered so that each builds on the ones before. A task is ticked once its verification passes.
5
5
  fields:
6
6
  parent: { required: true, type: link }
@@ -9,9 +9,17 @@ fields:
9
9
  ## 1. <What this group delivers>
10
10
 
11
11
  <!--
12
- One checkbox per task, numbered within its group, each saying what is done and how its completion is verified.
13
- Each group includes the tests and documentation its own work needs. Tick a task only once its verification passed.
12
+ One checkbox per task, numbered within its group, saying what is done, with its lines under it: Files (what it creates, changes and tests), Uses (each with where it comes from: an earlier task, a file, or a library at the version the project depends on), Delivers (what later tasks rely on, with its signature), and Verify (the command and the result expected, naming the scenarios it checks). Interfaces: none stands for Uses and Delivers when a task uses and delivers nothing. Leave the code itself out.
13
+ Each group includes the tests and documentation its own work needs. Tick a task only once its verification passed; its Built line is written then.
14
14
 
15
- - [ ] 1.1 Add the issue time to reset tokens. Verify: token tests for a new and an old token.
16
- - [ ] 1.2 Refuse links older than 30 minutes. Verify: the "Expired link" scenario test (AUTH-R3-S1).
15
+ - [ ] 1.1 Add the issue time to reset tokens.
16
+ Files: change src/auth/token.ts; test test/auth/token.test.ts
17
+ Uses: signToken (from src/auth/sign.ts)
18
+ Delivers: issuedAt on ResetToken
19
+ Verify: npx vitest run test/auth/token.test.ts, where the tests for a new and an old token pass
20
+ - [ ] 1.2 Refuse links older than 30 minutes.
21
+ Files: change src/auth/reset.ts; test test/auth/reset.test.ts
22
+ Uses: issuedAt on ResetToken (from 1.1)
23
+ Delivers: isExpired(token: ResetToken, now: Date): boolean
24
+ Verify: npx vitest run test/auth/reset.test.ts, where [AUTH-R3-S1] passes
17
25
  -->
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  template: task
3
- version: 1
3
+ version: 2
4
4
  description: A piece of a story built in one code repository.
5
5
  fields:
6
6
  title: { required: true }
@@ -9,13 +9,34 @@ fields:
9
9
  scope: { type: list }
10
10
  sections:
11
11
  Description: { required: true, tracked: true }
12
+ Files: { required: true }
13
+ Uses: { required: true }
14
+ Delivers: { required: true }
15
+ Verify: { required: true }
16
+ Interfaces: { offered: "none, in place of Uses and Delivers, for a task that uses and delivers nothing." }
12
17
  Open questions: { offered: "Questions left open, each with what it is about, to settle later. They do not block approval: the approval summary lists them." }
13
18
  Notes: {}
14
19
  ---
15
20
 
16
21
  ## Description
17
22
 
18
- <!-- What to build. Name the repository in the repo field, and list the paths it will touch in the scope field when you know them. -->
23
+ <!-- What to build. Name the repository in the repo field, and list the paths it will touch in the scope field when you know them. Leave the code itself out: only what the implementer cannot decide alone, such as names, signatures and values from the spec. -->
24
+
25
+ ## Files
26
+
27
+ <!-- The files it creates, changes and tests, found from the code, one per line, such as "- create: src/auth/expiry.ts", "- change: src/auth/reset.ts" and "- test: test/auth/reset.test.ts". -->
28
+
29
+ ## Uses
30
+
31
+ <!-- What it uses, each with where it comes from (an earlier task, a file, or a library at the version the project depends on), such as "- issuedAt on ResetToken (from TK-011)", "- parseToken (from src/auth/tokens.ts)" or "- messages.create (from twilio 4.23.0)"; none when it uses nothing. -->
32
+
33
+ ## Delivers
34
+
35
+ <!-- What later tasks rely on, with its signature, such as "- isExpired(token: ResetToken, now: Date): boolean", or none; this is the plan, and what is built is recorded when the task is finished. -->
36
+
37
+ ## Verify
38
+
39
+ <!-- The command to run and the result expected, naming the test cases it checks, such as "npx vitest run test/auth/reset.test.ts, where [US-012-TC3] passes". -->
19
40
 
20
41
  ## Notes
21
42
 
@@ -0,0 +1,41 @@
1
+ ---
2
+ template: thread
3
+ version: 1
4
+ description: A paused exploration with no unit or change yet, saved so it can be resumed. It has no stages and no approval; it ends when it is captured or dropped.
5
+ fields:
6
+ title: { required: true }
7
+ sections:
8
+ Intent: { required: true }
9
+ Approaches: { required: true }
10
+ Decisions and constraints: { required: true }
11
+ Dead ends and open questions: { required: true }
12
+ Next: { required: true }
13
+ The user's words: { required: true }
14
+ Code read: { offered: "Pointers to the code that was read, one per line: the file, with the lines or names that mattered." }
15
+ Spikes: { offered: "Each spike: its branch, or the files it left, and what it showed." }
16
+ Notes: { offered: "Background, links, and anything that fits no other section." }
17
+ ---
18
+
19
+ ## Intent
20
+
21
+ <!-- What the user wants to achieve, and the idea as it stands. -->
22
+
23
+ ## Approaches
24
+
25
+ <!-- The approaches discussed, and which way the discussion is leaning. "None weighed yet" when there were none. -->
26
+
27
+ ## Decisions and constraints
28
+
29
+ <!-- What was settled, and the limits the work must respect. "None yet" when there are none. -->
30
+
31
+ ## Dead ends and open questions
32
+
33
+ <!-- What was tried or ruled out, with why, and the questions still open. -->
34
+
35
+ ## Next
36
+
37
+ <!-- The next thing to discuss when the thread is resumed. -->
38
+
39
+ ## The user's words
40
+
41
+ <!-- The user's own statements that matter, quoted, kept apart from the agent's proposals. -->