buildkeel 0.0.1 → 0.2.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 (40) hide show
  1. package/LICENSE +49 -0
  2. package/README.md +35 -3
  3. package/THIRD-PARTY-NOTICES +231 -0
  4. package/antigravity/LICENSE +49 -0
  5. package/antigravity/THIRD-PARTY-NOTICES +231 -0
  6. package/antigravity/bin/bk-launch +38 -0
  7. package/antigravity/bin/bk-launch.cmd +50 -0
  8. package/antigravity/dist/hooks/main.js +20 -0
  9. package/antigravity/dist/server/main.js +479 -0
  10. package/antigravity/package.json +8 -0
  11. package/antigravity/plugin.json +6 -0
  12. package/antigravity/rules/buildkeel.md +72 -0
  13. package/antigravity/skills/bk-adhoc/SKILL.md +49 -0
  14. package/antigravity/skills/bk-approve/SKILL.md +52 -0
  15. package/antigravity/skills/bk-build/SKILL.md +61 -0
  16. package/antigravity/skills/bk-capture/SKILL.md +105 -0
  17. package/antigravity/skills/bk-done/SKILL.md +66 -0
  18. package/antigravity/skills/bk-impact/SKILL.md +53 -0
  19. package/antigravity/skills/bk-init/SKILL.md +42 -0
  20. package/antigravity/skills/bk-migrate/SKILL.md +19 -0
  21. package/antigravity/skills/bk-new/SKILL.md +112 -0
  22. package/antigravity/skills/bk-onboard/SKILL.md +135 -0
  23. package/antigravity/skills/bk-start/SKILL.md +44 -0
  24. package/antigravity/skills/bk-stats/SKILL.md +38 -0
  25. package/antigravity/skills/bk-status/SKILL.md +18 -0
  26. package/antigravity/templates/adhoc.md +15 -0
  27. package/antigravity/templates/bug.md +33 -0
  28. package/antigravity/templates/design.md +48 -0
  29. package/antigravity/templates/epic.md +30 -0
  30. package/antigravity/templates/idea.md +34 -0
  31. package/antigravity/templates/spec-driven/capability.md +28 -0
  32. package/antigravity/templates/spec-driven/proposal.md +39 -0
  33. package/antigravity/templates/spec-driven/spec-change.md +43 -0
  34. package/antigravity/templates/spec-driven/tasks.md +17 -0
  35. package/antigravity/templates/story.md +30 -0
  36. package/antigravity/templates/task.md +21 -0
  37. package/antigravity/templates/test-plan.md +29 -0
  38. package/cli.mjs +220 -0
  39. package/package.json +14 -9
  40. package/bin/buildkeel.js +0 -3
@@ -0,0 +1,43 @@
1
+ ---
2
+ template: spec-change
3
+ version: 1
4
+ description: How a change alters one capability's requirements. Existing requirements are named by ID, so a rename keeps its ID.
5
+ fields:
6
+ capability: { required: true }
7
+ title: {}
8
+ base: {}
9
+ sections:
10
+ Purpose: { offered: "For a new capability: what it covers and why it exists, in one or two sentences." }
11
+ Added: { tracked: true, items: { prefix: R, style: heading, children: { prefix: S, style: heading } } }
12
+ Modified: { tracked: true, items: { prefix: R, style: heading, children: { prefix: S, style: heading } } }
13
+ Removed: { tracked: true, items: { prefix: R, style: heading } }
14
+ ---
15
+
16
+ <!-- The capability field names the capability by its code. For a new capability, also give its title (title: Text messages) and add a Purpose section. Leave out Added, Modified or Removed when the change has nothing in it. -->
17
+
18
+ ## Added
19
+
20
+ <!--
21
+ New requirements, each with its scenarios, written as the capability spec writes them.
22
+
23
+ ### AUTH-R3 Reset link expires
24
+ The system SHALL expire a reset link 30 minutes after it is sent.
25
+
26
+ #### AUTH-R3-S1 Expired link
27
+ - **WHEN** a user opens a reset link 31 minutes after it was sent
28
+ - **THEN** they are told the link expired and offered a new one
29
+ -->
30
+
31
+ ## Modified
32
+
33
+ <!-- Existing requirements by ID, each with its full new text and every scenario it keeps or gains, not only what differs. A new name under the same ID renames it. -->
34
+
35
+ ## Removed
36
+
37
+ <!--
38
+ Requirements that no longer apply, by ID, each with why and what users or callers do instead.
39
+
40
+ ### AUTH-R1 Sign in with a security question
41
+ **Reason**: security questions are replaced by email codes.
42
+ **Migration**: users set up email codes at their next sign-in.
43
+ -->
@@ -0,0 +1,17 @@
1
+ ---
2
+ template: tasks
3
+ version: 1
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
+ fields:
6
+ parent: { required: true, type: link }
7
+ ---
8
+
9
+ ## 1. <What this group delivers>
10
+
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.
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).
17
+ -->
@@ -0,0 +1,30 @@
1
+ ---
2
+ template: story
3
+ version: 1
4
+ description: A user story with numbered acceptance criteria. Its test plan covers every criterion.
5
+ fields:
6
+ title: { required: true }
7
+ parent: { required: true, type: link }
8
+ scope: { type: list }
9
+ sections:
10
+ Summary: { required: true }
11
+ Story: { required: true, tracked: true }
12
+ Acceptance criteria: { required: true, tracked: true, items: { prefix: AC, style: list } }
13
+ Notes: {}
14
+ ---
15
+
16
+ ## Summary
17
+
18
+ <!-- One or two sentences. Approved with the story, and what the agent reads about it when it is not the work at hand. -->
19
+
20
+ ## Story
21
+
22
+ <!-- As a <who>, I want <what>, so that <why>. -->
23
+
24
+ ## Acceptance criteria
25
+
26
+ <!-- One entry per criterion, each one behavior a test can check, with an ID: - **US-001-AC1** A reset link is emailed within one minute. -->
27
+
28
+ ## Notes
29
+
30
+ <!-- Background, examples and links. Changes here never make other work suspect. -->
@@ -0,0 +1,21 @@
1
+ ---
2
+ template: task
3
+ version: 1
4
+ description: A piece of a story built in one code repository.
5
+ fields:
6
+ title: { required: true }
7
+ parent: { required: true, type: link }
8
+ repo: { required: true }
9
+ scope: { type: list }
10
+ sections:
11
+ Description: { required: true, tracked: true }
12
+ Notes: {}
13
+ ---
14
+
15
+ ## Description
16
+
17
+ <!-- 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. -->
18
+
19
+ ## Notes
20
+
21
+ <!-- Implementation hints and links. Changes here never make other work suspect. -->
@@ -0,0 +1,29 @@
1
+ ---
2
+ template: test-plan
3
+ version: 2
4
+ description: The test cases for an artifact. Every test case declares which criteria or goals it covers.
5
+ fields:
6
+ parent: { required: true, type: link }
7
+ sections:
8
+ Approach: {}
9
+ Test cases: { required: true, tracked: true, items: { prefix: TC, style: heading, covers: required } }
10
+ Notes: { offered: "Test data, environments, and anything that fits no other section." }
11
+ ---
12
+
13
+ ## Approach
14
+
15
+ <!-- How the tests are run: unit, integration, end to end. -->
16
+
17
+ ## Test cases
18
+
19
+ <!--
20
+ One heading per test case, with an ID, then a covers line and steps whose outcome a test can check.
21
+ A story's plan covers every criterion; a task's plan covers the task (TK-001) or its story's criteria;
22
+ an epic's plan covers stories under it or their criteria; a business idea's plan covers its epics or goals.
23
+
24
+ ### US-001-TC1 Reset link arrives
25
+ covers: [US-001-AC1]
26
+
27
+ 1. Request a reset for a known address.
28
+ 2. The email arrives within one minute.
29
+ -->