@afokapu/atdd-bun 0.10.8 → 0.10.9
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.
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
schema_version: 1.1.0
|
|
2
|
+
rule_id: atdd-bun.profiles.presets
|
|
3
|
+
kind: policy
|
|
4
|
+
status: active
|
|
5
|
+
name: The agent proposes the profiles the work at hand needs, one preset at a time
|
|
6
|
+
statement: >-
|
|
7
|
+
The agent proposes profiles without being asked: when the work reaches a stage whose preset is not active yet (RED starts while only planner is on, or no profiles: list is set), it asks the user what they want to do and recommends the matching preset. It explains that presets are adopted gradually, each the set most consistent with that work, so nothing needs activating all at once. The user decides; the agent writes only what they choose. Presets accumulate: moving on adds profiles, it never swaps them, because removing one loosens the gate.
|
|
8
|
+
terms:
|
|
9
|
+
- term_id: presets
|
|
10
|
+
text: >-
|
|
11
|
+
Planning: planner (plus docs when the repository keeps documentation under docs/). Building, once RED starts: add coder, tester, traceability, security; add htmx and design for a web UI, and interlocking once trains have a runtime. Instrumenting: add telemetry. Delivering through reviewed tranches: add delivery.
|
|
12
|
+
values:
|
|
13
|
+
planning: [planner]
|
|
14
|
+
building: [coder, tester, traceability, security]
|
|
15
|
+
instrumenting: [telemetry]
|
|
16
|
+
delivering: [delivery]
|
|
17
|
+
content:
|
|
18
|
+
summary: >-
|
|
19
|
+
A goal is easier to name than a profile. The presets map what the user is doing to the profiles that judge it, in the order the work creates what they check.
|
|
20
|
+
normative_text: |
|
|
21
|
+
planner alone keeps the plan consistent: it parses, validates and resolves the plan with nothing else present. traceability judges the links from the plan to tests and source, so before tests exist it can only report that every acceptance is untested; it joins with building, and from then on it also catches a plan change that orphans a test.
|
|
22
|
+
security joins with the first code, not at release: a secret committed during GREEN stays in history.
|
|
23
|
+
coder already bundles the architecture, metrics, runtime, design and responsive detectors, so those need no later preset.
|
|
24
|
+
fix_hint: |
|
|
25
|
+
At a stage whose preset is missing, ask what the user wants to do (planning, building, instrumenting, delivering), recommend that preset and say it can be adopted step by step, then write the chosen list to profiles: in atdd-bun.yaml.
|
|
26
|
+
exceptions:
|
|
27
|
+
- >-
|
|
28
|
+
A profile can always be run by name to see what it would report (atdd-bun coder); only profiles: decides what the repository is governed by.
|
|
29
|
+
metadata:
|
|
30
|
+
aliases:
|
|
31
|
+
- ATDD-BUN-PROFILES-PRESETS
|
|
32
|
+
introduced_in: 0.10.9
|
|
33
|
+
# A policy, not a rule: which work a user is doing cannot be validated from the repository.
|
|
34
|
+
implementation:
|
|
35
|
+
type: none
|
package/integrity.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.10.
|
|
2
|
+
"version": "0.10.9",
|
|
3
3
|
"files": {
|
|
4
4
|
"HOOK_AUDIT.md": "5329d840db37671b1918f688ead26865473b87db73dbc75f7c8b2a8bbe8d6d43",
|
|
5
5
|
"PLANNER_PORT.md": "fb5935bac8b7ac18994de21e43ace3a5ef8cd55f85b0e3349fca261280054f11",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"conventions/atdd-bun.planner/atdd-bun.planner.reference-resolves.convention.yaml": "b96927d269692c29c02fee38ecbeb999480791f8dc7486c4072a9ff30183d7d6",
|
|
14
14
|
"conventions/atdd-bun.planner/atdd-bun.planner.schema.convention.yaml": "16d0a26451758b759e6ca1f5b4f38ae1feff129688306ffcc2f70f6d3974b591",
|
|
15
15
|
"conventions/atdd-bun.planner/atdd-bun.planner.train-wagon-resolves.convention.yaml": "6410e248351e701dcba38c671c07c4d8f6d67927984ed4d18e567abd1eb1f3f0",
|
|
16
|
+
"conventions/atdd-bun.profiles/atdd-bun.profiles.presets.convention.yaml": "0db36d84018fb8d799db246c6e324575c586a575f28d76d891ca5054d558e5cd",
|
|
16
17
|
"conventions/atdd-bun.topology/atdd-bun.topology.e2e-location.convention.yaml": "3a3b991bc851b86d597636200f5cb10a0defda3920348860cdca28955ab91f4c",
|
|
17
18
|
"conventions/atdd-bun.topology/atdd-bun.topology.feature-source-coverage.convention.yaml": "2b64093f1e7f1fe0e2edcadf12e560fa80cecec19536abaa5bf09af362c6694e",
|
|
18
19
|
"conventions/atdd-bun.topology/atdd-bun.topology.feature-test-coverage.convention.yaml": "279be57399c9b79a1bd758414076e3053d67b7d4a7fcbbb950ea12d1201effeb",
|
|
@@ -1189,7 +1190,7 @@
|
|
|
1189
1190
|
"planner-schemas/train.schema.json": "d6fbac9067c1bffeb84eb79a71228441055af6e6e7ba141dd4e0bcb079345ec0",
|
|
1190
1191
|
"planner-schemas/wagon.schema.json": "57b98f1ade998d745538eb3d72fb3014a50042006870f90bce47028eea336eb4",
|
|
1191
1192
|
"planner-schemas/wmbt.schema.json": "7a3a5693bfcf01340667c2be4a3c48e74f34b1af7e8dc13372c0de06b7f4fe12",
|
|
1192
|
-
"relationships.yaml": "
|
|
1193
|
+
"relationships.yaml": "1cb713364aff54fb6e299e0737fe75a5d7b2e1dbd0a79b16b793aa1d269207b5",
|
|
1193
1194
|
"src/agent.ts": "65e4579adb5a54977f557f8c783aba0e2a2a1d5cf3cea9f017b67ffe598b2f65",
|
|
1194
1195
|
"src/board-ui.ts": "16a843705552f8f18e0e328e90e4a2a9148d771ca69f2708fe4a91302947dfad",
|
|
1195
1196
|
"src/board.ts": "115c6cff12fb2b20e6471013161aef020a65331ecb97fa323e9b08f55053149f",
|
|
@@ -1210,7 +1211,7 @@
|
|
|
1210
1211
|
"src/setup.ts": "04fe6dc4618c14b93580f36d9775b7deca2082b8cc4efab7668795053b7d8dd0",
|
|
1211
1212
|
"src/telemetry-plan.ts": "cdb1e8bfff414f3ea81977388973da2cf6d89567d9e060dc9d5989a33600f153",
|
|
1212
1213
|
"src/topology.ts": "9779ee48e1c453abb76363163d4ab363463fa14e359571139f6d1f1fcc51ae2c",
|
|
1213
|
-
"templates/agents/AGENTS.block.md": "
|
|
1214
|
+
"templates/agents/AGENTS.block.md": "e3e49cb31294bff3d9fbfab9b0b600e690f80e11eccf96a1925e6b4ac21401ba",
|
|
1214
1215
|
"templates/agents/atdd-bun.integrity.test.ts": "dec6f6e5f65a08d9512fc703b367c163f8c9da1f6aa7fd466835c1ec30348a41",
|
|
1215
1216
|
"templates/agents/atdd/SKILL.md": "8f36d7d571aa17beb03df5e620ff837be73eb21a4e73dabd2c12188d2b378022",
|
|
1216
1217
|
"templates/agents/delivery/SKILL.md": "0c4fa25303ada52db9c6b67d51a4011c15039e92c4f2947994ec9cba4d0c5efa",
|
package/package.json
CHANGED
package/relationships.yaml
CHANGED
|
@@ -16,6 +16,7 @@ nodes:
|
|
|
16
16
|
- atdd-bun.planner.reference-resolves
|
|
17
17
|
- atdd-bun.planner.schema
|
|
18
18
|
- atdd-bun.planner.train-wagon-resolves
|
|
19
|
+
- atdd-bun.profiles.presets
|
|
19
20
|
- atdd-bun.topology.e2e-location
|
|
20
21
|
- atdd-bun.topology.feature-source-coverage
|
|
21
22
|
- atdd-bun.topology.feature-test-coverage
|
|
@@ -363,6 +364,16 @@ nodes:
|
|
|
363
364
|
- traceability.source.tested-by-resolves
|
|
364
365
|
- traceability.test.binding-resolves
|
|
365
366
|
edges:
|
|
367
|
+
- confidence: 1
|
|
368
|
+
constraint: discretionary
|
|
369
|
+
control: internal
|
|
370
|
+
foundation: finish_to_start
|
|
371
|
+
reason: traceability joins with the building preset because executable-acceptance-has-test reports every acceptance until tests exist
|
|
372
|
+
source_ref: atdd-bun.profiles.presets
|
|
373
|
+
strength: minor
|
|
374
|
+
target_ref: traceability.plan.executable-acceptance-has-test
|
|
375
|
+
type: follows
|
|
376
|
+
origin: "@afokapu/atdd-bun"
|
|
366
377
|
- confidence: 1
|
|
367
378
|
constraint: mandatory
|
|
368
379
|
control: internal
|
|
@@ -5,6 +5,8 @@ Before changing code, tests, or `plan/`, follow `.agents/skills/atdd/SKILL.md`:
|
|
|
5
5
|
|
|
6
6
|
`atdd-bun.yaml` controls which profiles are active (`profiles:`; absent, every profile runs) and their settings. Turn a profile on or off only when the user asks. Adding one is always allowed; removing one loosens the gate, so the integrity check reports it until a human approves it on the base branch.
|
|
7
7
|
|
|
8
|
+
When the work reaches a stage whose profiles are not active yet, ask the user what they want to do and propose the matching preset from the package convention `atdd-bun.profiles.presets`.
|
|
9
|
+
|
|
8
10
|
When `delivery` is active, deliver tranches through `.agents/skills/delivery/SKILL.md`: the reviews it requires are recorded under the delivery root and checked in CI.
|
|
9
11
|
|
|
10
12
|
Never modify the toolkit itself (`node_modules/@afokapu/atdd-bun`, or the files atdd-bun generates); change only the configuration it offers, and loosen it only when the user asks. The integrity test and CI fail if the toolkit is modified.
|