@codyswann/lisa 8.7.1 → 8.9.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 +21 -0
- package/all/copy-overwrite/scripts/lib/completion-authorization.mjs +54 -0
- package/all/copy-overwrite/scripts/lib/completion-proof-adapters.mjs +59 -0
- package/all/copy-overwrite/scripts/lib/completion-proof-markdown.mjs +1 -1
- package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +1 -0
- package/all/copy-overwrite/scripts/lib/release-switch.d.mts +91 -0
- package/all/copy-overwrite/scripts/lib/release-switch.mjs +1049 -0
- package/all/copy-overwrite/scripts/lisa-enforcement-fallback.sh +3 -3
- package/all/copy-overwrite/scripts/lisa-enforcement-freshness.mjs +1 -0
- package/all/copy-overwrite/scripts/lisa-gates.mjs +90 -5
- package/all/copy-overwrite/scripts/lisa-hooks/task-readiness-guard.sh +54 -0
- package/all/copy-overwrite/scripts/lisa-release-switch.mjs +203 -0
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +18 -5
- package/dist/cli/doctor-release-setting.d.ts +8 -0
- package/dist/cli/doctor-release-setting.d.ts.map +1 -0
- package/dist/cli/doctor-release-setting.js +71 -0
- package/dist/cli/doctor-release-setting.js.map +1 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +2 -0
- package/dist/cli/doctor.js.map +1 -1
- package/dist/controls/before-enforce-observe.d.ts +1 -1
- package/dist/controls/before-enforce-observe.d.ts.map +1 -1
- package/dist/controls/before-enforce-observe.js +3 -7
- package/dist/controls/before-enforce-observe.js.map +1 -1
- package/dist/controls/before-enforce-workspace.d.ts.map +1 -1
- package/dist/controls/before-enforce-workspace.js +16 -1
- package/dist/controls/before-enforce-workspace.js.map +1 -1
- package/dist/controls/commands/proof-check.d.ts +1 -1
- package/dist/controls/commands/proof-check.d.ts.map +1 -1
- package/dist/controls/commands/proof-check.js +11 -11
- package/dist/controls/commands/seed.d.ts.map +1 -1
- package/dist/controls/commands/seed.js +14 -30
- package/dist/controls/commands/seed.js.map +1 -1
- package/dist/controls/proof-check-plan.d.ts +5 -6
- package/dist/controls/proof-check-plan.d.ts.map +1 -1
- package/dist/controls/proof-check-plan.js +11 -10
- package/dist/controls/proof-check-plan.js.map +1 -1
- package/dist/controls/proof-check-report.d.ts.map +1 -1
- package/dist/controls/proof-check-report.js +2 -4
- package/dist/controls/proof-check-report.js.map +1 -1
- package/dist/controls/proof-copy-source.d.ts +24 -0
- package/dist/controls/proof-copy-source.d.ts.map +1 -0
- package/dist/controls/proof-copy-source.js +60 -0
- package/dist/controls/proof-copy-source.js.map +1 -0
- package/dist/controls/proof-copy-wording.d.ts +10 -1
- package/dist/controls/proof-copy-wording.d.ts.map +1 -1
- package/dist/controls/proof-copy-wording.js +23 -2
- package/dist/controls/proof-copy-wording.js.map +1 -1
- package/dist/controls/proof-copy-workspace.d.ts +4 -3
- package/dist/controls/proof-copy-workspace.d.ts.map +1 -1
- package/dist/controls/proof-copy-workspace.js +39 -23
- package/dist/controls/proof-copy-workspace.js.map +1 -1
- package/dist/controls/proof-copy.d.ts +1 -9
- package/dist/controls/proof-copy.d.ts.map +1 -1
- package/dist/controls/proof-copy.js +3 -45
- package/dist/controls/proof-copy.js.map +1 -1
- package/dist/controls/proof-half-run.d.ts +1 -1
- package/dist/controls/proof-half-run.d.ts.map +1 -1
- package/dist/controls/proof-half-run.js +6 -9
- package/dist/controls/proof-half-run.js.map +1 -1
- package/dist/controls/proof-plan.d.ts +17 -2
- package/dist/controls/proof-plan.d.ts.map +1 -1
- package/dist/controls/proof-plan.js +47 -3
- package/dist/controls/proof-plan.js.map +1 -1
- package/dist/controls/proof-push-fixture.d.ts +16 -0
- package/dist/controls/proof-push-fixture.d.ts.map +1 -0
- package/dist/controls/proof-push-fixture.js +137 -0
- package/dist/controls/proof-push-fixture.js.map +1 -0
- package/dist/controls/proof-types.d.ts +4 -0
- package/dist/controls/proof-types.d.ts.map +1 -1
- package/dist/controls/register-entries.d.ts.map +1 -1
- package/dist/controls/register-entries.js +23 -2
- package/dist/controls/register-entries.js.map +1 -1
- package/dist/controls/register-types.d.ts +4 -0
- package/dist/controls/register-types.d.ts.map +1 -1
- package/dist/controls/register-types.js.map +1 -1
- package/dist/controls/shipped-parts.d.ts +8 -6
- package/dist/controls/shipped-parts.d.ts.map +1 -1
- package/dist/controls/shipped-parts.js +19 -1
- package/dist/controls/shipped-parts.js.map +1 -1
- package/dist/controls/shipped-task-proofs.d.ts +24 -0
- package/dist/controls/shipped-task-proofs.d.ts.map +1 -0
- package/dist/controls/shipped-task-proofs.js +191 -0
- package/dist/controls/shipped-task-proofs.js.map +1 -0
- package/dist/core/lisa-owned-hash-ledger.json +148 -4
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.json +391 -66
- package/dist/migrations/ensure-seeded-gates.d.ts.map +1 -1
- package/dist/migrations/ensure-seeded-gates.js +4 -1
- package/dist/migrations/ensure-seeded-gates.js.map +1 -1
- package/dist/opencode/hooks-installer.d.ts.map +1 -1
- package/dist/opencode/hooks-installer.js +2 -0
- package/dist/opencode/hooks-installer.js.map +1 -1
- package/dist/opencode/plugin-catalog.d.ts.map +1 -1
- package/dist/opencode/plugin-catalog.js +5 -0
- package/dist/opencode/plugin-catalog.js.map +1 -1
- package/dist/opencode/plugin-templates/lisa-task-readiness.ts +47 -0
- package/dist/opencode/plugin-templates/task-readiness-guard.mjs +99 -0
- package/dist/opencode/plugin-templates/task-readiness-guard.sh +54 -0
- package/package.json +5 -4
- package/plugins/lisa/.claude-plugin/plugin.json +49 -2
- package/plugins/lisa/.codex-plugin/hooks.json +48 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-atlassian-access/SKILL.md +13 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-configure/SKILL.md +19 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-doctor/SKILL.md +10 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-git-submit-pr/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-github-claim/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-github-read-issue/SKILL.md +29 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-github-read-issue/read-contract.mjs +70 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-github-validate-issue/SKILL.md +27 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +23 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-implement/SKILL.md +15 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-claim/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-read-ticket/SKILL.md +9 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +23 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-access/SKILL.md +102 -103
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-claim/SKILL.md +3 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-read-issue/SKILL.md +13 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-validate-issue/SKILL.md +26 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +27 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-notion-access/SKILL.md +37 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/SKILL.md +8 -26
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-linear/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-aws/SKILL.md +8 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-task-decomposition/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +13 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-claim/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-verify/SKILL.md +4 -1
- package/plugins/lisa/hooks/inject-resolved-config.mjs +235 -3
- package/plugins/lisa/hooks/secrets-preflight.agy.sh +19 -0
- package/plugins/lisa/hooks/secrets-preflight.sh +42 -0
- package/plugins/lisa/hooks/task-readiness-guard.mjs +96 -0
- package/plugins/lisa/hooks/task-readiness-guard.sh +54 -0
- package/plugins/lisa/rules/eager/coding-philosophy.md +7 -6
- package/plugins/lisa/rules/reference/coding-philosophy.md +48 -0
- package/plugins/lisa/rules/reference/config-resolution.md +4 -1
- package/plugins/lisa/rules/reference/intent-routing.md +2 -2
- package/plugins/lisa/rules/reference/tool-access-gate.md +160 -0
- package/plugins/lisa/rules/reference/tracked-work.md +2 -0
- package/plugins/lisa/rules/reference/work-item-definition-of-ready.md +31 -0
- package/plugins/lisa/scripts/install-remote-agent-aws.mjs +3 -2
- package/plugins/lisa/scripts/remote-agent-aws-setup.sh +123 -10
- package/plugins/lisa/skills/lisa-atlassian-access/SKILL.md +13 -0
- package/plugins/lisa/skills/lisa-configure/SKILL.md +19 -7
- package/plugins/lisa/skills/lisa-doctor/SKILL.md +10 -0
- package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
- package/plugins/lisa/skills/lisa-git-submit-pr/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-github-claim/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-github-read-issue/SKILL.md +29 -0
- package/plugins/lisa/skills/lisa-github-read-issue/read-contract.mjs +70 -0
- package/plugins/lisa/skills/lisa-github-validate-issue/SKILL.md +27 -1
- package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +23 -0
- package/plugins/lisa/skills/lisa-implement/SKILL.md +15 -2
- package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-jira-claim/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-jira-read-ticket/SKILL.md +9 -0
- package/plugins/lisa/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
- package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +23 -0
- package/plugins/lisa/skills/lisa-linear-access/SKILL.md +102 -103
- package/plugins/lisa/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
- package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-linear-claim/SKILL.md +3 -1
- package/plugins/lisa/skills/lisa-linear-read-issue/SKILL.md +13 -0
- package/plugins/lisa/skills/lisa-linear-validate-issue/SKILL.md +26 -0
- package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +27 -0
- package/plugins/lisa/skills/lisa-notion-access/SKILL.md +37 -0
- package/plugins/lisa/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
- package/plugins/lisa/skills/lisa-secrets-access/SKILL.md +8 -26
- package/plugins/lisa/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
- package/plugins/lisa/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
- package/plugins/lisa/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
- package/plugins/lisa/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
- package/plugins/lisa/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
- package/plugins/lisa/skills/lisa-setup-linear/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-setup-remote-aws/SKILL.md +8 -0
- package/plugins/lisa/skills/lisa-task-decomposition/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-track/SKILL.md +13 -1
- package/plugins/lisa/skills/lisa-tracker-claim/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-verify/SKILL.md +4 -1
- package/plugins/lisa-agy/hooks/secrets-preflight.agy.sh +19 -0
- package/plugins/lisa-agy/hooks/secrets-preflight.sh +114 -0
- package/plugins/lisa-agy/hooks.json +13 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/install-remote-agent-aws.mjs +3 -2
- package/plugins/lisa-agy/scripts/remote-agent-aws-setup.sh +123 -10
- package/plugins/lisa-agy/skills/lisa-atlassian-access/SKILL.md +13 -0
- package/plugins/lisa-agy/skills/lisa-configure/SKILL.md +19 -7
- package/plugins/lisa-agy/skills/lisa-doctor/SKILL.md +10 -0
- package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
- package/plugins/lisa-agy/skills/lisa-git-submit-pr/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-github-claim/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-github-read-issue/SKILL.md +29 -0
- package/plugins/lisa-agy/skills/lisa-github-read-issue/read-contract.mjs +70 -0
- package/plugins/lisa-agy/skills/lisa-github-validate-issue/SKILL.md +27 -1
- package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +23 -0
- package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +15 -2
- package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-jira-claim/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-jira-read-ticket/SKILL.md +9 -0
- package/plugins/lisa-agy/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
- package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +23 -0
- package/plugins/lisa-agy/skills/lisa-linear-access/SKILL.md +102 -103
- package/plugins/lisa-agy/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
- package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-linear-claim/SKILL.md +3 -1
- package/plugins/lisa-agy/skills/lisa-linear-read-issue/SKILL.md +13 -0
- package/plugins/lisa-agy/skills/lisa-linear-validate-issue/SKILL.md +26 -0
- package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +27 -0
- package/plugins/lisa-agy/skills/lisa-notion-access/SKILL.md +37 -0
- package/plugins/lisa-agy/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/SKILL.md +8 -26
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
- package/plugins/lisa-agy/skills/lisa-setup-linear/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-setup-remote-aws/SKILL.md +8 -0
- package/plugins/lisa-agy/skills/lisa-task-decomposition/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-track/SKILL.md +13 -1
- package/plugins/lisa-agy/skills/lisa-tracker-claim/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-verify/SKILL.md +4 -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 +49 -2
- package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +235 -3
- package/plugins/lisa-copilot/hooks/secrets-preflight.sh +42 -0
- package/plugins/lisa-copilot/hooks/task-readiness-guard.mjs +96 -0
- package/plugins/lisa-copilot/hooks/task-readiness-guard.sh +54 -0
- package/plugins/lisa-copilot/rules/eager/coding-philosophy.md +7 -6
- package/plugins/lisa-copilot/rules/reference/coding-philosophy.md +48 -0
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +4 -1
- package/plugins/lisa-copilot/rules/reference/intent-routing.md +2 -2
- package/plugins/lisa-copilot/rules/reference/tool-access-gate.md +160 -0
- package/plugins/lisa-copilot/rules/reference/tracked-work.md +2 -0
- package/plugins/lisa-copilot/rules/reference/work-item-definition-of-ready.md +31 -0
- package/plugins/lisa-copilot/scripts/install-remote-agent-aws.mjs +3 -2
- package/plugins/lisa-copilot/scripts/remote-agent-aws-setup.sh +123 -10
- package/plugins/lisa-copilot/skills/lisa-atlassian-access/SKILL.md +13 -0
- package/plugins/lisa-copilot/skills/lisa-configure/SKILL.md +19 -7
- package/plugins/lisa-copilot/skills/lisa-doctor/SKILL.md +10 -0
- package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
- package/plugins/lisa-copilot/skills/lisa-git-submit-pr/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-github-claim/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-github-read-issue/SKILL.md +29 -0
- package/plugins/lisa-copilot/skills/lisa-github-read-issue/read-contract.mjs +70 -0
- package/plugins/lisa-copilot/skills/lisa-github-validate-issue/SKILL.md +27 -1
- package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +23 -0
- package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +15 -2
- package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-jira-claim/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-jira-read-ticket/SKILL.md +9 -0
- package/plugins/lisa-copilot/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
- package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +23 -0
- package/plugins/lisa-copilot/skills/lisa-linear-access/SKILL.md +102 -103
- package/plugins/lisa-copilot/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
- package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-linear-claim/SKILL.md +3 -1
- package/plugins/lisa-copilot/skills/lisa-linear-read-issue/SKILL.md +13 -0
- package/plugins/lisa-copilot/skills/lisa-linear-validate-issue/SKILL.md +26 -0
- package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +27 -0
- package/plugins/lisa-copilot/skills/lisa-notion-access/SKILL.md +37 -0
- package/plugins/lisa-copilot/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/SKILL.md +8 -26
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
- package/plugins/lisa-copilot/skills/lisa-setup-linear/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-setup-remote-aws/SKILL.md +8 -0
- package/plugins/lisa-copilot/skills/lisa-task-decomposition/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +13 -1
- package/plugins/lisa-copilot/skills/lisa-tracker-claim/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-verify/SKILL.md +4 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/hooks.json +18 -1
- package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +235 -3
- package/plugins/lisa-cursor/hooks/secrets-preflight.sh +42 -0
- package/plugins/lisa-cursor/hooks/task-readiness-guard.mjs +96 -0
- package/plugins/lisa-cursor/hooks/task-readiness-guard.sh +54 -0
- package/plugins/lisa-cursor/rules/coding-philosophy-reference.mdc +48 -0
- package/plugins/lisa-cursor/rules/coding-philosophy.mdc +7 -6
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +4 -1
- package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +2 -2
- package/plugins/lisa-cursor/rules/tool-access-gate-reference.mdc +160 -0
- package/plugins/lisa-cursor/rules/tracked-work-reference.mdc +2 -0
- package/plugins/lisa-cursor/rules/work-item-definition-of-ready-reference.mdc +31 -0
- package/plugins/lisa-cursor/scripts/install-remote-agent-aws.mjs +3 -2
- package/plugins/lisa-cursor/scripts/remote-agent-aws-setup.sh +123 -10
- package/plugins/lisa-cursor/skills/lisa-atlassian-access/SKILL.md +13 -0
- package/plugins/lisa-cursor/skills/lisa-configure/SKILL.md +19 -7
- package/plugins/lisa-cursor/skills/lisa-doctor/SKILL.md +10 -0
- package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
- package/plugins/lisa-cursor/skills/lisa-git-submit-pr/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-github-claim/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-github-read-issue/SKILL.md +29 -0
- package/plugins/lisa-cursor/skills/lisa-github-read-issue/read-contract.mjs +70 -0
- package/plugins/lisa-cursor/skills/lisa-github-validate-issue/SKILL.md +27 -1
- package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +23 -0
- package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +15 -2
- package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-jira-claim/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-jira-read-ticket/SKILL.md +9 -0
- package/plugins/lisa-cursor/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
- package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +23 -0
- package/plugins/lisa-cursor/skills/lisa-linear-access/SKILL.md +102 -103
- package/plugins/lisa-cursor/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
- package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-linear-claim/SKILL.md +3 -1
- package/plugins/lisa-cursor/skills/lisa-linear-read-issue/SKILL.md +13 -0
- package/plugins/lisa-cursor/skills/lisa-linear-validate-issue/SKILL.md +26 -0
- package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +27 -0
- package/plugins/lisa-cursor/skills/lisa-notion-access/SKILL.md +37 -0
- package/plugins/lisa-cursor/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/SKILL.md +8 -26
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
- package/plugins/lisa-cursor/skills/lisa-setup-linear/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-setup-remote-aws/SKILL.md +8 -0
- package/plugins/lisa-cursor/skills/lisa-task-decomposition/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +13 -1
- package/plugins/lisa-cursor/skills/lisa-tracker-claim/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-verify/SKILL.md +4 -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/inject-resolved-config.mjs +235 -3
- package/plugins/lisa-devin/hooks/secrets-preflight.sh +42 -0
- package/plugins/lisa-devin/hooks/task-readiness-guard.mjs +96 -0
- package/plugins/lisa-devin/hooks/task-readiness-guard.sh +54 -0
- package/plugins/lisa-devin/hooks.json +43 -1
- package/plugins/lisa-devin/rules/eager/coding-philosophy.md +7 -6
- package/plugins/lisa-devin/rules/reference/coding-philosophy.md +48 -0
- package/plugins/lisa-devin/rules/reference/config-resolution.md +4 -1
- package/plugins/lisa-devin/rules/reference/intent-routing.md +2 -2
- package/plugins/lisa-devin/rules/reference/tool-access-gate.md +160 -0
- package/plugins/lisa-devin/rules/reference/tracked-work.md +2 -0
- package/plugins/lisa-devin/rules/reference/work-item-definition-of-ready.md +31 -0
- package/plugins/lisa-devin/scripts/install-remote-agent-aws.mjs +3 -2
- package/plugins/lisa-devin/scripts/remote-agent-aws-setup.sh +123 -10
- package/plugins/lisa-devin/skills/lisa-atlassian-access/SKILL.md +13 -0
- package/plugins/lisa-devin/skills/lisa-configure/SKILL.md +19 -7
- package/plugins/lisa-devin/skills/lisa-doctor/SKILL.md +10 -0
- package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
- package/plugins/lisa-devin/skills/lisa-git-submit-pr/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-github-build-intake/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-github-claim/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-github-read-issue/SKILL.md +29 -0
- package/plugins/lisa-devin/skills/lisa-github-read-issue/read-contract.mjs +70 -0
- package/plugins/lisa-devin/skills/lisa-github-validate-issue/SKILL.md +27 -1
- package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +23 -0
- package/plugins/lisa-devin/skills/lisa-implement/SKILL.md +15 -2
- package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-jira-claim/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-jira-read-ticket/SKILL.md +9 -0
- package/plugins/lisa-devin/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
- package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +23 -0
- package/plugins/lisa-devin/skills/lisa-linear-access/SKILL.md +102 -103
- package/plugins/lisa-devin/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
- package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-linear-claim/SKILL.md +3 -1
- package/plugins/lisa-devin/skills/lisa-linear-read-issue/SKILL.md +13 -0
- package/plugins/lisa-devin/skills/lisa-linear-validate-issue/SKILL.md +26 -0
- package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +27 -0
- package/plugins/lisa-devin/skills/lisa-notion-access/SKILL.md +37 -0
- package/plugins/lisa-devin/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/SKILL.md +8 -26
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
- package/plugins/lisa-devin/skills/lisa-setup-linear/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-setup-remote-aws/SKILL.md +8 -0
- package/plugins/lisa-devin/skills/lisa-task-decomposition/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-track/SKILL.md +13 -1
- package/plugins/lisa-devin/skills/lisa-tracker-claim/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-verify/SKILL.md +4 -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/materialized-artifacts.json +2 -0
- package/plugins/src/base/.claude-plugin/plugin.json +25 -1
- package/plugins/src/base/hooks/inject-resolved-config.mjs +235 -3
- package/plugins/src/base/hooks/secrets-preflight.agy.sh +19 -0
- package/plugins/src/base/hooks/secrets-preflight.sh +42 -0
- package/plugins/src/base/hooks/task-readiness-guard.mjs +96 -0
- package/plugins/src/base/hooks/task-readiness-guard.sh +51 -0
- package/plugins/src/base/rules/eager/coding-philosophy.md +7 -6
- package/plugins/src/base/rules/reference/coding-philosophy.md +48 -0
- package/plugins/src/base/rules/reference/config-resolution.md +4 -1
- package/plugins/src/base/rules/reference/intent-routing.md +2 -2
- package/plugins/src/base/rules/reference/tool-access-gate.md +160 -0
- package/plugins/src/base/rules/reference/tracked-work.md +2 -0
- package/plugins/src/base/rules/reference/work-item-definition-of-ready.md +31 -0
- package/plugins/src/base/scripts/install-remote-agent-aws.mjs +3 -2
- package/plugins/src/base/scripts/remote-agent-aws-setup.sh +123 -10
- package/plugins/src/base/skills/lisa-atlassian-access/SKILL.md +13 -0
- package/plugins/src/base/skills/lisa-configure/SKILL.md +19 -7
- package/plugins/src/base/skills/lisa-doctor/SKILL.md +10 -0
- package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +9 -0
- package/plugins/src/base/skills/lisa-git-submit-pr/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-github-claim/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-github-read-issue/SKILL.md +29 -0
- package/plugins/src/base/skills/lisa-github-read-issue/read-contract.mjs +70 -0
- package/plugins/src/base/skills/lisa-github-validate-issue/SKILL.md +27 -1
- package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +23 -0
- package/plugins/src/base/skills/lisa-implement/SKILL.md +15 -2
- package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-jira-claim/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-jira-read-ticket/SKILL.md +9 -0
- package/plugins/src/base/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
- package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +23 -0
- package/plugins/src/base/skills/lisa-linear-access/SKILL.md +102 -103
- package/plugins/src/base/skills/lisa-linear-access/scripts/linear-graphql.sh +428 -0
- package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-linear-claim/SKILL.md +3 -1
- package/plugins/src/base/skills/lisa-linear-read-issue/SKILL.md +13 -0
- package/plugins/src/base/skills/lisa-linear-validate-issue/SKILL.md +26 -0
- package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +27 -0
- package/plugins/src/base/skills/lisa-notion-access/SKILL.md +37 -0
- package/plugins/src/base/skills/lisa-notion-access/scripts/readiness-probe.mjs +83 -0
- package/plugins/src/base/skills/lisa-secrets-access/SKILL.md +8 -26
- package/plugins/src/base/skills/lisa-secrets-access/scripts/aws-bootstrap.mjs +89 -117
- package/plugins/src/base/skills/lisa-secrets-access/scripts/config-files.mjs +42 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/config-layers.mjs +139 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/materialize-secrets.mjs +138 -125
- package/plugins/src/base/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +98 -10
- package/plugins/src/base/skills/lisa-secrets-access/scripts/providers.mjs +24 -1
- package/plugins/src/base/skills/lisa-secrets-access/scripts/routing-floor.mjs +21 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/surfaces.mjs +111 -36
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-access.mjs +205 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-action.mjs +218 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-atlassian-native.mjs +181 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-context-data.mjs +75 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-context-write.mjs +158 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-github.mjs +92 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-intake-read.mjs +171 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-intake.mjs +155 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-context.mjs +71 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-contract.mjs +156 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-flow.mjs +253 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-lifecycle.mjs +106 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-native-state.mjs +171 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-readiness.mjs +347 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-requirements.mjs +279 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/task-tracker-intake.mjs +463 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs +2 -21
- package/plugins/src/base/skills/lisa-setup-linear/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-setup-remote-aws/SKILL.md +8 -0
- package/plugins/src/base/skills/lisa-task-decomposition/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-track/SKILL.md +13 -1
- package/plugins/src/base/skills/lisa-tracker-claim/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-verify/SKILL.md +4 -1
- package/scripts/build-plugins.sh +1 -1
- package/scripts/copy-opencode-plugin-templates.mjs +2 -0
- package/scripts/generate-agy-plugin-artifacts.mjs +8 -0
- package/scripts/lib/per-agent-hook-filter.mjs +1 -1
- package/scripts/lisa-enforcement-fallback.sh +3 -3
- package/scripts/lisa-enforcement-freshness.mjs +1 -0
- package/scripts/lisa-release-switch.mjs +9 -0
- package/scripts/two-channel-couplings.json +2 -2
- package/typescript/copy-overwrite/.prettierignore +2 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-code-style-slow.clean.patch +25 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-code-style-slow.violation.patch +28 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-code-style.clean.patch +13 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-code-style.violation.patch +13 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-coverage-adequacy.clean.patch +6 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-coverage-adequacy.violation.patch +7 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-dead-code.clean.patch +7 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-dead-code.violation.patch +7 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-dependency-vulnerability.clean.patch +6 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-dependency-vulnerability.violation.patch +6 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-format-conformance.clean.patch +8 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-format-conformance.violation.patch +7 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-structural-rules.clean.patch +14 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-structural-rules.violation.patch +14 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-test-correctness.clean.patch +10 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-test-correctness.violation.patch +10 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-test-integration.clean.patch +10 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-test-integration.violation.patch +10 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-traceability.clean.patch +6 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-traceability.violation.patch +6 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-type-correctness.clean.patch +10 -0
- package/typescript/create-only/.lisa/controls/proofs/lisa-typescript-type-correctness.violation.patch +10 -0
- package/typescript/package-lisa/package.lisa.json +2 -3
|
@@ -324,7 +324,7 @@ valid_freshness_result() {
|
|
|
324
324
|
installed|applied|plugin|marketplace|channel)
|
|
325
325
|
[[ "$value" =~ ^[0-9]{1,6}\.[0-9]{1,6}\.[0-9]{1,6}([-+][A-Za-z0-9.-]{1,48})?$ ]] || return 1 ;;
|
|
326
326
|
channel_path) ;;
|
|
327
|
-
guard[0-
|
|
327
|
+
guard[0-8])
|
|
328
328
|
[ "${key#guard}" -lt "$guard_count" ] || return 1
|
|
329
329
|
case "$value" in matching|different|unknown) ;; *) return 1 ;; esac
|
|
330
330
|
count=$((count + 1)) ;;
|
|
@@ -361,7 +361,7 @@ resolve_vintages() {
|
|
|
361
361
|
marketplace) note_version "$value" "$config_dir/plugins/marketplaces/lisa/plugins/lisa/.claude-plugin/plugin.json" ;;
|
|
362
362
|
channel) plugin_channel_version="$value" ;;
|
|
363
363
|
channel_path) plugin_channel_path="$value" ;;
|
|
364
|
-
guard[0-
|
|
364
|
+
guard[0-8])
|
|
365
365
|
state_index="${key#guard}"
|
|
366
366
|
case "$value" in matching|different|unknown) host_guard_states[state_index]="$value" ;; esac
|
|
367
367
|
;;
|
|
@@ -574,7 +574,7 @@ plugin_tree_used=0
|
|
|
574
574
|
|
|
575
575
|
for guard in block-no-verify block-shell-json-parsing \
|
|
576
576
|
block-instruction-file-edits block-direct-issue-create \
|
|
577
|
-
block-managed-file-edits block-blind-automerge worktree-binding-guard; do
|
|
577
|
+
block-managed-file-edits block-blind-automerge worktree-binding-guard task-readiness-guard; do
|
|
578
578
|
if [ -f "$host_tree/$guard.sh" ]; then
|
|
579
579
|
guard_names+=("$guard")
|
|
580
580
|
guard_scripts+=("$host_tree/$guard.sh")
|
|
@@ -581,7 +581,7 @@ export const PART_EVIDENCE_FIELDS = Object.freeze(["locators", "questions"]);
|
|
|
581
581
|
export const PART_EVIDENCE_LOCATOR_FIELDS = Object.freeze(["path", "line"]);
|
|
582
582
|
|
|
583
583
|
/**
|
|
584
|
-
* The keys a
|
|
584
|
+
* The keys a paired proof may carry. All are optional.
|
|
585
585
|
*
|
|
586
586
|
* - `violation` and `clean` — the two halves of the paired proof, each the
|
|
587
587
|
* path of a patch file under {@link PROOF_DIRECTORY}.
|
|
@@ -601,6 +601,15 @@ export const PROOF_FIELDS = Object.freeze([
|
|
|
601
601
|
"external_effects",
|
|
602
602
|
]);
|
|
603
603
|
|
|
604
|
+
const TRACEABILITY_PROOF_FIELDS = Object.freeze([
|
|
605
|
+
...PROOF_FIELDS,
|
|
606
|
+
"violation_commit",
|
|
607
|
+
]);
|
|
608
|
+
const AUDIT_PROOF_FIELDS = Object.freeze([
|
|
609
|
+
...PROOF_FIELDS,
|
|
610
|
+
"dependency_fixture",
|
|
611
|
+
]);
|
|
612
|
+
|
|
604
613
|
/**
|
|
605
614
|
* The keys one named parameter of a part may carry.
|
|
606
615
|
*
|
|
@@ -2883,9 +2892,15 @@ function runnerOwnedJobs() {
|
|
|
2883
2892
|
* @param {GatesBlock} [options.gates] The existing gates block; its declarations win.
|
|
2884
2893
|
* @param {Record<string, string>} [options.scripts] The project's package.json scripts.
|
|
2885
2894
|
* @param {string} [options.runner] Task runner to record, when none is declared.
|
|
2895
|
+
* @param {readonly {gate: string, moment: string, task: string, proof: {violation: string, clean: string, failure_shape: string[]}}[]} [options.proofs] Shipped proof pairs whose installed inputs match the template.
|
|
2886
2896
|
* @returns {{gates: GatesBlock, seeded: Array<{gate: string, moment: string, run: string|null}>, skipped: Array<{gate: string, moment: string, reason: string}>}} The merged block and what it did.
|
|
2887
2897
|
*/
|
|
2888
|
-
export function seedGates({
|
|
2898
|
+
export function seedGates({
|
|
2899
|
+
gates = {},
|
|
2900
|
+
scripts = {},
|
|
2901
|
+
runner,
|
|
2902
|
+
proofs = [],
|
|
2903
|
+
} = {}) {
|
|
2889
2904
|
const seeded = [];
|
|
2890
2905
|
const skipped = [];
|
|
2891
2906
|
const next = { ...gates };
|
|
@@ -2932,9 +2947,23 @@ export function seedGates({ gates = {}, scripts = {}, runner } = {}) {
|
|
|
2932
2947
|
run === REGISTRY[gate]?.taskAt?.[momentFamily(moment)] ||
|
|
2933
2948
|
(REGISTRY[gate]?.taskAt?.[momentFamily(moment)] === undefined &&
|
|
2934
2949
|
run === REGISTRY[gate]?.task);
|
|
2950
|
+
const proof = proofs.find(
|
|
2951
|
+
candidate =>
|
|
2952
|
+
candidate.gate === gate &&
|
|
2953
|
+
candidate.moment === moment &&
|
|
2954
|
+
candidate.task === run
|
|
2955
|
+
)?.proof;
|
|
2956
|
+
const declaration = useDefault
|
|
2957
|
+
? { level: "required" }
|
|
2958
|
+
: { level: "required", run };
|
|
2935
2959
|
next[gate] = {
|
|
2936
2960
|
...next[gate],
|
|
2937
|
-
[moment]:
|
|
2961
|
+
[moment]:
|
|
2962
|
+
proof === undefined
|
|
2963
|
+
? useDefault
|
|
2964
|
+
? "required"
|
|
2965
|
+
: declaration
|
|
2966
|
+
: { ...declaration, failure_shape: proof.failure_shape, proof },
|
|
2938
2967
|
};
|
|
2939
2968
|
seeded.push({ gate, moment, run: useDefault ? null : run });
|
|
2940
2969
|
}
|
|
@@ -4465,6 +4494,7 @@ function validateGate(id, gate) {
|
|
|
4465
4494
|
problems.push(...validateOwner(id, gate.owner));
|
|
4466
4495
|
problems.push(...validateTier(id, gate.tier));
|
|
4467
4496
|
problems.push(...validateParts(id, gate));
|
|
4497
|
+
problems.push(...validateTaskProofs(id, gate));
|
|
4468
4498
|
|
|
4469
4499
|
for (const [moment, value] of Object.entries(gate)) {
|
|
4470
4500
|
// A key that is neither a known field nor a well-formed moment is a typo,
|
|
@@ -5643,9 +5673,10 @@ function validateExternalEffects(where, effects) {
|
|
|
5643
5673
|
* Validate a part's paired proof.
|
|
5644
5674
|
* @param {string} where The key being validated.
|
|
5645
5675
|
* @param {*} proof The declared value, if any.
|
|
5676
|
+
* @param {string} [pushGate] Registry gate for a task's push proof.
|
|
5646
5677
|
* @returns {string[]} Problems.
|
|
5647
5678
|
*/
|
|
5648
|
-
function validateProof(where, proof) {
|
|
5679
|
+
function validateProof(where, proof, pushGate) {
|
|
5649
5680
|
if (proof === undefined) return [];
|
|
5650
5681
|
if (!isKeyed(proof)) {
|
|
5651
5682
|
return [
|
|
@@ -5653,8 +5684,13 @@ function validateProof(where, proof) {
|
|
|
5653
5684
|
`two halves of the proof, "violation" and "clean".`,
|
|
5654
5685
|
];
|
|
5655
5686
|
}
|
|
5687
|
+
const traceabilityPush = pushGate === "traceability";
|
|
5688
|
+
const auditPush = pushGate === DEPENDENCY_VULNERABILITY;
|
|
5689
|
+
let fields = PROOF_FIELDS;
|
|
5690
|
+
if (traceabilityPush) fields = TRACEABILITY_PROOF_FIELDS;
|
|
5691
|
+
if (auditPush) fields = AUDIT_PROOF_FIELDS;
|
|
5656
5692
|
const problems = [
|
|
5657
|
-
...unknownKeyProblems(where, proof,
|
|
5693
|
+
...unknownKeyProblems(where, proof, fields),
|
|
5658
5694
|
...validateProofFile(`${where}.violation`, proof.violation),
|
|
5659
5695
|
...validateProofFile(`${where}.clean`, proof.clean),
|
|
5660
5696
|
];
|
|
@@ -5665,6 +5701,34 @@ function validateProof(where, proof) {
|
|
|
5665
5701
|
`that does not.`
|
|
5666
5702
|
);
|
|
5667
5703
|
}
|
|
5704
|
+
if (
|
|
5705
|
+
traceabilityPush &&
|
|
5706
|
+
proof.violation_commit !== undefined &&
|
|
5707
|
+
proof.violation_commit !== "omit-work-item"
|
|
5708
|
+
) {
|
|
5709
|
+
problems.push(
|
|
5710
|
+
`${where}.violation_commit accepts "omit-work-item" on the traceability push proof.`
|
|
5711
|
+
);
|
|
5712
|
+
}
|
|
5713
|
+
if (
|
|
5714
|
+
auditPush &&
|
|
5715
|
+
proof.dependency_fixture !== undefined &&
|
|
5716
|
+
proof.dependency_fixture !== "bun-production-advisory"
|
|
5717
|
+
) {
|
|
5718
|
+
problems.push(
|
|
5719
|
+
`${where}.dependency_fixture accepts "bun-production-advisory" on the dependency audit push proof.`
|
|
5720
|
+
);
|
|
5721
|
+
}
|
|
5722
|
+
if (
|
|
5723
|
+
auditPush &&
|
|
5724
|
+
proof.dependency_fixture === "bun-production-advisory" &&
|
|
5725
|
+
(!Array.isArray(proof.external_effects) ||
|
|
5726
|
+
proof.external_effects.length === 0)
|
|
5727
|
+
) {
|
|
5728
|
+
problems.push(
|
|
5729
|
+
`${where}.external_effects must describe the registry and advisory reads for the dependency audit fixture.`
|
|
5730
|
+
);
|
|
5731
|
+
}
|
|
5668
5732
|
return [
|
|
5669
5733
|
...problems,
|
|
5670
5734
|
...validateFailureShape(
|
|
@@ -5679,6 +5743,27 @@ function validateProof(where, proof) {
|
|
|
5679
5743
|
];
|
|
5680
5744
|
}
|
|
5681
5745
|
|
|
5746
|
+
/**
|
|
5747
|
+
* Validate a paired proof declared for a task at a local Git moment.
|
|
5748
|
+
* @param {string} id Gate id.
|
|
5749
|
+
* @param {object} gate Gate declaration.
|
|
5750
|
+
* @returns {string[]} Problems.
|
|
5751
|
+
*/
|
|
5752
|
+
function validateTaskProofs(id, gate) {
|
|
5753
|
+
return Object.entries(gate).flatMap(([moment, value]) => {
|
|
5754
|
+
if (!isMoment(moment) || !isKeyed(value) || value.proof === undefined)
|
|
5755
|
+
return [];
|
|
5756
|
+
const where = `gates."${id}"."${moment}".proof`;
|
|
5757
|
+
if (moment !== COMMIT && moment !== PUSH) {
|
|
5758
|
+
return [`${where} can be declared only at commit or push.`];
|
|
5759
|
+
}
|
|
5760
|
+
if (gate.parts !== undefined) {
|
|
5761
|
+
return [`${where} belongs on each part when the gate declares parts.`];
|
|
5762
|
+
}
|
|
5763
|
+
return validateProof(where, value.proof, moment === PUSH ? id : undefined);
|
|
5764
|
+
});
|
|
5765
|
+
}
|
|
5766
|
+
|
|
5682
5767
|
/** A well-formed place, shown in every message that refuses one. */
|
|
5683
5768
|
const LOCATOR_EXAMPLE = '{ "path": "api/ruff.toml", "line": 1 }';
|
|
5684
5769
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# This file is managed by Lisa and IS replaced on each `lisa` run.
|
|
3
|
+
# Do not edit directly — durable changes belong upstream in Lisa.
|
|
4
|
+
|
|
5
|
+
# Thin adapter; the same task decision owns plugin and fallback enforcement.
|
|
6
|
+
set -uo pipefail
|
|
7
|
+
if ! command -v node >/dev/null 2>&1; then
|
|
8
|
+
printf '%s\n' 'tool-missing: Install the documented Node runtime before affected work.' >&2
|
|
9
|
+
exit 2
|
|
10
|
+
fi
|
|
11
|
+
# Package-backed on host projects; plugin and OpenCode installs carry the sibling.
|
|
12
|
+
exec node --input-type=module -e '
|
|
13
|
+
import { readFileSync, existsSync, lstatSync } from "node:fs";
|
|
14
|
+
import { dirname, join } from "node:path";
|
|
15
|
+
import { spawnSync } from "node:child_process";
|
|
16
|
+
try {
|
|
17
|
+
const input = readFileSync(0, "utf8");
|
|
18
|
+
const event = JSON.parse(input);
|
|
19
|
+
const root = event.cwd ?? process.cwd();
|
|
20
|
+
const candidates = [
|
|
21
|
+
join(dirname(process.argv[1]), "task-readiness-guard.mjs"),
|
|
22
|
+
join(root, "plugins/lisa/hooks/task-readiness-guard.mjs"),
|
|
23
|
+
join(root, "node_modules/@codyswann/lisa/plugins/lisa/hooks/task-readiness-guard.mjs")
|
|
24
|
+
];
|
|
25
|
+
const owner = candidates.find(path => existsSync(path));
|
|
26
|
+
if (owner) {
|
|
27
|
+
const result = spawnSync(process.execPath, [owner], {
|
|
28
|
+
input, cwd: root, encoding: "utf8", timeout: 120000,
|
|
29
|
+
killSignal: "SIGKILL", maxBuffer: 1048576
|
|
30
|
+
});
|
|
31
|
+
if (result.stderr) process.stderr.write(result.stderr);
|
|
32
|
+
process.exitCode = result.status === 0 ? 0 : 2;
|
|
33
|
+
} else if (!["Read", "Glob", "Grep", "read", "glob", "grep"].includes(event.tool_name) &&
|
|
34
|
+
!(event.tool_name === "Bash" && ["pwd", "ls -la", "git status --short", "git status --porcelain=v1", "git rev-parse HEAD"].includes(event.tool_input?.command))) {
|
|
35
|
+
const git = spawnSync("git", ["rev-parse", "--path-format=absolute", "--show-toplevel", "--git-path", "lisa/work-item.json"], {
|
|
36
|
+
cwd: root, encoding: "utf8", timeout: 2000, killSignal: "SIGKILL"
|
|
37
|
+
});
|
|
38
|
+
const [project, binding] = git.status === 0 ? git.stdout.trim().split("\n") : [];
|
|
39
|
+
const declared = path => {
|
|
40
|
+
try { lstatSync(path); return true; }
|
|
41
|
+
catch (error) { return !["ENOENT", "ENOTDIR"].includes(error.code); }
|
|
42
|
+
};
|
|
43
|
+
const scopeFiles = [".lisa/work-item-context.md", ".lisa.config.json", ".lisa.config.local.json"];
|
|
44
|
+
const active = [root, project].some(dir => dir && scopeFiles.some(file => declared(join(dir, file)))) || (binding && declared(binding));
|
|
45
|
+
if (active) {
|
|
46
|
+
console.error("tool-missing: Update the installed Lisa readiness tool before affected work.");
|
|
47
|
+
process.exitCode = 2;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
} catch {
|
|
51
|
+
console.error("requirements-stale: Refresh complete task requirements before affected work.");
|
|
52
|
+
process.exitCode = 2;
|
|
53
|
+
}
|
|
54
|
+
' "${BASH_SOURCE[0]}"
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// This file is managed by Lisa and IS replaced on each `lisa` run.
|
|
3
|
+
// Do not edit directly — durable changes belong upstream in Lisa.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @file lisa-release-switch.mjs
|
|
7
|
+
* @description The always-promotable checks every agent runs
|
|
8
|
+
* (CodySwannGT/lisa#5188).
|
|
9
|
+
*
|
|
10
|
+
* A plain Node script, so it behaves the same under every coding agent Lisa
|
|
11
|
+
* supports. It never talks to a tracker or to a flag service: the caller reads
|
|
12
|
+
* the item body, passes it in, and writes back what this prints.
|
|
13
|
+
*
|
|
14
|
+
* Usage:
|
|
15
|
+
* node scripts/lisa-release-switch.mjs config
|
|
16
|
+
* node scripts/lisa-release-switch.mjs check [--existing true] [--body-file <path>]
|
|
17
|
+
* node scripts/lisa-release-switch.mjs render --mode live|off
|
|
18
|
+
* [--switch <name>] [--removed-by "this item"|<ref>] [--body-file <path>]
|
|
19
|
+
* node scripts/lisa-release-switch.mjs references --switch <name> [--revision <rev>]
|
|
20
|
+
* node scripts/lisa-release-switch.mjs notice --base <branch>
|
|
21
|
+
*
|
|
22
|
+
* `config` prints the resolved `release.*` setting, including any invalid value
|
|
23
|
+
* by name. `check` is readiness gate S22: exit 0 on PASS or N/A, 1 on FAIL.
|
|
24
|
+
* `render` prints the `## Release Switch` section, or the whole body with the
|
|
25
|
+
* section in place when `--body-file` is given. `references` lists tracked
|
|
26
|
+
* files that still mention a switch and exits 1 when any do. `notice` prints
|
|
27
|
+
* the no-live-users notice for a production deployment and ALWAYS exits 0: it
|
|
28
|
+
* exists to keep the opt-out visible, never to block a deployment. Any usage
|
|
29
|
+
* or read error on the other commands exits 2. Without `--body-file`, the body
|
|
30
|
+
* is read from standard input.
|
|
31
|
+
* @module lisa-release-switch
|
|
32
|
+
*/
|
|
33
|
+
import { readFileSync } from "node:fs";
|
|
34
|
+
|
|
35
|
+
import { invokedAsScript } from "./lib/invoked-as-script.mjs";
|
|
36
|
+
import { CompletionProofError } from "./lib/completion-proof-errors.mjs";
|
|
37
|
+
import {
|
|
38
|
+
ReleaseSwitchError,
|
|
39
|
+
checkDeclaration,
|
|
40
|
+
productionBranch,
|
|
41
|
+
productionNotice,
|
|
42
|
+
readProjectConfig,
|
|
43
|
+
renderDeclaration,
|
|
44
|
+
resolveReleaseSetting,
|
|
45
|
+
setupProblems,
|
|
46
|
+
switchReferences,
|
|
47
|
+
turnOnOwner,
|
|
48
|
+
upsertDeclaration,
|
|
49
|
+
} from "./lib/release-switch.mjs";
|
|
50
|
+
|
|
51
|
+
const VALUE_FLAGS = new Set([
|
|
52
|
+
"--existing",
|
|
53
|
+
"--body-file",
|
|
54
|
+
"--mode",
|
|
55
|
+
"--switch",
|
|
56
|
+
"--removed-by",
|
|
57
|
+
"--revision",
|
|
58
|
+
"--base",
|
|
59
|
+
"--cwd",
|
|
60
|
+
]);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Parse `--flag value` pairs.
|
|
64
|
+
* @param {string[]} args - Arguments after the subcommand.
|
|
65
|
+
* @returns {Record<string, string>} Flag values keyed without the dashes.
|
|
66
|
+
*/
|
|
67
|
+
function parseFlags(args) {
|
|
68
|
+
if (
|
|
69
|
+
args.length % 2 !== 0 ||
|
|
70
|
+
args.some((arg, i) => i % 2 === 0 && !VALUE_FLAGS.has(arg))
|
|
71
|
+
)
|
|
72
|
+
throw new ReleaseSwitchError(
|
|
73
|
+
`Unrecognised arguments ${JSON.stringify(args)}. Run with --help for the options.`
|
|
74
|
+
);
|
|
75
|
+
return Object.fromEntries(
|
|
76
|
+
args.flatMap((arg, i) => (i % 2 === 0 ? [[arg.slice(2), args[i + 1]]] : []))
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const readBody = flags =>
|
|
81
|
+
flags["body-file"] === undefined
|
|
82
|
+
? readFileSync(0, "utf8")
|
|
83
|
+
: readFileSync(flags["body-file"], "utf8");
|
|
84
|
+
|
|
85
|
+
const COMMANDS = {
|
|
86
|
+
config: (_flags, config) => {
|
|
87
|
+
const setting = resolveReleaseSetting(config);
|
|
88
|
+
return {
|
|
89
|
+
out: `${JSON.stringify(
|
|
90
|
+
{
|
|
91
|
+
...setting,
|
|
92
|
+
problems: setupProblems(config),
|
|
93
|
+
productionBranch: productionBranch(config),
|
|
94
|
+
// Who turns a finished feature on in production: the agent, unless
|
|
95
|
+
// the project reserved that decision for a person.
|
|
96
|
+
turnOn: turnOnOwner(config),
|
|
97
|
+
},
|
|
98
|
+
null,
|
|
99
|
+
2
|
|
100
|
+
)}\n`,
|
|
101
|
+
code: 0,
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
check: (flags, config) => {
|
|
105
|
+
// Anything but true or false is a mistake in the call, not a failed gate:
|
|
106
|
+
// `--existing True` would otherwise be judged as a proposed item and exit
|
|
107
|
+
// 1, which says the item failed.
|
|
108
|
+
if (!["true", "false", undefined].includes(flags.existing))
|
|
109
|
+
throw new ReleaseSwitchError(
|
|
110
|
+
`--existing must be true or false, not ${JSON.stringify(flags.existing)}.`
|
|
111
|
+
);
|
|
112
|
+
const result = checkDeclaration(
|
|
113
|
+
readBody(flags),
|
|
114
|
+
resolveReleaseSetting(config),
|
|
115
|
+
{ existing: flags.existing === "true" }
|
|
116
|
+
);
|
|
117
|
+
return {
|
|
118
|
+
out: `${[`S22 release switch: ${result.verdict}`, ...result.lines].join("\n")}\n`,
|
|
119
|
+
code: result.verdict === "FAIL" ? 1 : 0,
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
render: flags => {
|
|
123
|
+
const section = renderDeclaration({
|
|
124
|
+
mode: flags.mode,
|
|
125
|
+
switchName: flags.switch,
|
|
126
|
+
...(flags["removed-by"] === undefined
|
|
127
|
+
? {}
|
|
128
|
+
: { removedBy: flags["removed-by"] }),
|
|
129
|
+
});
|
|
130
|
+
return {
|
|
131
|
+
out:
|
|
132
|
+
flags["body-file"] === undefined
|
|
133
|
+
? section
|
|
134
|
+
: upsertDeclaration(readBody(flags), section),
|
|
135
|
+
code: 0,
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
references: (flags, _config, cwd) => {
|
|
139
|
+
const files = switchReferences(flags.switch ?? "", {
|
|
140
|
+
cwd,
|
|
141
|
+
revision: flags.revision,
|
|
142
|
+
});
|
|
143
|
+
return {
|
|
144
|
+
out: files.length
|
|
145
|
+
? `Switch ${JSON.stringify(flags.switch)} is still referenced in ${files.length} tracked file(s):\n${files.map(file => ` ${file}`).join("\n")}\n`
|
|
146
|
+
: `Switch ${JSON.stringify(flags.switch)} is not referenced in tracked source.\n`,
|
|
147
|
+
code: files.length ? 1 : 0,
|
|
148
|
+
};
|
|
149
|
+
},
|
|
150
|
+
notice: (flags, config) => {
|
|
151
|
+
const notice = productionNotice(config, flags.base ?? "");
|
|
152
|
+
return { out: notice === null ? "" : `${notice}\n`, code: 0 };
|
|
153
|
+
},
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
const USAGE =
|
|
157
|
+
'Usage: lisa-release-switch.mjs config | check [--existing true] [--body-file <path>] | render --mode live|off [--switch <name>] [--removed-by "this item"|<ref>] [--body-file <path>] | references --switch <name> [--revision <rev>] | notice --base <branch>\n';
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Run the CLI.
|
|
161
|
+
* @param {string[]} argv - Arguments after the script name.
|
|
162
|
+
* @param {{stdout: {write: Function}, stderr: {write: Function}}} io - Output streams.
|
|
163
|
+
* @returns {number} Exit code.
|
|
164
|
+
*/
|
|
165
|
+
export function runCli(argv = process.argv.slice(2), io = process) {
|
|
166
|
+
const [command, ...rest] = argv;
|
|
167
|
+
if (command === "--help" || command === "help") {
|
|
168
|
+
io.stdout.write(USAGE);
|
|
169
|
+
return 0;
|
|
170
|
+
}
|
|
171
|
+
if (!Object.hasOwn(COMMANDS, command ?? "")) {
|
|
172
|
+
io.stderr.write(USAGE);
|
|
173
|
+
return 2;
|
|
174
|
+
}
|
|
175
|
+
try {
|
|
176
|
+
const flags = parseFlags(rest);
|
|
177
|
+
const cwd = flags.cwd ?? process.cwd();
|
|
178
|
+
const { out, code } = COMMANDS[command](flags, readProjectConfig(cwd), cwd);
|
|
179
|
+
io.stdout.write(out);
|
|
180
|
+
return code;
|
|
181
|
+
} catch (error) {
|
|
182
|
+
// The notice must never turn a deployment report into a failure, whatever
|
|
183
|
+
// goes wrong. For every other command, a file that cannot be read (missing,
|
|
184
|
+
// a directory, no permission) is a usage error like any other: exit 2, and
|
|
185
|
+
// never the exit 1 that means "the gate failed".
|
|
186
|
+
if (
|
|
187
|
+
command !== "notice" &&
|
|
188
|
+
!(
|
|
189
|
+
error instanceof ReleaseSwitchError ||
|
|
190
|
+
error instanceof CompletionProofError ||
|
|
191
|
+
error instanceof SyntaxError ||
|
|
192
|
+
typeof error?.code === "string"
|
|
193
|
+
)
|
|
194
|
+
)
|
|
195
|
+
throw error;
|
|
196
|
+
io.stderr.write(
|
|
197
|
+
`lisa-release-switch: ${error instanceof Error ? error.message : String(error)}\n`
|
|
198
|
+
);
|
|
199
|
+
return command === "notice" ? 0 : 2;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
if (invokedAsScript(import.meta.url)) process.exitCode = runCli();
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"children": []
|
|
109
109
|
},
|
|
110
110
|
"lib/completion-authorization.mjs": {
|
|
111
|
-
"sha256": "
|
|
111
|
+
"sha256": "30f38c454a58a37997919e3e878c133887ec4f56733bc52128f195de04ef0233",
|
|
112
112
|
"staticImports": [
|
|
113
113
|
"lib/completion-proof-conformance.mjs",
|
|
114
114
|
"lib/completion-proof-content.mjs",
|
|
@@ -116,15 +116,17 @@
|
|
|
116
116
|
"lib/completion-proof-reader.mjs",
|
|
117
117
|
"lib/completion-proof-shape.mjs",
|
|
118
118
|
"lib/completion-proof-source.mjs",
|
|
119
|
+
"lib/release-switch.mjs",
|
|
119
120
|
"lib/work-item-estimate-check.mjs"
|
|
120
121
|
],
|
|
121
122
|
"dynamicImports": [],
|
|
122
123
|
"children": []
|
|
123
124
|
},
|
|
124
125
|
"lib/completion-proof-adapters.mjs": {
|
|
125
|
-
"sha256": "
|
|
126
|
+
"sha256": "f1f39218e6a6b4c866162a6e50b902d793dee54a279693cb624276aa191fff3f",
|
|
126
127
|
"staticImports": [
|
|
127
128
|
"lib/completion-proof-shape.mjs",
|
|
129
|
+
"lib/release-switch.mjs",
|
|
128
130
|
"lib/work-item-estimate-config.mjs"
|
|
129
131
|
],
|
|
130
132
|
"dynamicImports": [],
|
|
@@ -173,7 +175,7 @@
|
|
|
173
175
|
"children": []
|
|
174
176
|
},
|
|
175
177
|
"lib/completion-proof-markdown.mjs": {
|
|
176
|
-
"sha256": "
|
|
178
|
+
"sha256": "4237e79d9544bfe6e1eec95c0afa219a515d3b65e0061baaac744fa459efe653",
|
|
177
179
|
"staticImports": [
|
|
178
180
|
"lib/completion-proof-errors.mjs"
|
|
179
181
|
],
|
|
@@ -751,7 +753,7 @@
|
|
|
751
753
|
"children": []
|
|
752
754
|
},
|
|
753
755
|
"lib/npm-update-helper-inventory.mjs": {
|
|
754
|
-
"sha256": "
|
|
756
|
+
"sha256": "3630a999d1acf6f4d884256ada42425a7242d50a0cedc5a01e245a02a6a837d2",
|
|
755
757
|
"staticImports": [],
|
|
756
758
|
"dynamicImports": [],
|
|
757
759
|
"children": []
|
|
@@ -1427,6 +1429,17 @@
|
|
|
1427
1429
|
"dynamicImports": [],
|
|
1428
1430
|
"children": []
|
|
1429
1431
|
},
|
|
1432
|
+
"lib/release-switch.mjs": {
|
|
1433
|
+
"sha256": "75433164fb3f9c65f7cfb94db3b925ea01d466ef8537208c9e5e117bc02240b7",
|
|
1434
|
+
"staticImports": [
|
|
1435
|
+
"lib/completion-proof-markdown.mjs",
|
|
1436
|
+
"node:child_process",
|
|
1437
|
+
"node:fs",
|
|
1438
|
+
"node:path"
|
|
1439
|
+
],
|
|
1440
|
+
"dynamicImports": [],
|
|
1441
|
+
"children": []
|
|
1442
|
+
},
|
|
1430
1443
|
"lib/rspec-selection.mjs": {
|
|
1431
1444
|
"sha256": "20304b4b4c8798005908f23df627103721f929c9995db1afb59f9ed00a1a8c36",
|
|
1432
1445
|
"staticImports": [
|
|
@@ -1581,7 +1594,7 @@
|
|
|
1581
1594
|
"children": []
|
|
1582
1595
|
},
|
|
1583
1596
|
"lisa-gates.mjs": {
|
|
1584
|
-
"sha256": "
|
|
1597
|
+
"sha256": "d0fc329cfce25b5f72a6a005d26d5455ca520662c47031c8bcf1af10fadb320d",
|
|
1585
1598
|
"staticImports": [
|
|
1586
1599
|
"lib/gate-pass-cache.mjs",
|
|
1587
1600
|
"lib/invoked-as-script.mjs",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DoctorCheck } from "./doctor.js";
|
|
2
|
+
/**
|
|
3
|
+
* Report how `release.*` resolved for a project.
|
|
4
|
+
* @param targetPath - Downstream project path
|
|
5
|
+
* @returns Doctor check result
|
|
6
|
+
*/
|
|
7
|
+
export declare function checkReleaseSetting(targetPath: string): DoctorCheck;
|
|
8
|
+
//# sourceMappingURL=doctor-release-setting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-release-setting.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-release-setting.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAsC/C;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAsBnE"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Doctor check for the always-promotable setting (CodySwannGT/lisa#5188).
|
|
3
|
+
*
|
|
4
|
+
* `release.liveUsers` decides whether the always-promotable rule applies to a
|
|
5
|
+
* project. This check states which way it resolved, so an opt-out stays visible
|
|
6
|
+
* instead of being a line nobody rereads, and names any invalid `release.*`
|
|
7
|
+
* value. An invalid value is a failure even though it is treated as the
|
|
8
|
+
* stricter option at run time: the project meant to say something and what it
|
|
9
|
+
* wrote says nothing.
|
|
10
|
+
* @module cli/doctor-release-setting
|
|
11
|
+
*/
|
|
12
|
+
import { FALLBACK_MECHANISM, readProjectConfig, resolveReleaseSetting, setupProblems, } from "../../all/copy-overwrite/scripts/lib/release-switch.mjs";
|
|
13
|
+
const NAME = "Always-promotable setting";
|
|
14
|
+
/**
|
|
15
|
+
* The detail line for a setting with no problems.
|
|
16
|
+
* @param setting - Resolved `release.*` setting
|
|
17
|
+
* @returns Plain-English description of what is in force
|
|
18
|
+
*/
|
|
19
|
+
function healthyDetail(setting) {
|
|
20
|
+
if (!setting.liveUsers)
|
|
21
|
+
return "release.liveUsers is false: this project is marked as having no live users, so the always-promotable rule is off. Set it to true, or remove it, when the project launches.";
|
|
22
|
+
const declared = setting.liveUsersSource === "declared"
|
|
23
|
+
? "release.liveUsers is true"
|
|
24
|
+
: "release.liveUsers is not set, which means true";
|
|
25
|
+
const guide = setting.guide === null ? "" : ` (see ${setting.guide})`;
|
|
26
|
+
const mechanism = setting.mechanismSource === "declared"
|
|
27
|
+
? `Switch mechanism: ${setting.mechanism}${guide}.`
|
|
28
|
+
: `Switch mechanism: none named, so a plain configuration value that defaults to off (${FALLBACK_MECHANISM}).`;
|
|
29
|
+
return `This project has live users (${declared}), so the always-promotable rule applies. ${mechanism}`;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The detail line for a setting with invalid values: each problem by name,
|
|
33
|
+
* then what is in force anyway, so an opt-out is never hidden by a typo
|
|
34
|
+
* elsewhere in the block.
|
|
35
|
+
* @param setting - Resolved `release.*` setting
|
|
36
|
+
* @returns Problems followed by the effective state
|
|
37
|
+
*/
|
|
38
|
+
function problemDetail(setting) {
|
|
39
|
+
const inForce = setting.liveUsers
|
|
40
|
+
? "In force: the project is treated as having live users, so the always-promotable rule applies."
|
|
41
|
+
: "In force: release.liveUsers is false, so the always-promotable rule is off.";
|
|
42
|
+
return `${setting.problems.join(" ")} ${inForce}`;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Report how `release.*` resolved for a project.
|
|
46
|
+
* @param targetPath - Downstream project path
|
|
47
|
+
* @returns Doctor check result
|
|
48
|
+
*/
|
|
49
|
+
export function checkReleaseSetting(targetPath) {
|
|
50
|
+
try {
|
|
51
|
+
const config = readProjectConfig(targetPath);
|
|
52
|
+
// Problems beyond the release block are reported here too: a mistyped
|
|
53
|
+
// humanGate.humanOnly changes who turns a finished feature on, and an
|
|
54
|
+
// unreadable production branch silences the no-live-users notice.
|
|
55
|
+
const setting = {
|
|
56
|
+
...resolveReleaseSetting(config),
|
|
57
|
+
problems: setupProblems(config),
|
|
58
|
+
};
|
|
59
|
+
return setting.problems.length > 0
|
|
60
|
+
? { name: NAME, status: "fail", detail: problemDetail(setting) }
|
|
61
|
+
: { name: NAME, status: "ok", detail: healthyDetail(setting) };
|
|
62
|
+
}
|
|
63
|
+
catch (error) {
|
|
64
|
+
return {
|
|
65
|
+
name: NAME,
|
|
66
|
+
status: "fail",
|
|
67
|
+
detail: `The release setting could not be read: ${error instanceof Error ? error.message : String(error)}`,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=doctor-release-setting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-release-setting.js","sourceRoot":"","sources":["../../src/cli/doctor-release-setting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,aAAa,GAEd,MAAM,yDAAyD,CAAC;AAGjE,MAAM,IAAI,GAAG,2BAA2B,CAAC;AAEzC;;;;GAIG;AACH,SAAS,aAAa,CAAC,OAAuB;IAC5C,IAAI,CAAC,OAAO,CAAC,SAAS;QACpB,OAAO,4KAA4K,CAAC;IACtL,MAAM,QAAQ,GACZ,OAAO,CAAC,eAAe,KAAK,UAAU;QACpC,CAAC,CAAC,2BAA2B;QAC7B,CAAC,CAAC,gDAAgD,CAAC;IACvD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,OAAO,CAAC,KAAK,GAAG,CAAC;IACtE,MAAM,SAAS,GACb,OAAO,CAAC,eAAe,KAAK,UAAU;QACpC,CAAC,CAAC,qBAAqB,OAAO,CAAC,SAAS,GAAG,KAAK,GAAG;QACnD,CAAC,CAAC,sFAAsF,kBAAkB,IAAI,CAAC;IACnH,OAAO,gCAAgC,QAAQ,6CAA6C,SAAS,EAAE,CAAC;AAC1G,CAAC;AAED;;;;;;GAMG;AACH,SAAS,aAAa,CAAC,OAAuB;IAC5C,MAAM,OAAO,GAAG,OAAO,CAAC,SAAS;QAC/B,CAAC,CAAC,+FAA+F;QACjG,CAAC,CAAC,6EAA6E,CAAC;IAClF,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,OAAO,EAAE,CAAC;AACpD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,UAAkB;IACpD,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,iBAAiB,CAAC,UAAU,CAAC,CAAC;QAC7C,sEAAsE;QACtE,sEAAsE;QACtE,kEAAkE;QAClE,MAAM,OAAO,GAAG;YACd,GAAG,qBAAqB,CAAC,MAAM,CAAC;YAChC,QAAQ,EAAE,aAAa,CAAC,MAAM,CAAC;SAChC,CAAC;QACF,OAAO,OAAO,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC;YAChC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE;YAChE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC;IACnE,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,MAAM;YACd,MAAM,EAAE,0CACN,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACvD,EAAE;SACH,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/dist/cli/doctor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AAaxC,OAAO,EAEL,wBAAwB,EACzB,MAAM,wBAAwB,CAAC;AAehC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AAaxC,OAAO,EAEL,wBAAwB,EACzB,MAAM,wBAAwB,CAAC;AAehC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAezD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,mDAAmD;AACnD,KAAK,YAAY,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AAM3C,oCAAoC;AACpC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,sCAAsC;AACtC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,wCAAwC;AACxC,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wCAAwC;AACxC,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,OAAO,KAAK,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IACvB,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;IAC9C,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;IAChD,wBAAwB,EAAE,OAAO,wBAAwB,CAAC;IAC1D,8EAA8E;IAC9E,0BAA0B,EAAE,qBAAqB,CAAC;CACnD;AA4BD;;;;;;;GAOG;AACH,wBAAsB,YAAY,CAChC,IAAI,EAAE,IAAI,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,EAChD,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,WAAW,CAAC,CAyBtB;AAwGD;;;;;;GAMG;AACH,wBAAsB,SAAS,CAC7B,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,EAAE,aAAa,EACtB,YAAY,GAAE,OAAO,CAAC,kBAAkB,CAAM,GAC7C,OAAO,CAAC,YAAY,CAAC,CAqKvB"}
|
package/dist/cli/doctor.js
CHANGED
|
@@ -33,6 +33,7 @@ import { checkSkipJobsMigration } from "./doctor-skip-jobs-migration.js";
|
|
|
33
33
|
import { checkTwoChannelDrift } from "./doctor-two-channel-drift.js";
|
|
34
34
|
import { checkNightlyE2eBypassArming } from "./doctor-nightly-e2e-bypass-arming.js";
|
|
35
35
|
import { checkNightlyE2eGuard } from "./doctor-nightly-e2e-guard.js";
|
|
36
|
+
import { checkReleaseSetting } from "./doctor-release-setting.js";
|
|
36
37
|
import { checkWiki } from "./doctor-wiki.js";
|
|
37
38
|
import { checkDeclaredContexts } from "./doctor-declared-contexts.js";
|
|
38
39
|
import { checkTraceabilityGate } from "./doctor-traceability-gate.js";
|
|
@@ -338,6 +339,7 @@ export async function runDoctor(targetPath, options, dependencies = {}) {
|
|
|
338
339
|
await checkWorktreeWorkAtRisk(resolvedTarget),
|
|
339
340
|
await checkStarterHealth(deps, options.offline === true),
|
|
340
341
|
checkWiki(resolvedTarget),
|
|
342
|
+
checkReleaseSetting(resolvedTarget),
|
|
341
343
|
...(options.readiness === true
|
|
342
344
|
? [await checkRepositoryReadiness(resolvedTarget)]
|
|
343
345
|
: []),
|