@afokapu/atdd-bun 0.10.34 → 0.10.36

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.
@@ -41,7 +41,7 @@ content:
41
41
  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.
42
42
  security joins with the first code, not at release: a secret committed during GREEN stays in history.
43
43
  coder already bundles the architecture, metrics, runtime, design and responsive detectors, so those need no later preset.
44
- workflow is optional: it governs durable seats, tasks and threads only when the repository has the locally installed @afokapu/atdd-workflow companion. It is deliberately not selected by a default profile list.
44
+ workflow is optional: it governs durable seats, tasks and threads only when the repository has the locally installed @afokapu/atdd-workflow companion. It is deliberately not selected by a default profile list. A legacy explicit delivery profile migrates by replacing delivery with workflow in the same profile list; that one-for-one replacement is not a policy loosening.
45
45
  fix_hint: |
46
46
  At a stage whose preset is missing, ask what the user wants to do (planning, building, instrumenting, or coordinating), recommend that preset and say it can be adopted step by step, then write the chosen list to profiles: in atdd-bun.yaml.
47
47
  exceptions:
package/integrity.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.10.34",
2
+ "version": "0.10.36",
3
3
  "files": {
4
4
  "HOOK_AUDIT.md": "5329d840db37671b1918f688ead26865473b87db73dbc75f7c8b2a8bbe8d6d43",
5
5
  "PLANNER_PORT.md": "fb5935bac8b7ac18994de21e43ace3a5ef8cd55f85b0e3349fca261280054f11",
@@ -28,7 +28,7 @@
28
28
  "conventions/atdd-bun.planner/atdd-bun.planner.reference-resolves.convention.yaml": "b96927d269692c29c02fee38ecbeb999480791f8dc7486c4072a9ff30183d7d6",
29
29
  "conventions/atdd-bun.planner/atdd-bun.planner.schema.convention.yaml": "16d0a26451758b759e6ca1f5b4f38ae1feff129688306ffcc2f70f6d3974b591",
30
30
  "conventions/atdd-bun.planner/atdd-bun.planner.train-wagon-resolves.convention.yaml": "6410e248351e701dcba38c671c07c4d8f6d67927984ed4d18e567abd1eb1f3f0",
31
- "conventions/atdd-bun.profiles/atdd-bun.profiles.presets.convention.yaml": "7ef8f1bc1a9c148f93a1929dbb854c467a508a51a7c7b2b3f49c245fd1c0c734",
31
+ "conventions/atdd-bun.profiles/atdd-bun.profiles.presets.convention.yaml": "822c91fe1ec15ec0715a8ca2339c9379326f6a3e216829539b72ce5def272585",
32
32
  "conventions/atdd-bun.topology/atdd-bun.topology.e2e-location.convention.yaml": "3a3b991bc851b86d597636200f5cb10a0defda3920348860cdca28955ab91f4c",
33
33
  "conventions/atdd-bun.topology/atdd-bun.topology.feature-source-coverage.convention.yaml": "2b64093f1e7f1fe0e2edcadf12e560fa80cecec19536abaa5bf09af362c6694e",
34
34
  "conventions/atdd-bun.topology/atdd-bun.topology.feature-test-coverage.convention.yaml": "279be57399c9b79a1bd758414076e3053d67b7d4a7fcbbb950ea12d1201effeb",
@@ -1198,7 +1198,7 @@
1198
1198
  "src/enforce.ts": "8b22a3ac30fdd35c9caa4c23f064498293a628a342d590fca1f2040ee3a8ea05",
1199
1199
  "src/hooks.ts": "0b4ca8c857e637bbd144e737e78eda924e3cba7b038c0abe5e6916d200d73068",
1200
1200
  "src/index.ts": "4081f8b08d1d3ee9e15a9964143e53d9cfb94a5616ab3e58a180d24cc16dc381",
1201
- "src/integrity.ts": "44ebe101933e8b1a42c563acdffcaf7a24baa4861eb8731a914bc51500d0a93d",
1201
+ "src/integrity.ts": "556976a42bae298df14b73675102d83b6bf4df0674d8e7211aad5315548f005f",
1202
1202
  "src/journey-docs.ts": "994d229376244c84212cff951032823068a76565dd2fd427b9d44e341bd14853",
1203
1203
  "src/planner-kernel.ts": "5d3f5305fb59becb2cc97d8a03aca6b104f385805d91cc0410856e289dd6fbb1",
1204
1204
  "src/planner-schema-validator.ts": "ce529c0936171075e93c7539b3655fe895a98dd2973ebda5775958e6ebc316d9",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afokapu/atdd-bun",
3
- "version": "0.10.34",
3
+ "version": "0.10.36",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/afokapu/atdd-bun.git"
@@ -39,7 +39,7 @@
39
39
  "ajv-formats": "^3.0.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@afokapu/atdd-workflow": "^0.1.7",
42
+ "@afokapu/atdd-workflow": "^0.1.13",
43
43
  "@axe-core/playwright": "^4.13.0",
44
44
  "@playwright/test": "^1.63.0"
45
45
  }
package/src/integrity.ts CHANGED
@@ -156,7 +156,10 @@ export function loosenedPolicy(base: Partial<HookPolicy> & { profiles?: unknown
156
156
  // (explicit → implicit → narrower would otherwise be a two-step bypass) is loosening a human approves.
157
157
  const before = explicitProfiles(base), after = explicitProfiles(current);
158
158
  if (before && !after) out.push(`profiles becomes implicit: the explicit list [${before.join(", ")}] was removed`);
159
- const dropped = before && after ? before.filter(name => !after.includes(name)) : [];
159
+ // delivery was retired in favour of the workflow companion. This is a one-way package migration,
160
+ // not a general escape hatch for removing profiles: its replacement must be explicit in the same
161
+ // policy change, and every other removed profile remains a loosening.
162
+ const dropped = before && after ? before.filter(name => !after.includes(name) && !(name === "delivery" && after.includes("workflow"))) : [];
160
163
  if (dropped.length) out.push(`profiles drops ${dropped.join(", ")}`);
161
164
  return out;
162
165
  }