@codyswann/lisa 6.1.0 → 6.3.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 +66 -0
- package/all/copy-overwrite/scripts/check-threshold-ratchet.mjs +12 -1
- package/all/copy-overwrite/scripts/lib/changed-paths.mjs +545 -0
- package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +1 -0
- package/all/copy-overwrite/scripts/lisa-audit.mjs +1 -1
- package/all/copy-overwrite/scripts/lisa-gates.mjs +1304 -22
- package/all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh +3 -2
- package/all/copy-overwrite/scripts/lisa-reconcile-policy.mjs +40 -2
- package/all/copy-overwrite/scripts/lisa-run-gates.mjs +1384 -52
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +19 -7
- package/all/copy-overwrite/scripts/threshold-ratchet-compare.mjs +214 -3
- package/all/copy-overwrite/scripts/threshold-ratchet-families.mjs +166 -0
- package/dist/cli/controls-cmd.d.ts +31 -0
- package/dist/cli/controls-cmd.d.ts.map +1 -0
- package/dist/cli/controls-cmd.js +47 -0
- package/dist/cli/controls-cmd.js.map +1 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +2 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/update-check-hook.d.ts.map +1 -1
- package/dist/cli/update-check-hook.js +5 -0
- package/dist/cli/update-check-hook.js.map +1 -1
- package/dist/controls/attest-check.d.ts +52 -0
- package/dist/controls/attest-check.d.ts.map +1 -0
- package/dist/controls/attest-check.js +278 -0
- package/dist/controls/attest-check.js.map +1 -0
- package/dist/controls/attest-record.d.ts +131 -0
- package/dist/controls/attest-record.d.ts.map +1 -0
- package/dist/controls/attest-record.js +220 -0
- package/dist/controls/attest-record.js.map +1 -0
- package/dist/controls/audit-answers-absorb.d.ts +54 -0
- package/dist/controls/audit-answers-absorb.d.ts.map +1 -0
- package/dist/controls/audit-answers-absorb.js +135 -0
- package/dist/controls/audit-answers-absorb.js.map +1 -0
- package/dist/controls/audit-answers-secrets.d.ts +31 -0
- package/dist/controls/audit-answers-secrets.d.ts.map +1 -0
- package/dist/controls/audit-answers-secrets.js +40 -0
- package/dist/controls/audit-answers-secrets.js.map +1 -0
- package/dist/controls/audit-answers.d.ts +21 -0
- package/dist/controls/audit-answers.d.ts.map +1 -0
- package/dist/controls/audit-answers.js +69 -0
- package/dist/controls/audit-answers.js.map +1 -0
- package/dist/controls/audit-gaps-file.d.ts +26 -0
- package/dist/controls/audit-gaps-file.d.ts.map +1 -0
- package/dist/controls/audit-gaps-file.js +121 -0
- package/dist/controls/audit-gaps-file.js.map +1 -0
- package/dist/controls/audit-inline-answers-file.d.ts +15 -0
- package/dist/controls/audit-inline-answers-file.d.ts.map +1 -0
- package/dist/controls/audit-inline-answers-file.js +69 -0
- package/dist/controls/audit-inline-answers-file.js.map +1 -0
- package/dist/controls/audit-inline-answers.d.ts +45 -0
- package/dist/controls/audit-inline-answers.d.ts.map +1 -0
- package/dist/controls/audit-inline-answers.js +267 -0
- package/dist/controls/audit-inline-answers.js.map +1 -0
- package/dist/controls/audit-probe-types.d.ts +97 -0
- package/dist/controls/audit-probe-types.d.ts.map +1 -0
- package/dist/controls/audit-probe-types.js +69 -0
- package/dist/controls/audit-probe-types.js.map +1 -0
- package/dist/controls/audit-probes-markdown.d.ts +12 -0
- package/dist/controls/audit-probes-markdown.d.ts.map +1 -0
- package/dist/controls/audit-probes-markdown.js +79 -0
- package/dist/controls/audit-probes-markdown.js.map +1 -0
- package/dist/controls/audit-probes.d.ts +41 -0
- package/dist/controls/audit-probes.d.ts.map +1 -0
- package/dist/controls/audit-probes.js +49 -0
- package/dist/controls/audit-probes.js.map +1 -0
- package/dist/controls/audit-question-lines.d.ts +59 -0
- package/dist/controls/audit-question-lines.d.ts.map +1 -0
- package/dist/controls/audit-question-lines.js +213 -0
- package/dist/controls/audit-question-lines.js.map +1 -0
- package/dist/controls/audit-question-region.d.ts +46 -0
- package/dist/controls/audit-question-region.d.ts.map +1 -0
- package/dist/controls/audit-question-region.js +69 -0
- package/dist/controls/audit-question-region.js.map +1 -0
- package/dist/controls/audit-question-repair.d.ts +67 -0
- package/dist/controls/audit-question-repair.d.ts.map +1 -0
- package/dist/controls/audit-question-repair.js +151 -0
- package/dist/controls/audit-question-repair.js.map +1 -0
- package/dist/controls/audit-questions-format.d.ts +71 -0
- package/dist/controls/audit-questions-format.d.ts.map +1 -0
- package/dist/controls/audit-questions-format.js +141 -0
- package/dist/controls/audit-questions-format.js.map +1 -0
- package/dist/controls/audit-questions-markdown.d.ts +28 -0
- package/dist/controls/audit-questions-markdown.d.ts.map +1 -0
- package/dist/controls/audit-questions-markdown.js +203 -0
- package/dist/controls/audit-questions-markdown.js.map +1 -0
- package/dist/controls/audit-report-file.d.ts +39 -0
- package/dist/controls/audit-report-file.d.ts.map +1 -0
- package/dist/controls/audit-report-file.js +135 -0
- package/dist/controls/audit-report-file.js.map +1 -0
- package/dist/controls/audit-report-markdown.d.ts +15 -0
- package/dist/controls/audit-report-markdown.d.ts.map +1 -0
- package/dist/controls/audit-report-markdown.js +179 -0
- package/dist/controls/audit-report-markdown.js.map +1 -0
- package/dist/controls/audit-report-probes-shape.d.ts +8 -0
- package/dist/controls/audit-report-probes-shape.d.ts.map +1 -0
- package/dist/controls/audit-report-probes-shape.js +203 -0
- package/dist/controls/audit-report-probes-shape.js.map +1 -0
- package/dist/controls/audit-report-questions-shape.d.ts +13 -0
- package/dist/controls/audit-report-questions-shape.d.ts.map +1 -0
- package/dist/controls/audit-report-questions-shape.js +197 -0
- package/dist/controls/audit-report-questions-shape.js.map +1 -0
- package/dist/controls/audit-report-rules/coverage.d.ts +53 -0
- package/dist/controls/audit-report-rules/coverage.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/coverage.js +172 -0
- package/dist/controls/audit-report-rules/coverage.js.map +1 -0
- package/dist/controls/audit-report-rules/locators.d.ts +28 -0
- package/dist/controls/audit-report-rules/locators.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/locators.js +62 -0
- package/dist/controls/audit-report-rules/locators.js.map +1 -0
- package/dist/controls/audit-report-rules/not-applicable.d.ts +32 -0
- package/dist/controls/audit-report-rules/not-applicable.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/not-applicable.js +43 -0
- package/dist/controls/audit-report-rules/not-applicable.js.map +1 -0
- package/dist/controls/audit-report-rules/plain-language.d.ts +20 -0
- package/dist/controls/audit-report-rules/plain-language.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/plain-language.js +47 -0
- package/dist/controls/audit-report-rules/plain-language.js.map +1 -0
- package/dist/controls/audit-report-rules/probe-dependents.d.ts +11 -0
- package/dist/controls/audit-report-rules/probe-dependents.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/probe-dependents.js +55 -0
- package/dist/controls/audit-report-rules/probe-dependents.js.map +1 -0
- package/dist/controls/audit-report-rules/probe-secrets.d.ts +10 -0
- package/dist/controls/audit-report-rules/probe-secrets.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/probe-secrets.js +33 -0
- package/dist/controls/audit-report-rules/probe-secrets.js.map +1 -0
- package/dist/controls/audit-report-rules/probes.d.ts +11 -0
- package/dist/controls/audit-report-rules/probes.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/probes.js +102 -0
- package/dist/controls/audit-report-rules/probes.js.map +1 -0
- package/dist/controls/audit-report-rules/proved-evidence.d.ts +46 -0
- package/dist/controls/audit-report-rules/proved-evidence.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/proved-evidence.js +162 -0
- package/dist/controls/audit-report-rules/proved-evidence.js.map +1 -0
- package/dist/controls/audit-report-rules/questions.d.ts +12 -0
- package/dist/controls/audit-report-rules/questions.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/questions.js +171 -0
- package/dist/controls/audit-report-rules/questions.js.map +1 -0
- package/dist/controls/audit-report-rules/recorded-answers.d.ts +12 -0
- package/dist/controls/audit-report-rules/recorded-answers.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/recorded-answers.js +104 -0
- package/dist/controls/audit-report-rules/recorded-answers.js.map +1 -0
- package/dist/controls/audit-report-rules/scopes.d.ts +21 -0
- package/dist/controls/audit-report-rules/scopes.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/scopes.js +60 -0
- package/dist/controls/audit-report-rules/scopes.js.map +1 -0
- package/dist/controls/audit-report-rules/secret-values.d.ts +33 -0
- package/dist/controls/audit-report-rules/secret-values.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/secret-values.js +40 -0
- package/dist/controls/audit-report-rules/secret-values.js.map +1 -0
- package/dist/controls/audit-report-rules/server-side-authority.d.ts +11 -0
- package/dist/controls/audit-report-rules/server-side-authority.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/server-side-authority.js +52 -0
- package/dist/controls/audit-report-rules/server-side-authority.js.map +1 -0
- package/dist/controls/audit-report-rules/tracker-question.d.ts +26 -0
- package/dist/controls/audit-report-rules/tracker-question.d.ts.map +1 -0
- package/dist/controls/audit-report-rules/tracker-question.js +20 -0
- package/dist/controls/audit-report-rules/tracker-question.js.map +1 -0
- package/dist/controls/audit-report-shape.d.ts +36 -0
- package/dist/controls/audit-report-shape.d.ts.map +1 -0
- package/dist/controls/audit-report-shape.js +300 -0
- package/dist/controls/audit-report-shape.js.map +1 -0
- package/dist/controls/audit-report-types.d.ts +222 -0
- package/dist/controls/audit-report-types.d.ts.map +1 -0
- package/dist/controls/audit-report-types.js +53 -0
- package/dist/controls/audit-report-types.js.map +1 -0
- package/dist/controls/audit-report-wording.d.ts +36 -0
- package/dist/controls/audit-report-wording.d.ts.map +1 -0
- package/dist/controls/audit-report-wording.js +58 -0
- package/dist/controls/audit-report-wording.js.map +1 -0
- package/dist/controls/audit-report.d.ts +22 -0
- package/dist/controls/audit-report.d.ts.map +1 -0
- package/dist/controls/audit-report.js +79 -0
- package/dist/controls/audit-report.js.map +1 -0
- package/dist/controls/before-enforce-findings.d.ts +25 -0
- package/dist/controls/before-enforce-findings.d.ts.map +1 -0
- package/dist/controls/before-enforce-findings.js +172 -0
- package/dist/controls/before-enforce-findings.js.map +1 -0
- package/dist/controls/before-enforce-observe.d.ts +116 -0
- package/dist/controls/before-enforce-observe.d.ts.map +1 -0
- package/dist/controls/before-enforce-observe.js +164 -0
- package/dist/controls/before-enforce-observe.js.map +1 -0
- package/dist/controls/before-enforce-plan.d.ts +52 -0
- package/dist/controls/before-enforce-plan.d.ts.map +1 -0
- package/dist/controls/before-enforce-plan.js +83 -0
- package/dist/controls/before-enforce-plan.js.map +1 -0
- package/dist/controls/before-enforce-report.d.ts +33 -0
- package/dist/controls/before-enforce-report.d.ts.map +1 -0
- package/dist/controls/before-enforce-report.js +94 -0
- package/dist/controls/before-enforce-report.js.map +1 -0
- package/dist/controls/before-enforce-run.d.ts +50 -0
- package/dist/controls/before-enforce-run.d.ts.map +1 -0
- package/dist/controls/before-enforce-run.js +199 -0
- package/dist/controls/before-enforce-run.js.map +1 -0
- package/dist/controls/before-enforce-types.d.ts +161 -0
- package/dist/controls/before-enforce-types.d.ts.map +1 -0
- package/dist/controls/before-enforce-types.js +66 -0
- package/dist/controls/before-enforce-types.js.map +1 -0
- package/dist/controls/before-enforce-wording.d.ts +99 -0
- package/dist/controls/before-enforce-wording.d.ts.map +1 -0
- package/dist/controls/before-enforce-wording.js +182 -0
- package/dist/controls/before-enforce-wording.js.map +1 -0
- package/dist/controls/before-enforce-workspace.d.ts +31 -0
- package/dist/controls/before-enforce-workspace.d.ts.map +1 -0
- package/dist/controls/before-enforce-workspace.js +101 -0
- package/dist/controls/before-enforce-workspace.js.map +1 -0
- package/dist/controls/canary-door.d.ts +59 -0
- package/dist/controls/canary-door.d.ts.map +1 -0
- package/dist/controls/canary-door.js +143 -0
- package/dist/controls/canary-door.js.map +1 -0
- package/dist/controls/canary-eligibility.d.ts +107 -0
- package/dist/controls/canary-eligibility.d.ts.map +1 -0
- package/dist/controls/canary-eligibility.js +267 -0
- package/dist/controls/canary-eligibility.js.map +1 -0
- package/dist/controls/canary-half.d.ts +73 -0
- package/dist/controls/canary-half.d.ts.map +1 -0
- package/dist/controls/canary-half.js +251 -0
- package/dist/controls/canary-half.js.map +1 -0
- package/dist/controls/canary-lifecycle.d.ts +132 -0
- package/dist/controls/canary-lifecycle.d.ts.map +1 -0
- package/dist/controls/canary-lifecycle.js +313 -0
- package/dist/controls/canary-lifecycle.js.map +1 -0
- package/dist/controls/canary-names.d.ts +88 -0
- package/dist/controls/canary-names.d.ts.map +1 -0
- package/dist/controls/canary-names.js +147 -0
- package/dist/controls/canary-names.js.map +1 -0
- package/dist/controls/canary-plan.d.ts +31 -0
- package/dist/controls/canary-plan.d.ts.map +1 -0
- package/dist/controls/canary-plan.js +80 -0
- package/dist/controls/canary-plan.js.map +1 -0
- package/dist/controls/canary-tree.d.ts +49 -0
- package/dist/controls/canary-tree.d.ts.map +1 -0
- package/dist/controls/canary-tree.js +283 -0
- package/dist/controls/canary-tree.js.map +1 -0
- package/dist/controls/canonical-json.d.ts +62 -0
- package/dist/controls/canonical-json.d.ts.map +1 -0
- package/dist/controls/canonical-json.js +118 -0
- package/dist/controls/canonical-json.js.map +1 -0
- package/dist/controls/carrier-agent-files.d.ts +13 -0
- package/dist/controls/carrier-agent-files.d.ts.map +1 -0
- package/dist/controls/carrier-agent-files.js +139 -0
- package/dist/controls/carrier-agent-files.js.map +1 -0
- package/dist/controls/carrier-agent-program.d.ts +36 -0
- package/dist/controls/carrier-agent-program.d.ts.map +1 -0
- package/dist/controls/carrier-agent-program.js +284 -0
- package/dist/controls/carrier-agent-program.js.map +1 -0
- package/dist/controls/carrier-agent-result.d.ts +30 -0
- package/dist/controls/carrier-agent-result.d.ts.map +1 -0
- package/dist/controls/carrier-agent-result.js +134 -0
- package/dist/controls/carrier-agent-result.js.map +1 -0
- package/dist/controls/carrier-agent-script.d.ts +24 -0
- package/dist/controls/carrier-agent-script.d.ts.map +1 -0
- package/dist/controls/carrier-agent-script.js +132 -0
- package/dist/controls/carrier-agent-script.js.map +1 -0
- package/dist/controls/carrier-agent-settings.d.ts +30 -0
- package/dist/controls/carrier-agent-settings.d.ts.map +1 -0
- package/dist/controls/carrier-agent-settings.js +226 -0
- package/dist/controls/carrier-agent-settings.js.map +1 -0
- package/dist/controls/carrier-agent-surfaces.d.ts +117 -0
- package/dist/controls/carrier-agent-surfaces.d.ts.map +1 -0
- package/dist/controls/carrier-agent-surfaces.js +103 -0
- package/dist/controls/carrier-agent-surfaces.js.map +1 -0
- package/dist/controls/carrier-agents.d.ts +16 -0
- package/dist/controls/carrier-agents.d.ts.map +1 -0
- package/dist/controls/carrier-agents.js +251 -0
- package/dist/controls/carrier-agents.js.map +1 -0
- package/dist/controls/carrier-edits.d.ts +88 -0
- package/dist/controls/carrier-edits.d.ts.map +1 -0
- package/dist/controls/carrier-edits.js +170 -0
- package/dist/controls/carrier-edits.js.map +1 -0
- package/dist/controls/carrier-git-hooks.d.ts +10 -0
- package/dist/controls/carrier-git-hooks.d.ts.map +1 -0
- package/dist/controls/carrier-git-hooks.js +234 -0
- package/dist/controls/carrier-git-hooks.js.map +1 -0
- package/dist/controls/carrier-git.d.ts +65 -0
- package/dist/controls/carrier-git.d.ts.map +1 -0
- package/dist/controls/carrier-git.js +102 -0
- package/dist/controls/carrier-git.js.map +1 -0
- package/dist/controls/carrier-hook-here-documents.d.ts +30 -0
- package/dist/controls/carrier-hook-here-documents.d.ts.map +1 -0
- package/dist/controls/carrier-hook-here-documents.js +111 -0
- package/dist/controls/carrier-hook-here-documents.js.map +1 -0
- package/dist/controls/carrier-hook-reach.d.ts +24 -0
- package/dist/controls/carrier-hook-reach.d.ts.map +1 -0
- package/dist/controls/carrier-hook-reach.js +344 -0
- package/dist/controls/carrier-hook-reach.js.map +1 -0
- package/dist/controls/carrier-hook-words.d.ts +43 -0
- package/dist/controls/carrier-hook-words.d.ts.map +1 -0
- package/dist/controls/carrier-hook-words.js +129 -0
- package/dist/controls/carrier-hook-words.js.map +1 -0
- package/dist/controls/carrier-ignore.d.ts +19 -0
- package/dist/controls/carrier-ignore.d.ts.map +1 -0
- package/dist/controls/carrier-ignore.js +58 -0
- package/dist/controls/carrier-ignore.js.map +1 -0
- package/dist/controls/carrier-json-place.d.ts +62 -0
- package/dist/controls/carrier-json-place.d.ts.map +1 -0
- package/dist/controls/carrier-json-place.js +351 -0
- package/dist/controls/carrier-json-place.js.map +1 -0
- package/dist/controls/carrier-lefthook.d.ts +18 -0
- package/dist/controls/carrier-lefthook.d.ts.map +1 -0
- package/dist/controls/carrier-lefthook.js +151 -0
- package/dist/controls/carrier-lefthook.js.map +1 -0
- package/dist/controls/carrier-manager-file.d.ts +50 -0
- package/dist/controls/carrier-manager-file.d.ts.map +1 -0
- package/dist/controls/carrier-manager-file.js +125 -0
- package/dist/controls/carrier-manager-file.js.map +1 -0
- package/dist/controls/carrier-outcome.d.ts +43 -0
- package/dist/controls/carrier-outcome.d.ts.map +1 -0
- package/dist/controls/carrier-outcome.js +37 -0
- package/dist/controls/carrier-outcome.js.map +1 -0
- package/dist/controls/carrier-owned-files.d.ts +39 -0
- package/dist/controls/carrier-owned-files.d.ts.map +1 -0
- package/dist/controls/carrier-owned-files.js +113 -0
- package/dist/controls/carrier-owned-files.js.map +1 -0
- package/dist/controls/carrier-owner.d.ts +71 -0
- package/dist/controls/carrier-owner.d.ts.map +1 -0
- package/dist/controls/carrier-owner.js +174 -0
- package/dist/controls/carrier-owner.js.map +1 -0
- package/dist/controls/carrier-pre-commit.d.ts +15 -0
- package/dist/controls/carrier-pre-commit.d.ts.map +1 -0
- package/dist/controls/carrier-pre-commit.js +232 -0
- package/dist/controls/carrier-pre-commit.js.map +1 -0
- package/dist/controls/carrier-result.d.ts +14 -0
- package/dist/controls/carrier-result.d.ts.map +1 -0
- package/dist/controls/carrier-result.js +204 -0
- package/dist/controls/carrier-result.js.map +1 -0
- package/dist/controls/carrier-roster.d.ts +29 -0
- package/dist/controls/carrier-roster.d.ts.map +1 -0
- package/dist/controls/carrier-roster.js +162 -0
- package/dist/controls/carrier-roster.js.map +1 -0
- package/dist/controls/carrier-runner-files.d.ts +10 -0
- package/dist/controls/carrier-runner-files.d.ts.map +1 -0
- package/dist/controls/carrier-runner-files.js +92 -0
- package/dist/controls/carrier-runner-files.js.map +1 -0
- package/dist/controls/carrier-script.d.ts +226 -0
- package/dist/controls/carrier-script.d.ts.map +1 -0
- package/dist/controls/carrier-script.js +416 -0
- package/dist/controls/carrier-script.js.map +1 -0
- package/dist/controls/carrier-shell-hook.d.ts +45 -0
- package/dist/controls/carrier-shell-hook.d.ts.map +1 -0
- package/dist/controls/carrier-shell-hook.js +222 -0
- package/dist/controls/carrier-shell-hook.js.map +1 -0
- package/dist/controls/carrier-types.d.ts +327 -0
- package/dist/controls/carrier-types.d.ts.map +1 -0
- package/dist/controls/carrier-types.js +99 -0
- package/dist/controls/carrier-types.js.map +1 -0
- package/dist/controls/carrier-unenforceable.d.ts +22 -0
- package/dist/controls/carrier-unenforceable.d.ts.map +1 -0
- package/dist/controls/carrier-unenforceable.js +246 -0
- package/dist/controls/carrier-unenforceable.js.map +1 -0
- package/dist/controls/carrier-yaml-lines.d.ts +139 -0
- package/dist/controls/carrier-yaml-lines.d.ts.map +1 -0
- package/dist/controls/carrier-yaml-lines.js +192 -0
- package/dist/controls/carrier-yaml-lines.js.map +1 -0
- package/dist/controls/carriers.d.ts +56 -0
- package/dist/controls/carriers.d.ts.map +1 -0
- package/dist/controls/carriers.js +264 -0
- package/dist/controls/carriers.js.map +1 -0
- package/dist/controls/catalogue.d.ts +85 -0
- package/dist/controls/catalogue.d.ts.map +1 -0
- package/dist/controls/catalogue.js +120 -0
- package/dist/controls/catalogue.js.map +1 -0
- package/dist/controls/checks-binding.d.ts +75 -0
- package/dist/controls/checks-binding.d.ts.map +1 -0
- package/dist/controls/checks-binding.js +372 -0
- package/dist/controls/checks-binding.js.map +1 -0
- package/dist/controls/coding-agents.d.ts +45 -0
- package/dist/controls/coding-agents.d.ts.map +1 -0
- package/dist/controls/coding-agents.js +51 -0
- package/dist/controls/coding-agents.js.map +1 -0
- package/dist/controls/commands/attest-attempt.d.ts +68 -0
- package/dist/controls/commands/attest-attempt.d.ts.map +1 -0
- package/dist/controls/commands/attest-attempt.js +162 -0
- package/dist/controls/commands/attest-attempt.js.map +1 -0
- package/dist/controls/commands/attest-before-enforce.d.ts +56 -0
- package/dist/controls/commands/attest-before-enforce.d.ts.map +1 -0
- package/dist/controls/commands/attest-before-enforce.js +265 -0
- package/dist/controls/commands/attest-before-enforce.js.map +1 -0
- package/dist/controls/commands/attest-interruption.d.ts +36 -0
- package/dist/controls/commands/attest-interruption.d.ts.map +1 -0
- package/dist/controls/commands/attest-interruption.js +111 -0
- package/dist/controls/commands/attest-interruption.js.map +1 -0
- package/dist/controls/commands/attest-options.d.ts +68 -0
- package/dist/controls/commands/attest-options.d.ts.map +1 -0
- package/dist/controls/commands/attest-options.js +12 -0
- package/dist/controls/commands/attest-options.js.map +1 -0
- package/dist/controls/commands/attest-report-only.d.ts +27 -0
- package/dist/controls/commands/attest-report-only.d.ts.map +1 -0
- package/dist/controls/commands/attest-report-only.js +52 -0
- package/dist/controls/commands/attest-report-only.js.map +1 -0
- package/dist/controls/commands/attest-workspace.d.ts +65 -0
- package/dist/controls/commands/attest-workspace.d.ts.map +1 -0
- package/dist/controls/commands/attest-workspace.js +166 -0
- package/dist/controls/commands/attest-workspace.js.map +1 -0
- package/dist/controls/commands/attest.d.ts +23 -0
- package/dist/controls/commands/attest.d.ts.map +1 -0
- package/dist/controls/commands/attest.js +281 -0
- package/dist/controls/commands/attest.js.map +1 -0
- package/dist/controls/commands/catalogue.d.ts +72 -0
- package/dist/controls/commands/catalogue.d.ts.map +1 -0
- package/dist/controls/commands/catalogue.js +54 -0
- package/dist/controls/commands/catalogue.js.map +1 -0
- package/dist/controls/commands/declaration-check.d.ts +39 -0
- package/dist/controls/commands/declaration-check.d.ts.map +1 -0
- package/dist/controls/commands/declaration-check.js +98 -0
- package/dist/controls/commands/declaration-check.js.map +1 -0
- package/dist/controls/commands/enforce-report.d.ts +38 -0
- package/dist/controls/commands/enforce-report.d.ts.map +1 -0
- package/dist/controls/commands/enforce-report.js +183 -0
- package/dist/controls/commands/enforce-report.js.map +1 -0
- package/dist/controls/commands/gaps.d.ts +101 -0
- package/dist/controls/commands/gaps.d.ts.map +1 -0
- package/dist/controls/commands/gaps.js +146 -0
- package/dist/controls/commands/gaps.js.map +1 -0
- package/dist/controls/commands/install-carriers.d.ts +44 -0
- package/dist/controls/commands/install-carriers.d.ts.map +1 -0
- package/dist/controls/commands/install-carriers.js +235 -0
- package/dist/controls/commands/install-carriers.js.map +1 -0
- package/dist/controls/commands/merge-protection.d.ts +35 -0
- package/dist/controls/commands/merge-protection.d.ts.map +1 -0
- package/dist/controls/commands/merge-protection.js +136 -0
- package/dist/controls/commands/merge-protection.js.map +1 -0
- package/dist/controls/commands/proof-check.d.ts +62 -0
- package/dist/controls/commands/proof-check.d.ts.map +1 -0
- package/dist/controls/commands/proof-check.js +251 -0
- package/dist/controls/commands/proof-check.js.map +1 -0
- package/dist/controls/commands/propose-threshold.d.ts +63 -0
- package/dist/controls/commands/propose-threshold.d.ts.map +1 -0
- package/dist/controls/commands/propose-threshold.js +78 -0
- package/dist/controls/commands/propose-threshold.js.map +1 -0
- package/dist/controls/commands/protect.d.ts +40 -0
- package/dist/controls/commands/protect.d.ts.map +1 -0
- package/dist/controls/commands/protect.js +131 -0
- package/dist/controls/commands/protect.js.map +1 -0
- package/dist/controls/commands/reconcile.d.ts +43 -0
- package/dist/controls/commands/reconcile.d.ts.map +1 -0
- package/dist/controls/commands/reconcile.js +157 -0
- package/dist/controls/commands/reconcile.js.map +1 -0
- package/dist/controls/commands/register.d.ts +40 -0
- package/dist/controls/commands/register.d.ts.map +1 -0
- package/dist/controls/commands/register.js +212 -0
- package/dist/controls/commands/register.js.map +1 -0
- package/dist/controls/commands/report-absorb.d.ts +20 -0
- package/dist/controls/commands/report-absorb.d.ts.map +1 -0
- package/dist/controls/commands/report-absorb.js +174 -0
- package/dist/controls/commands/report-absorb.js.map +1 -0
- package/dist/controls/commands/report-check.d.ts +35 -0
- package/dist/controls/commands/report-check.d.ts.map +1 -0
- package/dist/controls/commands/report-check.js +148 -0
- package/dist/controls/commands/report-check.js.map +1 -0
- package/dist/controls/commands/seed.d.ts +70 -0
- package/dist/controls/commands/seed.d.ts.map +1 -0
- package/dist/controls/commands/seed.js +289 -0
- package/dist/controls/commands/seed.js.map +1 -0
- package/dist/controls/configure-road.d.ts +23 -0
- package/dist/controls/configure-road.d.ts.map +1 -0
- package/dist/controls/configure-road.js +51 -0
- package/dist/controls/configure-road.js.map +1 -0
- package/dist/controls/control-files.d.ts +37 -0
- package/dist/controls/control-files.d.ts.map +1 -0
- package/dist/controls/control-files.js +92 -0
- package/dist/controls/control-files.js.map +1 -0
- package/dist/controls/control-gap-marker.d.ts +33 -0
- package/dist/controls/control-gap-marker.d.ts.map +1 -0
- package/dist/controls/control-gap-marker.js +89 -0
- package/dist/controls/control-gap-marker.js.map +1 -0
- package/dist/controls/declaration-evidence.d.ts +26 -0
- package/dist/controls/declaration-evidence.d.ts.map +1 -0
- package/dist/controls/declaration-evidence.js +193 -0
- package/dist/controls/declaration-evidence.js.map +1 -0
- package/dist/controls/enforce-carriers.d.ts +51 -0
- package/dist/controls/enforce-carriers.d.ts.map +1 -0
- package/dist/controls/enforce-carriers.js +149 -0
- package/dist/controls/enforce-carriers.js.map +1 -0
- package/dist/controls/enforce-claims.d.ts +94 -0
- package/dist/controls/enforce-claims.d.ts.map +1 -0
- package/dist/controls/enforce-claims.js +299 -0
- package/dist/controls/enforce-claims.js.map +1 -0
- package/dist/controls/enforce-entry-outcome.d.ts +31 -0
- package/dist/controls/enforce-entry-outcome.d.ts.map +1 -0
- package/dist/controls/enforce-entry-outcome.js +209 -0
- package/dist/controls/enforce-entry-outcome.js.map +1 -0
- package/dist/controls/enforce-head-copy.d.ts +19 -0
- package/dist/controls/enforce-head-copy.d.ts.map +1 -0
- package/dist/controls/enforce-head-copy.js +129 -0
- package/dist/controls/enforce-head-copy.js.map +1 -0
- package/dist/controls/enforce-head-run.d.ts +34 -0
- package/dist/controls/enforce-head-run.d.ts.map +1 -0
- package/dist/controls/enforce-head-run.js +245 -0
- package/dist/controls/enforce-head-run.js.map +1 -0
- package/dist/controls/enforce-head.d.ts +40 -0
- package/dist/controls/enforce-head.d.ts.map +1 -0
- package/dist/controls/enforce-head.js +103 -0
- package/dist/controls/enforce-head.js.map +1 -0
- package/dist/controls/enforce-input-rules.d.ts +23 -0
- package/dist/controls/enforce-input-rules.d.ts.map +1 -0
- package/dist/controls/enforce-input-rules.js +200 -0
- package/dist/controls/enforce-input-rules.js.map +1 -0
- package/dist/controls/enforce-input-shape.d.ts +66 -0
- package/dist/controls/enforce-input-shape.d.ts.map +1 -0
- package/dist/controls/enforce-input-shape.js +110 -0
- package/dist/controls/enforce-input-shape.js.map +1 -0
- package/dist/controls/enforce-input-types.d.ts +84 -0
- package/dist/controls/enforce-input-types.d.ts.map +1 -0
- package/dist/controls/enforce-input-types.js +5 -0
- package/dist/controls/enforce-input-types.js.map +1 -0
- package/dist/controls/enforce-inputs.d.ts +9 -0
- package/dist/controls/enforce-inputs.d.ts.map +1 -0
- package/dist/controls/enforce-inputs.js +103 -0
- package/dist/controls/enforce-inputs.js.map +1 -0
- package/dist/controls/enforce-points.d.ts +27 -0
- package/dist/controls/enforce-points.d.ts.map +1 -0
- package/dist/controls/enforce-points.js +250 -0
- package/dist/controls/enforce-points.js.map +1 -0
- package/dist/controls/enforce-report.d.ts +38 -0
- package/dist/controls/enforce-report.d.ts.map +1 -0
- package/dist/controls/enforce-report.js +179 -0
- package/dist/controls/enforce-report.js.map +1 -0
- package/dist/controls/enforce-summary.d.ts +66 -0
- package/dist/controls/enforce-summary.d.ts.map +1 -0
- package/dist/controls/enforce-summary.js +192 -0
- package/dist/controls/enforce-summary.js.map +1 -0
- package/dist/controls/enforce-tickets.d.ts +47 -0
- package/dist/controls/enforce-tickets.d.ts.map +1 -0
- package/dist/controls/enforce-tickets.js +128 -0
- package/dist/controls/enforce-tickets.js.map +1 -0
- package/dist/controls/enforce-types.d.ts +222 -0
- package/dist/controls/enforce-types.d.ts.map +1 -0
- package/dist/controls/enforce-types.js +19 -0
- package/dist/controls/enforce-types.js.map +1 -0
- package/dist/controls/evidence-binding.d.ts +23 -0
- package/dist/controls/evidence-binding.d.ts.map +1 -0
- package/dist/controls/evidence-binding.js +147 -0
- package/dist/controls/evidence-binding.js.map +1 -0
- package/dist/controls/evidence-document.d.ts +28 -0
- package/dist/controls/evidence-document.d.ts.map +1 -0
- package/dist/controls/evidence-document.js +313 -0
- package/dist/controls/evidence-document.js.map +1 -0
- package/dist/controls/evidence-findings.d.ts +32 -0
- package/dist/controls/evidence-findings.d.ts.map +1 -0
- package/dist/controls/evidence-findings.js +216 -0
- package/dist/controls/evidence-findings.js.map +1 -0
- package/dist/controls/evidence-gather.d.ts +42 -0
- package/dist/controls/evidence-gather.d.ts.map +1 -0
- package/dist/controls/evidence-gather.js +168 -0
- package/dist/controls/evidence-gather.js.map +1 -0
- package/dist/controls/evidence-redact.d.ts +52 -0
- package/dist/controls/evidence-redact.d.ts.map +1 -0
- package/dist/controls/evidence-redact.js +86 -0
- package/dist/controls/evidence-redact.js.map +1 -0
- package/dist/controls/evidence-standing.d.ts +49 -0
- package/dist/controls/evidence-standing.d.ts.map +1 -0
- package/dist/controls/evidence-standing.js +42 -0
- package/dist/controls/evidence-standing.js.map +1 -0
- package/dist/controls/evidence-types.d.ts +305 -0
- package/dist/controls/evidence-types.d.ts.map +1 -0
- package/dist/controls/evidence-types.js +116 -0
- package/dist/controls/evidence-types.js.map +1 -0
- package/dist/controls/evidence-write.d.ts +113 -0
- package/dist/controls/evidence-write.d.ts.map +1 -0
- package/dist/controls/evidence-write.js +325 -0
- package/dist/controls/evidence-write.js.map +1 -0
- package/dist/controls/evidence.d.ts +86 -0
- package/dist/controls/evidence.d.ts.map +1 -0
- package/dist/controls/evidence.js +177 -0
- package/dist/controls/evidence.js.map +1 -0
- package/dist/controls/gates-declaration.d.ts +79 -0
- package/dist/controls/gates-declaration.d.ts.map +1 -0
- package/dist/controls/gates-declaration.js +63 -0
- package/dist/controls/gates-declaration.js.map +1 -0
- package/dist/controls/head-commit.d.ts +7 -0
- package/dist/controls/head-commit.d.ts.map +1 -0
- package/dist/controls/head-commit.js +41 -0
- package/dist/controls/head-commit.js.map +1 -0
- package/dist/controls/merge-protection-read.d.ts +88 -0
- package/dist/controls/merge-protection-read.d.ts.map +1 -0
- package/dist/controls/merge-protection-read.js +228 -0
- package/dist/controls/merge-protection-read.js.map +1 -0
- package/dist/controls/proof-change-rule.d.ts +99 -0
- package/dist/controls/proof-change-rule.d.ts.map +1 -0
- package/dist/controls/proof-change-rule.js +304 -0
- package/dist/controls/proof-change-rule.js.map +1 -0
- package/dist/controls/proof-check-plan.d.ts +77 -0
- package/dist/controls/proof-check-plan.d.ts.map +1 -0
- package/dist/controls/proof-check-plan.js +168 -0
- package/dist/controls/proof-check-plan.js.map +1 -0
- package/dist/controls/proof-check-report.d.ts +24 -0
- package/dist/controls/proof-check-report.d.ts.map +1 -0
- package/dist/controls/proof-check-report.js +113 -0
- package/dist/controls/proof-check-report.js.map +1 -0
- package/dist/controls/proof-check-run.d.ts +53 -0
- package/dist/controls/proof-check-run.d.ts.map +1 -0
- package/dist/controls/proof-check-run.js +258 -0
- package/dist/controls/proof-check-run.js.map +1 -0
- package/dist/controls/proof-check-types.d.ts +116 -0
- package/dist/controls/proof-check-types.d.ts.map +1 -0
- package/dist/controls/proof-check-types.js +68 -0
- package/dist/controls/proof-check-types.js.map +1 -0
- package/dist/controls/proof-check-wording.d.ts +146 -0
- package/dist/controls/proof-check-wording.d.ts.map +1 -0
- package/dist/controls/proof-check-wording.js +211 -0
- package/dist/controls/proof-check-wording.js.map +1 -0
- package/dist/controls/proof-check-workspace.d.ts +53 -0
- package/dist/controls/proof-check-workspace.d.ts.map +1 -0
- package/dist/controls/proof-check-workspace.js +104 -0
- package/dist/controls/proof-check-workspace.js.map +1 -0
- package/dist/controls/proof-copy-files.d.ts +45 -0
- package/dist/controls/proof-copy-files.d.ts.map +1 -0
- package/dist/controls/proof-copy-files.js +184 -0
- package/dist/controls/proof-copy-files.js.map +1 -0
- package/dist/controls/proof-copy-git.d.ts +42 -0
- package/dist/controls/proof-copy-git.d.ts.map +1 -0
- package/dist/controls/proof-copy-git.js +147 -0
- package/dist/controls/proof-copy-git.js.map +1 -0
- package/dist/controls/proof-copy-wording.d.ts +100 -0
- package/dist/controls/proof-copy-wording.d.ts.map +1 -0
- package/dist/controls/proof-copy-wording.js +159 -0
- package/dist/controls/proof-copy-wording.js.map +1 -0
- package/dist/controls/proof-copy-workspace.d.ts +39 -0
- package/dist/controls/proof-copy-workspace.d.ts.map +1 -0
- package/dist/controls/proof-copy-workspace.js +343 -0
- package/dist/controls/proof-copy-workspace.js.map +1 -0
- package/dist/controls/proof-copy.d.ts +77 -0
- package/dist/controls/proof-copy.d.ts.map +1 -0
- package/dist/controls/proof-copy.js +341 -0
- package/dist/controls/proof-copy.js.map +1 -0
- package/dist/controls/proof-half-run.d.ts +34 -0
- package/dist/controls/proof-half-run.d.ts.map +1 -0
- package/dist/controls/proof-half-run.js +229 -0
- package/dist/controls/proof-half-run.js.map +1 -0
- package/dist/controls/proof-halves.d.ts +40 -0
- package/dist/controls/proof-halves.d.ts.map +1 -0
- package/dist/controls/proof-halves.js +142 -0
- package/dist/controls/proof-halves.js.map +1 -0
- package/dist/controls/proof-judgement.d.ts +61 -0
- package/dist/controls/proof-judgement.d.ts.map +1 -0
- package/dist/controls/proof-judgement.js +99 -0
- package/dist/controls/proof-judgement.js.map +1 -0
- package/dist/controls/proof-patch.d.ts +96 -0
- package/dist/controls/proof-patch.d.ts.map +1 -0
- package/dist/controls/proof-patch.js +311 -0
- package/dist/controls/proof-patch.js.map +1 -0
- package/dist/controls/proof-plan.d.ts +69 -0
- package/dist/controls/proof-plan.d.ts.map +1 -0
- package/dist/controls/proof-plan.js +209 -0
- package/dist/controls/proof-plan.js.map +1 -0
- package/dist/controls/proof-preflight.d.ts +50 -0
- package/dist/controls/proof-preflight.d.ts.map +1 -0
- package/dist/controls/proof-preflight.js +69 -0
- package/dist/controls/proof-preflight.js.map +1 -0
- package/dist/controls/proof-report.d.ts +24 -0
- package/dist/controls/proof-report.d.ts.map +1 -0
- package/dist/controls/proof-report.js +69 -0
- package/dist/controls/proof-report.js.map +1 -0
- package/dist/controls/proof-runner.d.ts +39 -0
- package/dist/controls/proof-runner.d.ts.map +1 -0
- package/dist/controls/proof-runner.js +168 -0
- package/dist/controls/proof-runner.js.map +1 -0
- package/dist/controls/proof-task-runners.d.ts +64 -0
- package/dist/controls/proof-task-runners.d.ts.map +1 -0
- package/dist/controls/proof-task-runners.js +343 -0
- package/dist/controls/proof-task-runners.js.map +1 -0
- package/dist/controls/proof-tools.d.ts +38 -0
- package/dist/controls/proof-tools.d.ts.map +1 -0
- package/dist/controls/proof-tools.js +75 -0
- package/dist/controls/proof-tools.js.map +1 -0
- package/dist/controls/proof-types.d.ts +233 -0
- package/dist/controls/proof-types.d.ts.map +1 -0
- package/dist/controls/proof-types.js +101 -0
- package/dist/controls/proof-types.js.map +1 -0
- package/dist/controls/proof-wording.d.ts +111 -0
- package/dist/controls/proof-wording.d.ts.map +1 -0
- package/dist/controls/proof-wording.js +196 -0
- package/dist/controls/proof-wording.js.map +1 -0
- package/dist/controls/proof-workspace.d.ts +64 -0
- package/dist/controls/proof-workspace.d.ts.map +1 -0
- package/dist/controls/proof-workspace.js +127 -0
- package/dist/controls/proof-workspace.js.map +1 -0
- package/dist/controls/protect-apply.d.ts +81 -0
- package/dist/controls/protect-apply.d.ts.map +1 -0
- package/dist/controls/protect-apply.js +250 -0
- package/dist/controls/protect-apply.js.map +1 -0
- package/dist/controls/protect-derive.d.ts +88 -0
- package/dist/controls/protect-derive.d.ts.map +1 -0
- package/dist/controls/protect-derive.js +150 -0
- package/dist/controls/protect-derive.js.map +1 -0
- package/dist/controls/protect-examine.d.ts +32 -0
- package/dist/controls/protect-examine.d.ts.map +1 -0
- package/dist/controls/protect-examine.js +276 -0
- package/dist/controls/protect-examine.js.map +1 -0
- package/dist/controls/protect-handover-file.d.ts +16 -0
- package/dist/controls/protect-handover-file.d.ts.map +1 -0
- package/dist/controls/protect-handover-file.js +73 -0
- package/dist/controls/protect-handover-file.js.map +1 -0
- package/dist/controls/protect-handover.d.ts +35 -0
- package/dist/controls/protect-handover.d.ts.map +1 -0
- package/dist/controls/protect-handover.js +218 -0
- package/dist/controls/protect-handover.js.map +1 -0
- package/dist/controls/protect-held.d.ts +76 -0
- package/dist/controls/protect-held.d.ts.map +1 -0
- package/dist/controls/protect-held.js +186 -0
- package/dist/controls/protect-held.js.map +1 -0
- package/dist/controls/protect-live.d.ts +155 -0
- package/dist/controls/protect-live.d.ts.map +1 -0
- package/dist/controls/protect-live.js +309 -0
- package/dist/controls/protect-live.js.map +1 -0
- package/dist/controls/protect-modules.d.ts +177 -0
- package/dist/controls/protect-modules.d.ts.map +1 -0
- package/dist/controls/protect-modules.js +48 -0
- package/dist/controls/protect-modules.js.map +1 -0
- package/dist/controls/protect-platform.d.ts +63 -0
- package/dist/controls/protect-platform.d.ts.map +1 -0
- package/dist/controls/protect-platform.js +249 -0
- package/dist/controls/protect-platform.js.map +1 -0
- package/dist/controls/protect-prepare.d.ts +64 -0
- package/dist/controls/protect-prepare.d.ts.map +1 -0
- package/dist/controls/protect-prepare.js +64 -0
- package/dist/controls/protect-prepare.js.map +1 -0
- package/dist/controls/protect-reported.d.ts +109 -0
- package/dist/controls/protect-reported.d.ts.map +1 -0
- package/dist/controls/protect-reported.js +281 -0
- package/dist/controls/protect-reported.js.map +1 -0
- package/dist/controls/protect-requests.d.ts +75 -0
- package/dist/controls/protect-requests.d.ts.map +1 -0
- package/dist/controls/protect-requests.js +139 -0
- package/dist/controls/protect-requests.js.map +1 -0
- package/dist/controls/protect-types.d.ts +152 -0
- package/dist/controls/protect-types.d.ts.map +1 -0
- package/dist/controls/protect-types.js +41 -0
- package/dist/controls/protect-types.js.map +1 -0
- package/dist/controls/protect-wording.d.ts +86 -0
- package/dist/controls/protect-wording.d.ts.map +1 -0
- package/dist/controls/protect-wording.js +150 -0
- package/dist/controls/protect-wording.js.map +1 -0
- package/dist/controls/protect.d.ts +20 -0
- package/dist/controls/protect.d.ts.map +1 -0
- package/dist/controls/protect.js +113 -0
- package/dist/controls/protect.js.map +1 -0
- package/dist/controls/pull-request-canaries.d.ts +48 -0
- package/dist/controls/pull-request-canaries.d.ts.map +1 -0
- package/dist/controls/pull-request-canaries.js +266 -0
- package/dist/controls/pull-request-canaries.js.map +1 -0
- package/dist/controls/pull-request-evidence.d.ts +37 -0
- package/dist/controls/pull-request-evidence.d.ts.map +1 -0
- package/dist/controls/pull-request-evidence.js +205 -0
- package/dist/controls/pull-request-evidence.js.map +1 -0
- package/dist/controls/pull-request-executor.d.ts +62 -0
- package/dist/controls/pull-request-executor.d.ts.map +1 -0
- package/dist/controls/pull-request-executor.js +250 -0
- package/dist/controls/pull-request-executor.js.map +1 -0
- package/dist/controls/pull-request-notices.d.ts +27 -0
- package/dist/controls/pull-request-notices.d.ts.map +1 -0
- package/dist/controls/pull-request-notices.js +167 -0
- package/dist/controls/pull-request-notices.js.map +1 -0
- package/dist/controls/pull-request-observe.d.ts +76 -0
- package/dist/controls/pull-request-observe.d.ts.map +1 -0
- package/dist/controls/pull-request-observe.js +172 -0
- package/dist/controls/pull-request-observe.js.map +1 -0
- package/dist/controls/pull-request-points.d.ts +33 -0
- package/dist/controls/pull-request-points.d.ts.map +1 -0
- package/dist/controls/pull-request-points.js +171 -0
- package/dist/controls/pull-request-points.js.map +1 -0
- package/dist/controls/pull-request-settle.d.ts +30 -0
- package/dist/controls/pull-request-settle.d.ts.map +1 -0
- package/dist/controls/pull-request-settle.js +92 -0
- package/dist/controls/pull-request-settle.js.map +1 -0
- package/dist/controls/pull-request-types.d.ts +186 -0
- package/dist/controls/pull-request-types.d.ts.map +1 -0
- package/dist/controls/pull-request-types.js +24 -0
- package/dist/controls/pull-request-types.js.map +1 -0
- package/dist/controls/pull-request-wording.d.ts +89 -0
- package/dist/controls/pull-request-wording.d.ts.map +1 -0
- package/dist/controls/pull-request-wording.js +147 -0
- package/dist/controls/pull-request-wording.js.map +1 -0
- package/dist/controls/question-ids.d.ts +53 -0
- package/dist/controls/question-ids.d.ts.map +1 -0
- package/dist/controls/question-ids.js +91 -0
- package/dist/controls/question-ids.js.map +1 -0
- package/dist/controls/reconcile-audit-findings.d.ts +36 -0
- package/dist/controls/reconcile-audit-findings.d.ts.map +1 -0
- package/dist/controls/reconcile-audit-findings.js +232 -0
- package/dist/controls/reconcile-audit-findings.js.map +1 -0
- package/dist/controls/reconcile-carrier-points.d.ts +23 -0
- package/dist/controls/reconcile-carrier-points.d.ts.map +1 -0
- package/dist/controls/reconcile-carrier-points.js +198 -0
- package/dist/controls/reconcile-carrier-points.js.map +1 -0
- package/dist/controls/reconcile-declared.d.ts +49 -0
- package/dist/controls/reconcile-declared.d.ts.map +1 -0
- package/dist/controls/reconcile-declared.js +75 -0
- package/dist/controls/reconcile-declared.js.map +1 -0
- package/dist/controls/reconcile-executor.d.ts +21 -0
- package/dist/controls/reconcile-executor.d.ts.map +1 -0
- package/dist/controls/reconcile-executor.js +67 -0
- package/dist/controls/reconcile-executor.js.map +1 -0
- package/dist/controls/reconcile-findings.d.ts +18 -0
- package/dist/controls/reconcile-findings.d.ts.map +1 -0
- package/dist/controls/reconcile-findings.js +114 -0
- package/dist/controls/reconcile-findings.js.map +1 -0
- package/dist/controls/reconcile-hook-lines.d.ts +28 -0
- package/dist/controls/reconcile-hook-lines.d.ts.map +1 -0
- package/dist/controls/reconcile-hook-lines.js +191 -0
- package/dist/controls/reconcile-hook-lines.js.map +1 -0
- package/dist/controls/reconcile-hooks.d.ts +22 -0
- package/dist/controls/reconcile-hooks.d.ts.map +1 -0
- package/dist/controls/reconcile-hooks.js +189 -0
- package/dist/controls/reconcile-hooks.js.map +1 -0
- package/dist/controls/reconcile-manager-commands.d.ts +30 -0
- package/dist/controls/reconcile-manager-commands.d.ts.map +1 -0
- package/dist/controls/reconcile-manager-commands.js +246 -0
- package/dist/controls/reconcile-manager-commands.js.map +1 -0
- package/dist/controls/reconcile-platform.d.ts +73 -0
- package/dist/controls/reconcile-platform.d.ts.map +1 -0
- package/dist/controls/reconcile-platform.js +190 -0
- package/dist/controls/reconcile-platform.js.map +1 -0
- package/dist/controls/reconcile-points.d.ts +46 -0
- package/dist/controls/reconcile-points.d.ts.map +1 -0
- package/dist/controls/reconcile-points.js +59 -0
- package/dist/controls/reconcile-points.js.map +1 -0
- package/dist/controls/reconcile-result.d.ts +49 -0
- package/dist/controls/reconcile-result.d.ts.map +1 -0
- package/dist/controls/reconcile-result.js +129 -0
- package/dist/controls/reconcile-result.js.map +1 -0
- package/dist/controls/reconcile-shell-command.d.ts +72 -0
- package/dist/controls/reconcile-shell-command.d.ts.map +1 -0
- package/dist/controls/reconcile-shell-command.js +291 -0
- package/dist/controls/reconcile-shell-command.js.map +1 -0
- package/dist/controls/reconcile-shell-line.d.ts +29 -0
- package/dist/controls/reconcile-shell-line.d.ts.map +1 -0
- package/dist/controls/reconcile-shell-line.js +322 -0
- package/dist/controls/reconcile-shell-line.js.map +1 -0
- package/dist/controls/reconcile-shell-spans.d.ts +73 -0
- package/dist/controls/reconcile-shell-spans.d.ts.map +1 -0
- package/dist/controls/reconcile-shell-spans.js +210 -0
- package/dist/controls/reconcile-shell-spans.js.map +1 -0
- package/dist/controls/reconcile-shell-words.d.ts +72 -0
- package/dist/controls/reconcile-shell-words.d.ts.map +1 -0
- package/dist/controls/reconcile-shell-words.js +126 -0
- package/dist/controls/reconcile-shell-words.js.map +1 -0
- package/dist/controls/reconcile-types.d.ts +192 -0
- package/dist/controls/reconcile-types.d.ts.map +1 -0
- package/dist/controls/reconcile-types.js +44 -0
- package/dist/controls/reconcile-types.js.map +1 -0
- package/dist/controls/reconcile.d.ts +41 -0
- package/dist/controls/reconcile.d.ts.map +1 -0
- package/dist/controls/reconcile.js +215 -0
- package/dist/controls/reconcile.js.map +1 -0
- package/dist/controls/register-drift.d.ts +10 -0
- package/dist/controls/register-drift.d.ts.map +1 -0
- package/dist/controls/register-drift.js +153 -0
- package/dist/controls/register-drift.js.map +1 -0
- package/dist/controls/register-entries.d.ts +26 -0
- package/dist/controls/register-entries.d.ts.map +1 -0
- package/dist/controls/register-entries.js +157 -0
- package/dist/controls/register-entries.js.map +1 -0
- package/dist/controls/register-evidence-rule.d.ts +21 -0
- package/dist/controls/register-evidence-rule.d.ts.map +1 -0
- package/dist/controls/register-evidence-rule.js +59 -0
- package/dist/controls/register-evidence-rule.js.map +1 -0
- package/dist/controls/register-points.d.ts +36 -0
- package/dist/controls/register-points.d.ts.map +1 -0
- package/dist/controls/register-points.js +152 -0
- package/dist/controls/register-points.js.map +1 -0
- package/dist/controls/register-rules.d.ts +45 -0
- package/dist/controls/register-rules.d.ts.map +1 -0
- package/dist/controls/register-rules.js +49 -0
- package/dist/controls/register-rules.js.map +1 -0
- package/dist/controls/register-secrets-rule.d.ts +37 -0
- package/dist/controls/register-secrets-rule.d.ts.map +1 -0
- package/dist/controls/register-secrets-rule.js +41 -0
- package/dist/controls/register-secrets-rule.js.map +1 -0
- package/dist/controls/register-tier-rule.d.ts +48 -0
- package/dist/controls/register-tier-rule.d.ts.map +1 -0
- package/dist/controls/register-tier-rule.js +81 -0
- package/dist/controls/register-tier-rule.js.map +1 -0
- package/dist/controls/register-types.d.ts +227 -0
- package/dist/controls/register-types.d.ts.map +1 -0
- package/dist/controls/register-types.js +68 -0
- package/dist/controls/register-types.js.map +1 -0
- package/dist/controls/register.d.ts +75 -0
- package/dist/controls/register.d.ts.map +1 -0
- package/dist/controls/register.js +154 -0
- package/dist/controls/register.js.map +1 -0
- package/dist/controls/repository-reader.d.ts +33 -0
- package/dist/controls/repository-reader.d.ts.map +1 -0
- package/dist/controls/repository-reader.js +164 -0
- package/dist/controls/repository-reader.js.map +1 -0
- package/dist/controls/secret-scan-json.d.ts +78 -0
- package/dist/controls/secret-scan-json.d.ts.map +1 -0
- package/dist/controls/secret-scan-json.js +257 -0
- package/dist/controls/secret-scan-json.js.map +1 -0
- package/dist/controls/secret-scan.d.ts +62 -0
- package/dist/controls/secret-scan.d.ts.map +1 -0
- package/dist/controls/secret-scan.js +411 -0
- package/dist/controls/secret-scan.js.map +1 -0
- package/dist/controls/secret-shapes.d.ts +95 -0
- package/dist/controls/secret-shapes.d.ts.map +1 -0
- package/dist/controls/secret-shapes.js +167 -0
- package/dist/controls/secret-shapes.js.map +1 -0
- package/dist/controls/threshold-proposal.d.ts +72 -0
- package/dist/controls/threshold-proposal.d.ts.map +1 -0
- package/dist/controls/threshold-proposal.js +82 -0
- package/dist/controls/threshold-proposal.js.map +1 -0
- package/dist/controls/tracker-config.d.ts +22 -0
- package/dist/controls/tracker-config.d.ts.map +1 -0
- package/dist/controls/tracker-config.js +93 -0
- package/dist/controls/tracker-config.js.map +1 -0
- package/dist/controls/tracker-question.d.ts +13 -0
- package/dist/controls/tracker-question.d.ts.map +1 -0
- package/dist/controls/tracker-question.js +46 -0
- package/dist/controls/tracker-question.js.map +1 -0
- package/dist/controls/unenforceable-agents.d.ts +22 -0
- package/dist/controls/unenforceable-agents.d.ts.map +1 -0
- package/dist/controls/unenforceable-agents.js +62 -0
- package/dist/controls/unenforceable-agents.js.map +1 -0
- package/dist/controls/verdict-answers.d.ts +55 -0
- package/dist/controls/verdict-answers.d.ts.map +1 -0
- package/dist/controls/verdict-answers.js +241 -0
- package/dist/controls/verdict-answers.js.map +1 -0
- package/dist/controls/verdict-digest.d.ts +15 -0
- package/dist/controls/verdict-digest.d.ts.map +1 -0
- package/dist/controls/verdict-digest.js +42 -0
- package/dist/controls/verdict-digest.js.map +1 -0
- package/dist/controls/verdict-drift.d.ts +9 -0
- package/dist/controls/verdict-drift.d.ts.map +1 -0
- package/dist/controls/verdict-drift.js +227 -0
- package/dist/controls/verdict-drift.js.map +1 -0
- package/dist/controls/verdict-summary.d.ts +16 -0
- package/dist/controls/verdict-summary.d.ts.map +1 -0
- package/dist/controls/verdict-summary.js +39 -0
- package/dist/controls/verdict-summary.js.map +1 -0
- package/dist/controls/verdict-types.d.ts +111 -0
- package/dist/controls/verdict-types.d.ts.map +1 -0
- package/dist/controls/verdict-types.js +57 -0
- package/dist/controls/verdict-types.js.map +1 -0
- package/dist/controls/verdict-wording.d.ts +81 -0
- package/dist/controls/verdict-wording.d.ts.map +1 -0
- package/dist/controls/verdict-wording.js +146 -0
- package/dist/controls/verdict-wording.js.map +1 -0
- package/dist/controls/verdict.d.ts +43 -0
- package/dist/controls/verdict.d.ts.map +1 -0
- package/dist/controls/verdict.js +260 -0
- package/dist/controls/verdict.js.map +1 -0
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +106 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +13030 -44
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/health/ruleset-inspection.d.ts +40 -6
- package/dist/health/ruleset-inspection.d.ts.map +1 -1
- package/dist/health/ruleset-inspection.js +87 -23
- package/dist/health/ruleset-inspection.js.map +1 -1
- package/dist/migrations/ensure-seeded-gates.d.ts +19 -0
- package/dist/migrations/ensure-seeded-gates.d.ts.map +1 -1
- package/dist/migrations/ensure-seeded-gates.js +1 -1
- package/dist/migrations/ensure-seeded-gates.js.map +1 -1
- package/dist/opencode/plugin-templates/lisa-block-direct-issue-create.ts +3 -2
- package/package.json +13 -6
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/scripts/human-gate-act.mjs +4 -1
- package/plugins/lisa/.codex-plugin/scripts/intake-blocker-reprobe.mjs +46 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-agent-ready/SKILL.md +4 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-attest/SKILL.md +531 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-attest/agents/openai.yaml +4 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-audit/SKILL.md +741 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-audit/agents/openai.yaml +4 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-configure/SKILL.md +546 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-configure/agents/openai.yaml +4 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-enforce/SKILL.md +473 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-enforce/agents/openai.yaml +4 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-enforce/references/missing-capability-tickets.md +258 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-enforce/references/pull-request-executor.md +235 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-write-prd/SKILL.md +40 -12
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-prd-backlink/SKILL.md +171 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-security-audit-handling/SKILL.md +13 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-security-audit-handling/agents/openai.yaml +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +1 -1
- package/plugins/lisa/commands/attest.md +7 -0
- package/plugins/lisa/commands/audit.md +7 -0
- package/plugins/lisa/commands/configure.md +7 -0
- package/plugins/lisa/commands/enforce.md +7 -0
- package/plugins/lisa/hooks/block-direct-issue-create.sh +3 -2
- package/plugins/lisa/hooks/threshold-ratchet-compare.mjs +214 -3
- package/plugins/lisa/hooks/threshold-ratchet-families.mjs +166 -0
- package/plugins/lisa/hooks/threshold-ratchet.mjs +12 -1
- package/plugins/lisa/rules/reference/coding-philosophy.md +1 -0
- package/plugins/lisa/rules/reference/dependency-internalization-kit.md +13 -0
- package/plugins/lisa/rules/reference/ready-role-filing.md +2 -1
- package/plugins/lisa/rules/reference/security-audit-handling.md +3 -1
- package/plugins/lisa/scripts/human-gate-act.mjs +4 -1
- package/plugins/lisa/scripts/intake-blocker-reprobe.mjs +46 -2
- package/plugins/lisa/skills/lisa-agent-ready/SKILL.md +4 -0
- package/plugins/lisa/skills/lisa-attest/SKILL.md +529 -0
- package/plugins/lisa/skills/lisa-attest/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/lisa-audit/SKILL.md +739 -0
- package/plugins/lisa/skills/lisa-audit/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/lisa-configure/SKILL.md +544 -0
- package/plugins/lisa/skills/lisa-configure/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/lisa-enforce/SKILL.md +471 -0
- package/plugins/lisa/skills/lisa-enforce/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/lisa-enforce/references/missing-capability-tickets.md +258 -0
- package/plugins/lisa/skills/lisa-enforce/references/pull-request-executor.md +235 -0
- package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-github-write-prd/SKILL.md +40 -12
- package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-prd-backlink/SKILL.md +171 -1
- package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-security-audit-handling/SKILL.md +12 -5
- package/plugins/lisa/skills/lisa-security-audit-handling/agents/openai.yaml +2 -2
- package/plugins/lisa/skills/lisa-track/SKILL.md +1 -1
- package/plugins/lisa-agy/commands/lisa/attest.md +6 -0
- package/plugins/lisa-agy/commands/lisa/audit.md +6 -0
- package/plugins/lisa-agy/commands/lisa/configure.md +6 -0
- package/plugins/lisa-agy/commands/lisa/enforce.md +6 -0
- package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +3 -2
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/human-gate-act.mjs +4 -1
- package/plugins/lisa-agy/scripts/intake-blocker-reprobe.mjs +46 -2
- package/plugins/lisa-agy/skills/lisa-agent-ready/SKILL.md +4 -0
- package/plugins/lisa-agy/skills/lisa-attest/SKILL.md +529 -0
- package/plugins/lisa-agy/skills/lisa-audit/SKILL.md +739 -0
- package/plugins/lisa-agy/skills/lisa-configure/SKILL.md +544 -0
- package/plugins/lisa-agy/skills/lisa-enforce/SKILL.md +471 -0
- package/plugins/lisa-agy/skills/lisa-enforce/references/missing-capability-tickets.md +258 -0
- package/plugins/lisa-agy/skills/lisa-enforce/references/pull-request-executor.md +235 -0
- package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-github-write-prd/SKILL.md +40 -12
- package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-prd-backlink/SKILL.md +171 -1
- package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-security-audit-handling/SKILL.md +12 -5
- package/plugins/lisa-agy/skills/lisa-track/SKILL.md +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/commands/lisa/attest.md +6 -0
- package/plugins/lisa-copilot/commands/lisa/audit.md +6 -0
- package/plugins/lisa-copilot/commands/lisa/configure.md +6 -0
- package/plugins/lisa-copilot/commands/lisa/enforce.md +6 -0
- package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +3 -2
- package/plugins/lisa-copilot/hooks/threshold-ratchet-compare.mjs +214 -3
- package/plugins/lisa-copilot/hooks/threshold-ratchet-families.mjs +166 -0
- package/plugins/lisa-copilot/hooks/threshold-ratchet.mjs +12 -1
- package/plugins/lisa-copilot/rules/reference/coding-philosophy.md +1 -0
- package/plugins/lisa-copilot/rules/reference/dependency-internalization-kit.md +13 -0
- package/plugins/lisa-copilot/rules/reference/ready-role-filing.md +2 -1
- package/plugins/lisa-copilot/rules/reference/security-audit-handling.md +3 -1
- package/plugins/lisa-copilot/scripts/human-gate-act.mjs +4 -1
- package/plugins/lisa-copilot/scripts/intake-blocker-reprobe.mjs +46 -2
- package/plugins/lisa-copilot/skills/lisa-agent-ready/SKILL.md +4 -0
- package/plugins/lisa-copilot/skills/lisa-attest/SKILL.md +529 -0
- package/plugins/lisa-copilot/skills/lisa-audit/SKILL.md +739 -0
- package/plugins/lisa-copilot/skills/lisa-configure/SKILL.md +544 -0
- package/plugins/lisa-copilot/skills/lisa-enforce/SKILL.md +471 -0
- package/plugins/lisa-copilot/skills/lisa-enforce/references/missing-capability-tickets.md +258 -0
- package/plugins/lisa-copilot/skills/lisa-enforce/references/pull-request-executor.md +235 -0
- package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-github-write-prd/SKILL.md +40 -12
- package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-prd-backlink/SKILL.md +171 -1
- package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-security-audit-handling/SKILL.md +12 -5
- package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/commands/lisa/attest.md +6 -0
- package/plugins/lisa-cursor/commands/lisa/audit.md +6 -0
- package/plugins/lisa-cursor/commands/lisa/configure.md +6 -0
- package/plugins/lisa-cursor/commands/lisa/enforce.md +6 -0
- package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +3 -2
- package/plugins/lisa-cursor/hooks/threshold-ratchet-compare.mjs +214 -3
- package/plugins/lisa-cursor/hooks/threshold-ratchet-families.mjs +166 -0
- package/plugins/lisa-cursor/hooks/threshold-ratchet.mjs +12 -1
- package/plugins/lisa-cursor/rules/coding-philosophy-reference.mdc +1 -0
- package/plugins/lisa-cursor/rules/dependency-internalization-kit-reference.mdc +13 -0
- package/plugins/lisa-cursor/rules/ready-role-filing-reference.mdc +2 -1
- package/plugins/lisa-cursor/rules/security-audit-handling-reference.mdc +3 -1
- package/plugins/lisa-cursor/scripts/human-gate-act.mjs +4 -1
- package/plugins/lisa-cursor/scripts/intake-blocker-reprobe.mjs +46 -2
- package/plugins/lisa-cursor/skills/lisa-agent-ready/SKILL.md +4 -0
- package/plugins/lisa-cursor/skills/lisa-attest/SKILL.md +529 -0
- package/plugins/lisa-cursor/skills/lisa-audit/SKILL.md +739 -0
- package/plugins/lisa-cursor/skills/lisa-configure/SKILL.md +544 -0
- package/plugins/lisa-cursor/skills/lisa-enforce/SKILL.md +471 -0
- package/plugins/lisa-cursor/skills/lisa-enforce/references/missing-capability-tickets.md +258 -0
- package/plugins/lisa-cursor/skills/lisa-enforce/references/pull-request-executor.md +235 -0
- package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-github-write-prd/SKILL.md +40 -12
- package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-prd-backlink/SKILL.md +171 -1
- package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-security-audit-handling/SKILL.md +12 -5
- package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +1 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/hooks/block-direct-issue-create.sh +3 -2
- package/plugins/lisa-devin/hooks/threshold-ratchet-compare.mjs +214 -3
- package/plugins/lisa-devin/hooks/threshold-ratchet-families.mjs +166 -0
- package/plugins/lisa-devin/hooks/threshold-ratchet.mjs +12 -1
- package/plugins/lisa-devin/rules/reference/coding-philosophy.md +1 -0
- package/plugins/lisa-devin/rules/reference/dependency-internalization-kit.md +13 -0
- package/plugins/lisa-devin/rules/reference/ready-role-filing.md +2 -1
- package/plugins/lisa-devin/rules/reference/security-audit-handling.md +3 -1
- package/plugins/lisa-devin/scripts/human-gate-act.mjs +4 -1
- package/plugins/lisa-devin/scripts/intake-blocker-reprobe.mjs +46 -2
- package/plugins/lisa-devin/skills/lisa-agent-ready/SKILL.md +4 -0
- package/plugins/lisa-devin/skills/lisa-attest/SKILL.md +529 -0
- package/plugins/lisa-devin/skills/lisa-audit/SKILL.md +739 -0
- package/plugins/lisa-devin/skills/lisa-configure/SKILL.md +544 -0
- package/plugins/lisa-devin/skills/lisa-enforce/SKILL.md +471 -0
- package/plugins/lisa-devin/skills/lisa-enforce/references/missing-capability-tickets.md +258 -0
- package/plugins/lisa-devin/skills/lisa-enforce/references/pull-request-executor.md +235 -0
- package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-github-write-prd/SKILL.md +40 -12
- package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-prd-backlink/SKILL.md +171 -1
- package/plugins/lisa-devin/skills/lisa-repair-intake/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-security-audit-handling/SKILL.md +12 -5
- package/plugins/lisa-devin/skills/lisa-track/SKILL.md +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/commands/attest.md +7 -0
- package/plugins/src/base/commands/audit.md +7 -0
- package/plugins/src/base/commands/configure.md +7 -0
- package/plugins/src/base/commands/enforce.md +7 -0
- package/plugins/src/base/hooks/block-direct-issue-create.sh +3 -2
- package/plugins/src/base/hooks/threshold-ratchet-compare.mjs +214 -3
- package/plugins/src/base/hooks/threshold-ratchet-families.mjs +166 -0
- package/plugins/src/base/hooks/threshold-ratchet.mjs +12 -1
- package/plugins/src/base/rules/reference/coding-philosophy.md +1 -0
- package/plugins/src/base/rules/reference/dependency-internalization-kit.md +13 -0
- package/plugins/src/base/rules/reference/ready-role-filing.md +2 -1
- package/plugins/src/base/rules/reference/security-audit-handling.md +3 -1
- package/plugins/src/base/scripts/human-gate-act.mjs +4 -1
- package/plugins/src/base/scripts/intake-blocker-reprobe.mjs +46 -2
- package/plugins/src/base/skills/lisa-agent-ready/SKILL.md +4 -0
- package/plugins/src/base/skills/lisa-attest/SKILL.md +529 -0
- package/plugins/src/base/skills/lisa-audit/SKILL.md +739 -0
- package/plugins/src/base/skills/lisa-configure/SKILL.md +544 -0
- package/plugins/src/base/skills/lisa-enforce/SKILL.md +471 -0
- package/plugins/src/base/skills/lisa-enforce/references/missing-capability-tickets.md +258 -0
- package/plugins/src/base/skills/lisa-enforce/references/pull-request-executor.md +235 -0
- package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-github-write-prd/SKILL.md +40 -12
- package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-prd-backlink/SKILL.md +171 -1
- package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-security-audit-handling/SKILL.md +12 -5
- package/plugins/src/base/skills/lisa-track/SKILL.md +1 -1
- package/rails/copy-overwrite/scripts/check-threshold-ratchet.mjs +12 -1
- package/rails/copy-overwrite/scripts/threshold-ratchet-compare.mjs +214 -3
- package/rails/copy-overwrite/scripts/threshold-ratchet-families.mjs +166 -0
- package/schemas/control-evidence.schema.json +527 -0
- package/schemas/control-register.schema.json +336 -0
- package/schemas/control-verdict.schema.json +292 -0
- package/scripts/check-control-command-parity.mjs +94 -0
- package/scripts/check-derived-artifacts.mjs +51 -3
- package/scripts/check-generated-artifact-merge-coverage.mjs +7 -0
- package/scripts/check-plugins-sync.sh +25 -0
- package/scripts/check-release-commit-listed.mjs +80 -0
- package/scripts/generate-readiness-questionnaire.mjs +410 -0
- package/scripts/generate-upstream-evidence-manifest.mjs +69 -6
- package/scripts/lib/control-command-parity.mjs +865 -0
- package/scripts/lib/phrase-tests/redact.mjs +10 -2
- package/scripts/lib/upstream-manifest-staleness.mjs +1 -1
- package/scripts/lib/upstream-public-commits.mjs +94 -0
- package/scripts/lisa-audit.mjs +1 -1
- package/scripts/two-channel-couplings.json +1 -1
- package/spec/tasc-criteria.json +853 -0
- package/spec/tasc-criteria.schema.json +212 -0
- package/typescript/copy-overwrite/.prettierignore +1 -0
- package/typescript/copy-overwrite/scripts/check-threshold-ratchet.mjs +12 -1
- package/typescript/copy-overwrite/scripts/threshold-ratchet-compare.mjs +214 -3
- package/typescript/copy-overwrite/scripts/threshold-ratchet-families.mjs +166 -0
|
@@ -42,7 +42,7 @@ Pass `$ARGUMENTS` as a single JSON-style block:
|
|
|
42
42
|
- `notion` → `notion-update-page`
|
|
43
43
|
- `confluence` → `updateConfluencePage`
|
|
44
44
|
- `linear` → Linear MCP update
|
|
45
|
-
- `github` → `gh issue edit --body
|
|
45
|
+
- `github` → `gh issue edit --body-file`, and only with a body that has been through [GitHub issue body limit](#github-issue-body-limit) — never the body straight from step 3
|
|
46
46
|
- `file` → `Edit` (preferred) or `Write` (full rewrite if needed)
|
|
47
47
|
5. **Record the PRD→child relationship in the source tool's native hierarchy** where the source supports it and the destination tracker is the same system. Each supported source has its own native-linking section, all governed by the same generated-top-level-work contract, child-ref idempotency, and graceful-degradation discipline from the `prd-lifecycle-rollup` rule:
|
|
48
48
|
- `github` (same repo as the created tickets) → native GitHub **sub-issue** of the PRD issue — see [Native parent linking (GitHub)](#native-parent-linking-github).
|
|
@@ -100,6 +100,8 @@ Every list entry ends with a single-line HTML comment — invisible in rendered
|
|
|
100
100
|
|
|
101
101
|
The visible markdown link and the token always carry the same `ref`/`url`/`type`; the token is the authoritative machine field (the prose may wrap or be reflowed by a host editor, the comment line will not). Field order within the token is fixed (`ref`, `url`, `type`, `parent`, `reqs`) so output is byte-stable.
|
|
102
102
|
|
|
103
|
+
On a GitHub PRD too long to hold this standard form, the requirement-coverage list is written compactly or moved to a comment — see [GitHub issue body limit](#github-issue-body-limit). The entry lines and their tokens are the same in every form.
|
|
104
|
+
|
|
103
105
|
If the input contains zero items, write the section header with a single line: `_No tickets created — Plan flow may not have completed._` Do not omit the section; presence-of-section is itself a signal to Debrief, and the always-written guarantee means a reader can always distinguish "ran, produced nothing" from "never ran."
|
|
104
106
|
|
|
105
107
|
## Idempotency
|
|
@@ -110,6 +112,170 @@ Rendering rules:
|
|
|
110
112
|
- Regenerate the whole section from the current ticket set on every run — **never append**. Dedupe is by **child-ref** (the token's `ref`, per the `prd-lifecycle-rollup` idempotency dedupe key): the same ticket set produces a byte-identical section with no duplicate entries, and re-running over an existing section is a no-op diff. A ticket present in a prior run but absent now simply does not reappear (stale links never accumulate).
|
|
111
113
|
- **Match by stable ref, never by title** (`prd-lifecycle-rollup` idempotency dedupe key). A child is identified by its `ref` token alone — a ticket whose `title` changed but whose `ref` is unchanged is the **same** entry: its displayed title is refreshed in place and it appears exactly once, never duplicated. Title is rendered, never matched on.
|
|
112
114
|
|
|
115
|
+
## GitHub issue body limit
|
|
116
|
+
|
|
117
|
+
GitHub refuses an issue body longer than 65,536 characters. The standard section for a large PRD passes that: one with 60 requirements and 41 tickets came to 75,161 characters, the write was refused, and the PRD was left with no record of its tickets. So for `source_type: github`, fit the body before writing it. This rule covers GitHub only; the limits of other PRD sources are not handled here.
|
|
118
|
+
|
|
119
|
+
**No form shortens, rewrites or drops an entry line or its `lisa:gw` token.** The tokens are the machine-readable record every reader depends on, so room is always made from the human-readable requirement-coverage list, and the quoted requirement text stays byte-for-byte what the PRD says.
|
|
120
|
+
|
|
121
|
+
1. Put the full new body — the PRD with the standard-form section from [Format](#format) in place — in a temporary file outside the repository.
|
|
122
|
+
2. Save the program below, verbatim, as `fit-backlink-body.mjs` beside it and run it. It counts characters, picks the first form that fits, prints that form's name and writes the body to send:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
node fit-backlink-body.mjs <body-file> <owner>/<repo of the PRD> <out-dir>
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
3. The form it printed decides what happens next:
|
|
129
|
+
- **`standard`** — the body fits as rendered.
|
|
130
|
+
- **`compact`** — only the requirement-coverage lines changed. A ticket in the PRD's own repository is written `#<number>` in place of `[<key>](<url>)` (GitHub links it); a ticket anywhere else keeps its full link. The PRD heading is cut to its leading label, the text before the first ` — `, ` – `, ` - ` or `: ` (`Story 4 — As an operator, …` becomes `Story 4`; a heading with none of those stays whole). One fixed note line under `### Requirement coverage` says the list is compact.
|
|
131
|
+
- **`comment`** — the compact form still does not fit. The body keeps every entry line and token, and the requirement-coverage list moves, in its compact form, to **one** managed comment on the PRD whose first line is `<!-- lisa:prd-backlink-coverage -->`. The section names that comment with a link, so the comment comes first:
|
|
132
|
+
1. The program wrote `<out-dir>/coverage-comment.md` and no body. Edit the PRD's existing comment that starts with the marker, or create it when there is none — never a second one. If the lookup itself fails, stop: a failed read is not "no comment", and creating on it would leave two.
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
comment_ids=$(gh api "repos/<owner>/<repo>/issues/<n>/comments" --paginate --jq '.[] | select(.body | startswith("<!-- lisa:prd-backlink-coverage -->")) | .id') || exit 1
|
|
136
|
+
comment_id=$(printf '%s\n' "$comment_ids" | head -n 1)
|
|
137
|
+
if [ -n "$comment_id" ]; then
|
|
138
|
+
comment_url=$(gh api -X PATCH "repos/<owner>/<repo>/issues/comments/$comment_id" -F body=@<out-dir>/coverage-comment.md --jq .html_url)
|
|
139
|
+
else
|
|
140
|
+
comment_url=$(gh api -X POST "repos/<owner>/<repo>/issues/<n>/comments" -F body=@<out-dir>/coverage-comment.md --jq .html_url)
|
|
141
|
+
fi
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
2. Run the program again with `"$comment_url"` as a fourth argument. It now writes `<out-dir>/body.md` with the link in place, and the form this second run prints is the one that counts. The first run held room for the longest comment URL the PRD's repository can give on github.com, worked out from `<owner>/<repo>`, so the link fits.
|
|
145
|
+
- **`too-large`** — the PRD and the entry lines alone exceed the limit. The program exits 1 and writes nothing; do not write the body — see [Failures](#failures).
|
|
146
|
+
4. For every form but `too-large`, write the body: `gh issue edit <n> --repo <owner>/<repo> --body-file <out-dir>/body.md`.
|
|
147
|
+
5. When the form is `standard` or `compact`, run the same lookup for a managed coverage comment left by an earlier run and delete it with `gh api -X DELETE "repos/<owner>/<repo>/issues/comments/$comment_id"`, so a stale list never sits beside the current one.
|
|
148
|
+
|
|
149
|
+
Each form is a pure function of the same inputs, and the managed comment keeps its URL because it is edited in place, so a re-run over an unchanged ticket set still writes identical bytes.
|
|
150
|
+
|
|
151
|
+
```js
|
|
152
|
+
// fit-backlink-body.mjs
|
|
153
|
+
// Usage: node fit-backlink-body.mjs <body-file> <owner>/<repo> <out-dir> [<coverage-comment-url>]
|
|
154
|
+
import { mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
155
|
+
import path from "node:path";
|
|
156
|
+
|
|
157
|
+
const LIMIT = 65536;
|
|
158
|
+
const [bodyFile, prdRepo, outDir, commentUrl = ""] = process.argv.slice(2);
|
|
159
|
+
if (bodyFile && prdRepo && outDir) {
|
|
160
|
+
fit();
|
|
161
|
+
} else {
|
|
162
|
+
console.error(
|
|
163
|
+
"usage: node fit-backlink-body.mjs <body-file> <owner>/<repo> <out-dir> [<coverage-comment-url>]",
|
|
164
|
+
);
|
|
165
|
+
process.exitCode = 2;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
function fit() {
|
|
169
|
+
const chars = (text) => [...text].length;
|
|
170
|
+
const standard = readFileSync(bodyFile, "utf8");
|
|
171
|
+
const lines = standard.split("\n");
|
|
172
|
+
|
|
173
|
+
// The coverage list: the blank and `- **R…` lines under the section's own heading.
|
|
174
|
+
const generated = lines.findIndex((line) =>
|
|
175
|
+
line.startsWith("_Generated by `lisa-prd-backlink`"),
|
|
176
|
+
);
|
|
177
|
+
const start = lines.findIndex(
|
|
178
|
+
(line, at) =>
|
|
179
|
+
generated >= 0 &&
|
|
180
|
+
at > generated &&
|
|
181
|
+
line.trimEnd() === "### Requirement coverage",
|
|
182
|
+
);
|
|
183
|
+
const after = lines.findIndex(
|
|
184
|
+
(line, at) =>
|
|
185
|
+
start >= 0 &&
|
|
186
|
+
at > start &&
|
|
187
|
+
line.trim() !== "" &&
|
|
188
|
+
!line.startsWith("- **"),
|
|
189
|
+
);
|
|
190
|
+
const end = after < 0 ? lines.length : after;
|
|
191
|
+
const withList = (list) =>
|
|
192
|
+
[...lines.slice(0, start + 1), ...list, ...lines.slice(end)].join("\n");
|
|
193
|
+
|
|
194
|
+
const label = (heading) => heading.split(/ [—–-] |: /u)[0].trim() || heading;
|
|
195
|
+
const compactLine = (line) => {
|
|
196
|
+
const head = /^- \*\*[^*]+\*\* §"/u.exec(line)?.[0] ?? "";
|
|
197
|
+
const headingEnd = head ? line.indexOf('": "', head.length) : -1;
|
|
198
|
+
const refsAt = line.lastIndexOf('" — ') + 4;
|
|
199
|
+
if (headingEnd < 0 || refsAt < headingEnd + 8) return line;
|
|
200
|
+
const refs = line
|
|
201
|
+
.slice(refsAt)
|
|
202
|
+
.replace(
|
|
203
|
+
/\[[^\]]*\]\(https?:\/\/[^/\s)]+\/([^/\s)]+\/[^/\s)]+)\/issues\/(\d+)\)/gu,
|
|
204
|
+
(link, repo, number) =>
|
|
205
|
+
repo.toLowerCase() === prdRepo.toLowerCase() ? `#${number}` : link,
|
|
206
|
+
);
|
|
207
|
+
// Between the heading and the refs sits the quoted requirement: copied, never rewritten.
|
|
208
|
+
return (
|
|
209
|
+
head +
|
|
210
|
+
label(line.slice(head.length, headingEnd)) +
|
|
211
|
+
line.slice(headingEnd, refsAt) +
|
|
212
|
+
refs
|
|
213
|
+
);
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
const list = start < 0 ? [] : lines.slice(start + 1, end).map(compactLine);
|
|
217
|
+
const compact = withList([
|
|
218
|
+
"",
|
|
219
|
+
"_Compact form: the full links would not fit GitHub's issue body limit. Each `#<number>` is an issue in this repository._",
|
|
220
|
+
...list,
|
|
221
|
+
]);
|
|
222
|
+
const moved = withList([
|
|
223
|
+
"",
|
|
224
|
+
`_The requirement coverage list did not fit GitHub's issue body limit. It is in [this comment](${commentUrl}) on this issue._`,
|
|
225
|
+
"",
|
|
226
|
+
]);
|
|
227
|
+
const comment = [
|
|
228
|
+
"<!-- lisa:prd-backlink-coverage -->",
|
|
229
|
+
"### Requirement coverage",
|
|
230
|
+
"",
|
|
231
|
+
"_Generated by `lisa-prd-backlink` for this PRD's generated-work section, which had no room for it in the issue body. Regenerated on every Plan run; do not edit by hand._",
|
|
232
|
+
"",
|
|
233
|
+
...list.filter((line) => line.trim() !== ""),
|
|
234
|
+
"",
|
|
235
|
+
].join("\n");
|
|
236
|
+
|
|
237
|
+
// Until the comment exists its URL is unknown, so the first run holds room for the longest one
|
|
238
|
+
// this repository can give on github.com: its address with a 20-digit issue number and a
|
|
239
|
+
// 20-digit comment id. A flat allowance was shorter than the URL of a repository with a long
|
|
240
|
+
// owner and name, so a second run could find no room after the comment had been posted.
|
|
241
|
+
const urlRoom = commentUrl
|
|
242
|
+
? 0
|
|
243
|
+
: chars(`https://github.com/${prdRepo}/issues/#issuecomment-`) + 2 * 20;
|
|
244
|
+
const form =
|
|
245
|
+
(chars(standard) <= LIMIT && "standard") ||
|
|
246
|
+
(start >= 0 && chars(compact) <= LIMIT && "compact") ||
|
|
247
|
+
(start >= 0 &&
|
|
248
|
+
chars(moved) + urlRoom <= LIMIT &&
|
|
249
|
+
chars(comment) <= LIMIT &&
|
|
250
|
+
"comment") ||
|
|
251
|
+
"too-large";
|
|
252
|
+
|
|
253
|
+
mkdirSync(outDir, { recursive: true });
|
|
254
|
+
rmSync(path.join(outDir, "body.md"), { force: true });
|
|
255
|
+
rmSync(path.join(outDir, "coverage-comment.md"), { force: true });
|
|
256
|
+
console.log(form);
|
|
257
|
+
if (form === "too-large") {
|
|
258
|
+
console.error(
|
|
259
|
+
`standard form is ${chars(standard)} characters and no form fits the limit of ${LIMIT}; nothing written`,
|
|
260
|
+
);
|
|
261
|
+
process.exitCode = 1;
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
const body = { standard, compact, comment: moved }[form];
|
|
265
|
+
console.error(
|
|
266
|
+
`${form} form: ${chars(body)} characters (standard form ${chars(standard)}, limit ${LIMIT})`,
|
|
267
|
+
);
|
|
268
|
+
if (form === "comment")
|
|
269
|
+
writeFileSync(path.join(outDir, "coverage-comment.md"), comment);
|
|
270
|
+
if (form !== "comment" || commentUrl)
|
|
271
|
+
writeFileSync(path.join(outDir, "body.md"), body);
|
|
272
|
+
else
|
|
273
|
+
console.error(
|
|
274
|
+
"no body written yet: post coverage-comment.md, then run again with the comment URL as the fourth argument",
|
|
275
|
+
);
|
|
276
|
+
}
|
|
277
|
+
```
|
|
278
|
+
|
|
113
279
|
## Native parent linking (GitHub)
|
|
114
280
|
|
|
115
281
|
When `source_type: github` **and** the PRD issue lives in the same repository as the created tickets, make the PRD the structural parent of the work it generated by linking each generated top-level work item as a native GitHub **sub-issue** of the PRD issue. This is the GitHub leg of the PRD→child native-hierarchy requirement in the `prd-lifecycle-rollup` rule (cite it by slug; do not restate its taxonomy here). The documented `## Tickets` section is still written either way — native linking is the first-class relationship; the documented section is the durable fallback for cross-vendor and older hosts.
|
|
@@ -252,6 +418,7 @@ The dedupe key is **child-ref identity** — the JIRA issue key (e.g. `PROJ-123`
|
|
|
252
418
|
|
|
253
419
|
- **Source unreachable / permission denied.** Stop and report. Do not silently swallow.
|
|
254
420
|
- **Section already present but in a non-standard format** (e.g., user hand-edited it). Replace it anyway — the warning line `_do not edit by hand_` is the contract. Note in the run output that an existing section was overwritten.
|
|
421
|
+
- **A GitHub PRD too large for any form** (`too-large` from [GitHub issue body limit](#github-issue-body-limit)). Do not write the body, and never make room by trimming entry lines, tokens or the PRD's own text. Still run native parent linking (step 5), so the relationship is recorded even though the section could not be, then report the failure with the measured length against the 65,536-character limit.
|
|
255
422
|
- **Source is a Notion database URL, a Confluence space URL, or any other non-page input.** Stop — back-linking only makes sense against a single PRD page, not a queue. Direct the caller to pass the specific page.
|
|
256
423
|
|
|
257
424
|
## Output
|
|
@@ -259,6 +426,7 @@ The dedupe key is **child-ref identity** — the JIRA issue key (e.g. `PROJ-123`
|
|
|
259
426
|
```text
|
|
260
427
|
PRD back-link updated: <source_url>
|
|
261
428
|
Section: ## Tickets — <n> epics, <n> stories, <n> sub-tasks, <n> unparented (<bugs/spikes>)
|
|
429
|
+
Body form: <standard | compact | comment (<comment url>)> — <n> of 65,536 characters
|
|
262
430
|
Native parent links: <n> linked, <n> already linked (<vendor> native hierarchy; documented section is the fallback)
|
|
263
431
|
```
|
|
264
432
|
|
|
@@ -267,6 +435,8 @@ The `Native parent links` line reports whichever vendor's native linking ran:
|
|
|
267
435
|
- **Linear** (PRD in Linear) → `projectId`/`parentId` attachments via `save_issue`.
|
|
268
436
|
- **JIRA** (PRD in JIRA) → native parent / Epic link, or documented issue-link type.
|
|
269
437
|
|
|
438
|
+
The `Body form` line is for `source_type: github` only (see [GitHub issue body limit](#github-issue-body-limit)); omit it for every other source.
|
|
439
|
+
|
|
270
440
|
Omit the `Native parent links` line when no native linking applies (Notion / Confluence / file source, or any cross-vendor combination — documented section only). If native linking was attempted but unavailable for the vendor, replace the counts with the degradation warning from that vendor's Graceful degradation subsection.
|
|
271
441
|
|
|
272
442
|
## Related rules
|
|
@@ -1125,8 +1125,8 @@ with labels like `build-ready`, or with no Lisa status label at all, that are in
|
|
|
1125
1125
|
re-classifying the hold, not from who wrote the comment, so a lift naming a valid hold discharges
|
|
1126
1126
|
nothing. **Valid holds plan nothing.** In both modes those are the access acts (`credential`,
|
|
1127
1127
|
`spend`, `external-account`, `legal-signoff`, `person-only-account`, `unreachable-system`,
|
|
1128
|
-
`operator-hold`), `human-authored-surface`, and any project-declared
|
|
1129
|
-
class. Under `humanGate.mode: "strict"` the strict-only acts (`compliance-signoff`,
|
|
1128
|
+
`operator-hold`), `human-authored-surface`, `own-dependency-copy`, and any project-declared
|
|
1129
|
+
`humanGate.humanOnly` class. Under `humanGate.mode: "strict"` the strict-only acts (`compliance-signoff`,
|
|
1130
1130
|
`accountable-person`, `lisa-policy`) are valid too; under the default access-only mode a hold
|
|
1131
1131
|
that names only one of them is invalid and is lifted. **Label-only holds plan nothing** — an access block or blocked verdict
|
|
1132
1132
|
declares no reason to judge. A mixed item lifts its invalid reasons and stays held for the valid
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-security-audit-handling
|
|
3
|
-
description: "
|
|
3
|
+
description: "When the dependency security audit blocks a push or CI, in order: refresh, upgrade, override, exclude an unreachable advisory with a reason, replace or remove, fix upstream, and only last, behind a human gate, fork, patch or vendor the library. Never bypasses the hook."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Security Audit Handling
|
|
@@ -16,8 +16,12 @@ The remedy for a high/critical advisory is an ordered decision, not a question t
|
|
|
16
16
|
3. **Add a targeted override** that pins the vulnerable **leaf** package to the fixed version.
|
|
17
17
|
4. **Evaluate reachability, and exclude with a stated reason if unaffected** — before considering any code change. If the advisory cannot affect this project, add a scoped exclusion with a concrete reason to `audit.ignore.local.json`. No human is needed. Typical unreachable cases: the package is used only by dev or build tooling, or the vulnerable input is never untrusted (for example, globs or patterns written in the repository itself). The evaluation is this project's own: Lisa's template exclusions cannot vouch for a host's reachability, so a host the audit flags records its own entry in `audit.ignore.local.json`. **If reachability cannot be proven, treat the advisory as affecting the project** and continue at step 5.
|
|
18
18
|
5. **Replace or remove the dependency** when it affects the project and no fixed version exists: a maintained alternative, a newer major of the parent that no longer pulls the package, or dropping it.
|
|
19
|
+
6. **Contribute the fix upstream** — an issue or pull request on the library. This is fine to do in parallel with step 5.
|
|
20
|
+
7. **Fork, patch or vendor the library — last, and only through a human gate.** Our own copy of an open-source library (a fork, a patch through patch-package, Bun or pnpm `patchedDependencies` or `yarn patch`, a `patches/` directory, or a vendored copy) is reached only when steps 1–6 cannot resolve the advisory. File the work held through `lisa-track` with `human_gate: "approve maintaining our own copy of <pkg>"` (the `own-dependency-copy` act in `ready-role-filing`), and write none of that code until a person releases the gate.
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
**Why step 7 is a gate.** The no-assumed-human rule still holds: every other step is a decision you make and record yourself. A fork, patch or vendored copy is different. It is maintenance we take on indefinitely, and it travels with whatever the project distributes: in Lisa itself, copy-overwrite ships it to every host. So it is one of the explicitly declared human gates, not a decision.
|
|
23
|
+
|
|
24
|
+
If steps 1–6 do not resolve it in this change, **file a build-ready ticket** in the configured tracker (through `lisa-tracker-write` with `build_ready: true`) carrying the evidence: the advisory, the dependency path that reaches the vulnerable copy, and what was tried at each step and why it failed. The factory then carries the replacement or removal as work. Stop only when the next act needs access you do not have, and then say exactly what is missing.
|
|
21
25
|
|
|
22
26
|
## Node.js Projects (GHSA advisories)
|
|
23
27
|
|
|
@@ -37,7 +41,9 @@ If none of these works in this change, **file a build-ready ticket** in the conf
|
|
|
37
41
|
```
|
|
38
42
|
Then any other vulnerable copy — on an unlisted path or through an npm alias — still fails the audit and is named by its lockfile path. An empty `paths` array, an invalid range, or an unreadable lockfile fails the audit with a diagnostic; it never widens into an ID-wide exclusion. The pre-push hook, the gate registry, and CI use the same matcher. `lisa doctor` checks the scope fields and that the lockfile is readable, and reports any remaining exclusion without `versions` or `paths`, but it does not match advisories against lockfile copies — a valid-looking path that names the wrong copy can pass doctor and still be rejected by the audit. Doctor also does not reject an entry with no `id` or an exclusion file that does not parse; the audit does. Only the audit proves the exclusion files are accepted. In CI, the reusable workflow audits the manager its `package_manager` input names (default `npm`), so set that input to the project's manager. A scoped entry always wins over a wider entry for the same advisory and package. Full contract: https://github.com/CodySwannGT/lisa/blob/main/docs/dependency-audit-exclusions.md
|
|
39
43
|
7. **Step 5 — replace or remove:** if the advisory affects the project, replace the dependency with a maintained alternative or remove it, prove behavior with the tests, commit, and retry.
|
|
40
|
-
8.
|
|
44
|
+
8. **Step 6 — upstream:** open the upstream fix (an issue or pull request on the library), in parallel with step 5 if useful.
|
|
45
|
+
9. If steps 1–6 do not resolve it in this change, file the build-ready ticket described above.
|
|
46
|
+
10. **Step 7 — our own copy:** only when steps 1–6 cannot resolve it, file the held `human_gate` work item described above. Do not add `patchedDependencies`, patch-package, `yarn patch`, a `patches/` directory, a git fork in `package.json`, or a vendored copy before a person releases that gate. A fork or vendored copy also inherits the `dependency-internalization-kit` rule's evidence bar once the gate is released.
|
|
41
47
|
|
|
42
48
|
|
|
43
49
|
### Critical: Override the vulnerable package, not its parent
|
|
@@ -57,7 +63,8 @@ If any of these checks fail, the override is "not possible" for the purposes of
|
|
|
57
63
|
|
|
58
64
|
- Never add a blanket audit bypass or lower the configured audit level.
|
|
59
65
|
- Never add an exclusion without an impact evaluation recorded in its `reason`, and never for an advisory you cannot show is unreachable.
|
|
60
|
-
- Never file the ticket before genuinely attempting
|
|
66
|
+
- Never file the ticket before genuinely attempting steps 1–6.
|
|
67
|
+
- Never patch, fork or vendor a library (step 7) before evaluating reachability (step 4), and never without a released human gate.
|
|
61
68
|
- Never wait on a human the work does not need; stop only for missing access, and name it.
|
|
62
69
|
|
|
63
70
|
## Rails Projects (bundler-audit)
|
|
@@ -69,4 +76,4 @@ Same ladder, bundler mechanics:
|
|
|
69
76
|
3. **Step 1 — update:** If a patched version exists:
|
|
70
77
|
- **Direct dependency** (in Gemfile): update its version constraint, run `bundle update <gem>`, commit, retry.
|
|
71
78
|
- **Transitive dependency** (only in Gemfile.lock): run `bundle update <gem>` to pull the patched version without changing the Gemfile, commit the lockfile change, retry.
|
|
72
|
-
4. **No patch:** If no patched version exists, evaluate whether the advisory can affect the project. If it **cannot**, document the exception with the reason and retry. If it **does**, or you cannot show it does not, upgrade or replace the gem that pulls it, or remove it. If none of that works, file a build-ready ticket with the evidence, as above.
|
|
79
|
+
4. **No patch:** If no patched version exists, evaluate whether the advisory can affect the project. If it **cannot**, document the exception with the reason and retry. If it **does**, or you cannot show it does not, upgrade or replace the gem that pulls it, or remove it, and contribute the fix upstream. If none of that works, file a build-ready ticket with the evidence, as above. Pointing the Gemfile at a git fork or vendoring the gem is step 7: file the human gate first.
|
|
@@ -47,7 +47,7 @@ For an existing incidental item, read its discussion, linked PRs and dependencie
|
|
|
47
47
|
- an explicit reference matching the configured tracker (`KEY-123`, `org/repo#123` or issue URL, Linear team identifier);
|
|
48
48
|
- an existing file path containing a specification (read the entire file, without offset/limit);
|
|
49
49
|
- plain-text work description.
|
|
50
|
-
3. Detect the caller's readiness declaration, which is orthogonal to the classification above. Absent any declaration this is the default build-ready path. A caller deliberately holding the work because it needs an act an agent cannot perform (an access act: `credential` (complete a login or supply a credential only a person holds), `spend`, `external-account`, `legal-signoff` (sign a legal agreement on the company's behalf), `person-only-account` (a protected deployment, a required reviewer, an account only a person holds), `unreachable-system`, or `operator-hold` (a hold the operator explicitly asked for); `human-authored-surface` (an edit to a surface declared human-authored, which no agent writes: an authorship rule, valid in both modes); or a decision class the project declared human-only (`humanGate.humanOnly`). Under `humanGate.mode: "strict"` the strict-only acts `compliance-signoff`, `accountable-person` and `lisa-policy` also count) passes `human_gate: "<the act a person must perform>"`. A choice with a reasonable default is not a gate: decide it, record the decision on the item, and take the build-ready path (`ready-role-filing`, "What a human gate is"). The writer refuses a topic-only reason with exit 1 from `scripts/human-gate-act.mjs check`; the two declarations are mutually exclusive and a `human_gate` present but empty is a blocking error, because an unexplained hold is indistinguishable from an accident.
|
|
50
|
+
3. Detect the caller's readiness declaration, which is orthogonal to the classification above. Absent any declaration this is the default build-ready path. A caller deliberately holding the work because it needs an act an agent cannot perform (an access act: `credential` (complete a login or supply a credential only a person holds), `spend`, `external-account`, `legal-signoff` (sign a legal agreement on the company's behalf), `person-only-account` (a protected deployment, a required reviewer, an account only a person holds), `unreachable-system`, or `operator-hold` (a hold the operator explicitly asked for); `human-authored-surface` (an edit to a surface declared human-authored, which no agent writes: an authorship rule, valid in both modes); `own-dependency-copy` (approve maintaining our own fork, patch or vendored copy of an open-source library, the last rung of the `lisa-security-audit-handling` ladder, valid in both modes); or a decision class the project declared human-only (`humanGate.humanOnly`). Under `humanGate.mode: "strict"` the strict-only acts `compliance-signoff`, `accountable-person` and `lisa-policy` also count) passes `human_gate: "<the act a person must perform>"`. A choice with a reasonable default is not a gate: decide it, record the decision on the item, and take the build-ready path (`ready-role-filing`, "What a human gate is"). The writer refuses a topic-only reason with exit 1 from `scripts/human-gate-act.mjs check`; the two declarations are mutually exclusive and a `human_gate` present but empty is a blocking error, because an unexplained hold is indistinguishable from an accident.
|
|
51
51
|
4. Preserve the full resolved specification for the caller. Do not treat a ticket-like token for a different provider/project as plain text; report the mismatch.
|
|
52
52
|
|
|
53
53
|
## Phase 2 — Resolve one live work item
|
|
@@ -468,8 +468,9 @@ FILE IT THE SANCTIONED WAY — one of these three, always explicit:
|
|
|
468
468
|
open an external account, sign a legal agreement (contract, BAA, DPA,
|
|
469
469
|
license), act from an account only a person holds (such as a protected
|
|
470
470
|
deployment approval), act in a system the agent cannot reach, release a
|
|
471
|
-
hold the operator explicitly asked for,
|
|
472
|
-
only people write
|
|
471
|
+
hold the operator explicitly asked for, edit a file the project says
|
|
472
|
+
only people write, or approve maintaining our own copy of an open-source
|
|
473
|
+
library (a fork, patch or vendored copy). A choice with a reasonable default is NOT that, and
|
|
473
474
|
neither is a compliance judgement or naming an owner (unless
|
|
474
475
|
humanGate.mode is "strict"): decide it, record the decision on the item,
|
|
475
476
|
and use 1. Otherwise route the same way but pass
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
classifyAllowEntry,
|
|
12
12
|
describeAllowScope,
|
|
13
13
|
extractAllowEntries,
|
|
14
|
+
extractDeclaredThresholds,
|
|
14
15
|
extractK6Constraints,
|
|
15
16
|
extractLighthouseAssertions,
|
|
16
17
|
extractNumericLeaves,
|
|
@@ -18,7 +19,9 @@ import {
|
|
|
18
19
|
extractStrykerConstraints,
|
|
19
20
|
extractStrykerMutate,
|
|
20
21
|
familyFor,
|
|
22
|
+
findDeclaredParameter,
|
|
21
23
|
globRoot,
|
|
24
|
+
isDeclaredDirection,
|
|
22
25
|
parseJson,
|
|
23
26
|
} from "./threshold-ratchet-families.mjs";
|
|
24
27
|
|
|
@@ -273,6 +276,200 @@ function compareAllowList(relPath, base, current) {
|
|
|
273
276
|
return findings;
|
|
274
277
|
}
|
|
275
278
|
|
|
279
|
+
/**
|
|
280
|
+
* Say a part's folder the way an operator would.
|
|
281
|
+
* @param {string} scope The part's folder; `.` is the whole repository
|
|
282
|
+
* @returns {string} `the whole repository`, or the folder by name
|
|
283
|
+
*/
|
|
284
|
+
function folderInWords(scope) {
|
|
285
|
+
return scope === "." ? "the whole repository" : `the folder "${scope}"`;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Write a parameter's value so an operator can find it in the file.
|
|
290
|
+
*
|
|
291
|
+
* A number is written as a number even when it is too large to be one —
|
|
292
|
+
* `1e999` reads back as `Infinity`, which JSON would print as `null`.
|
|
293
|
+
* @param {unknown} value The value as parsed
|
|
294
|
+
* @returns {string} The number, the JSON text, or `nothing` when it is absent
|
|
295
|
+
*/
|
|
296
|
+
function valueInWords(value) {
|
|
297
|
+
if (value === undefined) return "nothing";
|
|
298
|
+
return typeof value === "number" ? String(value) : JSON.stringify(value);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* What to tell an operator about a declared threshold that is no longer there.
|
|
303
|
+
*
|
|
304
|
+
* Removing a floor is lowering it all the way, so each of these is a
|
|
305
|
+
* loosening. A RENAMED gate or folder lands here too, on purpose: a threshold
|
|
306
|
+
* is named by its gate, its folder and its parameter, and nothing here can
|
|
307
|
+
* tell a rename from a removal beside an unrelated addition, or show that a
|
|
308
|
+
* floor under a new name covers the code the old one covered. A rename is a
|
|
309
|
+
* loosening a person approves.
|
|
310
|
+
* @param {string} relPath Repo-relative path of the file
|
|
311
|
+
* @param {{ gate: string, scope: string, value: number, direction: "floor"|"ceiling" }} held
|
|
312
|
+
* The threshold as the baseline declares it
|
|
313
|
+
* @param {"file"|"gate"|"part"|"parameter"} missing The outermost thing that
|
|
314
|
+
* is not there any more
|
|
315
|
+
* @returns {string} What happened and what to do, to follow the threshold's
|
|
316
|
+
* name in a sentence
|
|
317
|
+
*/
|
|
318
|
+
function goneInWords(relPath, held, missing) {
|
|
319
|
+
const gone = `is gone (it was ${held.value}), because`;
|
|
320
|
+
switch (missing) {
|
|
321
|
+
case "file":
|
|
322
|
+
return `${gone} ${relPath} was deleted. Deleting the file drops every threshold declared in it: put the file back.`;
|
|
323
|
+
case "gate":
|
|
324
|
+
return `${gone} the ${held.gate} gate is no longer declared. Removing or renaming a gate drops every threshold it held: put the gate back under the same name.`;
|
|
325
|
+
case "part":
|
|
326
|
+
return `${gone} the gate no longer has a part for ${folderInWords(held.scope)}. Removing a part, or renaming its folder, drops every threshold it held: put the part back under the same folder.`;
|
|
327
|
+
default:
|
|
328
|
+
return `was removed (it was ${held.value}). Removing a ${held.direction} loosens it all the way: put it back.`;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* What to tell an operator about a declared threshold that is still written
|
|
334
|
+
* down but is no longer held as tightly — or nothing, when it is.
|
|
335
|
+
*
|
|
336
|
+
* Four ways, checked in this order because each makes the next unanswerable:
|
|
337
|
+
*
|
|
338
|
+
* unmarked the direction was dropped, so the value is a setting again
|
|
339
|
+
* and nothing holds it, whatever the number now says.
|
|
340
|
+
* turned round a floor became a ceiling or the reverse. The two cannot be
|
|
341
|
+
* ordered against each other — `compareConstraints` says the
|
|
342
|
+
* same of a flipped bound — so the change cannot be shown to
|
|
343
|
+
* be safe, even at a number that looks stricter.
|
|
344
|
+
* not a number the value changed kind, or is too large to be one, and only
|
|
345
|
+
* a number can be ordered. `validateGates` draws the same
|
|
346
|
+
* line, with the same test.
|
|
347
|
+
* loosened a floor went down, or a ceiling went up. Equal is held.
|
|
348
|
+
* @param {{ value: number, direction: "floor"|"ceiling" }} held The threshold
|
|
349
|
+
* as the baseline declares it
|
|
350
|
+
* @param {{ value: unknown, direction: unknown }} found The same parameter in
|
|
351
|
+
* the change under review
|
|
352
|
+
* @returns {string | undefined} What happened and what to do, to follow the
|
|
353
|
+
* threshold's name in a sentence; undefined when it is held as tightly
|
|
354
|
+
*/
|
|
355
|
+
function loosenedInWords(held, found) {
|
|
356
|
+
const now = `(it was ${held.value}, and is now ${valueInWords(found.value)})`;
|
|
357
|
+
if (!isDeclaredDirection(found.direction)) {
|
|
358
|
+
return `is no longer marked as a ${held.direction} ${now}. A value with no direction is held by nothing: put "direction": "${held.direction}" back.`;
|
|
359
|
+
}
|
|
360
|
+
if (found.direction !== held.direction) {
|
|
361
|
+
return `was changed from a ${held.direction} to a ${found.direction} ${now}. That turns the limit the other way round, so it cannot be shown to be as strict as it was: make it a ${held.direction} again.`;
|
|
362
|
+
}
|
|
363
|
+
const floor = held.direction === "floor";
|
|
364
|
+
const bound = `${held.value} or ${floor ? "higher" : "lower"}`;
|
|
365
|
+
if (!Number.isFinite(found.value)) {
|
|
366
|
+
return `is no longer a number ${now}. Only a number can be held: set it back to a number, ${bound}.`;
|
|
367
|
+
}
|
|
368
|
+
const value = /** @type {number} */ (found.value);
|
|
369
|
+
if (floor ? value >= held.value : value <= held.value) return undefined;
|
|
370
|
+
return floor
|
|
371
|
+
? `was lowered from ${held.value} to ${value}. A floor may go up and never down: set it back to ${bound}, and fix the code so it meets the floor.`
|
|
372
|
+
: `was raised from ${held.value} to ${value}. A ceiling may go down and never up: set it back to ${bound}, and fix the code so it stays within the ceiling.`;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Compare one declared threshold with what the change makes of it.
|
|
377
|
+
* @param {string} relPath Repo-relative path of the file
|
|
378
|
+
* @param {{ gate: string, scope: string, name: string, value: number, direction: "floor"|"ceiling" }} held
|
|
379
|
+
* The threshold as the baseline declares it
|
|
380
|
+
* @param {unknown} current Parsed current config; ignored when `deleted`
|
|
381
|
+
* @param {boolean} deleted Whether the change deletes the file
|
|
382
|
+
* @returns {{ type: "weakened"|"removed", told: string, current?: number|string } | undefined}
|
|
383
|
+
* The verdict, or undefined when the threshold is held as tightly as it was
|
|
384
|
+
*/
|
|
385
|
+
function declaredVerdict(relPath, held, current, deleted) {
|
|
386
|
+
const found = deleted
|
|
387
|
+
? { missing: "file" }
|
|
388
|
+
: findDeclaredParameter(current, held.gate, held.scope, held.name);
|
|
389
|
+
if (found.missing !== null) {
|
|
390
|
+
return { type: "removed", told: goneInWords(relPath, held, found.missing) };
|
|
391
|
+
}
|
|
392
|
+
const told = loosenedInWords(held, found);
|
|
393
|
+
if (told === undefined) return undefined;
|
|
394
|
+
return {
|
|
395
|
+
type: TYPE_WEAKENED,
|
|
396
|
+
told,
|
|
397
|
+
current:
|
|
398
|
+
typeof found.value === "number" ? found.value : valueInWords(found.value),
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Compare the thresholds a repository declares for its own parts.
|
|
404
|
+
*
|
|
405
|
+
* Walks the BASELINE's thresholds and looks each one up in the change, so the
|
|
406
|
+
* only question asked is "is everything that was held still held at least as
|
|
407
|
+
* tightly". That is what makes the rest fall out without a rule of its own: a
|
|
408
|
+
* new parameter, part or gate has no baseline entry and is allowed; a
|
|
409
|
+
* parameter with no direction was never a threshold and is not compared; and a
|
|
410
|
+
* baseline that declares nothing — the first time a repository adopts this —
|
|
411
|
+
* has nothing to walk.
|
|
412
|
+
*
|
|
413
|
+
* There is no way through this function for a loosening. A deliberate one
|
|
414
|
+
* leaves the same way a loosened threshold file does, through
|
|
415
|
+
* `thresholdRatchet.allow` and `applyAllowList`; each message ends by naming
|
|
416
|
+
* the entry that would cover it. Nothing written beside the parameter is read
|
|
417
|
+
* as permission.
|
|
418
|
+
* @param {string} relPath Repo-relative path of the file
|
|
419
|
+
* @param {unknown} base Parsed baseline config
|
|
420
|
+
* @param {unknown} current Parsed current config; ignored when `deleted`
|
|
421
|
+
* @param {boolean} [deleted] Whether the change deletes the file
|
|
422
|
+
* @returns {Finding[]} One finding per threshold that is no longer held as
|
|
423
|
+
* tightly, in the order the baseline declares them
|
|
424
|
+
*/
|
|
425
|
+
export function compareDeclaredThresholds(
|
|
426
|
+
relPath,
|
|
427
|
+
base,
|
|
428
|
+
current,
|
|
429
|
+
deleted = false
|
|
430
|
+
) {
|
|
431
|
+
const findings = [];
|
|
432
|
+
for (const held of extractDeclaredThresholds(base)) {
|
|
433
|
+
const verdict = declaredVerdict(relPath, held, current, deleted);
|
|
434
|
+
if (!verdict) continue;
|
|
435
|
+
findings.push({
|
|
436
|
+
file: relPath,
|
|
437
|
+
key: held.key,
|
|
438
|
+
type: verdict.type,
|
|
439
|
+
base: held.value,
|
|
440
|
+
...(verdict.current === undefined ? {} : { current: verdict.current }),
|
|
441
|
+
message: `${relPath}: the ${held.direction} "${held.name}" of the ${held.gate} gate, for ${folderInWords(held.scope)}, ${verdict.told} If a person decides this loosening is right, they record an exception under thresholdRatchet.allow with "file": "${relPath}" and "key": "${held.key}".`,
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
return findings;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Build the "declared thresholds can no longer be read" finding.
|
|
449
|
+
*
|
|
450
|
+
* `.lisa.config.json` that stops parsing used to pass in silence, and for the
|
|
451
|
+
* allow list alone that is right: a list nobody can read grants no exceptions.
|
|
452
|
+
* It is not right once the file also holds thresholds, because then the same
|
|
453
|
+
* breakage is how every one of them stops being held at once.
|
|
454
|
+
* @param {string} relPath Repo-relative path
|
|
455
|
+
* @param {unknown} base Parsed baseline config
|
|
456
|
+
* @returns {Finding[]} One finding when the baseline declared a threshold,
|
|
457
|
+
* otherwise none
|
|
458
|
+
*/
|
|
459
|
+
function unreadableDeclaration(relPath, base) {
|
|
460
|
+
const held = extractDeclaredThresholds(base).length;
|
|
461
|
+
if (held === 0) return [];
|
|
462
|
+
const many = held === 1 ? "threshold" : "thresholds";
|
|
463
|
+
return [
|
|
464
|
+
{
|
|
465
|
+
file: relPath,
|
|
466
|
+
key: "*",
|
|
467
|
+
type: "unparseable",
|
|
468
|
+
message: `${relPath} is no longer valid JSON, so the ${held} declared ${many} in its gates block cannot be read and nothing holds ${held === 1 ? "it" : "them"}. Repair the file.`,
|
|
469
|
+
},
|
|
470
|
+
];
|
|
471
|
+
}
|
|
472
|
+
|
|
276
473
|
/**
|
|
277
474
|
* Compare Lighthouse assertions, including the shipped detail checker's default.
|
|
278
475
|
* Only lighthouserc-config.json's top-level forced-reflow setting is read by
|
|
@@ -327,7 +524,16 @@ export function compareFile(relPath, baselineText, currentText) {
|
|
|
327
524
|
if (!family || baselineText === null || baselineText === undefined) return [];
|
|
328
525
|
|
|
329
526
|
if (currentText === null || currentText === undefined) {
|
|
330
|
-
|
|
527
|
+
// Deleting an allow list grants nothing, so that half stays silent. The
|
|
528
|
+
// thresholds the file declared are another matter: they go with it.
|
|
529
|
+
if (family.kind === KIND_ALLOW_LIST) {
|
|
530
|
+
return compareDeclaredThresholds(
|
|
531
|
+
relPath,
|
|
532
|
+
parseJson(baselineText),
|
|
533
|
+
undefined,
|
|
534
|
+
true
|
|
535
|
+
);
|
|
536
|
+
}
|
|
331
537
|
return [
|
|
332
538
|
{
|
|
333
539
|
file: relPath,
|
|
@@ -370,7 +576,9 @@ export function compareFile(relPath, baselineText, currentText) {
|
|
|
370
576
|
: [unparseableBaseline(relPath)];
|
|
371
577
|
}
|
|
372
578
|
if (current === undefined) {
|
|
373
|
-
return family.kind === KIND_ALLOW_LIST
|
|
579
|
+
return family.kind === KIND_ALLOW_LIST
|
|
580
|
+
? unreadableDeclaration(relPath, base)
|
|
581
|
+
: [unparseable(relPath)];
|
|
374
582
|
}
|
|
375
583
|
switch (family.kind) {
|
|
376
584
|
case "json-num":
|
|
@@ -386,7 +594,10 @@ export function compareFile(relPath, baselineText, currentText) {
|
|
|
386
594
|
case "lighthouse":
|
|
387
595
|
return compareLighthouse(relPath, base, current);
|
|
388
596
|
case KIND_ALLOW_LIST:
|
|
389
|
-
return
|
|
597
|
+
return [
|
|
598
|
+
...compareAllowList(relPath, base, current),
|
|
599
|
+
...compareDeclaredThresholds(relPath, base, current),
|
|
600
|
+
];
|
|
390
601
|
default:
|
|
391
602
|
return [];
|
|
392
603
|
}
|