checkwright 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +687 -90
- package/lib/common/lock.sh +38 -9
- package/lib/common/profile.sh +33 -0
- package/lib/common/recipe.sh +49 -33
- package/lib/diff.sh +64 -0
- package/lib/doctor.sh +67 -42
- package/lib/init.sh +23 -31
- package/lib/uninstall.sh +212 -0
- package/lib/update.sh +34 -0
- package/package.json +2 -2
- package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates +0 -0
- package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
- package/payload/canon-kit/README.md +1 -0
- package/payload/canon-kit/SPEC.md +410 -58
- package/payload/canon-kit/checks/check-amendment-queue.sh +1 -0
- package/payload/canon-kit/checks/check-comment-tier.gate +3 -0
- package/payload/canon-kit/checks/check-deprecation-task.gate +3 -0
- package/payload/canon-kit/checks/check-docs-cmd.gate +3 -0
- package/payload/canon-kit/checks/check-docs-link-convention.sh +1 -0
- package/payload/canon-kit/checks/check-install-claim.gate +3 -0
- package/payload/canon-kit/checks/check-knob-citation.gate +3 -0
- package/payload/canon-kit/checks/check-knob-default-coupling.sh +1 -0
- package/payload/canon-kit/checks/check-manifest-count.gate +3 -0
- package/payload/canon-kit/checks/check-manifest-temporal.gate +3 -0
- package/payload/canon-kit/checks/check-md-refs.gate +3 -0
- package/payload/canon-kit/checks/check-measured-claim.gate +3 -0
- package/payload/canon-kit/checks/check-payload-claim.gate +3 -0
- package/payload/canon-kit/checks/check-prose-enum.gate +3 -0
- package/payload/canon-kit/checks/check-prose-tells.sh +1 -0
- package/payload/canon-kit/checks/check-spec-derivable-section.gate +3 -0
- package/payload/canon-kit/checks/check-spec-dod-singleton.gate +3 -0
- package/payload/canon-kit/checks/check-spec-embedded-source.sh +1 -0
- package/payload/canon-kit/checks/check-spec-fence-balance.gate +3 -0
- package/payload/canon-kit/checks/check-spec-pointer.gate +3 -0
- package/payload/canon-kit/checks/check-surface-duplication.sh +1 -0
- package/payload/canon-kit/checks/check-todo-task-liveness.gate +3 -0
- package/payload/canon-kit/checks/check-tracking-claim.gate +3 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/.workflow/fixture-state.txt +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/bad.gate +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/bad.rs +5 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/expect.txt +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/templates/bad-tmpl.sh +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-comment-tier/good/good.gate +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/good.rs +5 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/templates/good-tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-comment-tier.test.sh +3 -2
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/bad.gate +2 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/bad.rs +4 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/scripts/canon-config.sh +6 -5
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/good.gate +2 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/good.rs +4 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/scripts/canon-config.sh +6 -5
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task.test.sh +4 -3
- package/payload/canon-kit/gate-tests/check-knob-citation.test.sh +2 -2
- package/payload/canon-kit/gate-tests/check-manifest-count/good/SPEC.md +4 -0
- package/payload/canon-kit/gate-tests/check-manifest-count.test.sh +27 -5
- package/payload/canon-kit/gate-tests/check-md-refs.test.sh +61 -9
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/SPEC.md +12 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/scripts/canon-config.sh +6 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/good/SPEC.md +23 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/good/scripts/canon-config.sh +6 -0
- package/payload/canon-kit/gate-tests/check-measured-claim.test.sh +90 -0
- package/payload/canon-kit/gate-tests/check-prose-enum.test.sh +3 -3
- package/payload/canon-kit/gate-tests/check-spec-dod-singleton.test.sh +21 -7
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/.workflow/fixture-state.txt +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/bad.gate +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/bad.rs +4 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/.workflow/fixture-state.txt +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/good.gate +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/good.rs +4 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/bad.gate +2 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/bad.rs +4 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/good.gate +2 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/good.rs +4 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-tracking-claim.test.sh +1 -2
- package/payload/canon-kit/lib/spec.sh +91 -62
- package/payload/canon-kit/smoke/install.sh +1 -0
- package/payload/canon-kit/templates/SPEC-amendment.md +4 -1
- package/payload/context-kit/README.md +4 -1
- package/payload/context-kit/SPEC.md +143 -10
- package/payload/context-kit/bin/env-probe.sh +19 -6
- package/payload/context-kit/checks/check-brevity.sh +1 -0
- package/payload/context-kit/checks/check-footprint-fresh.sh +1 -0
- package/payload/context-kit/checks/check-memory-off.sh +1 -0
- package/payload/context-kit/checks/check-settings-paths.sh +94 -0
- package/payload/context-kit/checks/check-settings-pins.sh +1 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/args +1 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/expect.txt +3 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/settings.json +12 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/tools/real-tool.sh +4 -0
- package/payload/context-kit/gate-tests/check-settings-paths/good/args +1 -0
- package/payload/context-kit/gate-tests/check-settings-paths/good/expect.txt +1 -0
- package/payload/context-kit/gate-tests/check-settings-paths/good/settings.json +16 -0
- package/payload/context-kit/gate-tests/check-settings-paths/good/tools/real-tool.sh +4 -0
- package/payload/context-kit/index-tests/expected/toolfloor.txt +9 -0
- package/payload/context-kit/index-tests/toolfloor-cases.sh +20 -0
- package/payload/context-kit/lib/toolfloor.sh +15 -4
- package/payload/context-kit/smoke/agents-md.sh +12 -1
- package/payload/context-kit/smoke/install.sh +1 -0
- package/payload/delegation-kit/README.md +3 -3
- package/payload/delegation-kit/SPEC.md +116 -13
- package/payload/delegation-kit/checks/check-agent-tier-explicit.sh +1 -0
- package/payload/delegation-kit/checks/check-gate-tamper.sh +1 -0
- package/payload/delegation-kit/checks/check-rule-citation.sh +1 -0
- package/payload/delegation-kit/templates/agent-execution.md +38 -14
- package/payload/delegation-kit/templates/statusline-usage.sh +23 -1
- package/payload/doctrine-kit/DOCTRINE.md +86 -12
- package/payload/doctrine-kit/README.md +7 -3
- package/payload/doctrine-kit/SPEC.md +102 -9
- package/payload/doctrine-kit/bin/install-doctrine.sh +83 -13
- package/payload/doctrine-kit/checks/check-doctrine-registration.sh +41 -11
- package/payload/doctrine-kit/gate-tests/check-doctrine-registration/bad/DOCTRINE.md +3 -0
- package/payload/doctrine-kit/gate-tests/check-doctrine-registration/good/DOCTRINE.md +3 -0
- package/payload/doctrine-kit/gate-tests/check-doctrine-registration.test.sh +82 -2
- package/payload/doctrine-kit/smoke/install.sh +90 -0
- package/payload/drift-kit/SPEC.md +13 -4
- package/payload/drift-kit/bin/kfric.sh +21 -2
- package/payload/drift-kit/smoke/install.sh +28 -0
- package/payload/evidence-kit/checks/check-battery-roster.sh +1 -0
- package/payload/evidence-kit/checks/check-evidence-baseline.sh +1 -0
- package/payload/evidence-kit/checks/check-evidence-manifest.sh +1 -0
- package/payload/evidence-kit/checks/check-producer-liveness.sh +1 -0
- package/payload/gate-sdk/README.md +13 -0
- package/payload/gate-sdk/SPEC.md +2611 -151
- package/payload/gate-sdk/bin/build-native.sh +38 -0
- package/payload/gate-sdk/bin/enforcement-map.sh +2 -1
- package/payload/gate-sdk/bin/gen-pre-commit.sh +23 -3
- package/payload/gate-sdk/bin/port-blockers.sh +445 -0
- package/payload/gate-sdk/bin/run-consumer-smoke.sh +8 -1
- package/payload/gate-sdk/bin/run-gate-tests.sh +26 -5
- package/payload/gate-sdk/bin/run-gates.sh +8 -2
- package/payload/gate-sdk/bin/upgrade-smoke.sh +52 -4
- package/payload/gate-sdk/checks/check-action-gh-repo.gate +1 -0
- package/payload/gate-sdk/checks/check-action-pinning.gate +1 -0
- package/payload/gate-sdk/checks/check-action-run-shell.sh +1 -0
- package/payload/gate-sdk/checks/check-assertion-strength.gate +3 -0
- package/payload/gate-sdk/checks/check-commit-msg.sh +1 -0
- package/payload/gate-sdk/checks/check-commit-subject.sh +1 -0
- package/payload/gate-sdk/checks/check-core-files.sh +1 -0
- package/payload/gate-sdk/checks/check-crate-arms.sh +61 -0
- package/payload/gate-sdk/checks/check-enforcement-fresh.sh +1 -0
- package/payload/gate-sdk/checks/check-exec-bit.sh +1 -0
- package/payload/gate-sdk/checks/check-gate-assertions.sh +31 -6
- package/payload/gate-sdk/checks/check-gate-binary-fresh.sh +2 -1
- package/payload/gate-sdk/checks/check-gate-exemption-tasks.sh +1 -0
- package/payload/gate-sdk/checks/check-gate-fail-closed.sh +1 -0
- package/payload/gate-sdk/checks/check-gate-fixture-coverage.sh +1 -0
- package/payload/gate-sdk/checks/check-gate-output.sh +33 -3
- package/payload/gate-sdk/checks/check-gate-substrate-parity.sh +36 -5
- package/payload/gate-sdk/checks/check-graph.sh +1 -0
- package/payload/gate-sdk/checks/check-hook-exec-bit.sh +1 -0
- package/payload/gate-sdk/checks/check-identity.sh +1 -0
- package/payload/gate-sdk/checks/check-install-disposition.sh +92 -0
- package/payload/gate-sdk/checks/check-kit-enum.sh +1 -0
- package/payload/gate-sdk/checks/check-kit-registration.gate +3 -0
- package/payload/gate-sdk/checks/check-readme-roster.sh +1 -0
- package/payload/gate-sdk/checks/check-reads-couples.sh +3 -2
- package/payload/gate-sdk/checks/check-root-tiering.sh +1 -0
- package/payload/gate-sdk/checks/check-shellcheck.sh +1 -0
- package/payload/gate-sdk/checks/check-smoke-entry-guard.gate +3 -0
- package/payload/gate-sdk/checks/check-template-copy-parity.sh +1 -0
- package/payload/gate-sdk/checks/check-template-registry-parity.gate +3 -0
- package/payload/gate-sdk/checks/check-test-hermetic.gate +3 -0
- package/payload/gate-sdk/checks/check-tree-terms.sh +1 -0
- package/payload/gate-sdk/checks/check-workflow-tiering.sh +2 -1
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/crate/Cargo.toml +7 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/crate/src/lib.rs +12 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/expect.txt +5 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/scripts/gate-sdk-config.sh +2 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/Cargo.toml +7 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/src/lib.rs +11 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/scripts/gate-sdk-config.sh +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-assertions/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-gate-output/bad/check-native-sample.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/bad/expect.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/bad/gates.list +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/bad/native/Cargo.toml +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/bad/native/src/gates/native_sample.rs +7 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/good/check-native-sample.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-gate-output/good/gates.list +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/good/native/Cargo.toml +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/good/native/src/gates/native_sample.rs +11 -0
- package/payload/gate-sdk/gate-tests/check-gate-output.test.sh +111 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity.test.sh +65 -4
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-alpha.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-delta.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-epsilon.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/smoke/install.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/args +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/installer/lib/common/recipe.sh +9 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/scripts/gate-sdk-config.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-alpha.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-beta.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-gamma.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/smoke/install.sh +8 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/args +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/installer/lib/common/recipe.sh +10 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/scripts/gate-sdk-config.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-kit-registration.test.sh +6 -5
- package/payload/gate-sdk/gate-tests/check-test-hermetic-smoke.test.sh +2 -3
- package/payload/gate-sdk/gate-tests/lib-gate.test.sh +111 -1
- package/payload/gate-sdk/gate-tests/run-dispatch-streams.test.sh +73 -0
- package/payload/gate-sdk/lib/consumer-smoke.sh +24 -12
- package/payload/gate-sdk/lib/gate.sh +135 -11
- package/payload/gate-sdk/lib/inject.sh +25 -0
- package/payload/gate-sdk/lib/test-hermetic.sh +26 -0
- package/payload/gate-sdk/smoke/install.sh +42 -0
- package/payload/guard-kit/README.md +14 -11
- package/payload/guard-kit/SPEC.md +278 -62
- package/payload/guard-kit/bin/run-guard-tests.sh +1 -0
- package/payload/guard-kit/gate-tests/guard-read-path.test.sh +52 -0
- package/payload/guard-kit/guard-tests/cases.tsv +49 -7
- package/payload/guard-kit/lib/guard.sh +276 -54
- package/payload/guard-kit/templates/close-triage.md +5 -5
- package/payload/guard-kit/templates/settings-hooks.json +7 -1
- package/payload/lifecycle-kit/README.md +11 -1
- package/payload/lifecycle-kit/SPEC.md +441 -37
- package/payload/lifecycle-kit/bin/cite-survey.sh +81 -0
- package/payload/lifecycle-kit/bin/enter-stage.sh +126 -10
- package/payload/lifecycle-kit/bin/file-gap.sh +27 -10
- package/payload/lifecycle-kit/bin/file-survey.sh +21 -2
- package/payload/lifecycle-kit/checks/check-close-surfaces.sh +1 -0
- package/payload/lifecycle-kit/checks/check-gap-inbox-neutrality.gate +3 -0
- package/payload/lifecycle-kit/checks/check-lesson-disposition.gate +3 -0
- package/payload/lifecycle-kit/checks/check-lifecycle-registration.gate +3 -0
- package/payload/lifecycle-kit/checks/check-merge-attrs.gate +3 -0
- package/payload/lifecycle-kit/checks/check-scratch-citation.gate +3 -0
- package/payload/lifecycle-kit/checks/check-shim-restatement.gate +3 -0
- package/payload/lifecycle-kit/checks/check-skill-binding.gate +3 -0
- package/payload/lifecycle-kit/checks/check-stage-entry.sh +1 -0
- package/payload/lifecycle-kit/checks/check-stage-evidence.gate +3 -0
- package/payload/lifecycle-kit/checks/check-stage-skill-coverage.gate +3 -0
- package/payload/lifecycle-kit/checks/check-survey-record.gate +3 -0
- package/payload/lifecycle-kit/gate-tests/check-close-surfaces.test.sh +1 -2
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/args +2 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/expect.txt +3 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/gap-inbox.md +5 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/good/args +2 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/good/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/good/gap-inbox.md +4 -0
- package/payload/lifecycle-kit/gate-tests/check-lesson-disposition.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-lifecycle-registration.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-merge-attrs.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/scripts/lifecycle-config.sh +4 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/surfaces/queue.md +13 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/scripts/lifecycle-config.sh +4 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/surfaces/queue.md +31 -0
- package/payload/lifecycle-kit/gate-tests/check-shim-restatement.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-skill-binding.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-stage-entry.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-stage-evidence.test.sh +9 -5
- package/payload/lifecycle-kit/gate-tests/check-survey-record.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/file-gap-recurrence.test.sh +54 -26
- package/payload/lifecycle-kit/gate-tests/rename-iteration.test.sh +142 -0
- package/payload/lifecycle-kit/gate-tests/workflow-state-guard.test.sh +100 -0
- package/payload/lifecycle-kit/lib/stages.sh +4 -0
- package/payload/lifecycle-kit/smoke/install.sh +67 -4
- package/payload/lifecycle-kit/templates/lead.md +36 -0
- package/payload/lifecycle-kit/templates/stages/close.md +30 -11
- package/payload/lifecycle-kit/templates/stages/scope.md +9 -4
- package/payload/lifecycle-kit/templates/stages/spec.md +5 -1
- package/payload/lifecycle-kit/templates/workflow-state-guard.sh +29 -0
- package/payload/queue-kit/README.md +3 -1
- package/payload/queue-kit/SPEC.md +123 -3
- package/payload/queue-kit/bin/queue-counts.sh +35 -0
- package/payload/queue-kit/checks/check-queue-entry-budget.gate +3 -0
- package/payload/queue-kit/checks/check-queue-hygiene.gate +3 -0
- package/payload/queue-kit/checks/check-queue-prose-precondition.sh +1 -0
- package/payload/queue-kit/checks/check-queue-sections.gate +3 -0
- package/payload/queue-kit/checks/check-queue-slug-liveness.gate +3 -0
- package/payload/queue-kit/checks/check-queue-wrap.gate +3 -0
- package/payload/queue-kit/checks/check-roadmap-fresh.sh +1 -0
- package/payload/queue-kit/checks/check-tag-lead-line.gate +3 -0
- package/payload/queue-kit/checks/check-task-conservation.gate +4 -0
- package/payload/queue-kit/checks/check-task-names.gate +3 -0
- package/payload/queue-kit/gate-tests/queue-counts.test.sh +116 -0
- package/payload/queue-kit/gate-tests/queue-lib-parity.test.sh +215 -0
- package/payload/queue-kit/lib/queue.sh +4 -19
- package/payload/site-kit/SPEC.md +23 -0
- package/payload/site-kit/checks/check-docs-cname-parity.sh +1 -0
- package/payload/site-kit/checks/check-docs-render-fidelity.sh +1 -0
- package/profiles.list +36 -8
- package/payload/canon-kit/checks/check-comment-tier.sh +0 -216
- package/payload/canon-kit/checks/check-deprecation-task.sh +0 -90
- package/payload/canon-kit/checks/check-docs-cmd.sh +0 -153
- package/payload/canon-kit/checks/check-install-claim.sh +0 -146
- package/payload/canon-kit/checks/check-knob-citation.sh +0 -117
- package/payload/canon-kit/checks/check-manifest-count.sh +0 -46
- package/payload/canon-kit/checks/check-manifest-temporal.sh +0 -83
- package/payload/canon-kit/checks/check-md-refs.sh +0 -128
- package/payload/canon-kit/checks/check-payload-claim.sh +0 -133
- package/payload/canon-kit/checks/check-prose-enum.sh +0 -115
- package/payload/canon-kit/checks/check-spec-derivable-section.sh +0 -69
- package/payload/canon-kit/checks/check-spec-dod-singleton.sh +0 -45
- package/payload/canon-kit/checks/check-spec-fence-balance.sh +0 -42
- package/payload/canon-kit/checks/check-spec-pointer.sh +0 -187
- package/payload/canon-kit/checks/check-todo-task-liveness.sh +0 -80
- package/payload/canon-kit/checks/check-tracking-claim.sh +0 -136
- package/payload/gate-sdk/checks/check-assertion-strength.sh +0 -134
- package/payload/gate-sdk/checks/check-kit-registration.sh +0 -68
- package/payload/gate-sdk/checks/check-smoke-entry-guard.sh +0 -53
- package/payload/gate-sdk/checks/check-template-registry-parity.sh +0 -81
- package/payload/gate-sdk/checks/check-test-hermetic.sh +0 -119
- package/payload/lifecycle-kit/checks/check-lesson-disposition.sh +0 -98
- package/payload/lifecycle-kit/checks/check-lifecycle-registration.sh +0 -54
- package/payload/lifecycle-kit/checks/check-merge-attrs.sh +0 -69
- package/payload/lifecycle-kit/checks/check-shim-restatement.sh +0 -97
- package/payload/lifecycle-kit/checks/check-skill-binding.sh +0 -59
- package/payload/lifecycle-kit/checks/check-stage-evidence.sh +0 -81
- package/payload/lifecycle-kit/checks/check-stage-skill-coverage.sh +0 -47
- package/payload/lifecycle-kit/checks/check-survey-record.sh +0 -102
- package/payload/queue-kit/checks/check-queue-entry-budget.sh +0 -106
- package/payload/queue-kit/checks/check-queue-hygiene.sh +0 -81
- package/payload/queue-kit/checks/check-queue-sections.sh +0 -44
- package/payload/queue-kit/checks/check-queue-slug-liveness.sh +0 -63
- package/payload/queue-kit/checks/check-queue-wrap.sh +0 -56
- package/payload/queue-kit/checks/check-tag-lead-line.sh +0 -70
- package/payload/queue-kit/checks/check-task-conservation.sh +0 -50
- package/payload/queue-kit/checks/check-task-names.sh +0 -128
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Queue — the clean forms, copied from live entries that name the record as a subject
|
|
2
|
+
|
|
3
|
+
- **naming-as-subject-one** — the record is the sentence's subject, not a promise of retrievable content.
|
|
4
|
+
A superseded block sits beside its superseder with no visible difference.
|
|
5
|
+
`.workflow/survey-record.md`'s stage-entry read trigger advertises every block for a
|
|
6
|
+
reader who cannot tell which one is live.
|
|
7
|
+
|
|
8
|
+
- **naming-as-subject-two** — same shape, path opening a wrapped continuation line after a full stop.
|
|
9
|
+
The selector answered the wrong term, so the ruling failed on both terms.
|
|
10
|
+
`.workflow/survey-record.md` was wrong twice in one iteration, and both firings were found late.
|
|
11
|
+
|
|
12
|
+
- **naming-as-subject-three** — mid-sentence mention after a full stop on one physical line.
|
|
13
|
+
A liveness scan reads the surface only for emptiness or a bullet count. `.workflow/survey-record.md`
|
|
14
|
+
does both, which is why the count alone proves nothing.
|
|
15
|
+
|
|
16
|
+
- **naming-as-subject-four** — the record's purpose stated, still no retrieval promise.
|
|
17
|
+
The mechanism claimed more than it held and was wrong three times in one iteration.
|
|
18
|
+
`.workflow/survey-record.md` exists so a later stage need not re-derive a survey,
|
|
19
|
+
which is a reason to keep it rather than a place to send a reader.
|
|
20
|
+
|
|
21
|
+
- **prepositional-mention** — a path introduced by a preposition, never by a colon.
|
|
22
|
+
The stage cursor has exactly one source, the last stamp in
|
|
23
|
+
`.workflow/WORKFLOW-STATE.txt`, and stage motion never writes the queue.
|
|
24
|
+
|
|
25
|
+
- **non-member-after-colon** — a colon-introduced pointer at a surface outside the truncated set stays clean.
|
|
26
|
+
The pattern is already shipped:
|
|
27
|
+
`.workflow/audit-roster.txt` is a tracked roster with its own liveness rules.
|
|
28
|
+
|
|
29
|
+
- **exempt-dead-citation** — the escape hatch: a surface quoting a dead citation verbatim in order to
|
|
30
|
+
describe it. scratch-citation-exempt: this entry documents the defect and must quote it
|
|
31
|
+
`prose-profile` ended "Full finding and its two-command witness: `.workflow/survey-record.md`".
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# Behavioral test of
|
|
2
|
+
# Behavioral test of check-shim-restatement — the scenarios the one
|
|
3
3
|
# good/bad pair cannot hold. The pair covers the plain restatement/clean split;
|
|
4
4
|
# this drives: a shim with no binding directive is skipped (not a shim), a
|
|
5
5
|
# resolved corpus that yields no n-grams is fail-closed (never a false clean —
|
|
@@ -11,7 +11,6 @@ set -uo pipefail
|
|
|
11
11
|
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
12
12
|
|
|
13
13
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # lifecycle-kit/
|
|
14
|
-
GATE="$DIR/checks/check-shim-restatement.sh"
|
|
15
14
|
SANDBOX="$(mktemp -d)"
|
|
16
15
|
trap 'rm -rf "$SANDBOX"' EXIT
|
|
17
16
|
|
|
@@ -20,7 +19,7 @@ fails=0
|
|
|
20
19
|
check_case() { # $1=label $2=sandbox-dir $3=want-rc $4=want-substring $5..=gate args
|
|
21
20
|
local label="$1" dir="$2" want="$3" sub="$4"; shift 4
|
|
22
21
|
local out rc
|
|
23
|
-
out="$(cd "$dir" && "$
|
|
22
|
+
out="$(cd "$dir" && gate_run check-shim-restatement "$DIR/checks" "$@" 2>&1)"; rc=$?
|
|
24
23
|
if [[ "$rc" -ne "$want" ]]; then
|
|
25
24
|
echo " FAIL [$label]: want exit $want, got $rc -- $out"; fails=$((fails + 1)); return
|
|
26
25
|
fi
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# Behavioral test of
|
|
2
|
+
# Behavioral test of check-skill-binding — the scenarios the one-pair
|
|
3
3
|
# good/bad harness cannot hold. The good/bad fixture pair covers the unbound-slot
|
|
4
4
|
# case; the harness admits one bad/ dir, so this drives the orphan-binding case,
|
|
5
5
|
# the missing-template case, and the two skip cases (a skill with no binding
|
|
@@ -10,7 +10,6 @@ set -uo pipefail
|
|
|
10
10
|
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
11
11
|
|
|
12
12
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # lifecycle-kit/
|
|
13
|
-
GATE="$DIR/checks/check-skill-binding.sh"
|
|
14
13
|
SANDBOX="$(mktemp -d)"
|
|
15
14
|
trap 'rm -rf "$SANDBOX"' EXIT
|
|
16
15
|
|
|
@@ -18,7 +17,7 @@ fails=0
|
|
|
18
17
|
|
|
19
18
|
check_case() { # $1=label $2=sandbox-dir $3=want-rc $4=want-substring
|
|
20
19
|
local out rc
|
|
21
|
-
out="$(cd "$2" && "$
|
|
20
|
+
out="$(cd "$2" && gate_run check-skill-binding "$DIR/checks" commands 2>&1)"; rc=$?
|
|
22
21
|
if [[ "$rc" -ne "$3" ]]; then
|
|
23
22
|
echo " FAIL [$1]: want exit $3, got $rc -- $out"; fails=$((fails + 1)); return
|
|
24
23
|
fi
|
|
@@ -15,7 +15,6 @@ set -uo pipefail
|
|
|
15
15
|
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
16
16
|
|
|
17
17
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # lifecycle-kit/
|
|
18
|
-
GATE="$DIR/checks/check-stage-entry.sh"
|
|
19
18
|
SANDBOX="$(mktemp -d)"
|
|
20
19
|
mkdir -p "$SANDBOX/.workflow"
|
|
21
20
|
trap 'rm -rf "$SANDBOX"' EXIT
|
|
@@ -46,7 +45,7 @@ demo-iteration build bbbbbbbb 2026-06-02
|
|
|
46
45
|
demo-iteration validate cccccccc 2026-06-03
|
|
47
46
|
EOF
|
|
48
47
|
|
|
49
|
-
out="$(cd "$SANDBOX" && "$
|
|
48
|
+
out="$(cd "$SANDBOX" && gate_run check-stage-entry "$DIR/checks" 2>&1)"; rc=$?
|
|
50
49
|
if [[ "$rc" -ne 1 ]]; then
|
|
51
50
|
echo " FAIL [validate-non-empty-queue]: want exit 1, got $rc -- $out"
|
|
52
51
|
fails=$((fails + 1))
|
|
@@ -71,7 +70,7 @@ EOF
|
|
|
71
70
|
|
|
72
71
|
check_case() { # $1=label $2=sandbox-dir $3=want-rc $4=want-substring
|
|
73
72
|
local out rc
|
|
74
|
-
out="$(cd "$2" && "$
|
|
73
|
+
out="$(cd "$2" && gate_run check-stage-entry "$DIR/checks" 2>&1)"; rc=$?
|
|
75
74
|
if [[ "$rc" -ne "$3" ]]; then
|
|
76
75
|
echo " FAIL [$1]: want exit $3, got $rc -- $out"; fails=$((fails + 1)); return
|
|
77
76
|
fi
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# Behavioral test of
|
|
2
|
+
# Behavioral test of check-stage-evidence — the sentinel-scoping
|
|
3
3
|
# guards the one-pair good/bad harness cannot hold ('—' legal only at the
|
|
4
4
|
# first stage; a '—' stamp legal only while the header is also unnamed), plus
|
|
5
5
|
# the waiver-token grammar allowance. The regression lives in the interplay of
|
|
@@ -11,7 +11,6 @@ set -uo pipefail
|
|
|
11
11
|
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
12
12
|
|
|
13
13
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # lifecycle-kit/
|
|
14
|
-
GATE="$DIR/checks/check-stage-evidence.sh"
|
|
15
14
|
|
|
16
15
|
fails=0
|
|
17
16
|
tmp="$(mktemp -d)"
|
|
@@ -22,7 +21,8 @@ case_run() {
|
|
|
22
21
|
local name="$1" hdr="$2" stamp="$3" want="$4" expect="$5" out rc
|
|
23
22
|
printf '%s\n' "$hdr" >"$tmp/TASK-QUEUE.md"
|
|
24
23
|
printf 'header prose\n---\n%b' "$stamp" >"$tmp/WORKFLOW-STATE.txt"
|
|
25
|
-
out="$(
|
|
24
|
+
out="$(gate_run check-stage-evidence "$DIR/checks" \
|
|
25
|
+
"$tmp/TASK-QUEUE.md" "$tmp/WORKFLOW-STATE.txt" 2>&1)"; rc=$?
|
|
26
26
|
if [[ "$rc" -ne "$want" ]]; then
|
|
27
27
|
echo " FAIL: $name expected exit $want, got $rc: $out"; fails=$((fails + 1)); return
|
|
28
28
|
fi
|
|
@@ -94,7 +94,9 @@ case_run "no-cursor-unstamped-state" \
|
|
|
94
94
|
# skips only the cross-stage distinctness map (attribution still stamps).
|
|
95
95
|
printf '%s\n' '## Iteration: demo-iteration' >"$tmp/TASK-QUEUE.md"
|
|
96
96
|
printf 'header prose\n---\ndemo-iteration scope s1 2026-06-12\ndemo-iteration build s1 2026-06-13\n' >"$tmp/WORKFLOW-STATE.txt"
|
|
97
|
-
out="$(LIFECYCLE_KIT_SESSION_BOUNDARY=iteration
|
|
97
|
+
out="$(gate_env LIFECYCLE_KIT_SESSION_BOUNDARY=iteration
|
|
98
|
+
gate_run check-stage-evidence "$DIR/checks" \
|
|
99
|
+
"$tmp/TASK-QUEUE.md" "$tmp/WORKFLOW-STATE.txt" 2>&1)"; rc=$?
|
|
98
100
|
if [[ "$rc" -ne 0 ]] || ! grep -qF "clean" <<<"$out"; then
|
|
99
101
|
echo " FAIL: shared-session-iteration-posture expected clean exit 0, got $rc: $out"; fails=$((fails + 1))
|
|
100
102
|
fi
|
|
@@ -102,7 +104,9 @@ fi
|
|
|
102
104
|
# I — a bad posture value must exit 2 (the loader's fail-closed machine check).
|
|
103
105
|
printf '%s\n' '## Iteration: demo-iteration' >"$tmp/TASK-QUEUE.md"
|
|
104
106
|
printf 'header prose\n---\ndemo-iteration build s1 2026-06-13\n' >"$tmp/WORKFLOW-STATE.txt"
|
|
105
|
-
out="$(LIFECYCLE_KIT_SESSION_BOUNDARY=bogus
|
|
107
|
+
out="$(gate_env LIFECYCLE_KIT_SESSION_BOUNDARY=bogus
|
|
108
|
+
gate_run check-stage-evidence "$DIR/checks" \
|
|
109
|
+
"$tmp/TASK-QUEUE.md" "$tmp/WORKFLOW-STATE.txt" 2>&1)"; rc=$?
|
|
106
110
|
if [[ "$rc" -ne 2 ]] || ! grep -qF "neither 'stage' nor 'iteration'" <<<"$out"; then
|
|
107
111
|
echo " FAIL: bogus-posture expected exit 2 with the loader finding, got $rc: $out"; fails=$((fails + 1))
|
|
108
112
|
fi
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# Behavioral test of
|
|
2
|
+
# Behavioral test of check-survey-record — the scenarios the one-pair
|
|
3
3
|
# good/bad harness cannot hold. The fixture pair drives the gate through its
|
|
4
4
|
# hermetic file argument, which asserts grammar only, because a fixture's rev
|
|
5
5
|
# names no commit in the tree the fixture was copied into. This file covers the
|
|
@@ -13,7 +13,6 @@ set -uo pipefail
|
|
|
13
13
|
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
14
14
|
|
|
15
15
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # lifecycle-kit/
|
|
16
|
-
GATE="$DIR/checks/check-survey-record.sh"
|
|
17
16
|
SANDBOX="$(mktemp -d)"
|
|
18
17
|
trap 'rm -rf "$SANDBOX"' EXIT
|
|
19
18
|
|
|
@@ -21,7 +20,7 @@ fails=0
|
|
|
21
20
|
|
|
22
21
|
check_case() { # $1=label $2=dir $3=want-rc $4=want-substring
|
|
23
22
|
local out rc
|
|
24
|
-
out="$(cd "$2" && "$
|
|
23
|
+
out="$(cd "$2" && gate_run check-survey-record "$DIR/checks" 2>&1)"; rc=$?
|
|
25
24
|
if [[ "$rc" -ne "$3" ]]; then
|
|
26
25
|
echo " FAIL [$1]: want exit $3, got $rc -- $out"; fails=$((fails + 1)); return
|
|
27
26
|
fi
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# spec: lifecycle-kit/SPEC.md §The committed gap inbox — file-gap.sh's capture-time slug resolution: a live entry's slug in the prose
|
|
2
|
+
# spec: lifecycle-kit/SPEC.md §The committed gap inbox — file-gap.sh's capture-time slug resolution raises an advisory and never a verdict: every filing writes the one plain '- <date> — <prose>' bullet, a live entry's slug in the prose asks the filer on stderr, a done slug and a Lessons-only slug and a sub-task and a hyphen-embedded near-miss ask nothing, the longest live slug is the one the advisory names, prose that denies the recurrence in words is left exactly as written, and no run touches the queue file
|
|
3
3
|
set -uo pipefail
|
|
4
4
|
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
5
5
|
|
|
@@ -44,51 +44,79 @@ cat >"$SANDBOX/TASK-QUEUE.md" <<'EOF'
|
|
|
44
44
|
EOF
|
|
45
45
|
|
|
46
46
|
DATE="$(date +%F)"
|
|
47
|
+
OUT=""; ERR=""
|
|
47
48
|
|
|
48
|
-
filed() { # $1=prose ->
|
|
49
|
-
local prose="$1" inbox="$SANDBOX/inbox-$RANDOM.md"
|
|
50
|
-
|
|
49
|
+
filed() { # $1=prose -> sets OUT (stdout) and ERR (stderr) of one filing into a fresh inbox
|
|
50
|
+
local prose="$1" inbox="$SANDBOX/inbox-$RANDOM.md"
|
|
51
|
+
OUT="$(cd "$SANDBOX" && env LIFECYCLE_KIT_GAP_INBOX_FILE="$inbox" \
|
|
51
52
|
LIFECYCLE_KIT_QUEUE_FILE="$SANDBOX/TASK-QUEUE.md" \
|
|
52
53
|
bash "$TOOL" "$prose" 2>"$SANDBOX/err.txt")"
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
ERR="$(cat "$SANDBOX/err.txt")"
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
# the advisory's distinguishing phrase — every filing's stderr also carries the
|
|
58
|
+
# unconditional drain-window warning, so silence is asserted against this alone
|
|
59
|
+
ASKS='names live entry'
|
|
60
|
+
|
|
61
|
+
plain() { # $1=arm, $2=the prose the bullet must carry verbatim after the date
|
|
62
|
+
grep -qxF -- "file-gap: - $DATE — $2" <<<"$OUT" \
|
|
63
|
+
|| note "$1-plain" "the bullet is not the plain '- <date> — <prose>' shape: $OUT"
|
|
64
|
+
grep -q -- '^file-gap: - [0-9-]* — recurrence of' <<<"$OUT" \
|
|
65
|
+
&& note "$1-verdict" "the tool interposed a recurrence verdict into the bullet: $OUT"
|
|
55
66
|
}
|
|
56
67
|
|
|
57
68
|
qbefore="$(cat "$SANDBOX/TASK-QUEUE.md")"
|
|
58
69
|
|
|
59
|
-
# --- a live deferred slug
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
grep -qF
|
|
64
|
-
|| note live-
|
|
70
|
+
# --- a live deferred slug asks, the bullet stays plain, and the longest match wins ---
|
|
71
|
+
p='the fork-dispatch-prohibition failure mode fired again inside scope'
|
|
72
|
+
filed "$p"
|
|
73
|
+
plain live-match "$p"
|
|
74
|
+
grep -qF "$ASKS \`fork-dispatch-prohibition\`" <<<"$ERR" \
|
|
75
|
+
|| note live-ask "no point-of-capture advisory naming the longest live slug: $ERR"
|
|
76
|
+
grep -qF 'RE-FILES' <<<"$ERR" \
|
|
77
|
+
|| note live-question "the advisory does not ask the filer to state the claim: $ERR"
|
|
65
78
|
|
|
66
79
|
# --- an icebox entry is live too ---
|
|
67
|
-
|
|
68
|
-
|
|
80
|
+
p='iced-entry regressed'
|
|
81
|
+
filed "$p"
|
|
82
|
+
plain icebox "$p"
|
|
83
|
+
grep -qF "$ASKS \`iced-entry\`" <<<"$ERR" || note icebox-ask "an icebox entry did not resolve as live: $ERR"
|
|
69
84
|
|
|
70
|
-
# --- a done slug is a new defect, not a recurrence ---
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
85
|
+
# --- a done slug is a new defect, not a recurrence: no advisory at all ---
|
|
86
|
+
p='landed-and-fixed broke again after its fix landed'
|
|
87
|
+
filed "$p"
|
|
88
|
+
plain done-slug "$p"
|
|
89
|
+
grep -qF "$ASKS" <<<"$ERR" && note done-ask "a done-section slug raised the recurrence advisory: $ERR"
|
|
75
90
|
|
|
76
91
|
# --- a Lessons entry written in the entry shape is not a queue entry ---
|
|
77
|
-
|
|
78
|
-
|
|
92
|
+
p='lesson-shaped-slug came up once more'
|
|
93
|
+
filed "$p"
|
|
94
|
+
plain lesson "$p"
|
|
95
|
+
grep -qF "$ASKS" <<<"$ERR" && note lesson-ask "a Lessons lead line resolved as a live queue entry: $ERR"
|
|
79
96
|
|
|
80
97
|
# --- a sub-task is out of scope: the rule and its threshold are entry-scoped ---
|
|
81
|
-
|
|
82
|
-
|
|
98
|
+
p='nested-subtask surfaced again'
|
|
99
|
+
filed "$p"
|
|
100
|
+
plain subtask "$p"
|
|
101
|
+
grep -qF "$ASKS" <<<"$ERR" && note subtask-ask "an indented sub-task resolved as an entry: $ERR"
|
|
83
102
|
|
|
84
103
|
# --- a hyphen-embedded near-miss is not a match ---
|
|
85
|
-
|
|
86
|
-
|
|
104
|
+
p='the fork-dispatching helper is slow'
|
|
105
|
+
filed "$p"
|
|
106
|
+
plain boundary "$p"
|
|
107
|
+
grep -qF "$ASKS" <<<"$ERR" && note boundary-ask "a slug embedded in a longer hyphenated token matched: $ERR"
|
|
108
|
+
|
|
109
|
+
# --- the live instance, frozen: prose that denies the recurrence in words is left as written ---
|
|
110
|
+
p='the harness grows unbounded and nothing prunes it. NOT a recurrence of `fork-dispatch-prohibition` — the filer ruled this must be a separate cross-referencing entry.'
|
|
111
|
+
filed "$p"
|
|
112
|
+
plain denial "$p"
|
|
113
|
+
grep -qF "$ASKS \`fork-dispatch-prohibition\`" <<<"$ERR" \
|
|
114
|
+
|| note denial-ask "the advisory should still ask on a denying bullet — asking is not asserting: $ERR"
|
|
87
115
|
|
|
88
116
|
# --- no filing ever writes the queue ---
|
|
89
117
|
[[ "$qbefore" == "$(cat "$SANDBOX/TASK-QUEUE.md")" ]] \
|
|
90
118
|
|| note no-queue-write "file-gap.sh modified the queue file — the constraint the gap inbox exists to hold"
|
|
91
119
|
|
|
92
120
|
[[ "$fails" -eq 0 ]] || { echo "file-gap-recurrence.test: $fails assertion(s) failed"; exit 1; }
|
|
93
|
-
echo "file-gap-recurrence.test: clean (
|
|
121
|
+
echo "file-gap-recurrence.test: clean (every filing writes the plain bullet and no verdict, a live slug asks the filer while done/Lessons/sub-task/near-miss slugs stay silent, the longest live slug is the one named, a denying prose survives verbatim and is still asked about, and no filing writes the queue)"
|
|
94
122
|
exit 0
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# spec: lifecycle-kit/SPEC.md §bin/enter-stage.sh — --rename end-to-end through a sandboxed enter-stage: both surfaces rewritten in one motion, the columns-2-4 witness proved rather than assumed, the half-landed hand-rename healed, every refusal writing nothing, the idempotent no-op, and --simulate --rename writing nothing while prefixing every line
|
|
3
|
+
set -uo pipefail
|
|
4
|
+
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
5
|
+
|
|
6
|
+
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # lifecycle-kit/
|
|
7
|
+
ENTER="$DIR/bin/enter-stage.sh"
|
|
8
|
+
SANDBOX="$(mktemp -d)"
|
|
9
|
+
trap 'rm -rf "$SANDBOX"' EXIT
|
|
10
|
+
|
|
11
|
+
fails=0
|
|
12
|
+
note() { echo " FAIL [$1]: $2"; fails=$((fails + 1)); }
|
|
13
|
+
|
|
14
|
+
seed() { # $1=sandbox subdir $2=header name $3=stamp column-1 name
|
|
15
|
+
local sb="$1" hdr="$2" col1="$3"
|
|
16
|
+
mkdir -p "$sb/.workflow"
|
|
17
|
+
cat >"$sb/TASK-QUEUE.md" <<EOF
|
|
18
|
+
# TASK-QUEUE.md
|
|
19
|
+
|
|
20
|
+
## Iteration: $hdr
|
|
21
|
+
|
|
22
|
+
## New Features
|
|
23
|
+
|
|
24
|
+
## Technical Debt
|
|
25
|
+
|
|
26
|
+
## Done
|
|
27
|
+
EOF
|
|
28
|
+
cat >"$sb/.workflow/WORKFLOW-STATE.txt" <<EOF
|
|
29
|
+
# contract: lifecycle-kit/SPEC.md §check-stage-evidence
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
$col1 scope aaaaaaaa 2026-06-01
|
|
34
|
+
$col1 build bbbbbbbb 2026-06-02
|
|
35
|
+
$col1 validate cccccccc 2026-06-03
|
|
36
|
+
EOF
|
|
37
|
+
cp "$sb/TASK-QUEUE.md" "$sb/queue.before"
|
|
38
|
+
cp "$sb/.workflow/WORKFLOW-STATE.txt" "$sb/state.before"
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
run_rename() { # $1=sandbox subdir, rest = argv after the tool name
|
|
42
|
+
local sb="$1"; shift
|
|
43
|
+
( cd "$sb" && env GATE_SDK_TMP_DIR="$sb/scratch" bash "$ENTER" "$@" 2>&1 )
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
fields234() { awk '/^---[[:space:]]*$/ { f = 1; next } f && NF { print $2, $3, $4 }' "$1"; }
|
|
47
|
+
|
|
48
|
+
unchanged() { # $1=sandbox subdir $2=assertion label
|
|
49
|
+
cmp -s "$1/queue.before" "$1/TASK-QUEUE.md" || note "$2" "the queue was written"
|
|
50
|
+
cmp -s "$1/state.before" "$1/.workflow/WORKFLOW-STATE.txt" || note "$2" "the state file was written"
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
# --- both surfaces rewritten in one motion, columns 2-4 intact ---
|
|
54
|
+
ok="$SANDBOX/ok"
|
|
55
|
+
seed "$ok" old-name old-name
|
|
56
|
+
pre="$(fields234 "$ok/state.before")"
|
|
57
|
+
out="$(run_rename "$ok" --rename new-name)"; rc=$?
|
|
58
|
+
[[ "$rc" -eq 0 ]] || note write "want exit 0, got $rc -- $out"
|
|
59
|
+
grep -q '^## Iteration: new-name$' "$ok/TASK-QUEUE.md" || note write-header "the queue header was not renamed"
|
|
60
|
+
[[ "$(awk '/^---[[:space:]]*$/ { f = 1; next } f && NF && $1 != "new-name" { c++ } END { print c + 0 }' \
|
|
61
|
+
"$ok/.workflow/WORKFLOW-STATE.txt")" == 0 ]] \
|
|
62
|
+
|| note write-stamps "a stamp's column 1 was left at the old name"
|
|
63
|
+
[[ "$pre" == "$(fields234 "$ok/.workflow/WORKFLOW-STATE.txt")" ]] \
|
|
64
|
+
|| note witness "columns 2-4 (stage, session id, date) moved under the rename"
|
|
65
|
+
[[ "$(wc -l <"$ok/state.before")" == "$(wc -l <"$ok/.workflow/WORKFLOW-STATE.txt")" ]] \
|
|
66
|
+
|| note witness-shape "the rename changed the state file's line count"
|
|
67
|
+
grep -qF 'commit' <<<"$out" || note report "the report does not tell the caller to commit both files: $out"
|
|
68
|
+
grep -qF 'TASK-QUEUE.md' <<<"$out" || note report-queue "the report does not name the queue: $out"
|
|
69
|
+
grep -qF 'WORKFLOW-STATE.txt' <<<"$out" || note report-state "the report does not name the state file: $out"
|
|
70
|
+
|
|
71
|
+
# --- the half-landed hand-rename heals from either side ---
|
|
72
|
+
for half in header stamps; do
|
|
73
|
+
hb="$SANDBOX/half-$half"
|
|
74
|
+
if [[ "$half" == header ]]; then seed "$hb" new-name old-name; else seed "$hb" old-name new-name; fi
|
|
75
|
+
out="$(run_rename "$hb" --rename new-name)"; rc=$?
|
|
76
|
+
[[ "$rc" -eq 0 ]] || note "heal-$half" "want exit 0, got $rc -- $out"
|
|
77
|
+
grep -q '^## Iteration: new-name$' "$hb/TASK-QUEUE.md" || note "heal-$half-header" "header not healed"
|
|
78
|
+
[[ "$(awk '/^---[[:space:]]*$/ { f = 1; next } f && NF && $1 != "new-name" { c++ } END { print c + 0 }' \
|
|
79
|
+
"$hb/.workflow/WORKFLOW-STATE.txt")" == 0 ]] || note "heal-$half-stamps" "stamps not healed"
|
|
80
|
+
done
|
|
81
|
+
|
|
82
|
+
# --- the idempotent no-op ---
|
|
83
|
+
idem="$SANDBOX/idempotent"
|
|
84
|
+
seed "$idem" same-name same-name
|
|
85
|
+
out="$(run_rename "$idem" --rename same-name)"; rc=$?
|
|
86
|
+
[[ "$rc" -eq 0 ]] || note idempotent "want exit 0, got $rc -- $out"
|
|
87
|
+
grep -qF 'idempotent no-op' <<<"$out" || note idempotent-report "the no-op was not reported as one: $out"
|
|
88
|
+
unchanged "$idem" idempotent-write
|
|
89
|
+
|
|
90
|
+
# --- every refusal writes nothing ---
|
|
91
|
+
ref="$SANDBOX/refusals"
|
|
92
|
+
for bad in "" "two words" "—" "Upper-Case" "-leading-dash"; do
|
|
93
|
+
rm -rf "$ref"; seed "$ref" old-name old-name
|
|
94
|
+
out="$(run_rename "$ref" --rename "$bad")"; rc=$?
|
|
95
|
+
[[ "$rc" -eq 2 ]] || note "refuse[$bad]" "want exit 2, got $rc -- $out"
|
|
96
|
+
unchanged "$ref" "refuse-write[$bad]"
|
|
97
|
+
done
|
|
98
|
+
rm -rf "$ref"; seed "$ref" old-name old-name
|
|
99
|
+
out="$(run_rename "$ref" --rename a b)"; rc=$?
|
|
100
|
+
[[ "$rc" -eq 2 ]] || note refuse-arity "--rename with two names: want exit 2, got $rc -- $out"
|
|
101
|
+
unchanged "$ref" refuse-arity-write
|
|
102
|
+
|
|
103
|
+
# spec: lifecycle-kit/SPEC.md §bin/enter-stage.sh — the placeholder refusal precedes the slug grammar so its message names the writer that owns the value, not a malformed name
|
|
104
|
+
rm -rf "$ref"; seed "$ref" old-name old-name
|
|
105
|
+
out="$(run_rename "$ref" --rename "—")"
|
|
106
|
+
grep -qF 'boundary reset' <<<"$out" \
|
|
107
|
+
|| note refuse-placeholder-message "the placeholder refusal did not name the boundary reset: $out"
|
|
108
|
+
|
|
109
|
+
# --- a pre-flight refusal writes nothing: a stamp naming a stage the machine does not know ---
|
|
110
|
+
pf="$SANDBOX/preflight"
|
|
111
|
+
seed "$pf" old-name old-name
|
|
112
|
+
printf 'old-name notastage eeeeeeee 2026-06-05\n' >>"$pf/.workflow/WORKFLOW-STATE.txt"
|
|
113
|
+
cp "$pf/.workflow/WORKFLOW-STATE.txt" "$pf/state.before"
|
|
114
|
+
out="$(run_rename "$pf" --rename new-name)"; rc=$?
|
|
115
|
+
[[ "$rc" -eq 1 ]] || note preflight "a check-stage-evidence refusal: want exit 1, got $rc -- $out"
|
|
116
|
+
grep -qF 'STAGE-EVIDENCE' <<<"$out" || note preflight-relay "the gate's output was not relayed: $out"
|
|
117
|
+
unchanged "$pf" preflight-write
|
|
118
|
+
|
|
119
|
+
# --- --simulate --rename writes nothing and prefixes every line ---
|
|
120
|
+
sim="$SANDBOX/simulate"
|
|
121
|
+
seed "$sim" old-name old-name
|
|
122
|
+
out="$(run_rename "$sim" --simulate --rename new-name)"; rc=$?
|
|
123
|
+
[[ "$rc" -eq 0 ]] || note simulate "want exit 0, got $rc -- $out"
|
|
124
|
+
unchanged "$sim" simulate-write
|
|
125
|
+
if grep -qv '^enter-stage (simulate): ' <<<"$out"; then
|
|
126
|
+
note simulate-prefix "an unprefixed line escaped --simulate: $out"
|
|
127
|
+
fi
|
|
128
|
+
grep -qF 'new-name' <<<"$out" || note simulate-relay "the simulate report does not name the new name: $out"
|
|
129
|
+
|
|
130
|
+
simn="$SANDBOX/simulate-noop"
|
|
131
|
+
seed "$simn" same-name same-name
|
|
132
|
+
out="$(run_rename "$simn" --simulate --rename same-name)"; rc=$?
|
|
133
|
+
[[ "$rc" -eq 0 ]] || note simulate-noop "want exit 0, got $rc -- $out"
|
|
134
|
+
grep -qF 'idempotent no-op' <<<"$out" || note simulate-noop-report "the would-be no-op was not reported: $out"
|
|
135
|
+
if grep -qv '^enter-stage (simulate): ' <<<"$out"; then
|
|
136
|
+
note simulate-noop-prefix "the would-be no-op line is unprefixed: $out"
|
|
137
|
+
fi
|
|
138
|
+
unchanged "$simn" simulate-noop-write
|
|
139
|
+
|
|
140
|
+
[[ "$fails" -eq 0 ]] || { echo "rename-iteration.test: $fails assertion(s) failed"; exit 1; }
|
|
141
|
+
echo "rename-iteration.test: clean (--rename writes both surfaces with columns 2-4 proved unchanged, heals a half-landed rename from either side, no-ops idempotently, refuses empty/non-slug/placeholder/arity and a red pre-flight with nothing written, and simulates read-only under its prefix)"
|
|
142
|
+
exit 0
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Behavioral test of templates/workflow-state-guard.sh: it blocks a Write/Edit
|
|
3
|
+
# whose target resolves to the lifecycle state file and falls through on
|
|
4
|
+
# everything else. The path-equality cases are the point — a textual comparison
|
|
5
|
+
# passes the first and fails the rest, and that is exactly how this guard is
|
|
6
|
+
# defeated in the field.
|
|
7
|
+
#
|
|
8
|
+
# Run by run-gate-tests.sh (any <tests-dir>/*.test.sh; must exit 0).
|
|
9
|
+
set -uo pipefail
|
|
10
|
+
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
11
|
+
|
|
12
|
+
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # lifecycle-kit/
|
|
13
|
+
GUARD="$DIR/templates/workflow-state-guard.sh"
|
|
14
|
+
LIB="$DIR/../guard-kit/lib/guard.sh"
|
|
15
|
+
command -v jq >/dev/null 2>&1 || { echo "workflow-state-guard.test: jq not found on PATH" >&2; exit 2; }
|
|
16
|
+
|
|
17
|
+
SANDBOX="$(mktemp -d)"
|
|
18
|
+
trap 'rm -rf "$SANDBOX"' EXIT
|
|
19
|
+
mkdir -p "$SANDBOX/.workflow" "$SANDBOX/docs"
|
|
20
|
+
printf '# contract\n\n---\n\niter build abc 2026-01-01\n' >"$SANDBOX/.workflow/WORKFLOW-STATE.txt"
|
|
21
|
+
printf 'ordinary\n' >"$SANDBOX/docs/page.md"
|
|
22
|
+
# a symlinked route to the same directory: same file, different spelling
|
|
23
|
+
ln -s .workflow "$SANDBOX/wf-link"
|
|
24
|
+
|
|
25
|
+
fails=0
|
|
26
|
+
checks=0
|
|
27
|
+
|
|
28
|
+
verdict() { # $1=json-payload -> "block" | "pass" | "advise"
|
|
29
|
+
local out rc
|
|
30
|
+
out="$(cd "$SANDBOX" && printf '%s' "$1" | GUARD_KIT_LIB="$LIB" bash "$GUARD" 2>/dev/null)"; rc=$?
|
|
31
|
+
if [[ "$rc" -eq 2 ]]; then echo block; return; fi
|
|
32
|
+
if grep -q '"additionalContext"' <<<"$out"; then echo advise; return; fi
|
|
33
|
+
if [[ "$rc" -eq 0 ]]; then echo pass; return; fi
|
|
34
|
+
echo "exit$rc"
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
want() { # $1=label $2=file_path $3=expected-verdict
|
|
38
|
+
local got
|
|
39
|
+
checks=$((checks + 1))
|
|
40
|
+
got="$(verdict "$(jq -nc --arg p "$2" '{tool_name:"Write",tool_input:{file_path:$p,content:"x"}}')")"
|
|
41
|
+
[[ "$got" == "$3" ]] || { echo " FAIL [$1]: '$2' -> $got, want $3"; fails=$((fails + 1)); }
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
# the plain spelling
|
|
45
|
+
want "relative" ".workflow/WORKFLOW-STATE.txt" block
|
|
46
|
+
# the three spellings a textual comparison misses
|
|
47
|
+
want "dot-slash" "./.workflow/WORKFLOW-STATE.txt" block
|
|
48
|
+
want "absolute" "$SANDBOX/.workflow/WORKFLOW-STATE.txt" block
|
|
49
|
+
want "through-symlink" "wf-link/WORKFLOW-STATE.txt" block
|
|
50
|
+
want "dot-dot" ".workflow/../.workflow/WORKFLOW-STATE.txt" block
|
|
51
|
+
|
|
52
|
+
# ordinary files are untouched — the guard must not become a general write block
|
|
53
|
+
want "ordinary-file" "docs/page.md" pass
|
|
54
|
+
want "sibling-in-dir" ".workflow/gap-inbox.md" pass
|
|
55
|
+
# a name that merely contains the target's is not the target
|
|
56
|
+
want "prefix-collision" ".workflow/WORKFLOW-STATE.txt.bak" pass
|
|
57
|
+
|
|
58
|
+
# a call with no file_path falls through rather than blocking
|
|
59
|
+
checks=$((checks + 1))
|
|
60
|
+
got="$(verdict '{"tool_name":"Bash","tool_input":{"command":"ls"}}')"
|
|
61
|
+
[[ "$got" == pass ]] || { echo " FAIL [no-file_path]: got $got, want pass"; fails=$((fails + 1)); }
|
|
62
|
+
|
|
63
|
+
# an Edit payload is judged the same way as a Write — the matcher covers both
|
|
64
|
+
checks=$((checks + 1))
|
|
65
|
+
got="$(verdict "$(jq -nc --arg p ".workflow/WORKFLOW-STATE.txt" \
|
|
66
|
+
'{tool_name:"Edit",tool_input:{file_path:$p,old_string:"a",new_string:"b"}}')")"
|
|
67
|
+
[[ "$got" == block ]] || { echo " FAIL [edit-payload]: got $got, want block"; fails=$((fails + 1)); }
|
|
68
|
+
|
|
69
|
+
# the relocation knob is honored: a consumer who moved the workflow dir gets a
|
|
70
|
+
# guard that follows it, and the old path stops being the state file
|
|
71
|
+
checks=$((checks + 1))
|
|
72
|
+
mkdir -p "$SANDBOX/wf2"; printf 'x\n' >"$SANDBOX/wf2/WORKFLOW-STATE.txt"
|
|
73
|
+
out="$(cd "$SANDBOX" && jq -nc '{tool_name:"Write",tool_input:{file_path:"wf2/WORKFLOW-STATE.txt",content:"x"}}' \
|
|
74
|
+
| GATE_SDK_WORKFLOW_DIR=wf2 GUARD_KIT_LIB="$LIB" bash "$GUARD" 2>/dev/null)"; rc=$?
|
|
75
|
+
[[ "$rc" -eq 2 ]] || { echo " FAIL [relocated-dir]: got exit $rc, want 2 ($out)"; fails=$((fails + 1)); }
|
|
76
|
+
|
|
77
|
+
# fail-open-but-loud: with the rule unenforceable the call is allowed and the
|
|
78
|
+
# advisory names the rule, rather than passing silently or wedging every write
|
|
79
|
+
checks=$((checks + 1))
|
|
80
|
+
# PATH is emptied of jq and readlink; bash is invoked by its absolute path so the
|
|
81
|
+
# stripped PATH cannot be mistaken for the interpreter itself going missing.
|
|
82
|
+
mkdir -p "$SANDBOX/nojq"
|
|
83
|
+
BASH_ABS="$(command -v bash)"
|
|
84
|
+
out="$(cd "$SANDBOX" && jq -nc '{tool_name:"Write",tool_input:{file_path:".workflow/WORKFLOW-STATE.txt",content:"x"}}' \
|
|
85
|
+
| PATH="$SANDBOX/nojq" GUARD_KIT_LIB="$LIB" "$BASH_ABS" "$GUARD" 2>/dev/null)"; rc=$?
|
|
86
|
+
{ [[ "$rc" -eq 0 ]] && grep -q '"additionalContext"' <<<"$out"; } \
|
|
87
|
+
|| { echo " FAIL [jq-absent]: want exit 0 with an advisory, got exit $rc: $out"; fails=$((fails + 1)); }
|
|
88
|
+
|
|
89
|
+
# an absent guard-kit lib is a clean fall-through, never a wedge
|
|
90
|
+
checks=$((checks + 1))
|
|
91
|
+
( cd "$SANDBOX" && printf '%s' '{"tool_input":{"file_path":".workflow/WORKFLOW-STATE.txt"}}' \
|
|
92
|
+
| GUARD_KIT_LIB="$SANDBOX/nope.sh" bash "$GUARD" >/dev/null 2>&1 )
|
|
93
|
+
[[ "$?" -eq 0 ]] || { echo " FAIL [absent-lib]: expected a fall-through exit 0"; fails=$((fails + 1)); }
|
|
94
|
+
|
|
95
|
+
if [[ "$fails" -gt 0 ]]; then
|
|
96
|
+
echo "workflow-state-guard.test: $fails of $checks assertion(s) failed"
|
|
97
|
+
exit 1
|
|
98
|
+
fi
|
|
99
|
+
echo "workflow-state-guard.test: ok ($checks assertions; resolved path equality across four spellings, Write and Edit, the relocation knob, and both degradation postures)"
|
|
100
|
+
exit 0
|
|
@@ -57,6 +57,10 @@ declare -p LIFECYCLE_KIT_SHIM_DEDUP_CORPUS &>/dev/null || LIFECYCLE_KIT_SHIM_DED
|
|
|
57
57
|
|
|
58
58
|
declare -p LIFECYCLE_KIT_CLOSE_SURFACE_GLOBS &>/dev/null || LIFECYCLE_KIT_CLOSE_SURFACE_GLOBS=("*/SPEC.md")
|
|
59
59
|
|
|
60
|
+
# spec: lifecycle-kit/SPEC.md §The survey record — the surfaces held to the no-retrieval-pointer rule; the queue file alone by default because it is the one permanent surface this kit owns and where both attested firings landed, so the default is non-vacuous in every consumer and over-reaches in none
|
|
61
|
+
declare -p LIFECYCLE_KIT_PERMANENT_SURFACE_GLOBS &>/dev/null \
|
|
62
|
+
|| LIFECYCLE_KIT_PERMANENT_SURFACE_GLOBS=("$LIFECYCLE_KIT_QUEUE_FILE")
|
|
63
|
+
|
|
60
64
|
declare -p LIFECYCLE_KIT_BOUNDARY_TRUNCATE &>/dev/null || LIFECYCLE_KIT_BOUNDARY_TRUNCATE=()
|
|
61
65
|
|
|
62
66
|
declare -p LIFECYCLE_KIT_BOUNDARY_REQUIRE &>/dev/null || LIFECYCLE_KIT_BOUNDARY_REQUIRE=()
|