rcf-lite 0.14.0 → 0.16.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 (35) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/bin/view-supervisor-child.mjs +0 -0
  3. package/blueprints/delivery-ci-workflows/README.md +4 -0
  4. package/blueprints/delivery-ci-workflows/assets/bootstrap/README.md +26 -0
  5. package/blueprints/delivery-ci-workflows/assets/bootstrap/adr-bootstrap-coverage-supersession.template.json +28 -0
  6. package/blueprints/delivery-ci-workflows/assets/ci-provider-examples/github-actions/default-branch-checks.yml +12 -6
  7. package/blueprints/delivery-ci-workflows/assets/ci-provider-examples/github-actions/pull-request-checks.yml +16 -7
  8. package/blueprints/delivery-ci-workflows/assets/ci-provider-examples/github-actions/release.yml +4 -0
  9. package/blueprints/delivery-ci-workflows/assets/ci-provider-examples/github-actions/scheduled-audit.yml +4 -0
  10. package/blueprints/delivery-ci-workflows/assets/ci-provider-examples/notes.md +5 -5
  11. package/blueprints/delivery-ci-workflows/assets/report-samples/per-gate.json +1 -1
  12. package/blueprints/delivery-ci-workflows/blueprint.json +1 -1
  13. package/blueprints/delivery-ci-workflows/contributions/adrs/adr-702-delivery-ci-workflows-strict-coverage-gate.json +2 -2
  14. package/blueprints/delivery-ci-workflows/contributions/tacs/tac-701-delivery-ci-workflows-gate-runner.json +2 -2
  15. package/blueprints/delivery-ci-workflows/contributions/tacs/tac-704-delivery-ci-workflows-workflow-materialiser.json +7 -4
  16. package/blueprints/delivery-ci-workflows/contributions/user-stories/delivery-ci-workflows-us-6111.json +2 -2
  17. package/blueprints/delivery-ci-workflows/contributions/user-stories/delivery-ci-workflows-us-6114.json +6 -6
  18. package/blueprints/delivery-ci-workflows/contributions/user-stories/delivery-ci-workflows-us-6115.json +6 -6
  19. package/blueprints/delivery-ci-workflows/guide/delivery-ci-workflows.md +39 -1
  20. package/fixtures/canary-manifest.json +101 -1
  21. package/guidance/harness-template.md +9 -0
  22. package/guidance/managed/agent-instructions-block.hash +1 -1
  23. package/guidance/managed/agent-instructions-block.md +9 -0
  24. package/package.json +13 -15
  25. package/releases/releases.yaml +21 -1
  26. package/src/blueprint/apply.js +15 -6
  27. package/src/blueprint/index.js +22 -0
  28. package/src/blueprint/library-cache.js +143 -0
  29. package/src/blueprint/library-fetcher-git.js +347 -0
  30. package/src/blueprint/library-fetcher-tarball.js +379 -0
  31. package/src/blueprint/library-loader.js +21 -0
  32. package/src/blueprint/shelf-resolver.js +100 -7
  33. package/src/blueprint/supersede.js +56 -13
  34. package/src/cli/blueprint-library.js +427 -82
  35. package/src/cli/blueprint.js +6 -1
@@ -115,6 +115,7 @@ const OPTION_SPEC = {
115
115
  // library-verb flags (parsed centrally so strict:true doesn't refuse
116
116
  // them when the operator types `rcf define blueprint library add`).
117
117
  prefix: { type: 'string' },
118
+ sha256: { type: 'string' },
118
119
  'i-have-reviewed': { type: 'boolean' },
119
120
  'no-review': { type: 'boolean' },
120
121
  json: { type: 'boolean' },
@@ -211,10 +212,14 @@ export async function main(argv, deps = {}) {
211
212
  // the library prefix and forward the library's declared bands
212
213
  // for the apply-time gate (spec §5.3, §8.3). The qualified typed
213
214
  // ref is passed as `displaySource` so the applied record's
214
- // `source` field carries it verbatim (spec §5.3).
215
+ // `source` field carries it verbatim (spec §5.3). The library
216
+ // prefix is stamped onto the applied record so the ownership
217
+ // fact for `rcf library remove` lives on the record itself
218
+ // rather than being re-derived by string-matching `source`.
215
219
  ...(resolved.kind === 'library' ? {
216
220
  displaySource: resolved.original,
217
221
  effectiveSlug: resolved.effectiveSlug,
222
+ libraryPrefix: resolved.libraryPrefix,
218
223
  libraryBands: resolved.libraryBands,
219
224
  } : {}),
220
225
  resolveDeclarations: resolveDeclarations.value,