@aviaratech/ai-delivery 0.3.37 → 0.3.38

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/README.md CHANGED
@@ -115,4 +115,4 @@ Release still requires the exact mandatory archive inventory, complete release/c
115
115
 
116
116
  Release is manual, main-only and uses npm trusted publishing. A packaged README edit changes the release candidate: retain accepted archives and independently qualify the new exact source/archive before dispatching.
117
117
 
118
- Source version **0.3.37** and green PR checks do not establish its qualification; see [#199](https://github.com/aviaratech/ai-delivery/issues/199). Wrappers and workflow definitions do not prove [#200](https://github.com/aviaratech/ai-delivery/issues/200)'s **under-60-second regular checks / under-five-minute qualification** targets. Functional removals and remaining documentation obligations stay with [#201](https://github.com/aviaratech/ai-delivery/issues/201).
118
+ Source version **0.3.38** and green PR checks do not establish its qualification; see [#199](https://github.com/aviaratech/ai-delivery/issues/199). Wrappers and workflow definitions do not prove [#200](https://github.com/aviaratech/ai-delivery/issues/200)'s **under-60-second regular checks / under-five-minute qualification** targets. Functional removals and remaining documentation obligations stay with [#201](https://github.com/aviaratech/ai-delivery/issues/201).
@@ -538,13 +538,16 @@ test("local and CI share the PR producer while explicit release owns package qua
538
538
  assert.equal(manifest.scripts["checks:producer"], "node scripts/current-qualification.mjs --producer-only");
539
539
  assert.equal(manifest.scripts["checks:fast"], "node scripts/checks.mjs --fast");
540
540
  const ci = readFileSync(join(repository, ".github/workflows/ci.yml"), "utf8");
541
- assert.match(ci, /npm run checks -- --results-dir/u);
542
541
  assert.doesNotMatch(ci, /npm run build|npm pack/u);
543
- assert.doesNotMatch(ci, /checks:release|current-qualification/u);
544
542
  assert.match(ci, /Retain PR producer and interrupted check evidence/u);
545
543
  assert.match(ci, /if: always\(\)/u);
546
544
  assert.deepEqual(checks.FULL_GATES, ["format", "lint", "types", "build", "tests", "inventory"]);
547
545
  });
546
+ test("PR CI adds the release lane only when a PR touches a release case file or its source", () => {
547
+ assert.equal(checks.touchesReleaseCases(["README.md", "src/toolOutput.test.ts"]), true);
548
+ assert.equal(checks.touchesReleaseCases(["src/toolOutput.ts"]), true);
549
+ assert.equal(checks.touchesReleaseCases(["README.md", "src/issue.ts", "src/readView.test.ts"]), false);
550
+ });
548
551
  test("clean full graph removes deleted/renamed compiled tests and retains exact command evidence", async () => {
549
552
  const f = fixture();
550
553
  try {