@wildo-ai/wildo-cli 1.1.8 → 1.1.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.
- package/dist/src/commands/build/run.command.d.ts +8 -5
- package/dist/src/commands/build/run.command.d.ts.map +1 -1
- package/dist/src/commands/build/run.command.js +62 -9
- package/dist/src/commands/build/run.command.js.map +1 -1
- package/dist/src/commands/config/document-releases.command.d.ts.map +1 -1
- package/dist/src/commands/config/document-releases.command.js +2 -1
- package/dist/src/commands/config/document-releases.command.js.map +1 -1
- package/dist/src/commands/config/mutate.command.js +1 -1
- package/dist/src/commands/config/mutate.command.js.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts +9 -3
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.js +10 -4
- package/dist/src/commands/config/reapply-declaration.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +20 -0
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +57 -5
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +54 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +126 -14
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/launch-blockers.command.d.ts +19 -0
- package/dist/src/commands/context/launch-blockers.command.d.ts.map +1 -0
- package/dist/src/commands/context/launch-blockers.command.js +71 -0
- package/dist/src/commands/context/launch-blockers.command.js.map +1 -0
- package/dist/src/commands/creation/answer.command.d.ts +3 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -1
- package/dist/src/commands/creation/answer.command.js +18 -2
- package/dist/src/commands/creation/answer.command.js.map +1 -1
- package/dist/src/commands/creation/deliberate.command.js +1 -1
- package/dist/src/commands/creation/deliberate.command.js.map +1 -1
- package/dist/src/commands/creation/depth.command.d.ts +16 -0
- package/dist/src/commands/creation/depth.command.d.ts.map +1 -0
- package/dist/src/commands/creation/depth.command.js +50 -0
- package/dist/src/commands/creation/depth.command.js.map +1 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -1
- package/dist/src/commands/creation/loop.command.js +11 -1
- package/dist/src/commands/creation/loop.command.js.map +1 -1
- package/dist/src/commands/creation/preflight.command.d.ts +15 -0
- package/dist/src/commands/creation/preflight.command.d.ts.map +1 -0
- package/dist/src/commands/creation/preflight.command.js +53 -0
- package/dist/src/commands/creation/preflight.command.js.map +1 -0
- package/dist/src/commands/creation/propose.command.d.ts +18 -0
- package/dist/src/commands/creation/propose.command.d.ts.map +1 -0
- package/dist/src/commands/creation/propose.command.js +57 -0
- package/dist/src/commands/creation/propose.command.js.map +1 -0
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -1
- package/dist/src/commands/creation/questions.command.js +21 -6
- package/dist/src/commands/creation/questions.command.js.map +1 -1
- package/dist/src/commands/creation/reason.command.d.ts +12 -0
- package/dist/src/commands/creation/reason.command.d.ts.map +1 -0
- package/dist/src/commands/creation/reason.command.js +37 -0
- package/dist/src/commands/creation/reason.command.js.map +1 -0
- package/dist/src/commands/creation/report.command.d.ts +23 -0
- package/dist/src/commands/creation/report.command.d.ts.map +1 -0
- package/dist/src/commands/creation/report.command.js +129 -0
- package/dist/src/commands/creation/report.command.js.map +1 -0
- package/dist/src/commands/creation/run.command.d.ts +2 -0
- package/dist/src/commands/creation/run.command.d.ts.map +1 -1
- package/dist/src/commands/creation/run.command.js +9 -0
- package/dist/src/commands/creation/run.command.js.map +1 -1
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts +28 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.d.ts.map +1 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js +38 -0
- package/dist/src/commands/db/db-schema-plan-migration.utils.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +0 -27
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +0 -26
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.js +2 -1
- package/dist/src/commands/db/generate.command.js.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +6 -1
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +50 -12
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +10 -5
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +7 -4
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +33 -54
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/smoke.command.d.ts +18 -0
- package/dist/src/commands/local/smoke.command.d.ts.map +1 -0
- package/dist/src/commands/local/smoke.command.js +59 -0
- package/dist/src/commands/local/smoke.command.js.map +1 -0
- package/dist/src/commands/local-defaults/capture.command.d.ts.map +1 -1
- package/dist/src/commands/local-defaults/capture.command.js +3 -2
- package/dist/src/commands/local-defaults/capture.command.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js +6 -1
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -1
- package/dist/src/commands/secrets/set.command.js +17 -4
- package/dist/src/commands/secrets/set.command.js.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.js +5 -4
- package/dist/src/commands/setup.command.js.map +1 -1
- package/dist/src/commands/update.command.d.ts.map +1 -1
- package/dist/src/commands/update.command.js +65 -12
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +4 -0
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.js +1 -1
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/commands/workbench/status.command.js +1 -1
- package/dist/src/commands/workbench/status.command.js.map +1 -1
- package/dist/src/kernel/bootstrap.js +3 -2
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/command-index-cache.d.ts +29 -0
- package/dist/src/kernel/command-index-cache.d.ts.map +1 -0
- package/dist/src/kernel/command-index-cache.js +89 -0
- package/dist/src/kernel/command-index-cache.js.map +1 -0
- package/dist/src/kernel/command-registry.d.ts +28 -0
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +89 -18
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +26 -5
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +39 -13
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-browser-smoke.service.d.ts +77 -0
- package/dist/src/services/application/application-browser-smoke.service.d.ts.map +1 -0
- package/dist/src/services/application/application-browser-smoke.service.js +195 -0
- package/dist/src/services/application/application-browser-smoke.service.js.map +1 -0
- package/dist/src/services/application/application-creation-readiness.service.d.ts +107 -0
- package/dist/src/services/application/application-creation-readiness.service.d.ts.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +278 -18
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts +8 -3
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.js +8 -3
- package/dist/src/services/application/application-initialization-verification.service.js.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts +2 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +26 -0
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/backend-config.paths.d.ts +8 -0
- package/dist/src/services/application/backend-config.paths.d.ts.map +1 -0
- package/dist/src/services/application/backend-config.paths.js +9 -0
- package/dist/src/services/application/backend-config.paths.js.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts +61 -0
- package/dist/src/services/application/creation-host-readiness.service.d.ts.map +1 -0
- package/dist/src/services/application/creation-host-readiness.service.js +167 -0
- package/dist/src/services/application/creation-host-readiness.service.js.map +1 -0
- package/dist/src/services/application/creation-preflight.service.d.ts +46 -0
- package/dist/src/services/application/creation-preflight.service.d.ts.map +1 -0
- package/dist/src/services/application/creation-preflight.service.js +87 -0
- package/dist/src/services/application/creation-preflight.service.js.map +1 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts +79 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.d.ts.map +1 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js +110 -0
- package/dist/src/services/application/degraded-registration-declaration-convergence.service.js.map +1 -0
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.js +2 -1
- package/dist/src/services/application/dev-schema-drift.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +70 -10
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +100 -11
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts +12 -0
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +27 -2
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/stored-declaration-currency.service.d.ts +46 -0
- package/dist/src/services/application/stored-declaration-currency.service.d.ts.map +1 -0
- package/dist/src/services/application/stored-declaration-currency.service.js +76 -0
- package/dist/src/services/application/stored-declaration-currency.service.js.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.js +3 -1
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +53 -3
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +94 -8
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +25 -1
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +72 -1
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-run-report.models.d.ts +97 -0
- package/dist/src/services/companion/creation-run-report.models.d.ts.map +1 -0
- package/dist/src/services/companion/creation-run-report.models.js +1 -0
- package/dist/src/services/companion/creation-run-report.models.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +0 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts +0 -2
- package/dist/src/services/compliance/governed-document-releases.generator.d.ts.map +1 -1
- package/dist/src/services/compliance/governed-document-releases.generator.js +2 -5
- package/dist/src/services/compliance/governed-document-releases.generator.js.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +3 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +8 -3
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.d.ts +14 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
- package/dist/src/services/credentials/application-secrets.service.js +76 -7
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.d.ts +42 -11
- package/dist/src/services/credentials/local-defaults.service.d.ts.map +1 -1
- package/dist/src/services/credentials/local-defaults.service.js +75 -10
- package/dist/src/services/credentials/local-defaults.service.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts +5 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js +5 -0
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts +136 -2
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js +360 -32
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts +28 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +53 -1
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +16 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +37 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.js +20 -8
- package/dist/src/services/deployment/platform-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +19 -9
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts +5 -2
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.schemas.js.map +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js +1 -1
- package/dist/src/services/environment/infrastructure-host.service.js.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts +9 -0
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js +11 -0
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/framework/application-claude-settings.js +1 -1
- package/dist/src/services/framework/application-claude-settings.js.map +1 -1
- package/dist/src/services/framework/dev-compile-status.paths.d.ts +9 -0
- package/dist/src/services/framework/dev-compile-status.paths.d.ts.map +1 -0
- package/dist/src/services/framework/dev-compile-status.paths.js +10 -0
- package/dist/src/services/framework/dev-compile-status.paths.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +3 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +8 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts +20 -5
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +88 -7
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +43 -5
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts +20 -2
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.js +24 -1
- package/dist/src/services/framework/installed-framework-assets.service.js.map +1 -1
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts +46 -0
- package/dist/src/services/tracker/creation-run-tracker.service.d.ts.map +1 -0
- package/dist/src/services/tracker/creation-run-tracker.service.js +66 -0
- package/dist/src/services/tracker/creation-run-tracker.service.js.map +1 -0
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +11 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.js +14 -2
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -1
- package/package.json +20 -17
- package/scripts/dev-orchestrator/compile-diagnostic-protocol.mjs +189 -0
- package/scripts/dev-orchestrator/local-dev-protocol.mjs +683 -0
- package/scripts/dev-orchestrator/local-dev-status.mjs +1234 -0
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +8 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages-impl/__pageRef__.page.tsx.hbs +9 -19
- package/templates/saas/scenarios/add-marketing-page/files/website/src/sections/__pageRef__.sections.tsx.hbs +6 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/scripts/wait-for-publication.mjs +117 -8
- package/templates/saas/scenarios/add-technical-doc/scenario.json +3 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages-impl/landing.page.tsx +7 -17
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +9 -2
- package/templates/saas/scenarios/add-website/scenario.json +2 -0
- package/templates/saas/skeleton/CLAUDE.md.hbs +4 -1
- package/templates/saas/skeleton/frontend/tsconfig.json.hbs +6 -3
- package/templates/saas/skeleton/frontend/tsconfig.node.json +18 -3
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +247 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +31 -15
- package/templates/saas/skeleton/specifications/src/brand/resolved-assets.generated.ts +10 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +20 -6
- package/wildo-framework.info.json +1 -1
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts +0 -8
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +0 -1
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js +0 -54
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.js.map +0 -1
- package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts +0 -2
- package/dist/src/commands/__tests__/compose-dependency-preview.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/compose-dependency-preview.test.js +0 -271
- package/dist/src/commands/__tests__/compose-dependency-preview.test.js.map +0 -1
- package/dist/src/commands/__tests__/init-application-repository.test.d.ts +0 -2
- package/dist/src/commands/__tests__/init-application-repository.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/init-application-repository.test.js +0 -125
- package/dist/src/commands/__tests__/init-application-repository.test.js.map +0 -1
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts +0 -2
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js +0 -51
- package/dist/src/commands/__tests__/init-scaffold-dispatch.test.js.map +0 -1
- package/dist/src/commands/__tests__/update.command.test.d.ts +0 -2
- package/dist/src/commands/__tests__/update.command.test.d.ts.map +0 -1
- package/dist/src/commands/__tests__/update.command.test.js +0 -249
- package/dist/src/commands/__tests__/update.command.test.js.map +0 -1
- package/dist/src/commands/acp/__tests__/probe.command.test.d.ts +0 -2
- package/dist/src/commands/acp/__tests__/probe.command.test.d.ts.map +0 -1
- package/dist/src/commands/acp/__tests__/probe.command.test.js +0 -36
- package/dist/src/commands/acp/__tests__/probe.command.test.js.map +0 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +0 -2
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +0 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +0 -259
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts +0 -22
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +0 -268
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts +0 -2
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/sync.command.test.js +0 -1591
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts +0 -2
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js +0 -134
- package/dist/src/commands/config/__tests__/sync.config-source-hosting.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.js +0 -106
- package/dist/src/commands/config/__tests__/sync.hosted.command.test.js.map +0 -1
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts +0 -14
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +0 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +0 -1076
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js +0 -63
- package/dist/src/commands/context/__tests__/assurance-basis.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +0 -118
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/default-service-key.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/default-service-key.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/default-service-key.test.js +0 -103
- package/dist/src/commands/context/__tests__/default-service-key.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/elements.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/elements.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/elements.command.test.js +0 -82
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/info.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/info.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/info.command.test.js +0 -321
- package/dist/src/commands/context/__tests__/info.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.js +0 -71
- package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +0 -27
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +0 -19
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +0 -106
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/pipelines.command.test.js +0 -136
- package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +0 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.d.ts +0 -2
- package/dist/src/commands/context/__tests__/workspace.command.test.d.ts.map +0 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.js +0 -78
- package/dist/src/commands/context/__tests__/workspace.command.test.js.map +0 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +0 -2
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +0 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.js +0 -294
- package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +0 -1
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +0 -2
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +0 -1
- package/dist/src/commands/creation/__tests__/revert.command.test.js +0 -62
- package/dist/src/commands/creation/__tests__/revert.command.test.js.map +0 -1
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts +0 -2
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.d.ts.map +0 -1
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.js +0 -99
- package/dist/src/commands/db/__tests__/compiled-model-currency.test.js.map +0 -1
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts +0 -2
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.d.ts.map +0 -1
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js +0 -68
- package/dist/src/commands/db/__tests__/schema-plan-migration-write.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js +0 -202
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js +0 -69
- package/dist/src/commands/dev/__tests__/force-stop.hosted.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +0 -475
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.js +0 -132
- package/dist/src/commands/dev/__tests__/start.hosted.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js +0 -88
- package/dist/src/commands/dev/__tests__/stop-all.hosted.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/stop.command.test.js +0 -72
- package/dist/src/commands/dev/__tests__/stop.command.test.js.map +0 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts +0 -2
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +0 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +0 -198
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +0 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +0 -2
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +0 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js +0 -124
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +0 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts +0 -2
- package/dist/src/commands/frontend/__tests__/publish.command.test.d.ts.map +0 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +0 -70
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +0 -1
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts +0 -2
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +0 -1
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js +0 -79
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.js.map +0 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts +0 -2
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +0 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +0 -119
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +0 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts +0 -2
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.d.ts.map +0 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +0 -308
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +0 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts +0 -2
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +0 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -96
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +0 -1
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts +0 -2
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.d.ts.map +0 -1
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.js +0 -46
- package/dist/src/commands/generate/__tests__/email-test-send.command.test.js.map +0 -1
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts +0 -2
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.d.ts.map +0 -1
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js +0 -33
- package/dist/src/commands/generate/__tests__/empty-unit-selection.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/dev-status.command.test.js +0 -58
- package/dist/src/commands/local/__tests__/dev-status.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/dev.command.test.js +0 -467
- package/dist/src/commands/local/__tests__/dev.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.js +0 -164
- package/dist/src/commands/local/__tests__/dev.hosted.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.js +0 -285
- package/dist/src/commands/local/__tests__/doctor.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js +0 -111
- package/dist/src/commands/local/__tests__/doctor.hosted.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js +0 -136
- package/dist/src/commands/local/__tests__/hosted-refusals.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/init.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/init.command.test.js +0 -110
- package/dist/src/commands/local/__tests__/init.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/reinit.command.test.js +0 -186
- package/dist/src/commands/local/__tests__/reinit.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/reset.command.test.js +0 -308
- package/dist/src/commands/local/__tests__/reset.command.test.js.map +0 -1
- package/dist/src/commands/local/__tests__/up.command.test.d.ts +0 -2
- package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +0 -1
- package/dist/src/commands/local/__tests__/up.command.test.js +0 -225
- package/dist/src/commands/local/__tests__/up.command.test.js.map +0 -1
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts +0 -11
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +0 -1
- package/dist/src/commands/lock/__tests__/check.command.test.js +0 -140
- package/dist/src/commands/lock/__tests__/check.command.test.js.map +0 -1
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts +0 -35
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +0 -1
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js +0 -122
- package/dist/src/commands/lock/__tests__/check.live.contract.test.js.map +0 -1
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts +0 -2
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +0 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js +0 -217
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +0 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts +0 -2
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +0 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -148
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +0 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +0 -2
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +0 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.js +0 -35
- package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +0 -10
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +0 -232
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +0 -11
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +0 -450
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/publish.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/publish.test.js +0 -196
- package/dist/src/commands/registry/__tests__/publish.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/repair-contract.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +0 -168
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/requirements.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/requirements.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/requirements.test.js +0 -500
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts +0 -2
- package/dist/src/commands/registry/__tests__/version-resolution.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +0 -87
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +0 -1
- package/dist/src/commands/registry/__tests__/yank.test.d.ts +0 -9
- package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +0 -1
- package/dist/src/commands/registry/__tests__/yank.test.js +0 -92
- package/dist/src/commands/registry/__tests__/yank.test.js.map +0 -1
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts +0 -2
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +0 -1
- package/dist/src/commands/remote/__tests__/remote-commands.test.js +0 -100
- package/dist/src/commands/remote/__tests__/remote-commands.test.js.map +0 -1
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +0 -2
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +0 -1
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +0 -61
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +0 -1
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts +0 -2
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +0 -1
- package/dist/src/commands/website/__tests__/audit.command.test.js +0 -163
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +0 -1
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts +0 -2
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.d.ts.map +0 -1
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.js +0 -51
- package/dist/src/commands/workbench/__tests__/parallelism.command.test.js.map +0 -1
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts +0 -2
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +0 -1
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js +0 -59
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.js.map +0 -1
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts +0 -2
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +0 -1
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js +0 -138
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.js.map +0 -1
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/bootstrap.test.js +0 -88
- package/dist/src/kernel/__tests__/bootstrap.test.js.map +0 -1
- package/dist/src/kernel/__tests__/command-registry.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/command-registry.test.js +0 -197
- package/dist/src/kernel/__tests__/command-registry.test.js.map +0 -1
- package/dist/src/kernel/__tests__/command-runner.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/command-runner.test.js +0 -285
- package/dist/src/kernel/__tests__/command-runner.test.js.map +0 -1
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/command-scope-utils.test.js +0 -46
- package/dist/src/kernel/__tests__/command-scope-utils.test.js.map +0 -1
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/flag-utils.test.js +0 -38
- package/dist/src/kernel/__tests__/flag-utils.test.js.map +0 -1
- package/dist/src/kernel/__tests__/hooks.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/hooks.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/hooks.test.js +0 -72
- package/dist/src/kernel/__tests__/hooks.test.js.map +0 -1
- package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts +0 -2
- package/dist/src/kernel/__tests__/machine-preference-answers.test.d.ts.map +0 -1
- package/dist/src/kernel/__tests__/machine-preference-answers.test.js +0 -118
- package/dist/src/kernel/__tests__/machine-preference-answers.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js +0 -88
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js +0 -154
- package/dist/src/modules/domain/credentials/__tests__/approver-user.module.test.js.map +0 -1
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts +0 -2
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js +0 -89
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js +0 -112
- package/dist/src/services/application/__tests__/app-bootstrap.approving-administrator.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +0 -91
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js +0 -140
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js +0 -220
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +0 -114
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +0 -884
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +0 -254
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +0 -263
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js +0 -51
- package/dist/src/services/application/__tests__/app-schema-bootstrap.unmigrated-postgresql.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +0 -160
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-creation-readiness.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-creation-readiness.test.js +0 -152
- package/dist/src/services/application/__tests__/application-creation-readiness.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +0 -233
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js +0 -29
- package/dist/src/services/application/__tests__/application-dev-port-offsets.copies.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js +0 -159
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js +0 -143
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js +0 -41
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +0 -1
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js +0 -65
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.js.map +0 -1
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js +0 -46
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts +0 -10
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js +0 -156
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js +0 -60
- package/dist/src/services/application/__tests__/environment-provider-configurations.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -298
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js +0 -118
- package/dist/src/services/application/__tests__/frontend-provider-source.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +0 -175
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +0 -31
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js +0 -82
- package/dist/src/services/application/__tests__/local-app-reinit.hosted-guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +0 -383
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js +0 -98
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +0 -138
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +0 -129
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +0 -76
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +0 -284
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +0 -40
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +0 -946
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts +0 -19
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -188
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +0 -1
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js +0 -29
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +0 -860
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +0 -1
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js +0 -180
- package/dist/src/services/application/__tests__/skeleton-infra-ownership.test.js.map +0 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +0 -2
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +0 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +0 -79
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +0 -93
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js +0 -89
- package/dist/src/services/catalog/__tests__/live-recreate-classification.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +0 -172
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +0 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts +0 -2
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +0 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +0 -152
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +0 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +0 -2
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +0 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +0 -123
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts +0 -10
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +0 -241
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +0 -25
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js +0 -74
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/console-fast-path.test.js +0 -138
- package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/creation-watch.test.js +0 -86
- package/dist/src/services/companion/__tests__/creation-watch.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js +0 -14
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.js.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts +0 -2
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +0 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +0 -51
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +0 -71
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js +0 -85
- package/dist/src/services/compliance/__tests__/generated-compliance-module-wiring.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js +0 -289
- package/dist/src/services/compliance/__tests__/governed-document-releases.generator.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js +0 -78
- package/dist/src/services/compliance/__tests__/governed-document-releases.loader.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js +0 -67
- package/dist/src/services/compliance/__tests__/service-consent-requirement.generator.test.js.map +0 -1
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +0 -2
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +0 -1
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +0 -109
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts +0 -2
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.d.ts.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js +0 -54
- package/dist/src/services/context/__tests__/context-manager.hosted-infra-context.test.js.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts +0 -2
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +0 -56
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts +0 -2
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +0 -1
- package/dist/src/services/context/__tests__/context-manager.service.test.js +0 -119
- package/dist/src/services/context/__tests__/context-manager.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +0 -138
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +0 -201
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +0 -28
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +0 -239
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +0 -328
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js +0 -52
- package/dist/src/services/credentials/__tests__/credentials.service.hosted-write.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js +0 -89
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.scope.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts +0 -14
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +0 -284
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +0 -56
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +0 -95
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +0 -113
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +0 -271
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js +0 -277
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js +0 -54
- package/dist/src/services/credentials/__tests__/secrets-provisioning.hosted-scope.test.js.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts +0 -2
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.d.ts.map +0 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +0 -61
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js +0 -64
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js +0 -90
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.hosted.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +0 -369
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +0 -51
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +0 -148
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +0 -47
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +0 -799
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts +0 -20
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +0 -348
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js +0 -83
- package/dist/src/services/deployment/__tests__/hosted-compose-edge-ownership.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js +0 -211
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js +0 -68
- package/dist/src/services/deployment/__tests__/infra-writer.hosted.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js +0 -97
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js +0 -258
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js +0 -336
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js +0 -100
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js +0 -79
- package/dist/src/services/deployment/__tests__/local-infrastructure-initialization.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts +0 -11
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +0 -494
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +0 -229
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +0 -145
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js +0 -100
- package/dist/src/services/deployment/__tests__/platform-lifecycle.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js +0 -245
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js +0 -27
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.js.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +0 -2
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +0 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +0 -88
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +0 -339
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js +0 -45
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js +0 -81
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js +0 -151
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +0 -1183
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js +0 -156
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts +0 -2
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +0 -199
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +0 -81
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js +0 -62
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js +0 -265
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js +0 -77
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.hosted-guard.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +0 -1087
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js +0 -39
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +0 -235
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js +0 -71
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.hosted.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +0 -307
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js +0 -47
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.js.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts +0 -2
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +0 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js +0 -22
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js +0 -52
- package/dist/src/services/environment/__tests__/application-admin-secret-env-key.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js +0 -112
- package/dist/src/services/environment/__tests__/compose-converge-args.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js +0 -105
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js +0 -86
- package/dist/src/services/environment/__tests__/env-configuration-generator.hosted.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +0 -571
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.js +0 -80
- package/dist/src/services/environment/__tests__/env-sync.hosted.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.js +0 -195
- package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +0 -1896
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts +0 -22
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js +0 -110
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js +0 -82
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js +0 -116
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +0 -128
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js +0 -18
- package/dist/src/services/environment/__tests__/environment-paths.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js +0 -220
- package/dist/src/services/environment/__tests__/environment-registry.hosted-secrets.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js +0 -175
- package/dist/src/services/environment/__tests__/environment-registry.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +0 -321
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js +0 -83
- package/dist/src/services/environment/__tests__/hosted-infrastructure-leftovers.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js +0 -162
- package/dist/src/services/environment/__tests__/infrastructure-host.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js +0 -96
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js +0 -109
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js +0 -48
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js +0 -96
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js +0 -150
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js +0 -79
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosted.test.js.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts +0 -2
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.d.ts.map +0 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js +0 -108
- package/dist/src/services/environment/__tests__/runtime-bootstrap.hosting.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js +0 -174
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js +0 -58
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +0 -152
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +0 -81
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +0 -66
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +0 -58
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts +0 -14
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js +0 -65
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js +0 -41
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js +0 -38
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js +0 -181
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js +0 -415
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js +0 -100
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js +0 -270
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +0 -1731
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +0 -1211
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js +0 -783
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +0 -545
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.js +0 -96
- package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js +0 -64
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-update.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +0 -348
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.js +0 -105
- package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js +0 -200
- package/dist/src/services/framework/__tests__/frontend-component-catalog.generator.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js +0 -60
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +0 -20
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js +0 -28
- package/dist/src/services/framework/__tests__/playbook-input-aspects.live.contract.test.js.map +0 -1
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts +0 -2
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js +0 -60
- package/dist/src/services/framework/__tests__/refine-mode-self-input.live.contract.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js +0 -57
- package/dist/src/services/framework/provider-transposition/__tests__/api-version-settlement.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js +0 -100
- package/dist/src/services/framework/provider-transposition/__tests__/base-url-is-a-declared-env-slot.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +0 -92
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +0 -95
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +0 -255
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +0 -83
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +0 -114
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js +0 -905
- package/dist/src/services/framework/provider-transposition/__tests__/helper-prefix-constants-and-base-url-hosts.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js +0 -228
- package/dist/src/services/framework/provider-transposition/__tests__/input-options-derivation.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +0 -310
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +0 -351
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js +0 -363
- package/dist/src/services/framework/provider-transposition/__tests__/openapi-enrichment.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +0 -226
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +0 -399
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js +0 -177
- package/dist/src/services/framework/provider-transposition/__tests__/reported-account-facts.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +0 -48
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +0 -818
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts +0 -9
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js +0 -77
- package/dist/src/services/framework/provider-transposition/__tests__/typed-client-output-types.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +0 -221
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +0 -2
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +0 -1
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +0 -144
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +0 -1
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts +0 -2
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +0 -1
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js +0 -70
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.js.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts +0 -2
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js +0 -52
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.js.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts +0 -2
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +0 -1
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js +0 -135
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +0 -85
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +0 -159
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +0 -8
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +0 -148
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +0 -50
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/module-registration.service.test.js +0 -302
- package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/module-requirements.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/module-requirements.service.test.js +0 -138
- package/dist/src/services/registry/__tests__/module-requirements.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +0 -68
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +0 -91
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +0 -1
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +0 -2
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +0 -1
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +0 -67
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +0 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +0 -67
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +0 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +0 -229
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +0 -1
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts +0 -2
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +0 -1
- package/dist/src/services/security/__tests__/csp-boundary.test.js +0 -103
- package/dist/src/services/security/__tests__/csp-boundary.test.js.map +0 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts +0 -2
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +0 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +0 -617
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +0 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +0 -2
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +0 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +0 -117
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +0 -1
- package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts +0 -21
- package/dist/src/test-utils/certificate-fixtures.test.utils.d.ts.map +0 -1
- package/dist/src/test-utils/certificate-fixtures.test.utils.js +0 -57
- package/dist/src/test-utils/certificate-fixtures.test.utils.js.map +0 -1
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts +0 -4
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +0 -1
- package/dist/src/test-utils/resolved-homes.test.utils.js +0 -18
- package/dist/src/test-utils/resolved-homes.test.utils.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -1,1731 +0,0 @@
|
|
|
1
|
-
import { afterEach, describe, expect, it } from 'vitest';
|
|
2
|
-
import { mkdtempSync, mkdirSync, writeFileSync, rmSync } from 'node:fs';
|
|
3
|
-
import { dirname, join } from 'node:path';
|
|
4
|
-
import { tmpdir } from 'node:os';
|
|
5
|
-
import { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';
|
|
6
|
-
import { FrameworkKnowledgeAuditRule, FrameworkKnowledgeAuditService, FrameworkKnowledgeAuditSeverity, } from '../../../services/framework/framework-knowledge-audit.service.js';
|
|
7
|
-
const tempDirs = [];
|
|
8
|
-
/**
|
|
9
|
-
* The playbook vocabulary the audit parses out of the specifications source.
|
|
10
|
-
*
|
|
11
|
-
* The parser resolves enum-backed fields against the enum declarations, and a scaffold without this
|
|
12
|
-
* file gives an EMPTY vocabulary — under which a zero-guarded rule says nothing and its pins pass
|
|
13
|
-
* while proving nothing. Written minimally: only what the surviving rules actually consult.
|
|
14
|
-
*
|
|
15
|
-
* It also declared `META_WORKFLOW_DERIVABLE_PHASES` and `PHASE_IS` for rule 27, which was retired
|
|
16
|
-
* with the application-level phase on 2026-09-04.
|
|
17
|
-
*/
|
|
18
|
-
function writeVocabularySource(frameworkRoot) {
|
|
19
|
-
const layout = resolveFrameworkLayout(frameworkRoot);
|
|
20
|
-
const home = join(layout.engineHome, 'saas-specifications', 'src', 'application-creation');
|
|
21
|
-
mkdirSync(home, { recursive: true });
|
|
22
|
-
writeFileSync(join(home, 'playbooks.application-creation.schemas.ts'), [
|
|
23
|
-
'export enum MetaWorkflow_Phase {',
|
|
24
|
-
' TOP_DOWN = "top_down",',
|
|
25
|
-
' BOTTOM_UP = "bottom_up",',
|
|
26
|
-
' REFINEMENT = "refinement",',
|
|
27
|
-
' CROSS_CUTTING = "cross_cutting",',
|
|
28
|
-
'}',
|
|
29
|
-
'export enum MetaWorkflow_PredicateKind {',
|
|
30
|
-
' ARTIFACT_VALID = "artifact_valid",',
|
|
31
|
-
' STEP_AVAILABLE = "step_available",',
|
|
32
|
-
'}',
|
|
33
|
-
// Rule 28 joins {{CONTEXT_SOURCE:…}} placeholders against this enum; without it the rule's
|
|
34
|
-
// zero-guard silences every pin.
|
|
35
|
-
'export enum MetaWorkflow_ContextSource {',
|
|
36
|
-
' WORKSPACE_TRUTH = "workspace_truth",',
|
|
37
|
-
' SKILL_CATALOG = "skill_catalog",',
|
|
38
|
-
'}',
|
|
39
|
-
'',
|
|
40
|
-
].join('\n'), 'utf8');
|
|
41
|
-
/*
|
|
42
|
-
* The SECOND vocabulary file, and it is not optional. `MetaWorkflow_Executor` lives in
|
|
43
|
-
* `saas-models`, so a fixture that writes only the first file gives rule 32 an EMPTY set of
|
|
44
|
-
* tool-less executor values — under which `playbookRunsWithoutTools` answers NO for every
|
|
45
|
-
* playbook and every rule-32 pin passes while proving nothing. That is the exact under-lift the
|
|
46
|
-
* loader's own docstring records, reproduced in the fixture: rule 32 had no unit coverage at all
|
|
47
|
-
* until 2026-09-22, and this is why it could not have had any.
|
|
48
|
-
*/
|
|
49
|
-
const modelsHome = join(layout.engineHome, 'saas-models', 'src', 'meta-workflows');
|
|
50
|
-
mkdirSync(modelsHome, { recursive: true });
|
|
51
|
-
writeFileSync(join(modelsHome, 'orchestration.meta-workflows.shared.schemas.ts'), [
|
|
52
|
-
'export enum MetaWorkflow_Executor {',
|
|
53
|
-
' COMPANION_AGENT = "companion_agent",',
|
|
54
|
-
' RESEARCH_AGENT = "research_agent",',
|
|
55
|
-
' CODING_AGENT = "coding_agent",',
|
|
56
|
-
' HUMAN = "human",',
|
|
57
|
-
'}',
|
|
58
|
-
'',
|
|
59
|
-
].join('\n'), 'utf8');
|
|
60
|
-
}
|
|
61
|
-
function setupFrameworkScaffold(frameworkRoot) {
|
|
62
|
-
const layout = resolveFrameworkLayout(frameworkRoot);
|
|
63
|
-
mkdirSync(layout.markerHome, { recursive: true });
|
|
64
|
-
writeVocabularySource(frameworkRoot);
|
|
65
|
-
writeFileSync(layout.declarationConfigPath, [
|
|
66
|
-
"import { defineFrameworkConfig, WildoFrameworkDockerImageRole, WildoFrameworkDockerImageVariant } from '@wildo-ai/platform-config-lib';",
|
|
67
|
-
'export default defineFrameworkConfig({',
|
|
68
|
-
" frameworkVersion: '0.8.0',",
|
|
69
|
-
" minCliVersion: '0.2.0',",
|
|
70
|
-
' publish: {',
|
|
71
|
-
" npm: { scope: '@wildo-ai', repositoryUrl: 'https://github.com/wildo-ai/wildo-ai', packages: ['@wildo-ai/framework-knowledge'] },",
|
|
72
|
-
" docker: { registryHost: 'docker.io', namespace: 'wildoai', images: [{ imageName: 'wildo-platform', role: WildoFrameworkDockerImageRole.PLATFORM_SERVICE, variant: WildoFrameworkDockerImageVariant.DEFAULT }] },",
|
|
73
|
-
' },',
|
|
74
|
-
'});',
|
|
75
|
-
'',
|
|
76
|
-
].join('\n'), 'utf8');
|
|
77
|
-
writeFileSync(join(frameworkRoot, 'wildo-framework.info.json'), JSON.stringify({ name: 'wildo-ai', version: '0.8.0', minCliVersion: '0.2.0' }, null, 2), 'utf8');
|
|
78
|
-
mkdirSync(layout.frameworkKnowledgePackageHome, { recursive: true });
|
|
79
|
-
writeFileSync(join(layout.frameworkKnowledgePackageHome, 'package.json'), JSON.stringify({ name: '@wildo-ai/framework-knowledge', type: 'module' }, null, 2), 'utf8');
|
|
80
|
-
}
|
|
81
|
-
function writeRegistry(frameworkRoot, registry) {
|
|
82
|
-
const layout = resolveFrameworkLayout(frameworkRoot);
|
|
83
|
-
mkdirSync(layout.frameworkKnowledgeSourceHome, { recursive: true });
|
|
84
|
-
const lines = [
|
|
85
|
-
'export const FRAMEWORK_KNOWLEDGE_SOURCE_ANCHORS = [',
|
|
86
|
-
...registry.ids.map((id) => ` '${id}',`),
|
|
87
|
-
'] as const;',
|
|
88
|
-
'',
|
|
89
|
-
];
|
|
90
|
-
writeFileSync(join(layout.frameworkKnowledgeSourceHome, 'framework-knowledge.definitions.ts'), lines.join('\n'), 'utf8');
|
|
91
|
-
}
|
|
92
|
-
function writeAnchorFile(frameworkRoot, anchor) {
|
|
93
|
-
const absoluteFilePath = join(frameworkRoot, anchor.filePath);
|
|
94
|
-
mkdirSync(join(absoluteFilePath, '..'), { recursive: true });
|
|
95
|
-
const body = anchor.body ?? `export const _${anchor.id.replace(/[^a-zA-Z0-9_]/gu, '_')} = 1;`;
|
|
96
|
-
writeFileSync(absoluteFilePath, [
|
|
97
|
-
`/** @wildo_source:part:start ${anchor.id} facet:layer:frontend */`,
|
|
98
|
-
body,
|
|
99
|
-
`/** @wildo_source:part:end ${anchor.id} */`,
|
|
100
|
-
'',
|
|
101
|
-
].join('\n'), 'utf8');
|
|
102
|
-
}
|
|
103
|
-
function writeSkill(frameworkRoot, skill) {
|
|
104
|
-
const layout = resolveFrameworkLayout(frameworkRoot);
|
|
105
|
-
const skillRoot = join(layout.frameworkKnowledgeAuthoredSkillsHome, skill.skillId);
|
|
106
|
-
mkdirSync(skillRoot, { recursive: true });
|
|
107
|
-
const description = skill.description
|
|
108
|
-
?? `Skill for ${skill.skillId}. Use when "the user asks for ${skill.skillId.replace(/-/gu, ' ')}".`;
|
|
109
|
-
const frontmatterLines = ['---'];
|
|
110
|
-
if (skill.hasName !== false) {
|
|
111
|
-
frontmatterLines.push(`name: ${skill.declaredName ?? skill.skillId}`);
|
|
112
|
-
}
|
|
113
|
-
if (skill.hasDescription !== false) {
|
|
114
|
-
frontmatterLines.push(`description: ${description}`);
|
|
115
|
-
}
|
|
116
|
-
frontmatterLines.push(...(skill.extraFrontmatter ?? []));
|
|
117
|
-
frontmatterLines.push('---');
|
|
118
|
-
const referenceCitations = (skill.referenceFiles ?? [])
|
|
119
|
-
.filter((entry) => entry.cited !== false)
|
|
120
|
-
.map((entry) => `- \`references/${entry.name}\` — ${entry.name} reference`);
|
|
121
|
-
const skillBody = skill.body ?? [
|
|
122
|
-
`# ${skill.skillId}`,
|
|
123
|
-
'',
|
|
124
|
-
'## Overview',
|
|
125
|
-
'',
|
|
126
|
-
`Worked example for ${skill.skillId}.`,
|
|
127
|
-
'',
|
|
128
|
-
'## References',
|
|
129
|
-
'',
|
|
130
|
-
...(referenceCitations.length > 0 ? referenceCitations : ['(none)']),
|
|
131
|
-
'',
|
|
132
|
-
'## Verification',
|
|
133
|
-
'',
|
|
134
|
-
'```bash',
|
|
135
|
-
`rg --count "${skill.skillId}"`,
|
|
136
|
-
'```',
|
|
137
|
-
'',
|
|
138
|
-
].join('\n');
|
|
139
|
-
writeFileSync(join(skillRoot, 'SKILL.md'), `${frontmatterLines.join('\n')}\n\n${skillBody}\n`, 'utf8');
|
|
140
|
-
if (skill.referenceFiles && skill.referenceFiles.length > 0) {
|
|
141
|
-
const referencesDir = join(skillRoot, 'references');
|
|
142
|
-
mkdirSync(referencesDir, { recursive: true });
|
|
143
|
-
for (const entry of skill.referenceFiles) {
|
|
144
|
-
const placeholder = entry.placeholderId ? `\n{{REFERENCE:${entry.placeholderId}}}\n` : '';
|
|
145
|
-
writeFileSync(join(referencesDir, entry.name), `# ${entry.name}\n\nReference body.\n${placeholder}`, 'utf8');
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
if (skill.exampleFiles && skill.exampleFiles.length > 0) {
|
|
149
|
-
const examplesDir = join(skillRoot, 'examples');
|
|
150
|
-
mkdirSync(examplesDir, { recursive: true });
|
|
151
|
-
for (const entry of skill.exampleFiles) {
|
|
152
|
-
const placeholder = entry.placeholderId ? `\n{{REFERENCE:${entry.placeholderId}}}\n` : '';
|
|
153
|
-
writeFileSync(join(examplesDir, entry.name), `# ${entry.name}\n\nExample body.\n${placeholder}`, 'utf8');
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
function writePlaybook(frameworkRoot, playbook) {
|
|
158
|
-
const layout = resolveFrameworkLayout(frameworkRoot);
|
|
159
|
-
const playbookRoot = join(layout.frameworkKnowledgeAuthoredPlaybooksHome, playbook.folderName);
|
|
160
|
-
mkdirSync(playbookRoot, { recursive: true });
|
|
161
|
-
if (playbook.rawJsonContent !== undefined) {
|
|
162
|
-
// A playbook.json is the RETIRED JSON-v1 authoring format — fixtures use
|
|
163
|
-
// this branch only to pin the retirement finding.
|
|
164
|
-
writeFileSync(join(playbookRoot, 'playbook.json'), playbook.rawJsonContent, 'utf8');
|
|
165
|
-
}
|
|
166
|
-
else {
|
|
167
|
-
const json = {
|
|
168
|
-
ref: playbook.ref ?? playbook.folderName,
|
|
169
|
-
version: playbook.version ?? '0.1.0',
|
|
170
|
-
phase: 'cross_cutting',
|
|
171
|
-
intent: 'Fixture playbook for audit tests.',
|
|
172
|
-
preconditions: playbook.preconditions ?? [],
|
|
173
|
-
outputs: (playbook.outputSchemaRefs ?? []).map((schemaRef) => ({
|
|
174
|
-
family: playbook.outputFamily ?? 'smoke-artifact',
|
|
175
|
-
schemaRef,
|
|
176
|
-
})),
|
|
177
|
-
inputs: (playbook.inputFamilies ?? []).map((family) => ({ family })),
|
|
178
|
-
...(playbook.stepOutputs ? { stepOutputs: playbook.stepOutputs } : {}),
|
|
179
|
-
method: {
|
|
180
|
-
skillRefs: playbook.skillRefs ?? [],
|
|
181
|
-
...(playbook.skillBodyRefs !== undefined ? { skillBodyRefs: playbook.skillBodyRefs } : {}),
|
|
182
|
-
...(playbook.contextSources !== undefined ? { contextSources: playbook.contextSources } : {}),
|
|
183
|
-
...(playbook.admits !== undefined ? { choreography: { admits: playbook.admits } } : {}),
|
|
184
|
-
...(playbook.inlineGuidance !== undefined ? { guidance: playbook.inlineGuidance } : {}),
|
|
185
|
-
},
|
|
186
|
-
executor: playbook.executor ?? 'human',
|
|
187
|
-
approval: 'approve_before',
|
|
188
|
-
budget: { maxRuns: 1 },
|
|
189
|
-
onFailure: 'keep_and_flag',
|
|
190
|
-
};
|
|
191
|
-
/*
|
|
192
|
-
* A second export, when the fixture asks for one: the audit reads only whether
|
|
193
|
-
* `evaluationTreatmentSource` is EXPORTED (it deliberately does not parse the treatment — see the
|
|
194
|
-
* export allow-list), so a minimal static object literal is the faithful fixture.
|
|
195
|
-
*/
|
|
196
|
-
const treatment = playbook.declaresEvaluationTreatment === true
|
|
197
|
-
? `\nexport const evaluationTreatmentSource = ${JSON.stringify({ schemaVersion: 1, definitionRef: 'fixture:treatment/x', definitionVersion: 1 }, null, 2)} as const;\n`
|
|
198
|
-
: '';
|
|
199
|
-
writeFileSync(join(playbookRoot, 'playbook.definition.ts'), `export const playbookDefinition = ${JSON.stringify(json, null, 2)} as const;\n${treatment}`, 'utf8');
|
|
200
|
-
}
|
|
201
|
-
if (!playbook.omitMethodFile) {
|
|
202
|
-
writeFileSync(join(playbookRoot, 'method.md'), playbook.methodBody ?? '# Fixture Method\n\nFollow the fixture method.\n', 'utf8');
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
function writeIndexCatalog(frameworkRoot, catalog) {
|
|
206
|
-
const layout = resolveFrameworkLayout(frameworkRoot);
|
|
207
|
-
const skillsHome = layout.frameworkKnowledgeAuthoredSkillsHome;
|
|
208
|
-
mkdirSync(skillsHome, { recursive: true });
|
|
209
|
-
const lines = [
|
|
210
|
-
'# Framework Skills Catalog',
|
|
211
|
-
'',
|
|
212
|
-
'| Skill | Trigger phrases |',
|
|
213
|
-
'|-------|-----------------|',
|
|
214
|
-
...catalog.citedSkillIds.map((skillId) => `| **\`${skillId}\`** | "use ${skillId}" |`),
|
|
215
|
-
...(catalog.extraLines ?? []),
|
|
216
|
-
'',
|
|
217
|
-
];
|
|
218
|
-
writeFileSync(join(skillsHome, 'INDEX.md'), lines.join('\n'), 'utf8');
|
|
219
|
-
}
|
|
220
|
-
function findFinding(findings, rule) {
|
|
221
|
-
return findings.find((finding) => finding.rule === rule);
|
|
222
|
-
}
|
|
223
|
-
function findFindings(findings, rule) {
|
|
224
|
-
return findings.filter((finding) => finding.rule === rule);
|
|
225
|
-
}
|
|
226
|
-
describe('FrameworkKnowledgeAuditService', () => {
|
|
227
|
-
afterEach(() => {
|
|
228
|
-
for (const dir of tempDirs.splice(0)) {
|
|
229
|
-
rmSync(dir, { recursive: true, force: true });
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
it('returns an empty report when registry, anchors, skills, and INDEX are all in sync', () => {
|
|
233
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-clean-'));
|
|
234
|
-
tempDirs.push(frameworkRoot);
|
|
235
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
236
|
-
writeRegistry(frameworkRoot, { ids: ['saas.models.example'] });
|
|
237
|
-
writeAnchorFile(frameworkRoot, {
|
|
238
|
-
id: 'saas.models.example',
|
|
239
|
-
filePath: join('engine', 'saas-models', 'src', 'example.ts'),
|
|
240
|
-
});
|
|
241
|
-
writeSkill(frameworkRoot, {
|
|
242
|
-
skillId: 'resource-schema-authoring',
|
|
243
|
-
});
|
|
244
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
245
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
246
|
-
expect(report.failures).toEqual([]);
|
|
247
|
-
expect(report.warnings).toEqual([]);
|
|
248
|
-
expect(report.stats.registeredAnchorCount).toBe(1);
|
|
249
|
-
expect(report.stats.discoveredAnchorCount).toBe(1);
|
|
250
|
-
expect(report.stats.skillCount).toBe(1);
|
|
251
|
-
});
|
|
252
|
-
it('fails authored guidance that an installed application builder cannot use', () => {
|
|
253
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-package-only-'));
|
|
254
|
-
tempDirs.push(frameworkRoot);
|
|
255
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
256
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
257
|
-
writeSkill(frameworkRoot, {
|
|
258
|
-
skillId: 'resource-schema-authoring',
|
|
259
|
-
body: 'Read `/Users/framework-maintainer/private.md`, then inspect `engine/saas-models/src/internal.ts`.',
|
|
260
|
-
});
|
|
261
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
262
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
263
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.ApplicationGuidanceNotPackageOnly)).toHaveLength(2);
|
|
264
|
-
});
|
|
265
|
-
it('ignores emitted declaration anchors while retaining the authoritative source anchor', () => {
|
|
266
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-declarations-'));
|
|
267
|
-
tempDirs.push(frameworkRoot);
|
|
268
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
269
|
-
writeRegistry(frameworkRoot, { ids: ['saas.models.example'] });
|
|
270
|
-
writeAnchorFile(frameworkRoot, { id: 'saas.models.example', filePath: join('engine', 'saas-models', 'src', 'example.ts') });
|
|
271
|
-
writeSkill(frameworkRoot, { skillId: 'resource-schema-authoring' });
|
|
272
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
273
|
-
const baseline = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
274
|
-
const declarationPath = join(frameworkRoot, 'engine', 'saas-models', 'src', 'example.d.ts');
|
|
275
|
-
writeFileSync(declarationPath, '/** @wildo_source:part:start saas.models.example */\nexport declare const generatedMarker: true;\n');
|
|
276
|
-
const result = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
277
|
-
expect(result.failures).toEqual(baseline.failures);
|
|
278
|
-
expect(result.warnings).toEqual(baseline.warnings);
|
|
279
|
-
expect(result.stats.discoveredAnchorCount).toBe(1);
|
|
280
|
-
});
|
|
281
|
-
it('excludes generated `.wildo-runtime-signals` trees from anchor audit', () => {
|
|
282
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-runtime-signals-'));
|
|
283
|
-
tempDirs.push(frameworkRoot);
|
|
284
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
285
|
-
writeRegistry(frameworkRoot, { ids: ['saas.models.example'] });
|
|
286
|
-
writeAnchorFile(frameworkRoot, {
|
|
287
|
-
id: 'saas.models.example',
|
|
288
|
-
filePath: join('engine', 'saas-models', 'src', 'example.ts'),
|
|
289
|
-
});
|
|
290
|
-
writeAnchorFile(frameworkRoot, {
|
|
291
|
-
id: 'generated.runtime.signal.anchor',
|
|
292
|
-
filePath: join('engine', 'saas-models', '.wildo-runtime-signals', 'accepted-generations', 'generated-anchor.ts'),
|
|
293
|
-
});
|
|
294
|
-
writeSkill(frameworkRoot, { skillId: 'resource-schema-authoring' });
|
|
295
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
296
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
297
|
-
expect(report.failures).toEqual([]);
|
|
298
|
-
expect(report.warnings).toEqual([]);
|
|
299
|
-
expect(report.stats.registeredAnchorCount).toBe(1);
|
|
300
|
-
expect(report.stats.discoveredAnchorCount).toBe(1);
|
|
301
|
-
});
|
|
302
|
-
it('FAIL rule 1 — flags {{REFERENCE:<id>}} placeholders pointing at unknown ids', () => {
|
|
303
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule1-'));
|
|
304
|
-
tempDirs.push(frameworkRoot);
|
|
305
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
306
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
307
|
-
writeSkill(frameworkRoot, {
|
|
308
|
-
skillId: 'resource-schema-authoring',
|
|
309
|
-
referenceFiles: [{ name: 'framework-api.md', placeholderId: 'unknown.id.here' }],
|
|
310
|
-
});
|
|
311
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
312
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
313
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.ReferencePlaceholderToUnknownId);
|
|
314
|
-
expect(finding).toBeDefined();
|
|
315
|
-
expect(finding?.severity).toBe(FrameworkKnowledgeAuditSeverity.Fail);
|
|
316
|
-
expect(finding?.message).toContain('unknown.id.here');
|
|
317
|
-
});
|
|
318
|
-
it('FAIL rule 2 — flags {{REFERENCE:<id>}} placeholders for ids registered but never anchored', () => {
|
|
319
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule2-'));
|
|
320
|
-
tempDirs.push(frameworkRoot);
|
|
321
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
322
|
-
writeRegistry(frameworkRoot, { ids: ['orphan.but.registered'] });
|
|
323
|
-
writeSkill(frameworkRoot, {
|
|
324
|
-
skillId: 'resource-schema-authoring',
|
|
325
|
-
referenceFiles: [{ name: 'framework-api.md', placeholderId: 'orphan.but.registered' }],
|
|
326
|
-
});
|
|
327
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
328
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
329
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.ReferencePlaceholderWithoutAnchor);
|
|
330
|
-
expect(finding).toBeDefined();
|
|
331
|
-
expect(finding?.message).toContain('orphan.but.registered');
|
|
332
|
-
});
|
|
333
|
-
it('FAIL rule 3 — flags @wildo_source anchors whose id is not in the registry', () => {
|
|
334
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule3-'));
|
|
335
|
-
tempDirs.push(frameworkRoot);
|
|
336
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
337
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
338
|
-
writeAnchorFile(frameworkRoot, {
|
|
339
|
-
id: 'unregistered.anchor.id',
|
|
340
|
-
filePath: join('engine', 'saas-models', 'src', 'rogue.ts'),
|
|
341
|
-
});
|
|
342
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
343
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
344
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.AnchorWithoutRegistryEntry);
|
|
345
|
-
expect(finding).toBeDefined();
|
|
346
|
-
expect(finding?.message).toContain('unregistered.anchor.id');
|
|
347
|
-
expect(finding?.location).toContain('rogue.ts');
|
|
348
|
-
});
|
|
349
|
-
it('FAIL rule 4 — flags SKILL.md missing YAML name or description', () => {
|
|
350
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule4-'));
|
|
351
|
-
tempDirs.push(frameworkRoot);
|
|
352
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
353
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
354
|
-
writeSkill(frameworkRoot, {
|
|
355
|
-
skillId: 'resource-schema-authoring',
|
|
356
|
-
hasDescription: false,
|
|
357
|
-
});
|
|
358
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
359
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
360
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.SkillFrontmatterIncomplete);
|
|
361
|
-
expect(finding).toBeDefined();
|
|
362
|
-
expect(finding?.message).toContain('description');
|
|
363
|
-
});
|
|
364
|
-
it('FAIL rule 5 — flags SKILL.md description above the 1024-char hard limit', () => {
|
|
365
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule5-'));
|
|
366
|
-
tempDirs.push(frameworkRoot);
|
|
367
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
368
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
369
|
-
const longDescription = 'long description body. '.repeat(80);
|
|
370
|
-
writeSkill(frameworkRoot, {
|
|
371
|
-
skillId: 'resource-schema-authoring',
|
|
372
|
-
description: longDescription,
|
|
373
|
-
});
|
|
374
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
375
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
376
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.SkillDescriptionExceedsHardLimit);
|
|
377
|
-
expect(finding).toBeDefined();
|
|
378
|
-
expect(finding?.message).toMatch(/\d+ characters/u);
|
|
379
|
-
});
|
|
380
|
-
it('WARN rule 6 — flags registry entries with no anchored span', () => {
|
|
381
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule6-'));
|
|
382
|
-
tempDirs.push(frameworkRoot);
|
|
383
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
384
|
-
writeRegistry(frameworkRoot, { ids: ['reserved.id.no.anchor'] });
|
|
385
|
-
writeSkill(frameworkRoot, { skillId: 'resource-schema-authoring' });
|
|
386
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
387
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
388
|
-
expect(report.failures).toEqual([]);
|
|
389
|
-
const finding = findFinding(report.warnings, FrameworkKnowledgeAuditRule.RegistryEntryWithoutAnchor);
|
|
390
|
-
expect(finding).toBeDefined();
|
|
391
|
-
expect(finding?.message).toContain('reserved.id.no.anchor');
|
|
392
|
-
});
|
|
393
|
-
it('WARN rule 7 — flags reference files not cited in their skill References section', () => {
|
|
394
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule7-'));
|
|
395
|
-
tempDirs.push(frameworkRoot);
|
|
396
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
397
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
398
|
-
writeSkill(frameworkRoot, {
|
|
399
|
-
skillId: 'resource-schema-authoring',
|
|
400
|
-
referenceFiles: [{ name: 'never-cited.md', cited: false }],
|
|
401
|
-
});
|
|
402
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
403
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
404
|
-
const finding = findFinding(report.warnings, FrameworkKnowledgeAuditRule.ReferenceFileNotCitedInSkill);
|
|
405
|
-
expect(finding).toBeDefined();
|
|
406
|
-
expect(finding?.message).toContain('never-cited.md');
|
|
407
|
-
});
|
|
408
|
-
it('WARN rule 8 — flags INDEX.md catalog drift in both directions', () => {
|
|
409
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule8-'));
|
|
410
|
-
tempDirs.push(frameworkRoot);
|
|
411
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
412
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
413
|
-
writeSkill(frameworkRoot, { skillId: 'present-skill' });
|
|
414
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['stale-index-skill'] });
|
|
415
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
416
|
-
const findings = findFindings(report.warnings, FrameworkKnowledgeAuditRule.IndexCatalogMismatch);
|
|
417
|
-
expect(findings).toHaveLength(2);
|
|
418
|
-
const messages = findings.map((finding) => finding.message).join('\n');
|
|
419
|
-
expect(messages).toContain('present-skill');
|
|
420
|
-
expect(messages).toContain('stale-index-skill');
|
|
421
|
-
});
|
|
422
|
-
it('FAIL rule 22 — flags a frontmatter name the host cannot address', () => {
|
|
423
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule22-shape-'));
|
|
424
|
-
tempDirs.push(frameworkRoot);
|
|
425
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
426
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
427
|
-
// The folder is the id; only the DECLARED name carries the underscore, which
|
|
428
|
-
// is the exact state every skill was in before the kebab-case migration.
|
|
429
|
-
writeSkill(frameworkRoot, { skillId: 'journey-run', declaredName: 'journey_run' });
|
|
430
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['journey-run'] });
|
|
431
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
432
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.SkillNameNotHostAddressable);
|
|
433
|
-
expect(finding).toBeDefined();
|
|
434
|
-
expect(finding?.message).toContain('journey_run');
|
|
435
|
-
expect(finding?.message).toContain('lowercase letters, numbers and hyphens');
|
|
436
|
-
});
|
|
437
|
-
it('FAIL rule 31 — flags a non-Markdown file under a skill examples/ directory', () => {
|
|
438
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule31-example-'));
|
|
439
|
-
tempDirs.push(frameworkRoot);
|
|
440
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
441
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
442
|
-
// The exact shape measured on 2026-09-12: a raw .tsx dropped beside the prose. It shipped into
|
|
443
|
-
// dist/knowledge, was invisible to check:example-drift (which matches *.example.ts(x) by name)
|
|
444
|
-
// and to this audit's Markdown-only scan, and broke the framework-knowledge package build
|
|
445
|
-
// because src/** is a compiled TypeScript program.
|
|
446
|
-
writeSkill(frameworkRoot, { skillId: 'product-definitions', exampleFiles: [{ name: 'report-surface.tsx' }] });
|
|
447
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['product-definitions'] });
|
|
448
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
449
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.SkillSupportingFileIsNotMarkdown);
|
|
450
|
-
expect(finding).toBeDefined();
|
|
451
|
-
expect(finding?.location).toContain('report-surface.tsx');
|
|
452
|
-
expect(finding?.message).toContain('examples/');
|
|
453
|
-
expect(finding?.message).toContain('*.example.ts(x)');
|
|
454
|
-
});
|
|
455
|
-
it('FAIL rule 31 — flags a non-Markdown file under a skill references/ directory', () => {
|
|
456
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule31-reference-'));
|
|
457
|
-
tempDirs.push(frameworkRoot);
|
|
458
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
459
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
460
|
-
writeSkill(frameworkRoot, { skillId: 'product-definitions', referenceFiles: [{ name: 'helper.ts', cited: false }] });
|
|
461
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['product-definitions'] });
|
|
462
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
463
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.SkillSupportingFileIsNotMarkdown);
|
|
464
|
-
expect(finding).toBeDefined();
|
|
465
|
-
expect(finding?.message).toContain('references/');
|
|
466
|
-
});
|
|
467
|
-
/**
|
|
468
|
-
* Guards the guard. Rule 31 walks EVERY file rather than globbing Markdown, so a discovery that
|
|
469
|
-
* silently matched nothing would report a clean catalog exactly as a healthy one does — and the
|
|
470
|
-
* live catalog is 255 Markdown files with zero violations, so a green run proves nothing on its
|
|
471
|
-
* own. This pins that ordinary prose does not trip it.
|
|
472
|
-
*/
|
|
473
|
-
it('rule 31 — stays silent on an all-Markdown skill', () => {
|
|
474
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule31-clean-'));
|
|
475
|
-
tempDirs.push(frameworkRoot);
|
|
476
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
477
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
478
|
-
writeSkill(frameworkRoot, {
|
|
479
|
-
skillId: 'product-definitions',
|
|
480
|
-
referenceFiles: [{ name: 'connected-feature-workflow.md' }],
|
|
481
|
-
exampleFiles: [{ name: 'walkthrough.example.md' }],
|
|
482
|
-
});
|
|
483
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['product-definitions'] });
|
|
484
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
485
|
-
expect(findFinding(report.failures, FrameworkKnowledgeAuditRule.SkillSupportingFileIsNotMarkdown)).toBeUndefined();
|
|
486
|
-
});
|
|
487
|
-
it('FAIL rule 22 — flags a valid kebab name that is not its own folder id', () => {
|
|
488
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule22-drift-'));
|
|
489
|
-
tempDirs.push(frameworkRoot);
|
|
490
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
491
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
492
|
-
// Isolating case for the SECOND branch: the name is a perfectly valid host
|
|
493
|
-
// name, so only the folder-equality half can decide. Without it the host
|
|
494
|
-
// would address `journey-runner` while INDEX rows and playbook skillRefs
|
|
495
|
-
// address `journey-run`.
|
|
496
|
-
writeSkill(frameworkRoot, { skillId: 'journey-run', declaredName: 'journey-runner' });
|
|
497
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['journey-run'] });
|
|
498
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
499
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.SkillNameNotHostAddressable);
|
|
500
|
-
expect(finding).toBeDefined();
|
|
501
|
-
expect(finding?.message).toContain('journey-runner');
|
|
502
|
-
expect(finding?.message).toContain('journey-run');
|
|
503
|
-
});
|
|
504
|
-
it('rule 22 — stays silent when the name IS the folder id', () => {
|
|
505
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule22-clean-'));
|
|
506
|
-
tempDirs.push(frameworkRoot);
|
|
507
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
508
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
509
|
-
writeSkill(frameworkRoot, { skillId: 'journey-run' });
|
|
510
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['journey-run'] });
|
|
511
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
512
|
-
expect(findFinding(report.failures, FrameworkKnowledgeAuditRule.SkillNameNotHostAddressable)).toBeUndefined();
|
|
513
|
-
});
|
|
514
|
-
it('rule 32 — FAILS a knowledge skill that declares user-invocable, whichever value it gives (#1656)', () => {
|
|
515
|
-
for (const value of ['true', 'false']) {
|
|
516
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule32-'));
|
|
517
|
-
tempDirs.push(frameworkRoot);
|
|
518
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
519
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
520
|
-
writeSkill(frameworkRoot, { skillId: 'resource-add-field', extraFrontmatter: [`user-invocable: ${value}`] });
|
|
521
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-add-field'] });
|
|
522
|
-
const finding = findFinding(FrameworkKnowledgeAuditService.audit(frameworkRoot).failures, FrameworkKnowledgeAuditRule.SkillDeclaresUserInvocable);
|
|
523
|
-
expect(finding?.message, value).toContain('src/claude-plugin/skills/');
|
|
524
|
-
}
|
|
525
|
-
});
|
|
526
|
-
it('rule 32 — stays silent on a skill that leaves the field to the generator', () => {
|
|
527
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule32-clean-'));
|
|
528
|
-
tempDirs.push(frameworkRoot);
|
|
529
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
530
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
531
|
-
writeSkill(frameworkRoot, { skillId: 'resource-add-field' });
|
|
532
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-add-field'] });
|
|
533
|
-
expect(findFinding(FrameworkKnowledgeAuditService.audit(frameworkRoot).failures, FrameworkKnowledgeAuditRule.SkillDeclaresUserInvocable)).toBeUndefined();
|
|
534
|
-
});
|
|
535
|
-
it('WARN rule 8 — reads catalog rows by position, not by the id spelling', () => {
|
|
536
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule8-prose-'));
|
|
537
|
-
tempDirs.push(frameworkRoot);
|
|
538
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
539
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
540
|
-
writeSkill(frameworkRoot, { skillId: 'market-icp' });
|
|
541
|
-
// A backticked kebab token in PROSE is not a catalog row. The pre-migration
|
|
542
|
-
// parser discriminated skill ids by "contains an underscore"; ported naively
|
|
543
|
-
// to `contains a hyphen`, this line would have been reported as a stale row
|
|
544
|
-
// for a skill that never existed.
|
|
545
|
-
writeIndexCatalog(frameworkRoot, {
|
|
546
|
-
citedSkillIds: ['market-icp'],
|
|
547
|
-
extraLines: ['', 'Pass `market-context-for-icp` to the generator; it needs `reflect-metadata` loaded first.'],
|
|
548
|
-
});
|
|
549
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
550
|
-
const findings = findFindings(report.warnings, FrameworkKnowledgeAuditRule.IndexCatalogMismatch);
|
|
551
|
-
expect(findings).toHaveLength(0);
|
|
552
|
-
});
|
|
553
|
-
it('WARN rule 9 — flags descriptions missing trigger-phrase cues', () => {
|
|
554
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule9-'));
|
|
555
|
-
tempDirs.push(frameworkRoot);
|
|
556
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
557
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
558
|
-
writeSkill(frameworkRoot, {
|
|
559
|
-
skillId: 'resource-schema-authoring',
|
|
560
|
-
description: 'Authors resource schemas in the resource layer.',
|
|
561
|
-
});
|
|
562
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
563
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
564
|
-
const finding = findFinding(report.warnings, FrameworkKnowledgeAuditRule.SkillDescriptionMissingTriggerPhrasing);
|
|
565
|
-
expect(finding).toBeDefined();
|
|
566
|
-
});
|
|
567
|
-
it('WARN rule 10 — flags substantial inline TypeScript code blocks without a TIER C WAIVER comment', () => {
|
|
568
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule10-'));
|
|
569
|
-
tempDirs.push(frameworkRoot);
|
|
570
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
571
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
572
|
-
writeSkill(frameworkRoot, {
|
|
573
|
-
skillId: 'resource-schema-authoring',
|
|
574
|
-
body: [
|
|
575
|
-
'# Resource Schema Authoring',
|
|
576
|
-
'',
|
|
577
|
-
'## Worked Example',
|
|
578
|
-
'',
|
|
579
|
-
'```typescript',
|
|
580
|
-
'export const a = 1;',
|
|
581
|
-
'export const b = 2;',
|
|
582
|
-
'export const c = 3;',
|
|
583
|
-
'export const d = 4;',
|
|
584
|
-
'export const e = 5;',
|
|
585
|
-
'export const f = 6;',
|
|
586
|
-
'export const g = 7;',
|
|
587
|
-
'```',
|
|
588
|
-
'',
|
|
589
|
-
'## References',
|
|
590
|
-
'',
|
|
591
|
-
'(none)',
|
|
592
|
-
'',
|
|
593
|
-
'## Verification',
|
|
594
|
-
'',
|
|
595
|
-
'```bash',
|
|
596
|
-
'rg --count "resource-schema-authoring"',
|
|
597
|
-
'```',
|
|
598
|
-
'',
|
|
599
|
-
].join('\n'),
|
|
600
|
-
});
|
|
601
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
602
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
603
|
-
const finding = findFinding(report.warnings, FrameworkKnowledgeAuditRule.TierCExampleWithoutWaiver);
|
|
604
|
-
expect(finding).toBeDefined();
|
|
605
|
-
expect(finding?.message).toContain('TIER C WAIVER');
|
|
606
|
-
});
|
|
607
|
-
it('WARN rule 10 — accepts substantial inline code blocks when a TIER C WAIVER comment is present', () => {
|
|
608
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule10-waived-'));
|
|
609
|
-
tempDirs.push(frameworkRoot);
|
|
610
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
611
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
612
|
-
writeSkill(frameworkRoot, {
|
|
613
|
-
skillId: 'resource-schema-authoring',
|
|
614
|
-
body: [
|
|
615
|
-
'# Resource Schema Authoring',
|
|
616
|
-
'',
|
|
617
|
-
'## Worked Example',
|
|
618
|
-
'',
|
|
619
|
-
'<!-- TIER C WAIVER: no wonder-todos surface to anchor against; framework example would be misleading. -->',
|
|
620
|
-
'```typescript',
|
|
621
|
-
'export const a = 1;',
|
|
622
|
-
'export const b = 2;',
|
|
623
|
-
'export const c = 3;',
|
|
624
|
-
'export const d = 4;',
|
|
625
|
-
'export const e = 5;',
|
|
626
|
-
'export const f = 6;',
|
|
627
|
-
'export const g = 7;',
|
|
628
|
-
'```',
|
|
629
|
-
'',
|
|
630
|
-
'## References',
|
|
631
|
-
'',
|
|
632
|
-
'(none)',
|
|
633
|
-
'',
|
|
634
|
-
'## Verification',
|
|
635
|
-
'',
|
|
636
|
-
'```bash',
|
|
637
|
-
'rg --count "resource-schema-authoring"',
|
|
638
|
-
'```',
|
|
639
|
-
'',
|
|
640
|
-
].join('\n'),
|
|
641
|
-
});
|
|
642
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
643
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
644
|
-
expect(findFinding(report.warnings, FrameworkKnowledgeAuditRule.TierCExampleWithoutWaiver)).toBeUndefined();
|
|
645
|
-
});
|
|
646
|
-
it('WARN rule 11 — flags Verification sections with no runnable shell block', () => {
|
|
647
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule11-'));
|
|
648
|
-
tempDirs.push(frameworkRoot);
|
|
649
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
650
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
651
|
-
writeSkill(frameworkRoot, {
|
|
652
|
-
skillId: 'resource-schema-authoring',
|
|
653
|
-
body: [
|
|
654
|
-
'# Resource Schema Authoring',
|
|
655
|
-
'',
|
|
656
|
-
'## References',
|
|
657
|
-
'',
|
|
658
|
-
'(none)',
|
|
659
|
-
'',
|
|
660
|
-
'## Verification',
|
|
661
|
-
'',
|
|
662
|
-
'Read the changes carefully and confirm.',
|
|
663
|
-
'',
|
|
664
|
-
].join('\n'),
|
|
665
|
-
});
|
|
666
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
667
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
668
|
-
const finding = findFinding(report.warnings, FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants);
|
|
669
|
-
expect(finding).toBeDefined();
|
|
670
|
-
});
|
|
671
|
-
it('PASS rule 11 — keeps heading-shaped shell comments inside the Verification section', () => {
|
|
672
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule11-fenced-comment-'));
|
|
673
|
-
tempDirs.push(frameworkRoot);
|
|
674
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
675
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
676
|
-
writeSkill(frameworkRoot, {
|
|
677
|
-
skillId: 'resource-schema-authoring',
|
|
678
|
-
body: [
|
|
679
|
-
'# Resource Schema Authoring',
|
|
680
|
-
'',
|
|
681
|
-
'## References',
|
|
682
|
-
'',
|
|
683
|
-
'(none)',
|
|
684
|
-
'',
|
|
685
|
-
'## Verification',
|
|
686
|
-
'',
|
|
687
|
-
'### Grep invariants',
|
|
688
|
-
'',
|
|
689
|
-
'```bash',
|
|
690
|
-
'# explain why this invariant is load-bearing',
|
|
691
|
-
'rg --count "resource-schema-authoring"',
|
|
692
|
-
'```',
|
|
693
|
-
'',
|
|
694
|
-
'## Related Skills',
|
|
695
|
-
'',
|
|
696
|
-
'(none)',
|
|
697
|
-
'',
|
|
698
|
-
].join('\n'),
|
|
699
|
-
});
|
|
700
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
701
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
702
|
-
expect(findFinding(report.warnings, FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants)).toBeUndefined();
|
|
703
|
-
});
|
|
704
|
-
it('WARN rule 11 — still discovers Verification after a four-space-indented pseudo-fence', () => {
|
|
705
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule11-indented-pseudo-fence-'));
|
|
706
|
-
tempDirs.push(frameworkRoot);
|
|
707
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
708
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
709
|
-
writeSkill(frameworkRoot, {
|
|
710
|
-
skillId: 'resource-schema-authoring',
|
|
711
|
-
body: [
|
|
712
|
-
'# Resource Schema Authoring',
|
|
713
|
-
'',
|
|
714
|
-
' ```bash',
|
|
715
|
-
'## Verification',
|
|
716
|
-
'',
|
|
717
|
-
'Read the changes carefully and confirm.',
|
|
718
|
-
'',
|
|
719
|
-
].join('\n'),
|
|
720
|
-
});
|
|
721
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
722
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
723
|
-
expect(findFinding(report.warnings, FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants)).toBeDefined();
|
|
724
|
-
});
|
|
725
|
-
it.each([
|
|
726
|
-
{
|
|
727
|
-
name: 'does not close a backtick fence on a non-whitespace suffix',
|
|
728
|
-
lines: ['```bash', 'rg --count "resource-schema-authoring"', '```not-a-close', '# still shell content', '```'],
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
name: 'does not close a tilde fence with a mixed backtick marker',
|
|
732
|
-
lines: ['~~~bash', 'rg --count "resource-schema-authoring"', '```', '# still shell content', '~~~'],
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
name: 'accepts a longer delimiter as the closing fence',
|
|
736
|
-
lines: ['```bash', '# shell content', 'rg --count "resource-schema-authoring"', '````'],
|
|
737
|
-
},
|
|
738
|
-
])('PASS rule 11 — $name', ({ lines }) => {
|
|
739
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule11-fence-boundary-'));
|
|
740
|
-
tempDirs.push(frameworkRoot);
|
|
741
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
742
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
743
|
-
writeSkill(frameworkRoot, {
|
|
744
|
-
skillId: 'resource-schema-authoring',
|
|
745
|
-
body: [
|
|
746
|
-
'# Resource Schema Authoring',
|
|
747
|
-
'',
|
|
748
|
-
'## Verification',
|
|
749
|
-
'',
|
|
750
|
-
'### Grep invariants',
|
|
751
|
-
'',
|
|
752
|
-
...lines,
|
|
753
|
-
'',
|
|
754
|
-
'## Related Skills',
|
|
755
|
-
'',
|
|
756
|
-
'(none)',
|
|
757
|
-
'',
|
|
758
|
-
].join('\n'),
|
|
759
|
-
});
|
|
760
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['resource-schema-authoring'] });
|
|
761
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
762
|
-
expect(findFinding(report.warnings, FrameworkKnowledgeAuditRule.VerificationSectionMissingGrepInvariants)).toBeUndefined();
|
|
763
|
-
});
|
|
764
|
-
it.each([
|
|
765
|
-
{
|
|
766
|
-
name: 'non-whitespace suffix on the matching marker',
|
|
767
|
-
open: '```bash',
|
|
768
|
-
hostileMarker: '```not-a-close',
|
|
769
|
-
close: '```',
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
name: 'different marker character',
|
|
773
|
-
open: '~~~bash',
|
|
774
|
-
hostileMarker: '```',
|
|
775
|
-
close: '~~~',
|
|
776
|
-
},
|
|
777
|
-
])('keeps section headings fenced after a $name', ({ open, hostileMarker, close }) => {
|
|
778
|
-
const content = [
|
|
779
|
-
'# Skill',
|
|
780
|
-
'',
|
|
781
|
-
'## Verification',
|
|
782
|
-
'',
|
|
783
|
-
open,
|
|
784
|
-
'rg --count "resource-schema-authoring"',
|
|
785
|
-
hostileMarker,
|
|
786
|
-
'## this is shell content, not a sibling Markdown section',
|
|
787
|
-
close,
|
|
788
|
-
'',
|
|
789
|
-
'## Related Skills',
|
|
790
|
-
'',
|
|
791
|
-
'(none)',
|
|
792
|
-
].join('\n');
|
|
793
|
-
const extractMarkdownSection = Reflect.get(FrameworkKnowledgeAuditService, 'extractMarkdownSection');
|
|
794
|
-
const collectCodeBlocks = Reflect.get(FrameworkKnowledgeAuditService, 'collectCodeBlocks');
|
|
795
|
-
const verification = extractMarkdownSection.call(FrameworkKnowledgeAuditService, content, ['verification']);
|
|
796
|
-
expect(verification).not.toBeNull();
|
|
797
|
-
expect(verification).toContain(hostileMarker);
|
|
798
|
-
expect(verification).toContain('## this is shell content, not a sibling Markdown section');
|
|
799
|
-
expect(verification).not.toContain('## Related Skills');
|
|
800
|
-
expect(collectCodeBlocks.call(FrameworkKnowledgeAuditService, verification)).toMatchObject([
|
|
801
|
-
{ language: 'bash' },
|
|
802
|
-
]);
|
|
803
|
-
});
|
|
804
|
-
it('FAIL rule 12 — flags @wildo_source:part:start without a matching @wildo_source:part:end before EOF', () => {
|
|
805
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule12-'));
|
|
806
|
-
tempDirs.push(frameworkRoot);
|
|
807
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
808
|
-
writeRegistry(frameworkRoot, { ids: ['saas.models.unclosed.example'] });
|
|
809
|
-
// Hand-write the source file: open the anchor but never close it.
|
|
810
|
-
// This is the exact defect class that shipped in
|
|
811
|
-
// engine/saas-models/.../resources-config.shared.schemas.ts before
|
|
812
|
-
// the audit existed — generator extracted through end-of-file as a
|
|
813
|
-
// fallback and the anchored markdown silently absorbed unrelated
|
|
814
|
-
// type definitions further down the file.
|
|
815
|
-
const anchorFilePath = join(frameworkRoot, 'engine', 'saas-models', 'src', 'unclosed.ts');
|
|
816
|
-
mkdirSync(dirname(anchorFilePath), { recursive: true });
|
|
817
|
-
writeFileSync(anchorFilePath, [
|
|
818
|
-
'/** @wildo_source:part:start saas.models.unclosed.example facet:layer:shared */',
|
|
819
|
-
'export const opened = 1;',
|
|
820
|
-
'',
|
|
821
|
-
'// no end marker before EOF — the audit must catch this.',
|
|
822
|
-
'',
|
|
823
|
-
].join('\n'), 'utf8');
|
|
824
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
825
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
826
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.AnchorWithoutEndMarker);
|
|
827
|
-
expect(finding).toBeDefined();
|
|
828
|
-
expect(finding?.severity).toBe(FrameworkKnowledgeAuditSeverity.Fail);
|
|
829
|
-
expect(finding?.message).toContain('saas.models.unclosed.example');
|
|
830
|
-
expect(finding?.location).toMatch(/unclosed\.ts:1$/u);
|
|
831
|
-
});
|
|
832
|
-
it('accepts a valid playbook (skillRefs resolve, schemaRef pinned format, no forbidden placeholders) and counts it in stats', () => {
|
|
833
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-playbook-clean-'));
|
|
834
|
-
tempDirs.push(frameworkRoot);
|
|
835
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
836
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
837
|
-
writeSkill(frameworkRoot, { skillId: 'journey-status' });
|
|
838
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['journey-status'] });
|
|
839
|
-
writePlaybook(frameworkRoot, {
|
|
840
|
-
folderName: 'meta-workflows.smoke',
|
|
841
|
-
skillRefs: ['journey-status'],
|
|
842
|
-
outputSchemaRefs: ['saas-specifications:MetaWorkflowPlaybook', 'saas-specifications:AssertionSpecificationSnapshot'],
|
|
843
|
-
});
|
|
844
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
845
|
-
expect(report.failures).toEqual([]);
|
|
846
|
-
expect(report.stats.playbookCount).toBe(1);
|
|
847
|
-
});
|
|
848
|
-
it('FAIL rule 13 — flags playbook method.skillRefs pointing at unknown skill folders', () => {
|
|
849
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule13-'));
|
|
850
|
-
tempDirs.push(frameworkRoot);
|
|
851
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
852
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
853
|
-
writeSkill(frameworkRoot, { skillId: 'journey-status' });
|
|
854
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['journey-status'] });
|
|
855
|
-
writePlaybook(frameworkRoot, {
|
|
856
|
-
folderName: 'meta-workflows.smoke',
|
|
857
|
-
skillRefs: ['journey-status', 'no-such-skill'],
|
|
858
|
-
});
|
|
859
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
860
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookSkillRefToUnknownSkill);
|
|
861
|
-
expect(findings).toHaveLength(1);
|
|
862
|
-
expect(findings[0].message).toContain('no-such-skill');
|
|
863
|
-
expect(findings[0].location).toContain('meta-workflows.smoke');
|
|
864
|
-
});
|
|
865
|
-
it('FAIL rule 13 — flags a skillBodyRefs entry the method does not also name in skillRefs', () => {
|
|
866
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule13-body-'));
|
|
867
|
-
tempDirs.push(frameworkRoot);
|
|
868
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
869
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
870
|
-
writeSkill(frameworkRoot, { skillId: 'journey-status' });
|
|
871
|
-
writeSkill(frameworkRoot, { skillId: 'brand-logo-authoring' });
|
|
872
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['journey-status', 'brand-logo-authoring'] });
|
|
873
|
-
// Both skills EXIST, so nothing rule 13's original half can see is wrong — the defect is that
|
|
874
|
-
// the body is delivered for a skill the guidance never tells the model to follow.
|
|
875
|
-
writePlaybook(frameworkRoot, {
|
|
876
|
-
folderName: 'meta-workflows.smoke',
|
|
877
|
-
skillRefs: ['journey-status'],
|
|
878
|
-
skillBodyRefs: ['brand-logo-authoring'],
|
|
879
|
-
});
|
|
880
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
881
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookSkillRefToUnknownSkill);
|
|
882
|
-
expect(findings).toHaveLength(1);
|
|
883
|
-
expect(findings[0].message).toContain('brand-logo-authoring');
|
|
884
|
-
expect(findings[0].message).toContain('skillBodyRefs');
|
|
885
|
-
});
|
|
886
|
-
it('accepts a skillBodyRefs entry the method also names in skillRefs', () => {
|
|
887
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule13-body-ok-'));
|
|
888
|
-
tempDirs.push(frameworkRoot);
|
|
889
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
890
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
891
|
-
writeSkill(frameworkRoot, { skillId: 'brand-logo-authoring' });
|
|
892
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['brand-logo-authoring'] });
|
|
893
|
-
writePlaybook(frameworkRoot, {
|
|
894
|
-
folderName: 'meta-workflows.smoke',
|
|
895
|
-
skillRefs: ['brand-logo-authoring'],
|
|
896
|
-
skillBodyRefs: ['brand-logo-authoring'],
|
|
897
|
-
});
|
|
898
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
899
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookSkillRefToUnknownSkill)).toHaveLength(0);
|
|
900
|
-
});
|
|
901
|
-
it('FAIL rule 32 — flags a TOOL-LESS method naming an installed skill file path', () => {
|
|
902
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule32-path-'));
|
|
903
|
-
tempDirs.push(frameworkRoot);
|
|
904
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
905
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
906
|
-
writeSkill(frameworkRoot, { skillId: 'journey-status' });
|
|
907
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['journey-status'] });
|
|
908
|
-
writePlaybook(frameworkRoot, {
|
|
909
|
-
folderName: 'meta-workflows.smoke',
|
|
910
|
-
skillRefs: ['journey-status'],
|
|
911
|
-
executor: 'companion_agent',
|
|
912
|
-
methodBody: '# Method\n\nRead `.claude/skills/journey-status/SKILL.md` for the current state.\n',
|
|
913
|
-
});
|
|
914
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
915
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookMethodInstructsToollessShell);
|
|
916
|
-
expect(findings).toHaveLength(1);
|
|
917
|
-
expect(findings[0].message).toContain('.claude/skills/journey-status/SKILL.md');
|
|
918
|
-
});
|
|
919
|
-
it('accepts the SAME file path in a method whose executor HAS tools — a coding agent opens it', () => {
|
|
920
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule32-path-ok-'));
|
|
921
|
-
tempDirs.push(frameworkRoot);
|
|
922
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
923
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
924
|
-
writeSkill(frameworkRoot, { skillId: 'journey-status' });
|
|
925
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: ['journey-status'] });
|
|
926
|
-
writePlaybook(frameworkRoot, {
|
|
927
|
-
folderName: 'meta-workflows.smoke',
|
|
928
|
-
skillRefs: ['journey-status'],
|
|
929
|
-
executor: 'coding_agent',
|
|
930
|
-
methodBody: '# Method\n\nRead `.claude/skills/journey-status/SKILL.md` for the current state.\n',
|
|
931
|
-
});
|
|
932
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
933
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookMethodInstructsToollessShell)).toHaveLength(0);
|
|
934
|
-
});
|
|
935
|
-
it('FAIL rule 30 — flags a composite admitting a child playbook that does not exist', () => {
|
|
936
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule30-'));
|
|
937
|
-
tempDirs.push(frameworkRoot);
|
|
938
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
939
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
940
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
941
|
-
writePlaybook(frameworkRoot, { folderName: 'meta-workflows.child-a' });
|
|
942
|
-
writePlaybook(frameworkRoot, {
|
|
943
|
-
folderName: 'meta-workflows.composite',
|
|
944
|
-
admits: ['meta-workflows.child-a', 'meta-workflows.no-such-child'],
|
|
945
|
-
});
|
|
946
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
947
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookChoreographyAdmitsUnknownPlaybook);
|
|
948
|
-
expect(findings).toHaveLength(1);
|
|
949
|
-
expect(findings[0].message).toContain('meta-workflows.no-such-child');
|
|
950
|
-
// The RESOLVABLE sibling must not be reported. Without this the rule could be "flag every child"
|
|
951
|
-
// and the first assertion would still pass on a two-child fixture.
|
|
952
|
-
expect(findings[0].message).not.toContain('child-a');
|
|
953
|
-
expect(findings[0].location).toContain('meta-workflows.composite');
|
|
954
|
-
});
|
|
955
|
-
it('PASS rule 30 — a composite whose every admitted child exists is silent', () => {
|
|
956
|
-
// The control. A rule that fired on a correct catalog would be worse than none, and this is the
|
|
957
|
-
// shape the live catalogue is in — both real composites resolve every child today.
|
|
958
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule30-clean-'));
|
|
959
|
-
tempDirs.push(frameworkRoot);
|
|
960
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
961
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
962
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
963
|
-
writePlaybook(frameworkRoot, { folderName: 'meta-workflows.child-a' });
|
|
964
|
-
writePlaybook(frameworkRoot, { folderName: 'meta-workflows.child-b' });
|
|
965
|
-
writePlaybook(frameworkRoot, {
|
|
966
|
-
folderName: 'meta-workflows.composite',
|
|
967
|
-
admits: ['meta-workflows.child-a', 'meta-workflows.child-b'],
|
|
968
|
-
});
|
|
969
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
970
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookChoreographyAdmitsUnknownPlaybook)).toEqual([]);
|
|
971
|
-
});
|
|
972
|
-
it('PASS rule 30 — an ordinary playbook declaring no choreography is not a composite over nothing', () => {
|
|
973
|
-
// `choreography` is optional on the schema, so its absence is the ordinary case. A reader that
|
|
974
|
-
// treated a missing field as a parse failure, or an empty `admits` as a violation, would fire on
|
|
975
|
-
// every non-composite in the catalog — 21 of its 23 playbooks.
|
|
976
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule30-absent-'));
|
|
977
|
-
tempDirs.push(frameworkRoot);
|
|
978
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
979
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
980
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
981
|
-
writePlaybook(frameworkRoot, { folderName: 'meta-workflows.plain' });
|
|
982
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
983
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookChoreographyAdmitsUnknownPlaybook)).toEqual([]);
|
|
984
|
-
});
|
|
985
|
-
it('FAIL rule 23 — flags an INPUT family no playbook in the catalog produces', () => {
|
|
986
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule23-input-'));
|
|
987
|
-
tempDirs.push(frameworkRoot);
|
|
988
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
989
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
990
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
991
|
-
// A producer must exist, or the rule's own zero-producer guard suppresses everything — which is
|
|
992
|
-
// exactly the state that made this rule silently inert on its first run against the live tree.
|
|
993
|
-
writePlaybook(frameworkRoot, {
|
|
994
|
-
folderName: 'meta-workflows.producer',
|
|
995
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
996
|
-
outputFamily: 'produced-family',
|
|
997
|
-
});
|
|
998
|
-
writePlaybook(frameworkRoot, {
|
|
999
|
-
folderName: 'meta-workflows.consumer',
|
|
1000
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1001
|
-
inputFamilies: ['produced-family', 'nobody-produces-this'],
|
|
1002
|
-
});
|
|
1003
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1004
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookInputFamilyWithNoProducer);
|
|
1005
|
-
expect(findings).toHaveLength(1);
|
|
1006
|
-
expect(findings[0].message).toContain('nobody-produces-this');
|
|
1007
|
-
expect(findings[0].message).toContain('an INPUT');
|
|
1008
|
-
// The satisfied dependency must NOT be reported, or the rule fires on every healthy edge.
|
|
1009
|
-
expect(findings[0].message).not.toContain('produced-family');
|
|
1010
|
-
});
|
|
1011
|
-
it('FAIL rule 23 — flags a PRECONDITION family no playbook produces, and says it is permanently ineligible', () => {
|
|
1012
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule23-precondition-'));
|
|
1013
|
-
tempDirs.push(frameworkRoot);
|
|
1014
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1015
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1016
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1017
|
-
writePlaybook(frameworkRoot, {
|
|
1018
|
-
folderName: 'meta-workflows.producer',
|
|
1019
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1020
|
-
outputFamily: 'produced-family',
|
|
1021
|
-
});
|
|
1022
|
-
writePlaybook(frameworkRoot, {
|
|
1023
|
-
folderName: 'meta-workflows.gated',
|
|
1024
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1025
|
-
preconditions: [{ kind: 'artifact_valid', selector: { family: 'nobody-produces-this' } }],
|
|
1026
|
-
});
|
|
1027
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1028
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.PlaybookInputFamilyWithNoProducer);
|
|
1029
|
-
expect(finding?.message).toContain('a PRECONDITION');
|
|
1030
|
-
expect(finding?.message).toContain('permanently ineligible');
|
|
1031
|
-
});
|
|
1032
|
-
it('FAIL rule 23 — stays silent on a catalog whose every dependency is produced', () => {
|
|
1033
|
-
// The other half of the contract. Without it, a rule that fired on EVERY edge would still pass
|
|
1034
|
-
// the two pins above.
|
|
1035
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule23-clean-'));
|
|
1036
|
-
tempDirs.push(frameworkRoot);
|
|
1037
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1038
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1039
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1040
|
-
writePlaybook(frameworkRoot, {
|
|
1041
|
-
folderName: 'meta-workflows.producer',
|
|
1042
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1043
|
-
outputFamily: 'produced-family',
|
|
1044
|
-
});
|
|
1045
|
-
writePlaybook(frameworkRoot, {
|
|
1046
|
-
folderName: 'meta-workflows.consumer',
|
|
1047
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1048
|
-
inputFamilies: ['produced-family'],
|
|
1049
|
-
preconditions: [{ kind: 'artifact_valid', selector: { family: 'produced-family' } }],
|
|
1050
|
-
});
|
|
1051
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1052
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookInputFamilyWithNoProducer)).toHaveLength(0);
|
|
1053
|
-
});
|
|
1054
|
-
/*
|
|
1055
|
-
* The GUARD, pinned. Added 2026-09-01 after a mutation showed nothing covered it: neutering the
|
|
1056
|
-
* zero-declaration check left every test green, so the guard could have been deleted silently.
|
|
1057
|
-
*
|
|
1058
|
-
* It exists because the failure direction is catalog-wide. If `inputs[]` stopped parsing while
|
|
1059
|
-
* preconditions still did, every readiness gate would be reported — a reader bug presenting as a
|
|
1060
|
-
* defect in every playbook, and in the FAIL channel a merge block on a healthy catalog.
|
|
1061
|
-
*/
|
|
1062
|
-
it('FAIL rule 24 — says nothing when NO playbook in the catalog declares an input', () => {
|
|
1063
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule24-guard-'));
|
|
1064
|
-
tempDirs.push(frameworkRoot);
|
|
1065
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1066
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1067
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1068
|
-
writePlaybook(frameworkRoot, {
|
|
1069
|
-
folderName: 'meta-workflows.producer',
|
|
1070
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1071
|
-
outputFamily: 'produced-family',
|
|
1072
|
-
});
|
|
1073
|
-
// Gated at readiness strength and declaring no input — the violating shape. It must STILL be
|
|
1074
|
-
// silent, because no playbook anywhere declares an input, which is indistinguishable from a
|
|
1075
|
-
// reader that lost the field.
|
|
1076
|
-
writePlaybook(frameworkRoot, {
|
|
1077
|
-
folderName: 'meta-workflows.gates-without-declaring',
|
|
1078
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1079
|
-
preconditions: [{ kind: 'artifact_valid', selector: { family: 'produced-family' } }],
|
|
1080
|
-
inputFamilies: [],
|
|
1081
|
-
});
|
|
1082
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1083
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookReadinessGatedFamilyNotDeclaredAsInput)).toHaveLength(0);
|
|
1084
|
-
});
|
|
1085
|
-
it('FAIL rule 24 — flags a READINESS-gated family the playbook does not declare as an input', () => {
|
|
1086
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule24-gated-'));
|
|
1087
|
-
tempDirs.push(frameworkRoot);
|
|
1088
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1089
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1090
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1091
|
-
writePlaybook(frameworkRoot, {
|
|
1092
|
-
folderName: 'meta-workflows.producer',
|
|
1093
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1094
|
-
outputFamily: 'produced-family',
|
|
1095
|
-
});
|
|
1096
|
-
// Some playbook must declare an input, or this rule's zero-declaration guard suppresses
|
|
1097
|
-
// everything — the same fixture requirement rule 23's producer satisfies for its own guard.
|
|
1098
|
-
// Without it the test would pass for the wrong reason: silence from the guard rather than
|
|
1099
|
-
// from a correctly-declared catalog.
|
|
1100
|
-
writePlaybook(frameworkRoot, {
|
|
1101
|
-
folderName: 'meta-workflows.declares-properly',
|
|
1102
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1103
|
-
preconditions: [{ kind: 'artifact_valid', selector: { family: 'produced-family' } }],
|
|
1104
|
-
inputFamilies: ['produced-family'],
|
|
1105
|
-
});
|
|
1106
|
-
writePlaybook(frameworkRoot, {
|
|
1107
|
-
folderName: 'meta-workflows.gates-without-declaring',
|
|
1108
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1109
|
-
// Gated at READINESS strength, and absent from `inputs[]` — the shape that silently drops the
|
|
1110
|
-
// family out of the derived-staleness comparison.
|
|
1111
|
-
preconditions: [{ kind: 'artifact_valid', selector: { family: 'produced-family' } }],
|
|
1112
|
-
inputFamilies: [],
|
|
1113
|
-
});
|
|
1114
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1115
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookReadinessGatedFamilyNotDeclaredAsInput);
|
|
1116
|
-
expect(findings).toHaveLength(1);
|
|
1117
|
-
expect(findings[0].message).toContain('produced-family');
|
|
1118
|
-
expect(findings[0].message).toContain('artifact_valid');
|
|
1119
|
-
});
|
|
1120
|
-
it('FAIL rule 24 — a DECISION gate reads the family\'s content too, so it must be declared as an input (#1606)', () => {
|
|
1121
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule24-gated-'));
|
|
1122
|
-
tempDirs.push(frameworkRoot);
|
|
1123
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1124
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1125
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1126
|
-
writePlaybook(frameworkRoot, {
|
|
1127
|
-
folderName: 'meta-workflows.producer',
|
|
1128
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1129
|
-
outputFamily: 'produced-family',
|
|
1130
|
-
});
|
|
1131
|
-
// Some playbook must declare an input, or this rule's zero-declaration guard suppresses
|
|
1132
|
-
// everything — the same fixture requirement rule 23's producer satisfies for its own guard.
|
|
1133
|
-
// Without it the test would pass for the wrong reason: silence from the guard rather than
|
|
1134
|
-
// from a correctly-declared catalog.
|
|
1135
|
-
writePlaybook(frameworkRoot, {
|
|
1136
|
-
folderName: 'meta-workflows.declares-properly',
|
|
1137
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1138
|
-
preconditions: [{ kind: 'artifact_valid', selector: { family: 'produced-family' } }],
|
|
1139
|
-
inputFamilies: ['produced-family'],
|
|
1140
|
-
});
|
|
1141
|
-
writePlaybook(frameworkRoot, {
|
|
1142
|
-
folderName: 'meta-workflows.gates-without-declaring',
|
|
1143
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1144
|
-
// Gated at READINESS strength, and absent from `inputs[]` — the shape that silently drops the
|
|
1145
|
-
// family out of the derived-staleness comparison.
|
|
1146
|
-
preconditions: [{ kind: 'artifact_decides', selector: { family: 'produced-family' }, decision: 'add-website', equals: 'NEEDED' }],
|
|
1147
|
-
inputFamilies: [],
|
|
1148
|
-
});
|
|
1149
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1150
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookReadinessGatedFamilyNotDeclaredAsInput);
|
|
1151
|
-
expect(findings).toHaveLength(1);
|
|
1152
|
-
expect(findings[0].message).toContain('produced-family');
|
|
1153
|
-
expect(findings[0].message).toContain('artifact_decides');
|
|
1154
|
-
});
|
|
1155
|
-
it('FAIL rule 24 — stays silent on a SEQUENCING gate, where reading the content is not implied', () => {
|
|
1156
|
-
/*
|
|
1157
|
-
* The calibration pin. `artifact_expected` says "this should come first", and gating on ORDER
|
|
1158
|
-
* without reading CONTENT is legitimate — so requiring the input declaration there would fire on
|
|
1159
|
-
* correct authoring. Widening the rule to every predicate kind reddens exactly this test.
|
|
1160
|
-
*/
|
|
1161
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule24-sequencing-'));
|
|
1162
|
-
tempDirs.push(frameworkRoot);
|
|
1163
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1164
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1165
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1166
|
-
writePlaybook(frameworkRoot, {
|
|
1167
|
-
folderName: 'meta-workflows.producer',
|
|
1168
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1169
|
-
outputFamily: 'produced-family',
|
|
1170
|
-
});
|
|
1171
|
-
writePlaybook(frameworkRoot, {
|
|
1172
|
-
folderName: 'meta-workflows.sequenced',
|
|
1173
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1174
|
-
preconditions: [{ kind: 'artifact_expected', selector: { family: 'produced-family' } }],
|
|
1175
|
-
inputFamilies: [],
|
|
1176
|
-
});
|
|
1177
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1178
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookReadinessGatedFamilyNotDeclaredAsInput)).toHaveLength(0);
|
|
1179
|
-
});
|
|
1180
|
-
it('FAIL rule 24 — stays silent when the gated family IS declared as an input', () => {
|
|
1181
|
-
// Without this, a rule that fired on every readiness gate would still pass the first pin.
|
|
1182
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule24-clean-'));
|
|
1183
|
-
tempDirs.push(frameworkRoot);
|
|
1184
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1185
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1186
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1187
|
-
writePlaybook(frameworkRoot, {
|
|
1188
|
-
folderName: 'meta-workflows.producer',
|
|
1189
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1190
|
-
outputFamily: 'produced-family',
|
|
1191
|
-
});
|
|
1192
|
-
writePlaybook(frameworkRoot, {
|
|
1193
|
-
folderName: 'meta-workflows.declares-what-it-gates',
|
|
1194
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1195
|
-
preconditions: [{ kind: 'artifact_valid', selector: { family: 'produced-family' } }],
|
|
1196
|
-
inputFamilies: ['produced-family'],
|
|
1197
|
-
});
|
|
1198
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1199
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookReadinessGatedFamilyNotDeclaredAsInput)).toHaveLength(0);
|
|
1200
|
-
});
|
|
1201
|
-
/**
|
|
1202
|
-
* Writes a playbook whose preconditions are ENUM REFERENCES rather than string literals — the
|
|
1203
|
-
* TypeScript authoring style eleven of the twenty real playbooks use.
|
|
1204
|
-
*/
|
|
1205
|
-
it('FAIL rule 26 — flags a step gate naming a ref NO playbook returns', () => {
|
|
1206
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule26-dangling-'));
|
|
1207
|
-
tempDirs.push(frameworkRoot);
|
|
1208
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1209
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1210
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1211
|
-
writePlaybook(frameworkRoot, {
|
|
1212
|
-
folderName: 'meta-workflows.returns',
|
|
1213
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1214
|
-
stepOutputs: [{ ref: 'evidence', condensation: 'a brief' }],
|
|
1215
|
-
});
|
|
1216
|
-
writePlaybook(frameworkRoot, {
|
|
1217
|
-
folderName: 'meta-workflows.gates-on-a-typo',
|
|
1218
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1219
|
-
preconditions: [{ kind: 'step_available', ref: 'evidenec' }],
|
|
1220
|
-
});
|
|
1221
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1222
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep);
|
|
1223
|
-
expect(findings).toHaveLength(1);
|
|
1224
|
-
expect(findings[0].message).toContain('evidenec');
|
|
1225
|
-
expect(findings[0].message).toContain('permanently ineligible');
|
|
1226
|
-
});
|
|
1227
|
-
it('WARN rule 26 — flags a VALUE assertion on a step declared with no schemaRef', () => {
|
|
1228
|
-
/*
|
|
1229
|
-
* One layer down, and the same silent shape: an unschema'd step returns whatever the model
|
|
1230
|
-
* produced, so `requires.path` compares against a field nothing guarantees and the gate passes or
|
|
1231
|
-
* fails by accident.
|
|
1232
|
-
*/
|
|
1233
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule26-unschemad-'));
|
|
1234
|
-
tempDirs.push(frameworkRoot);
|
|
1235
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1236
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1237
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1238
|
-
writePlaybook(frameworkRoot, {
|
|
1239
|
-
folderName: 'meta-workflows.returns',
|
|
1240
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1241
|
-
stepOutputs: [{ ref: 'adequacy', condensation: 'a verdict' }],
|
|
1242
|
-
});
|
|
1243
|
-
writePlaybook(frameworkRoot, {
|
|
1244
|
-
folderName: 'meta-workflows.asserts',
|
|
1245
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1246
|
-
preconditions: [{ kind: 'step_available', ref: 'adequacy', requires: { path: 'verdict', equals: 'adequate' } }],
|
|
1247
|
-
});
|
|
1248
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1249
|
-
const finding = findFinding(report.warnings, FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep);
|
|
1250
|
-
expect(finding?.message).toContain('no `schemaRef`');
|
|
1251
|
-
});
|
|
1252
|
-
it('FAIL rule 26 — stays silent on a well-formed step gate, with and without a value assertion', () => {
|
|
1253
|
-
// Without this, a rule that fired on EVERY step gate would still pass both pins above.
|
|
1254
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule26-clean-'));
|
|
1255
|
-
tempDirs.push(frameworkRoot);
|
|
1256
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1257
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1258
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1259
|
-
writePlaybook(frameworkRoot, {
|
|
1260
|
-
folderName: 'meta-workflows.returns',
|
|
1261
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1262
|
-
stepOutputs: [
|
|
1263
|
-
{ ref: 'evidence', condensation: 'a brief' },
|
|
1264
|
-
{ ref: 'adequacy', condensation: 'a verdict', schemaRef: 'saas-specifications:SmokeVerdict' },
|
|
1265
|
-
],
|
|
1266
|
-
});
|
|
1267
|
-
writePlaybook(frameworkRoot, {
|
|
1268
|
-
folderName: 'meta-workflows.gates',
|
|
1269
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1270
|
-
preconditions: [
|
|
1271
|
-
{ kind: 'step_available', ref: 'evidence' },
|
|
1272
|
-
{ kind: 'step_available', ref: 'adequacy', requires: { path: 'verdict', equals: 'adequate' } },
|
|
1273
|
-
],
|
|
1274
|
-
});
|
|
1275
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1276
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep)).toHaveLength(0);
|
|
1277
|
-
});
|
|
1278
|
-
it('FAIL rule 14 (via rules 1/2) — flags {{REFERENCE:<id>}} placeholders inside playbook method bodies', () => {
|
|
1279
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule14-'));
|
|
1280
|
-
tempDirs.push(frameworkRoot);
|
|
1281
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1282
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1283
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1284
|
-
writePlaybook(frameworkRoot, {
|
|
1285
|
-
folderName: 'meta-workflows.smoke',
|
|
1286
|
-
methodBody: '# Method\n\n{{REFERENCE:unknown.playbook.reference}}\n',
|
|
1287
|
-
});
|
|
1288
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1289
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.ReferencePlaceholderToUnknownId);
|
|
1290
|
-
expect(finding).toBeDefined();
|
|
1291
|
-
expect(finding?.message).toContain('unknown.playbook.reference');
|
|
1292
|
-
expect(finding?.location).toContain('method.md');
|
|
1293
|
-
});
|
|
1294
|
-
it('FAIL rule 15 — flags outputs[].schemaRef not matching the pinned <package-short>:<ExportName> vocabulary', () => {
|
|
1295
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule15-schemaref-'));
|
|
1296
|
-
tempDirs.push(frameworkRoot);
|
|
1297
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1298
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1299
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1300
|
-
writePlaybook(frameworkRoot, {
|
|
1301
|
-
folderName: 'meta-workflows.smoke',
|
|
1302
|
-
outputSchemaRefs: [
|
|
1303
|
-
'saas-models:ValidExport',
|
|
1304
|
-
'saas-backend-lib:NotASchemaPackage',
|
|
1305
|
-
'saas-models:kebab-not-allowed',
|
|
1306
|
-
],
|
|
1307
|
-
});
|
|
1308
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1309
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookOutputSchemaRefInvalid);
|
|
1310
|
-
expect(findings).toHaveLength(2);
|
|
1311
|
-
const messages = findings.map((finding) => finding.message).join('\n');
|
|
1312
|
-
expect(messages).toContain('saas-backend-lib:NotASchemaPackage');
|
|
1313
|
-
expect(messages).toContain('saas-models:kebab-not-allowed');
|
|
1314
|
-
expect(messages).not.toContain('"saas-models:ValidExport"');
|
|
1315
|
-
});
|
|
1316
|
-
it('FAIL rule 15 — flags duplicate ref@version identities across playbook folders', () => {
|
|
1317
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule15-dup-'));
|
|
1318
|
-
tempDirs.push(frameworkRoot);
|
|
1319
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1320
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1321
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1322
|
-
writePlaybook(frameworkRoot, { folderName: 'meta-workflows.first', ref: 'meta-workflows.shared' });
|
|
1323
|
-
writePlaybook(frameworkRoot, { folderName: 'meta-workflows.second', ref: 'meta-workflows.shared' });
|
|
1324
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1325
|
-
const duplicates = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookRefVersionDuplicate);
|
|
1326
|
-
expect(duplicates).toHaveLength(1);
|
|
1327
|
-
expect(duplicates[0].message).toContain('meta-workflows.shared@0.1.0');
|
|
1328
|
-
});
|
|
1329
|
-
it('FAIL rule 15 — flags topic-implicit placeholders in playbook method bodies', () => {
|
|
1330
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule15-placeholder-'));
|
|
1331
|
-
tempDirs.push(frameworkRoot);
|
|
1332
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1333
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1334
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1335
|
-
writePlaybook(frameworkRoot, {
|
|
1336
|
-
folderName: 'meta-workflows.smoke',
|
|
1337
|
-
methodBody: '# Method\n\n{{SOURCE_EXCERPTS_LEVEL3}}\n\n{{TITLE}}\n',
|
|
1338
|
-
});
|
|
1339
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1340
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookForbiddenTopicImplicitPlaceholder);
|
|
1341
|
-
expect(findings).toHaveLength(2);
|
|
1342
|
-
const messages = findings.map((finding) => finding.message).join('\n');
|
|
1343
|
-
expect(messages).toContain('{{SOURCE_EXCERPTS_LEVEL3}}');
|
|
1344
|
-
expect(messages).toContain('{{TITLE}}');
|
|
1345
|
-
expect(findings[0].location).toMatch(/method\.md:\d+$/u);
|
|
1346
|
-
});
|
|
1347
|
-
it('FAIL rule 15 — flags folder-contract violations (retired JSON-v1 source, missing method.md, folder-ref mismatch, inline guidance)', () => {
|
|
1348
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule15-contract-'));
|
|
1349
|
-
tempDirs.push(frameworkRoot);
|
|
1350
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1351
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1352
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1353
|
-
writePlaybook(frameworkRoot, {
|
|
1354
|
-
folderName: 'meta-workflows.retired-json',
|
|
1355
|
-
rawJsonContent: '{ "ref": "meta-workflows.retired-json" }',
|
|
1356
|
-
});
|
|
1357
|
-
writePlaybook(frameworkRoot, {
|
|
1358
|
-
folderName: 'meta-workflows.no-method',
|
|
1359
|
-
omitMethodFile: true,
|
|
1360
|
-
});
|
|
1361
|
-
writePlaybook(frameworkRoot, {
|
|
1362
|
-
folderName: 'meta-workflows.mismatch',
|
|
1363
|
-
ref: 'meta-workflows.other',
|
|
1364
|
-
});
|
|
1365
|
-
writePlaybook(frameworkRoot, {
|
|
1366
|
-
folderName: 'meta-workflows.inline-guidance',
|
|
1367
|
-
inlineGuidance: 'inline prose that belongs in method.md',
|
|
1368
|
-
});
|
|
1369
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1370
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation);
|
|
1371
|
-
expect(findings).toHaveLength(4);
|
|
1372
|
-
const messages = findings.map((finding) => finding.message).join('\n');
|
|
1373
|
-
expect(messages).toContain('retired');
|
|
1374
|
-
expect(messages).toContain('method.md');
|
|
1375
|
-
expect(messages).toContain('meta-workflows.other');
|
|
1376
|
-
expect(messages).toContain('method.guidance');
|
|
1377
|
-
});
|
|
1378
|
-
it('accepts a native playbook that omits the superseded evaluation-treatment export', () => {
|
|
1379
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-native-definition-only-'));
|
|
1380
|
-
tempDirs.push(frameworkRoot);
|
|
1381
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1382
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1383
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1384
|
-
const nativeRoot = join(resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredPlaybooksHome, 'bottom_up.native-definition-only');
|
|
1385
|
-
mkdirSync(nativeRoot, { recursive: true });
|
|
1386
|
-
writeFileSync(join(nativeRoot, 'playbook.definition.ts'), [
|
|
1387
|
-
"export const playbookDefinition = { ref: 'bottom_up.native-definition-only', version: '0.1.0', phase: 'bottom_up', intent: 'Native definition fixture.', method: { skillRefs: [] }, outputs: [] } as const;",
|
|
1388
|
-
'',
|
|
1389
|
-
].join('\n'), 'utf8');
|
|
1390
|
-
writeFileSync(join(nativeRoot, 'method.md'), '# Native definition fixture\n', 'utf8');
|
|
1391
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1392
|
-
const contractFindings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation);
|
|
1393
|
-
expect(contractFindings).toEqual([]);
|
|
1394
|
-
});
|
|
1395
|
-
it('FAIL rule 15 — flags every retired playbook.json source regardless of its content (generator↔audit parity)', () => {
|
|
1396
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule15-retired-json-'));
|
|
1397
|
-
tempDirs.push(frameworkRoot);
|
|
1398
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1399
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1400
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1401
|
-
// The JSON-v1 authoring format was retired at the first-activation hard
|
|
1402
|
-
// cut: the generator hard-throws on ANY playbook.json, valid or not, so
|
|
1403
|
-
// the audit must FAIL first (generator↔audit parity) without parsing it.
|
|
1404
|
-
writePlaybook(frameworkRoot, { folderName: 'meta-workflows.null-body', rawJsonContent: 'null\n' });
|
|
1405
|
-
writePlaybook(frameworkRoot, { folderName: 'meta-workflows.array-body', rawJsonContent: '[1, 2, 3]\n' });
|
|
1406
|
-
writePlaybook(frameworkRoot, { folderName: 'meta-workflows.object-body', rawJsonContent: '{ "ref": "meta-workflows.object-body" }\n' });
|
|
1407
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1408
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookFolderContractViolation);
|
|
1409
|
-
expect(findings).toHaveLength(3);
|
|
1410
|
-
for (const finding of findings) {
|
|
1411
|
-
expect(finding.message).toContain('retired');
|
|
1412
|
-
expect(finding.message).toContain('playbook.definition.ts');
|
|
1413
|
-
}
|
|
1414
|
-
});
|
|
1415
|
-
it('FAIL rule 15 — flags EVERY topic-implicit placeholder when several share one line', () => {
|
|
1416
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule15-sameline-'));
|
|
1417
|
-
tempDirs.push(frameworkRoot);
|
|
1418
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1419
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1420
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1421
|
-
writePlaybook(frameworkRoot, {
|
|
1422
|
-
folderName: 'meta-workflows.smoke',
|
|
1423
|
-
methodBody: '# Method\n\n{{TITLE}} next to {{TOPIC_ID}} on one line\n',
|
|
1424
|
-
});
|
|
1425
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1426
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookForbiddenTopicImplicitPlaceholder);
|
|
1427
|
-
expect(findings).toHaveLength(2);
|
|
1428
|
-
const messages = findings.map((finding) => finding.message).join('\n');
|
|
1429
|
-
expect(messages).toContain('{{TITLE}}');
|
|
1430
|
-
expect(messages).toContain('{{TOPIC_ID}}');
|
|
1431
|
-
// Both hits anchor to the same source line.
|
|
1432
|
-
expect(findings[0].location).toBe(findings[1].location);
|
|
1433
|
-
});
|
|
1434
|
-
it('FAIL rule 14 (via rules 1/2) — flags {{REFERENCE:<id>}} placeholders inside the authored skills INDEX.md', () => {
|
|
1435
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-index-reference-'));
|
|
1436
|
-
tempDirs.push(frameworkRoot);
|
|
1437
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1438
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1439
|
-
// The P-24 router fix renders INDEX.md through the same reference
|
|
1440
|
-
// expansion as skill bodies — a bad id here crashes generate-docs.
|
|
1441
|
-
writeIndexCatalog(frameworkRoot, {
|
|
1442
|
-
citedSkillIds: [],
|
|
1443
|
-
extraLines: ['', '{{REFERENCE:unknown.index.reference}}'],
|
|
1444
|
-
});
|
|
1445
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1446
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.ReferencePlaceholderToUnknownId);
|
|
1447
|
-
expect(finding).toBeDefined();
|
|
1448
|
-
expect(finding?.message).toContain('unknown.index.reference');
|
|
1449
|
-
expect(finding?.location).toContain('INDEX.md');
|
|
1450
|
-
});
|
|
1451
|
-
it('FAIL — flags topic-implicit placeholders in the authored skills INDEX.md (verbatim-render lane)', () => {
|
|
1452
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-index-placeholder-'));
|
|
1453
|
-
tempDirs.push(frameworkRoot);
|
|
1454
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1455
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1456
|
-
writeIndexCatalog(frameworkRoot, {
|
|
1457
|
-
citedSkillIds: [],
|
|
1458
|
-
extraLines: ['', '{{SOURCE_EXCERPTS_LEVEL2}}'],
|
|
1459
|
-
});
|
|
1460
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1461
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.SkillsIndexForbiddenTopicImplicitPlaceholder);
|
|
1462
|
-
expect(findings).toHaveLength(1);
|
|
1463
|
-
expect(findings[0].message).toContain('{{SOURCE_EXCERPTS_LEVEL2}}');
|
|
1464
|
-
expect(findings[0].location).toMatch(/INDEX\.md:\d+$/u);
|
|
1465
|
-
});
|
|
1466
|
-
/**
|
|
1467
|
-
* The rules channel was the one compiled artifact kind NO audit rule read (issue #98): an
|
|
1468
|
-
* authored rule could be added, pass a green audit and ship a placeholder verbatim into every
|
|
1469
|
-
* generated application's `.claude/rules/`. Both lanes are pinned here — the verbatim lane
|
|
1470
|
-
* (topic-implicit placeholders, which a rule has no topic to resolve) and the Rules 1/2 lane (a
|
|
1471
|
-
* `{{REFERENCE:<id>}}` naming an unregistered id, which crashes `generate-docs`).
|
|
1472
|
-
*/
|
|
1473
|
-
it('FAIL — flags topic-implicit placeholders in an authored RULE (verbatim-render lane)', () => {
|
|
1474
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule-placeholder-'));
|
|
1475
|
-
tempDirs.push(frameworkRoot);
|
|
1476
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1477
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1478
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1479
|
-
const rulesHome = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredRulesHome;
|
|
1480
|
-
mkdirSync(rulesHome, { recursive: true });
|
|
1481
|
-
writeFileSync(join(rulesHome, 'always-on-policy.md'), ['# Policy', '', '{{SOURCE_EXCERPTS_LEVEL2}}', ''].join('\n'), 'utf8');
|
|
1482
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1483
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.RuleForbiddenTopicImplicitPlaceholder);
|
|
1484
|
-
expect(findings).toHaveLength(1);
|
|
1485
|
-
expect(findings[0].message).toContain('{{SOURCE_EXCERPTS_LEVEL2}}');
|
|
1486
|
-
expect(findings[0].location).toMatch(/always-on-policy\.md:\d+$/u);
|
|
1487
|
-
});
|
|
1488
|
-
it('FAIL — an authored RULE citing an unregistered {{REFERENCE:<id>}} rides rules 1/2', () => {
|
|
1489
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule-reference-'));
|
|
1490
|
-
tempDirs.push(frameworkRoot);
|
|
1491
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1492
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1493
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1494
|
-
const rulesHome = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredRulesHome;
|
|
1495
|
-
mkdirSync(rulesHome, { recursive: true });
|
|
1496
|
-
writeFileSync(join(rulesHome, 'cites-a-ghost.md'), ['# Policy', '', '{{REFERENCE:unknown.rule.reference}}', ''].join('\n'), 'utf8');
|
|
1497
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1498
|
-
const finding = findFinding(report.failures, FrameworkKnowledgeAuditRule.ReferencePlaceholderToUnknownId);
|
|
1499
|
-
expect(finding).toBeDefined();
|
|
1500
|
-
expect(finding?.message).toContain('unknown.rule.reference');
|
|
1501
|
-
expect(finding?.location).toContain('cites-a-ghost.md');
|
|
1502
|
-
});
|
|
1503
|
-
it('stays silent on an authored RULE that uses only the allowed placeholders', () => {
|
|
1504
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule-clean-'));
|
|
1505
|
-
tempDirs.push(frameworkRoot);
|
|
1506
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1507
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1508
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1509
|
-
const rulesHome = resolveFrameworkLayout(frameworkRoot).frameworkKnowledgeAuthoredRulesHome;
|
|
1510
|
-
mkdirSync(rulesHome, { recursive: true });
|
|
1511
|
-
writeFileSync(join(rulesHome, 'ordinary.md'), ['# Policy', '', 'Prose with no placeholder at all.', ''].join('\n'), 'utf8');
|
|
1512
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1513
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.RuleForbiddenTopicImplicitPlaceholder)).toHaveLength(0);
|
|
1514
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.ReferencePlaceholderToUnknownId)).toHaveLength(0);
|
|
1515
|
-
});
|
|
1516
|
-
it('FAIL rule 12 — accepts properly-paired anchors and does not over-fire on multiple closed spans in one file', () => {
|
|
1517
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule12-paired-'));
|
|
1518
|
-
tempDirs.push(frameworkRoot);
|
|
1519
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1520
|
-
writeRegistry(frameworkRoot, { ids: ['saas.models.first', 'saas.models.second'] });
|
|
1521
|
-
// Two anchors in the same file, each properly closed. Rule 12
|
|
1522
|
-
// must stay silent. This guards against a regression where the
|
|
1523
|
-
// open-anchor tracker accidentally treats the second start as
|
|
1524
|
-
// a continuation of the first.
|
|
1525
|
-
const anchorFilePath = join(frameworkRoot, 'engine', 'saas-models', 'src', 'paired.ts');
|
|
1526
|
-
mkdirSync(dirname(anchorFilePath), { recursive: true });
|
|
1527
|
-
writeFileSync(anchorFilePath, [
|
|
1528
|
-
'/** @wildo_source:part:start saas.models.first facet:layer:shared */',
|
|
1529
|
-
'export const first = 1;',
|
|
1530
|
-
'/** @wildo_source:part:end saas.models.first */',
|
|
1531
|
-
'',
|
|
1532
|
-
'/** @wildo_source:part:start saas.models.second facet:layer:shared */',
|
|
1533
|
-
'export const second = 2;',
|
|
1534
|
-
'/** @wildo_source:part:end saas.models.second */',
|
|
1535
|
-
'',
|
|
1536
|
-
].join('\n'), 'utf8');
|
|
1537
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1538
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1539
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.AnchorWithoutEndMarker)).toEqual([]);
|
|
1540
|
-
});
|
|
1541
|
-
/**
|
|
1542
|
-
* Writes the same anchor id into two files, with either identical or
|
|
1543
|
-
* differing bodies, and returns the resulting audit report.
|
|
1544
|
-
*/
|
|
1545
|
-
const auditTwoFilesSharingAnAnchorId = (fixturePrefix, firstBody, secondBody) => {
|
|
1546
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), fixturePrefix));
|
|
1547
|
-
tempDirs.push(frameworkRoot);
|
|
1548
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1549
|
-
writeRegistry(frameworkRoot, { ids: ['saas.models.shared-topic'] });
|
|
1550
|
-
for (const [fileName, body] of [['first.ts', firstBody], ['second.ts', secondBody]]) {
|
|
1551
|
-
const anchorFilePath = join(frameworkRoot, 'engine', 'saas-models', 'src', fileName);
|
|
1552
|
-
mkdirSync(dirname(anchorFilePath), { recursive: true });
|
|
1553
|
-
writeFileSync(anchorFilePath, [
|
|
1554
|
-
'/** @wildo_source:part:start saas.models.shared-topic facet:layer:shared */',
|
|
1555
|
-
body,
|
|
1556
|
-
'/** @wildo_source:part:end saas.models.shared-topic */',
|
|
1557
|
-
'',
|
|
1558
|
-
].join('\n'), 'utf8');
|
|
1559
|
-
}
|
|
1560
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1561
|
-
return FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1562
|
-
};
|
|
1563
|
-
it('FAIL rule 21 — flags one anchor id extracting identical content from two files', () => {
|
|
1564
|
-
const report = auditTwoFilesSharingAnAnchorId('wildo-fwk-audit-rule21-dup-', 'export const shared = 1;', 'export const shared = 1;');
|
|
1565
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.AnchorIdDuplicateSourceContent);
|
|
1566
|
-
expect(findings).toHaveLength(1);
|
|
1567
|
-
expect(findings[0].severity).toBe(FrameworkKnowledgeAuditSeverity.Fail);
|
|
1568
|
-
expect(findings[0].message).toContain('saas.models.shared-topic');
|
|
1569
|
-
expect(findings[0].message).toContain('first.ts');
|
|
1570
|
-
expect(findings[0].message).toContain('second.ts');
|
|
1571
|
-
});
|
|
1572
|
-
/**
|
|
1573
|
-
* The load-bearing negative. Accumulating ONE id across several files is a
|
|
1574
|
-
* documented authoring pattern (`zod.decorators.file-schema` spans two
|
|
1575
|
-
* sources; `example.resource.add-field.priority-enum` spans a schema and its
|
|
1576
|
-
* enum file). Rule 21 keys on identical CONTENT precisely so those stay
|
|
1577
|
-
* legal — if this test ever fails, the rule has been rewritten as a file-count
|
|
1578
|
-
* check and will block valid authoring.
|
|
1579
|
-
*/
|
|
1580
|
-
it('rule 21 — stays silent when one id spans several files with DIFFERENT content', () => {
|
|
1581
|
-
const report = auditTwoFilesSharingAnAnchorId('wildo-fwk-audit-rule21-accumulate-', 'export const shared = 1;', 'export const alsoShared = 2;');
|
|
1582
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.AnchorIdDuplicateSourceContent)).toEqual([]);
|
|
1583
|
-
});
|
|
1584
|
-
});
|
|
1585
|
-
describe('rule 28 — {{CONTEXT_SOURCE:…}} placeholders join promise to declaration', () => {
|
|
1586
|
-
it('is SILENT when the placeholder names a declared member', () => {
|
|
1587
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule28-clean-'));
|
|
1588
|
-
tempDirs.push(frameworkRoot);
|
|
1589
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1590
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1591
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1592
|
-
writePlaybook(frameworkRoot, {
|
|
1593
|
-
folderName: 'meta-workflows.declares-and-uses',
|
|
1594
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1595
|
-
contextSources: ['skill_catalog'],
|
|
1596
|
-
methodBody: '# Method\n\nRoute through {{CONTEXT_SOURCE:skill_catalog}}; do not invent.\n',
|
|
1597
|
-
});
|
|
1598
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1599
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookContextSourcePlaceholderInvalid)).toHaveLength(0);
|
|
1600
|
-
});
|
|
1601
|
-
it('FAILS a placeholder whose member the playbook does not declare — the promise the brief would never keep', () => {
|
|
1602
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule28-undeclared-'));
|
|
1603
|
-
tempDirs.push(frameworkRoot);
|
|
1604
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1605
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1606
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1607
|
-
writePlaybook(frameworkRoot, {
|
|
1608
|
-
folderName: 'meta-workflows.uses-undeclared',
|
|
1609
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1610
|
-
contextSources: [],
|
|
1611
|
-
methodBody: '# Method\n\nRoute through {{CONTEXT_SOURCE:skill_catalog}}.\n',
|
|
1612
|
-
});
|
|
1613
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1614
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookContextSourcePlaceholderInvalid);
|
|
1615
|
-
expect(findings).toHaveLength(1);
|
|
1616
|
-
expect(findings[0].message).toContain('without declaring "skill_catalog"');
|
|
1617
|
-
expect(findings[0].location).toMatch(/method\.md:3$/);
|
|
1618
|
-
});
|
|
1619
|
-
it('FAILS a placeholder naming no enum member at all, and lists the valid ones', () => {
|
|
1620
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), 'wildo-fwk-audit-rule28-unknown-'));
|
|
1621
|
-
tempDirs.push(frameworkRoot);
|
|
1622
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1623
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1624
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1625
|
-
writePlaybook(frameworkRoot, {
|
|
1626
|
-
folderName: 'meta-workflows.uses-unknown',
|
|
1627
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1628
|
-
contextSources: ['skill_catalog'],
|
|
1629
|
-
methodBody: '# Method\n\nRead {{CONTEXT_SOURCE:sekret_catalog}}.\n',
|
|
1630
|
-
});
|
|
1631
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1632
|
-
const findings = findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookContextSourcePlaceholderInvalid);
|
|
1633
|
-
expect(findings).toHaveLength(1);
|
|
1634
|
-
expect(findings[0].message).toContain('no MetaWorkflow_ContextSource member');
|
|
1635
|
-
expect(findings[0].message).toContain('skill_catalog, workspace_truth');
|
|
1636
|
-
});
|
|
1637
|
-
});
|
|
1638
|
-
describe('rule 26 — the DERIVED judge-verdict half of the step-ref namespace (#1498)', () => {
|
|
1639
|
-
/*
|
|
1640
|
-
* A leaf's advisory verdict is readable as `judge:<playbookRef>` and NO playbook declares it in
|
|
1641
|
-
* `stepOutputs[]`, because the runtime derives it after the leaf lands. Checked against declared
|
|
1642
|
-
* steps alone, every such gate was a FAIL telling the author to "declare it on the playbook that
|
|
1643
|
-
* should produce it" — which is not the fix and cannot be done, so the mechanism could not be
|
|
1644
|
-
* adopted without reddening CI. What replaces the declaration check is stronger, and these four
|
|
1645
|
-
* fixtures are what make that claim checkable rather than asserted.
|
|
1646
|
-
*/
|
|
1647
|
-
function scaffold(name) {
|
|
1648
|
-
const frameworkRoot = mkdtempSync(join(tmpdir(), `wildo-fwk-audit-${name}-`));
|
|
1649
|
-
tempDirs.push(frameworkRoot);
|
|
1650
|
-
setupFrameworkScaffold(frameworkRoot);
|
|
1651
|
-
writeRegistry(frameworkRoot, { ids: [] });
|
|
1652
|
-
writeIndexCatalog(frameworkRoot, { citedSkillIds: [] });
|
|
1653
|
-
// Rule 26 says nothing at all when the catalog declares NO step; one real declarer keeps it live.
|
|
1654
|
-
writePlaybook(frameworkRoot, {
|
|
1655
|
-
folderName: 'meta-workflows.returns',
|
|
1656
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1657
|
-
stepOutputs: [{ ref: 'evidence', condensation: 'a brief' }],
|
|
1658
|
-
});
|
|
1659
|
-
return frameworkRoot;
|
|
1660
|
-
}
|
|
1661
|
-
it('ACCEPTS a gate on the verdict of a playbook that declares a treatment — the shape a lane author writes', () => {
|
|
1662
|
-
const frameworkRoot = scaffold('rule26-judge-ok');
|
|
1663
|
-
writePlaybook(frameworkRoot, {
|
|
1664
|
-
folderName: 'meta-workflows.judged',
|
|
1665
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1666
|
-
declaresEvaluationTreatment: true,
|
|
1667
|
-
});
|
|
1668
|
-
writePlaybook(frameworkRoot, {
|
|
1669
|
-
folderName: 'meta-workflows.revise',
|
|
1670
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1671
|
-
preconditions: [{ kind: 'step_available', ref: 'judge:meta-workflows.judged', requires: { path: 'criteria.fixture:criterion/a', equals: 'GAP' } }],
|
|
1672
|
-
});
|
|
1673
|
-
writePlaybook(frameworkRoot, {
|
|
1674
|
-
folderName: 'meta-workflows.next',
|
|
1675
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1676
|
-
preconditions: [{ kind: 'step_available', ref: 'judge:meta-workflows.judged', requires: { path: 'overall', equals: 'PASS' } }],
|
|
1677
|
-
});
|
|
1678
|
-
const report = FrameworkKnowledgeAuditService.audit(frameworkRoot);
|
|
1679
|
-
expect(findFindings(report.failures, FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep)).toHaveLength(0);
|
|
1680
|
-
// And no WARN either: the verdict's shape is fixed by the runtime, so the "no schemaRef" half
|
|
1681
|
-
// must not fire on it — that warning is about a step whose value nothing guarantees.
|
|
1682
|
-
expect(findFindings(report.warnings, FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep)).toHaveLength(0);
|
|
1683
|
-
});
|
|
1684
|
-
it('FAILS when the suffix names no playbook — the typo this rule exists for, at its real cause', () => {
|
|
1685
|
-
const frameworkRoot = scaffold('rule26-judge-typo');
|
|
1686
|
-
writePlaybook(frameworkRoot, {
|
|
1687
|
-
folderName: 'meta-workflows.revise',
|
|
1688
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1689
|
-
preconditions: [{ kind: 'step_available', ref: 'judge:meta-workflows.nosuch' }],
|
|
1690
|
-
});
|
|
1691
|
-
const findings = findFindings(FrameworkKnowledgeAuditService.audit(frameworkRoot).failures, FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep);
|
|
1692
|
-
expect(findings).toHaveLength(1);
|
|
1693
|
-
expect(findings[0].message).toContain('meta-workflows.nosuch');
|
|
1694
|
-
expect(findings[0].message).toContain('not a playbook in this catalog');
|
|
1695
|
-
});
|
|
1696
|
-
it('FAILS when the judged playbook declares NO treatment — the silent one: no judge runs, so no verdict is ever written', () => {
|
|
1697
|
-
const frameworkRoot = scaffold('rule26-judge-untreated');
|
|
1698
|
-
writePlaybook(frameworkRoot, {
|
|
1699
|
-
folderName: 'meta-workflows.unjudged',
|
|
1700
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1701
|
-
declaresEvaluationTreatment: false,
|
|
1702
|
-
});
|
|
1703
|
-
writePlaybook(frameworkRoot, {
|
|
1704
|
-
folderName: 'meta-workflows.revise',
|
|
1705
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1706
|
-
preconditions: [{ kind: 'step_available', ref: 'judge:meta-workflows.unjudged', requires: { path: 'overall', equals: 'PASS' } }],
|
|
1707
|
-
});
|
|
1708
|
-
const findings = findFindings(FrameworkKnowledgeAuditService.audit(frameworkRoot).failures, FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep);
|
|
1709
|
-
expect(findings).toHaveLength(1);
|
|
1710
|
-
expect(findings[0].message).toContain('evaluationTreatmentSource');
|
|
1711
|
-
expect(findings[0].message).toContain('never be satisfied');
|
|
1712
|
-
});
|
|
1713
|
-
it('FAILS on a path the verdict does not carry — `verdict` is the adequacy shape, not the judge shape', () => {
|
|
1714
|
-
const frameworkRoot = scaffold('rule26-judge-path');
|
|
1715
|
-
writePlaybook(frameworkRoot, {
|
|
1716
|
-
folderName: 'meta-workflows.judged',
|
|
1717
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1718
|
-
declaresEvaluationTreatment: true,
|
|
1719
|
-
});
|
|
1720
|
-
writePlaybook(frameworkRoot, {
|
|
1721
|
-
folderName: 'meta-workflows.revise',
|
|
1722
|
-
outputSchemaRefs: ['saas-specifications:SmokeArtifact'],
|
|
1723
|
-
preconditions: [{ kind: 'step_available', ref: 'judge:meta-workflows.judged', requires: { path: 'verdict', equals: 'GAP' } }],
|
|
1724
|
-
});
|
|
1725
|
-
const findings = findFindings(FrameworkKnowledgeAuditService.audit(frameworkRoot).failures, FrameworkKnowledgeAuditRule.PlaybookStepGateNamesNoDeclaredStep);
|
|
1726
|
-
expect(findings).toHaveLength(1);
|
|
1727
|
-
expect(findings[0].message).toContain('requires.path: "verdict"');
|
|
1728
|
-
expect(findings[0].message).toContain('criteria.<criterionRef>');
|
|
1729
|
-
});
|
|
1730
|
-
});
|
|
1731
|
-
//# sourceMappingURL=framework-knowledge-audit.service.test.js.map
|