@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
|
@@ -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
|
}
|
|
@@ -85,6 +85,10 @@ export const FAMILIES = [
|
|
|
85
85
|
direction: "max",
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
+
// Two things live in this file, and both are compared: the
|
|
89
|
+
// `thresholdRatchet.allow` list the kind is named after, and the
|
|
90
|
+
// thresholds a repository declares for its own parts — see
|
|
91
|
+
// `extractDeclaredThresholds`.
|
|
88
92
|
id: "lisa-config",
|
|
89
93
|
match: /(^|\/)\.lisa\.config\.json$/,
|
|
90
94
|
kind: "allow-list",
|
|
@@ -392,6 +396,168 @@ export function extractK6Constraints(conf) {
|
|
|
392
396
|
return { numeric, booleans };
|
|
393
397
|
}
|
|
394
398
|
|
|
399
|
+
/**
|
|
400
|
+
* The two ways a declared parameter can be held: a `floor` may rise and never
|
|
401
|
+
* fall, a `ceiling` may fall and never rise.
|
|
402
|
+
*
|
|
403
|
+
* Restated from `PARAMETER_DIRECTIONS` in `lisa-gates.mjs` rather than
|
|
404
|
+
* imported. This file also runs as an agent-time hook inside a plugin payload,
|
|
405
|
+
* where the gate registry is not beside it.
|
|
406
|
+
* @type {ReadonlyArray<"floor"|"ceiling">}
|
|
407
|
+
*/
|
|
408
|
+
export const DECLARED_DIRECTIONS = Object.freeze(["floor", "ceiling"]);
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Whether a value is one of the two directions a threshold can be held in.
|
|
412
|
+
* @param {unknown} value A parameter's `direction` as written
|
|
413
|
+
* @returns {value is "floor"|"ceiling"} False for anything else, including a
|
|
414
|
+
* direction that was left out
|
|
415
|
+
*/
|
|
416
|
+
export function isDeclaredDirection(value) {
|
|
417
|
+
return DECLARED_DIRECTIONS.some(direction => direction === value);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Whether a parsed JSON value is an object with named keys.
|
|
422
|
+
* @param {unknown} value Parsed JSON value
|
|
423
|
+
* @returns {value is Record<string, unknown>} False for a list, text, a
|
|
424
|
+
* number, true, false and nothing
|
|
425
|
+
*/
|
|
426
|
+
function isRecord(value) {
|
|
427
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* The name the ratchet gives one declared threshold.
|
|
432
|
+
*
|
|
433
|
+
* It is also the `key` of the `thresholdRatchet.allow` entry that covers the
|
|
434
|
+
* threshold, so it is built from the three things that say which threshold it
|
|
435
|
+
* is and nothing that changes when another gate, part or parameter is added.
|
|
436
|
+
* @param {string} gate Gate id
|
|
437
|
+
* @param {string} scope The part's folder; `.` is the whole repository
|
|
438
|
+
* @param {string} name Parameter name
|
|
439
|
+
* @returns {string} `gates.<gate>.parts[<scope>].parameters.<name>`
|
|
440
|
+
*/
|
|
441
|
+
export function declaredThresholdKey(gate, scope, name) {
|
|
442
|
+
return `gates.${gate}.parts[${scope}].parameters.${name}`;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* The parts one gate of a parsed `.lisa.config.json` declares.
|
|
447
|
+
*
|
|
448
|
+
* Where two parts name one folder the first is the part and the second is not
|
|
449
|
+
* read. `validateGates` refuses that declaration; this only makes sure the
|
|
450
|
+
* same part is found on both sides of a comparison.
|
|
451
|
+
* @param {unknown} config Parsed config (may be anything)
|
|
452
|
+
* @param {string} gate Gate id
|
|
453
|
+
* @returns {Array<Record<string, unknown>> | undefined} The parts that name a
|
|
454
|
+
* folder, or undefined when the gate is not declared at all
|
|
455
|
+
*/
|
|
456
|
+
function declaredParts(config, gate) {
|
|
457
|
+
const gates = isRecord(config) ? config.gates : undefined;
|
|
458
|
+
if (!isRecord(gates) || !Object.hasOwn(gates, gate)) return undefined;
|
|
459
|
+
const declared = gates[gate];
|
|
460
|
+
if (!isRecord(declared)) return undefined;
|
|
461
|
+
const parts = (Array.isArray(declared.parts) ? declared.parts : []).filter(
|
|
462
|
+
part => isRecord(part) && typeof part.scope === "string"
|
|
463
|
+
);
|
|
464
|
+
return parts.filter(
|
|
465
|
+
(part, index) =>
|
|
466
|
+
parts.findIndex(other => other.scope === part.scope) === index
|
|
467
|
+
);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Read one parameter of a part as it is written.
|
|
472
|
+
* @param {Record<string, unknown>} part A part of a gate
|
|
473
|
+
* @param {string} name Parameter name
|
|
474
|
+
* @returns {{ missing: null, value: unknown, direction: unknown } | undefined}
|
|
475
|
+
* The parameter's value and direction, or undefined when the part does not
|
|
476
|
+
* have it written as `{ value, direction }`
|
|
477
|
+
*/
|
|
478
|
+
function readParameter(part, name) {
|
|
479
|
+
const parameters = part.parameters;
|
|
480
|
+
const parameter =
|
|
481
|
+
isRecord(parameters) && Object.hasOwn(parameters, name)
|
|
482
|
+
? parameters[name]
|
|
483
|
+
: undefined;
|
|
484
|
+
return isRecord(parameter)
|
|
485
|
+
? { missing: null, value: parameter.value, direction: parameter.direction }
|
|
486
|
+
: undefined;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Look up one parameter of one part of one gate, or say what is missing.
|
|
491
|
+
*
|
|
492
|
+
* The three ways of being missing are kept apart because they send an operator
|
|
493
|
+
* to three different places: a gate that is no longer declared, a gate that no
|
|
494
|
+
* longer has a part for the folder, and a part that no longer has the
|
|
495
|
+
* parameter.
|
|
496
|
+
* @param {unknown} config Parsed config (may be anything)
|
|
497
|
+
* @param {string} gate Gate id
|
|
498
|
+
* @param {string} scope The part's folder
|
|
499
|
+
* @param {string} name Parameter name
|
|
500
|
+
* @returns {{ missing: "gate"|"part"|"parameter" } | { missing: null, value: unknown, direction: unknown }}
|
|
501
|
+
* The parameter as written, or the outermost level that is not there
|
|
502
|
+
*/
|
|
503
|
+
export function findDeclaredParameter(config, gate, scope, name) {
|
|
504
|
+
const parts = declaredParts(config, gate);
|
|
505
|
+
if (parts === undefined) return { missing: "gate" };
|
|
506
|
+
const part = parts.find(candidate => candidate.scope === scope);
|
|
507
|
+
if (part === undefined) return { missing: "part" };
|
|
508
|
+
return readParameter(part, name) ?? { missing: "parameter" };
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Every threshold a repository declares for its own parts.
|
|
513
|
+
*
|
|
514
|
+
* A repository on any stack says what it holds itself to in the `gates` block
|
|
515
|
+
* of `.lisa.config.json`: each gate may list `parts`, one per folder, and each
|
|
516
|
+
* part may name `parameters` written `{ value, direction }`. A parameter is a
|
|
517
|
+
* threshold exactly when its `direction` is `floor` or `ceiling` and its
|
|
518
|
+
* `value` is a number. One with no direction is a setting, not a threshold,
|
|
519
|
+
* and is never compared.
|
|
520
|
+
*
|
|
521
|
+
* This READS the declaration and does not validate it. `validateGates` in
|
|
522
|
+
* `lisa-gates.mjs` decides what a valid one is, and refuses a direction on a
|
|
523
|
+
* value that is not a number. A shape it would refuse yields no threshold here
|
|
524
|
+
* instead of an error, because a comparison that throws on a hand-edited file
|
|
525
|
+
* compares nothing.
|
|
526
|
+
* @param {unknown} config Parsed `.lisa.config.json` (may be anything)
|
|
527
|
+
* @returns {Array<{ key: string, gate: string, scope: string, name: string, value: number, direction: "floor"|"ceiling" }>}
|
|
528
|
+
* The thresholds, in the order the file declares them
|
|
529
|
+
*/
|
|
530
|
+
export function extractDeclaredThresholds(config) {
|
|
531
|
+
const gates = isRecord(config) && isRecord(config.gates) ? config.gates : {};
|
|
532
|
+
const thresholds = [];
|
|
533
|
+
for (const gate of Object.keys(gates)) {
|
|
534
|
+
for (const part of declaredParts(config, gate) ?? []) {
|
|
535
|
+
const scope = String(part.scope);
|
|
536
|
+
const named = isRecord(part.parameters) ? part.parameters : {};
|
|
537
|
+
for (const name of Object.keys(named)) {
|
|
538
|
+
const found = readParameter(part, name);
|
|
539
|
+
// `Number.isFinite` is the test `validateGates` applies, and it is
|
|
540
|
+
// false for text, true, false and a number too large to be one.
|
|
541
|
+
if (
|
|
542
|
+
found !== undefined &&
|
|
543
|
+
isDeclaredDirection(found.direction) &&
|
|
544
|
+
Number.isFinite(found.value)
|
|
545
|
+
) {
|
|
546
|
+
thresholds.push({
|
|
547
|
+
key: declaredThresholdKey(gate, scope, name),
|
|
548
|
+
gate,
|
|
549
|
+
scope,
|
|
550
|
+
name,
|
|
551
|
+
value: /** @type {number} */ (found.value),
|
|
552
|
+
direction: found.direction,
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
return thresholds;
|
|
559
|
+
}
|
|
560
|
+
|
|
395
561
|
/**
|
|
396
562
|
* Extract thresholdRatchet.allow entries from parsed .lisa.config.json.
|
|
397
563
|
* @param {unknown} config Parsed config (may be undefined)
|
|
@@ -18,6 +18,15 @@
|
|
|
18
18
|
* documented entries autonomously, and doctor readiness (B5) audits that
|
|
19
19
|
* every entry carries a written decision.
|
|
20
20
|
*
|
|
21
|
+
* Declared thresholds — the ones a repository on any stack writes for its own
|
|
22
|
+
* parts, as `gates.<gate>.parts[].parameters.<name> = { value, direction }` in
|
|
23
|
+
* `.lisa.config.json`. A `floor` may rise and never fall, a `ceiling` may fall
|
|
24
|
+
* and never rise, and a threshold that is removed, renamed away, turned round
|
|
25
|
+
* or no longer a number has loosened too. These need no threshold file and no
|
|
26
|
+
* `package.json`: the file is already watched for the allow list below, so
|
|
27
|
+
* every mode here compares them. See `extractDeclaredThresholds` and
|
|
28
|
+
* `compareDeclaredThresholds`.
|
|
29
|
+
*
|
|
21
30
|
* Documented exception: `.lisa.config.json` → `thresholdRatchet.allow`
|
|
22
31
|
* entries ({ file, key, reason, until }). An agent records one, with its
|
|
23
32
|
* reason, only when the regression is justified; a person can reverse it by
|
|
@@ -25,7 +34,9 @@
|
|
|
25
34
|
* merge-base), never from the change under review — an agent cannot grant
|
|
26
35
|
* itself an exception in the same change that weakens a gate. `key: "*"`
|
|
27
36
|
* allows every key in the file, and reports as file-wide so it is not mistaken
|
|
28
|
-
* for a key-scoped one.
|
|
37
|
+
* for a key-scoped one. A declared threshold leaves by this same list and by
|
|
38
|
+
* nothing else: `file` is `.lisa.config.json` and `key` is
|
|
39
|
+
* `gates.<gate>.parts[<folder>].parameters.<name>`, which every refusal prints.
|
|
29
40
|
*
|
|
30
41
|
* Exemptions END (#3856). `until` is a `YYYY-MM-DD` day the entry is live
|
|
31
42
|
* through; past it the entry stops exempting and the weakening it permitted is
|
|
@@ -181,6 +181,7 @@ Right: create the label. Stop only if the tracker refuses for lack of permission
|
|
|
181
181
|
- **Signing a legal agreement** — a contract, BAA, DPA or license acceptance. A compliance *judgement* is not this gate: it is the agent's decision unless the project declares it human-only
|
|
182
182
|
- **Declared human gates and operator holds** — a leaf filed with `human_gate`, a decision class in `humanGate.humanOnly`, a stricter `humanGate.mode`, an operator's hold label, or an option a project turned on such as `dependencies.humanSignOff`
|
|
183
183
|
- **Human-authored-only surfaces** — `PROJECT_RULES.md`, and the human-gated tickets the learnings gardener files for promotions
|
|
184
|
+
- **Approve maintaining our own copy of an open-source library** — a fork, patch or vendored copy: the last step of the `lisa-security-audit-handling` ladder, filed held as `own-dependency-copy` (`ready-role-filing`). It is maintenance taken on indefinitely, and copy-overwrite ships it to every host
|
|
184
185
|
- **A product question with no reasonable default** that nothing in the item, wiki, code or standing decisions settles (`when-to-stop`), raised through the gate rather than mid-session
|
|
185
186
|
- **`/lisa:agent-ready` gap questions** in `wiki/gaps.md`, which exist to collect what only a person knows
|
|
186
187
|
- **An explicit request** — the operator asked for a person, or invoked an interactive setup skill (`/lisa:setup:*`) and is answering its prompts
|
|
@@ -47,6 +47,15 @@ inherits all seven criteria unless it explicitly justifies why the dependency is
|
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
|
|
50
|
+
**Forking, patching or vendoring is never the first move.** Taking our own
|
|
51
|
+
copy of an open-source library (a fork, a patch through patch-package, Bun or
|
|
52
|
+
pnpm `patchedDependencies` or `yarn patch`, or a vendored copy) is the last
|
|
53
|
+
step, step 7, of the one remediation ladder in the
|
|
54
|
+
`lisa-security-audit-handling` skill, and it is a declared human gate
|
|
55
|
+
(`own-dependency-copy` in `ready-role-filing`). This kit does not restate or
|
|
56
|
+
reorder that ladder. It sets the evidence bar a fork or vendored copy owes
|
|
57
|
+
**after** a person releases the gate.
|
|
58
|
+
|
|
50
59
|
Taking a dependency is a decision about trust: we believe someone else's code
|
|
51
60
|
works. Dropping one reverses that decision without reversing the obligation —
|
|
52
61
|
the capability still has to work, and now it is ours. The risk does not
|
|
@@ -180,6 +189,10 @@ Each of those lands the capability in the
|
|
|
180
189
|
`thin wrapper suitable for in-house ownership` trust class or removes it from
|
|
181
190
|
the dependency set entirely, and either way we now own the behavior.
|
|
182
191
|
|
|
192
|
+
Vendoring and forking, and any patch we carry against the library, are step 7
|
|
193
|
+
of the `lisa-security-audit-handling` ladder: they wait for a released
|
|
194
|
+
human gate before any code is written, and inherit this kit once it is.
|
|
195
|
+
|
|
183
196
|
**Does not inherit the kit** — ownership does not move:
|
|
184
197
|
|
|
185
198
|
- a routine version bump of a trusted dependency **within its existing trust
|
|
@@ -112,9 +112,10 @@ The acts that qualify are the ones an agent **lacks access to** perform. Each ga
|
|
|
112
112
|
| `unreachable-system` | Act in a system the agent cannot reach | granting the agent an access it lacks, admin rights, an on-site or hardware step |
|
|
113
113
|
| `operator-hold` | Honour a hold the operator explicitly asked for | the operator said to hold this item, or passed `ready=false` to a filing skill |
|
|
114
114
|
| `human-authored-surface` | Edit a file the project says only people write (the authorship rule, not missing access; held in both modes) | a promotion, demotion or retirement that lands in a host's `.agents/rules/`, `PROJECT_RULES.md` or `AGENTS.md` |
|
|
115
|
+
| `own-dependency-copy` | Approve maintaining our own copy of an open-source library (not missing access; held in both modes) | a fork, a patch carried through patch-package, Bun or pnpm `patchedDependencies` or `yarn patch`, or a vendored copy: step 7, the last, of the `lisa-security-audit-handling` ladder, reached only when refreshing, upgrading, overriding, excluding an unreachable advisory, replacing the dependency and fixing upstream cannot resolve it. A copy is maintenance taken on indefinitely, and copy-overwrite ships it to every host |
|
|
115
116
|
| `project-policy` | A decision class this project declared human-only | `humanGate.humanOnly` in `.lisa.config.json` |
|
|
116
117
|
|
|
117
|
-
**Everything else is a decision.** That includes acts older wording reserved for a person: a product, scoping or design call; accepting a risk; a compliance judgement; naming an accountable owner from the evidence available; promoting or demoting a learning; a harness intervention; retiring an automation; judging an exploratory-QA finding's significance; picking an epic or parent; ratifying a dependency; and a threshold-ratchet exception. The agent decides and records: it picks the reasonable default, writes the decision on the item (a `Decision:` line saying what was chosen and why), and files it `build_ready: true`. A person who disagrees reverses it on the item; nobody had to be interrupted first.
|
|
118
|
+
**Everything else is a decision.** That includes acts older wording reserved for a person: a product, scoping or design call; accepting a risk; a compliance judgement; naming an accountable owner from the evidence available; promoting or demoting a learning; a harness intervention; retiring an automation; judging an exploratory-QA finding's significance; picking an epic or parent; ratifying a dependency; and a threshold-ratchet exception. (Ratifying a dependency is a decision; maintaining our own fork, patch or vendored copy of one is the `own-dependency-copy` gate above.) The agent decides and records: it picks the reasonable default, writes the decision on the item (a `Decision:` line saying what was chosen and why), and files it `build_ready: true`. A person who disagrees reverses it on the item; nobody had to be interrupted first.
|
|
118
119
|
|
|
119
120
|
**The reason must name the act.** `human_gate: "role-split-triage"` names a topic and is refused; `human_gate: "the production payment-provider secret key only the founder holds"` names an act and is accepted. The check is executable, and every writer runs it before stamping a hold:
|
|
120
121
|
|
|
@@ -7,5 +7,7 @@ The procedure for a push or CI run blocked by the dependency security audit live
|
|
|
7
7
|
3. Add a targeted override to the fixed version.
|
|
8
8
|
4. Evaluate reachability before any code change. An advisory that cannot affect the project gets a scoped exclusion with a concrete reason in the project's own `audit.ignore.local.json`, with no human needed; Lisa's template cannot vouch for a host's reachability. If reachability cannot be proven, the advisory affects the project.
|
|
9
9
|
5. Replace or remove the dependency.
|
|
10
|
+
6. Contribute the fix upstream, in parallel if useful.
|
|
11
|
+
7. Last: fork, patch or vendor the library, only through a declared human gate (`own-dependency-copy` in `ready-role-filing`), with no code before a person releases it. It is a gate, not a decision, because our own copy is maintenance we take on indefinitely, and copy-overwrite ships it to every host.
|
|
10
12
|
|
|
11
|
-
When
|
|
13
|
+
When steps 1–6 do not resolve it, file a build-ready ticket with the evidence (advisory, dependency path, what each step tried) so the factory carries the replacement or removal; stop only when the next act needs access you lack, and say exactly what is missing. The audit's failure message prints the same order and names the skill, so it loads when it is needed instead of in every session. Never bypass the hook.
|
|
@@ -21,7 +21,10 @@
|
|
|
21
21
|
* so only an act it genuinely lacks access to is a gate: an interactive login
|
|
22
22
|
* or a credential only a person holds, spending money, opening an external
|
|
23
23
|
* account, a legal signature, an account only a person holds, a system the
|
|
24
|
-
* agent cannot reach, or a hold the operator explicitly asked for.
|
|
24
|
+
* agent cannot reach, or a hold the operator explicitly asked for. Two more
|
|
25
|
+
* hold in both modes without being access gates: an edit to a human-authored
|
|
26
|
+
* surface, and approving our own fork, patch or vendored copy of an
|
|
27
|
+
* open-source library (CodySwannGT/lisa#5024). `strict`
|
|
25
28
|
* also holds a compliance judgement, naming an accountable person, and Lisa's
|
|
26
29
|
* own policy calls. `humanGate.humanOnly` widens the gate in either mode.
|
|
27
30
|
*
|
|
@@ -344,7 +344,9 @@ export function isStrictHumanGateMode(mode) {
|
|
|
344
344
|
* reach, and a hold the operator explicitly asked for. One more entry is valid
|
|
345
345
|
* in both modes without being an access gate: a change to a surface the
|
|
346
346
|
* project declared human-authored, which the authorship rule keeps free of
|
|
347
|
-
* automated writes.
|
|
347
|
+
* automated writes. Another is valid in both modes for the same reason: our
|
|
348
|
+
* own fork, patch or vendored copy of an open-source library, the last rung of
|
|
349
|
+
* the security-audit ladder, which a person approves.
|
|
348
350
|
*
|
|
349
351
|
* The patterns run over a normalized reason (lower case, hyphens and
|
|
350
352
|
* underscores read as spaces) so a slug and its prose spelling match alike.
|
|
@@ -448,6 +450,28 @@ export const HUMAN_GATE_ACTS = Object.freeze([
|
|
|
448
450
|
pattern:
|
|
449
451
|
/\b(declared human authored|human authored (surfaces?|files?|rules?)|project rules( md)?|agents md|agents rules|claude rules)\b/u,
|
|
450
452
|
}),
|
|
453
|
+
Object.freeze({
|
|
454
|
+
act: "own-dependency-copy",
|
|
455
|
+
// Not missing access: the last rung of the security-audit ladder
|
|
456
|
+
// (CodySwannGT/lisa#5024). Our own fork, patch (patch-package, Bun or pnpm
|
|
457
|
+
// `patchedDependencies`, yarn patch) or vendored copy of an open-source
|
|
458
|
+
// library is maintenance taken on indefinitely, and copy-overwrite ships
|
|
459
|
+
// it to every host, so a person approves it in both modes. The pattern
|
|
460
|
+
// names the act of maintaining our OWN copy; depending on someone else's
|
|
461
|
+
// fork is a decision, and so is every earlier rung of the ladder. A patch
|
|
462
|
+
// must name a dependency target. After "to" or "for" that target is a
|
|
463
|
+
// library, dependency or package noun, because a bare word there is as
|
|
464
|
+
// often a verb ("a patch to fix the crash"). A bare package name counts
|
|
465
|
+
// only after "against", "on" or "of", and never a repository word, so
|
|
466
|
+
// "add a patch to the README" stays a decision. A package name is one
|
|
467
|
+
// word here: a prose reason is matched with scoped and hyphenated names
|
|
468
|
+
// (`@scope/name`, `eslint-plugin-react`) collapsed to a single token, so
|
|
469
|
+
// the target window stays one word wide.
|
|
470
|
+
label: "approve maintaining our own copy of an open-source library",
|
|
471
|
+
packageNames: true,
|
|
472
|
+
pattern:
|
|
473
|
+
/\b((maintain\w*|keep\w*|carry\w*|own\w*) (our|its) own (patched |vendored |forked )?(copy|copies|fork|forks|patch|patches) of|(apply\w*|carry\w*|maintain\w*|keep\w*|add\w*) (a |an |our |the )?(local )?(patch|patches) ((to|for|of|against|on) (the |a |an |our |this )?(open source |upstream |third party )?([a-z0-9]+ )?(library|libraries|dependency|dependencies|package|packages)|(against|on|of) (the |our )?(?!(readme|docs?|documentation|files?|changelog|code|config|scripts?|tests?|branch|workflow|the|our|a|an|this|it)\b)[a-z0-9]+)|(fork|forking|vendor|vendoring) (?!of\b)(a |an |our |the )?([a-z0-9]+ ){0,2}(library|libraries|dependency|dependencies|package|packages))\b/u,
|
|
474
|
+
}),
|
|
451
475
|
Object.freeze({
|
|
452
476
|
act: "compliance-signoff",
|
|
453
477
|
label: "give a compliance sign-off",
|
|
@@ -490,6 +514,8 @@ const KEYWORD_ACTS = new Set([
|
|
|
490
514
|
"legal-signoff",
|
|
491
515
|
"person-only-account",
|
|
492
516
|
"human-authored-surface",
|
|
517
|
+
// "fork-library-selection" names a topic, not the approval (#5024).
|
|
518
|
+
"own-dependency-copy",
|
|
493
519
|
"compliance-signoff",
|
|
494
520
|
"accountable-person",
|
|
495
521
|
"unreachable-system",
|
|
@@ -524,6 +550,23 @@ export function normalizeGateText(value) {
|
|
|
524
550
|
.trim();
|
|
525
551
|
}
|
|
526
552
|
|
|
553
|
+
/**
|
|
554
|
+
* A prose reason normalized with each package name kept as one token, so a
|
|
555
|
+
* scoped or hyphenated name (`@scope/name`, `eslint-plugin-react`) reads as
|
|
556
|
+
* the single target it is rather than as several words.
|
|
557
|
+
* @param {unknown} value - A raw prose reason
|
|
558
|
+
* @returns {string} Normalized text with package names joined
|
|
559
|
+
*/
|
|
560
|
+
function collapsePackageNames(value) {
|
|
561
|
+
return normalizeGateText(
|
|
562
|
+
String(value ?? "")
|
|
563
|
+
.toLowerCase()
|
|
564
|
+
.replace(/@?[a-z0-9][a-z0-9._-]*(?:\/[a-z0-9][a-z0-9._-]*)?/gu, name =>
|
|
565
|
+
/[@/._-]/u.test(name) ? name.replace(/[^a-z0-9]/gu, "") : name
|
|
566
|
+
)
|
|
567
|
+
);
|
|
568
|
+
}
|
|
569
|
+
|
|
527
570
|
/**
|
|
528
571
|
* The project's declared human-only decision classes, normalized.
|
|
529
572
|
* @param {unknown} classes - `humanGate.humanOnly` from config
|
|
@@ -555,10 +598,11 @@ export function classifyHumanGateReason(reason, options = {}) {
|
|
|
555
598
|
const slug = !/\s/u.test(String(reason ?? "").trim());
|
|
556
599
|
const topicOnly = slug && TOPIC_WORDS.test(text) && !ACT_VERBS.test(text);
|
|
557
600
|
const strict = isStrictHumanGateMode(options.mode);
|
|
601
|
+
const packageText = slug ? text : collapsePackageNames(reason);
|
|
558
602
|
for (const entry of HUMAN_GATE_ACTS) {
|
|
559
603
|
if (entry.strictOnly && !strict) continue;
|
|
560
604
|
if (entry.slugOnly && !slug) continue;
|
|
561
|
-
const match = entry.pattern.exec(text);
|
|
605
|
+
const match = entry.pattern.exec(entry.packageNames ? packageText : text);
|
|
562
606
|
// A secret is never a topic: the secret entry always wins. A login
|
|
563
607
|
// word is a topic unless an act verb says otherwise, in prose too.
|
|
564
608
|
const vetoed = entry.secret
|
|
@@ -268,6 +268,10 @@ verification. Only then should the automation fleet run unattended on a brownfie
|
|
|
268
268
|
operator).
|
|
269
269
|
- Idempotent: re-runs regenerate the open section in place and never lose or reword a human's
|
|
270
270
|
inline answers.
|
|
271
|
+
- A block of `wiki/gaps.md` between the lines `<!-- lisa:audit-questions:start -->` and
|
|
272
|
+
`<!-- lisa:audit-questions:end -->` belongs to `/lisa:audit`, which lists its own open questions
|
|
273
|
+
there. Leave it byte for byte: never answer, absorb, move, reword or regenerate anything inside
|
|
274
|
+
it, and never count its entries as gaps of this skill.
|
|
271
275
|
- The wiki is the durable store; `wiki/gaps.md` is a queue. Every absorbed answer must land in a
|
|
272
276
|
real wiki page with the gaps entry pointing at it.
|
|
273
277
|
- `wiki/state/agent-ready/sources.json` is the durable coverage record. Source access is always
|