@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
|
@@ -36,7 +36,7 @@ import { fileURLToPath } from "node:url";
|
|
|
36
36
|
import {
|
|
37
37
|
BOOTSTRAP_KEY,
|
|
38
38
|
deriveAwsEnvironment,
|
|
39
|
-
|
|
39
|
+
emitSourceProfileFor,
|
|
40
40
|
parseBootstrap,
|
|
41
41
|
renderAwsProfiles,
|
|
42
42
|
} from "./aws-bootstrap.mjs";
|
|
@@ -354,7 +354,7 @@ export function installProfileSourcing(valuesFile, options = {}) {
|
|
|
354
354
|
// — so leaving them set means the session ignores whichever environment it
|
|
355
355
|
// selected and runs as whatever the host injected. That is how a perfectly
|
|
356
356
|
// valid credential produced InvalidClientTokenId for a day. Removing the
|
|
357
|
-
// poison beats out-shouting it, and it is what lets `--profile agent-dev`
|
|
357
|
+
// poison beats out-shouting it, and it is what lets `--profile <owner>-agent-dev`
|
|
358
358
|
// behave here exactly as it does on a developer's machine.
|
|
359
359
|
`unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN`,
|
|
360
360
|
// The pinned toolchain installs into ~/.local/bin, which is not on PATH in
|
|
@@ -591,13 +591,9 @@ export function installAwsProfiles(bundle, options = {}) {
|
|
|
591
591
|
home = process.env.HOME || homedir(),
|
|
592
592
|
owner,
|
|
593
593
|
pruneLegacy = process.env.LISA_SECRETS_PRUNE_LEGACY_PROFILES === "1",
|
|
594
|
-
//
|
|
595
|
-
//
|
|
596
|
-
//
|
|
597
|
-
// the window closes; `CLAIM_LEGACY` is how one takes the shared bare slot
|
|
598
|
-
// from another project deliberately.
|
|
599
|
-
noResolveOnly = process.env.LISA_SECRETS_NO_LEGACY_PROFILES === "1",
|
|
600
|
-
claimResolveOnly = process.env.LISA_SECRETS_CLAIM_LEGACY_PROFILES === "1",
|
|
594
|
+
// There is no bare-alias option any more. `LISA_SECRETS_NO_LEGACY_PROFILES`
|
|
595
|
+
// and `LISA_SECRETS_CLAIM_LEGACY_PROFILES` are deliberately ignored: bare
|
|
596
|
+
// names are never written (CodySwannGT/lisa#4768).
|
|
601
597
|
mkdir = mkdirSync,
|
|
602
598
|
write = writeAtomic,
|
|
603
599
|
read = readFileSync,
|
|
@@ -625,10 +621,33 @@ export function installAwsProfiles(bundle, options = {}) {
|
|
|
625
621
|
// makes the ordinary single-tenant upgrade replace its block silently and
|
|
626
622
|
// leave nothing behind, and confines the reported-not-deleted case to a block
|
|
627
623
|
// that provably belongs to a different project.
|
|
624
|
+
//
|
|
625
|
+
// Read once, then adopt this owner's sections the remote-agent writer left
|
|
626
|
+
// OUTSIDE any managed block. Both writers now emit the same names, so those
|
|
627
|
+
// sections are this tenant's own profiles spelled identically — and without
|
|
628
|
+
// adoption the duplicate-name guard below would refuse the very names this
|
|
629
|
+
// run is meant to write.
|
|
630
|
+
const current = Object.fromEntries(
|
|
631
|
+
["config", "credentials"].map(name => {
|
|
632
|
+
const file = join(dir, name);
|
|
633
|
+
return [
|
|
634
|
+
file,
|
|
635
|
+
exists(file)
|
|
636
|
+
? adoptRemoteAgentSections(String(read(file, "utf8")), name, {
|
|
637
|
+
owner: scope,
|
|
638
|
+
profileSettings: rendered.profileSettings,
|
|
639
|
+
})
|
|
640
|
+
: null,
|
|
641
|
+
];
|
|
642
|
+
})
|
|
643
|
+
);
|
|
644
|
+
const readCurrent = file =>
|
|
645
|
+
current[file] === undefined ? String(read(file, "utf8")) : current[file];
|
|
646
|
+
const existsCurrent = file =>
|
|
647
|
+
current[file] === undefined ? exists(file) : current[file] !== null;
|
|
648
|
+
|
|
628
649
|
const configFile = join(dir, "config");
|
|
629
|
-
const existingConfig =
|
|
630
|
-
? String(read(configFile, "utf8"))
|
|
631
|
-
: "";
|
|
650
|
+
const existingConfig = current[configFile] ?? "";
|
|
632
651
|
const claimLegacy =
|
|
633
652
|
pruneLegacy || legacyIsOurs(existingConfig, rendered.config);
|
|
634
653
|
|
|
@@ -649,8 +668,8 @@ export function installAwsProfiles(bundle, options = {}) {
|
|
|
649
668
|
// block and nothing else. The owner of the existing entry renames it
|
|
650
669
|
// (conventionally to `-sso`) and re-runs.
|
|
651
670
|
const collisions = collidingProfiles(dir, rendered.profiles, {
|
|
652
|
-
exists,
|
|
653
|
-
read,
|
|
671
|
+
exists: existsCurrent,
|
|
672
|
+
read: readCurrent,
|
|
654
673
|
owner: scope,
|
|
655
674
|
// A legacy block this run is about to replace is not a collision; one it is
|
|
656
675
|
// leaving in place is, because both sections would then exist and AWS would
|
|
@@ -678,27 +697,6 @@ export function installAwsProfiles(bundle, options = {}) {
|
|
|
678
697
|
);
|
|
679
698
|
}
|
|
680
699
|
|
|
681
|
-
// Whether the deprecated bare-named twins go in beside the owned names.
|
|
682
|
-
//
|
|
683
|
-
// ALL OR NOTHING. A half-written legacy family is worse than none: a bare
|
|
684
|
-
// `[profile <stage>]` whose `source_profile` names a bare section belonging to
|
|
685
|
-
// someone else is a profile that resolves into another project's account, and
|
|
686
|
-
// it is exactly the failure the owned names exist to remove.
|
|
687
|
-
const legacyHolder = noResolveOnly
|
|
688
|
-
? null
|
|
689
|
-
: resolveOnlyHolder(dir, rendered.resolveOnly, {
|
|
690
|
-
exists,
|
|
691
|
-
read,
|
|
692
|
-
owner: scope,
|
|
693
|
-
includeLegacy: !claimLegacy,
|
|
694
|
-
});
|
|
695
|
-
// `undefined` is the only free state. `null` means a section outside every
|
|
696
|
-
// managed block already holds the name — an operator's, or an external
|
|
697
|
-
// generator's — and shadowing that is the duplicate-section failure this
|
|
698
|
-
// module refuses everywhere else.
|
|
699
|
-
const writeResolveOnly =
|
|
700
|
-
!noResolveOnly && (claimResolveOnly || legacyHolder === undefined);
|
|
701
|
-
|
|
702
700
|
mkdir(dir, { recursive: true, mode: 0o700 });
|
|
703
701
|
chmod(dir, 0o700);
|
|
704
702
|
|
|
@@ -716,82 +714,127 @@ export function installAwsProfiles(bundle, options = {}) {
|
|
|
716
714
|
// what the guard was actually for. Same delimited-block approach as the shell
|
|
717
715
|
// profile, and `#` is a comment in the shared-config format so the markers are
|
|
718
716
|
// inert to every consumer.
|
|
719
|
-
for (const [name, body
|
|
720
|
-
["credentials", rendered.credentials
|
|
721
|
-
["config", rendered.config
|
|
717
|
+
for (const [name, body] of [
|
|
718
|
+
["credentials", rendered.credentials],
|
|
719
|
+
["config", rendered.config],
|
|
722
720
|
]) {
|
|
723
721
|
const file = join(dir, name);
|
|
724
|
-
|
|
725
|
-
//
|
|
726
|
-
//
|
|
727
|
-
//
|
|
728
|
-
//
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
722
|
+
// The owner's block is regenerated WHOLE. Anything a previous version wrote
|
|
723
|
+
// inside it — the retired bare aliases (`agent-dev` assuming from a bare
|
|
724
|
+
// `lisa-bootstrap`) and the retired `<owner>-lisa-bootstrap` source —
|
|
725
|
+
// disappears here, while every other owner's block and every operator
|
|
726
|
+
// section is carried over untouched.
|
|
727
|
+
write(
|
|
728
|
+
file,
|
|
729
|
+
upsertManagedBlock(current[file] ?? "", body, scope, claimLegacy)
|
|
730
|
+
);
|
|
733
731
|
}
|
|
734
732
|
|
|
735
733
|
return rendered.profiles;
|
|
736
734
|
}
|
|
737
735
|
|
|
738
736
|
/**
|
|
739
|
-
*
|
|
737
|
+
* Remove this owner's remote-agent-written sections that sit OUTSIDE every
|
|
738
|
+
* managed block, so this writer can own them instead.
|
|
740
739
|
*
|
|
741
|
-
*
|
|
742
|
-
* `
|
|
743
|
-
*
|
|
744
|
-
*
|
|
745
|
-
*
|
|
746
|
-
*
|
|
747
|
-
*
|
|
748
|
-
*
|
|
740
|
+
* `remote-agent-aws-setup.sh` writes the same canonical names with
|
|
741
|
+
* `aws configure set`, which produces plain, unmarked sections. A section is
|
|
742
|
+
* taken only when it provably belongs to THIS owner's Lisa bootstrap:
|
|
743
|
+
*
|
|
744
|
+
* - config: `[profile <name>]` whose `source_profile` is exactly
|
|
745
|
+
* `<owner>-agent-bootstrap`, where `<name>` is a profile THIS run writes or
|
|
746
|
+
* the retired doubled spelling of one with matching role and settings;
|
|
747
|
+
* - credentials: `[<owner>-agent-bootstrap]`.
|
|
748
|
+
*
|
|
749
|
+
* Scoped to this run's names, so a stage the remote writer wrote that this
|
|
750
|
+
* bundle does not carry is left alone rather than deleted and never rewritten.
|
|
751
|
+
* Another owner's sections assume from a different source and never match, and
|
|
752
|
+
* an operator's own sections do not name this owner's bootstrap profile, so
|
|
753
|
+
* neither is ever touched. `[default]` is never adopted — it is one shared slot.
|
|
754
|
+
* @param {string} text File contents.
|
|
755
|
+
* @param {"config"|"credentials"} kind Which file this is.
|
|
756
|
+
* @param {{owner: string, profileSettings: Map<string,{roleArn: string, region: string, externalId: string}>}} scope
|
|
757
|
+
* Validated owner and the profile settings this run writes.
|
|
758
|
+
* @returns {string} The contents with the adopted sections removed.
|
|
749
759
|
*/
|
|
750
|
-
function
|
|
751
|
-
const
|
|
752
|
-
|
|
753
|
-
|
|
760
|
+
function adoptRemoteAgentSections(text, kind, { owner, profileSettings }) {
|
|
761
|
+
const source = emitSourceProfileFor(owner);
|
|
762
|
+
const doubled = `${owner}-agent-agent-`;
|
|
763
|
+
const adopt = (header, body) => {
|
|
764
|
+
if (kind === "credentials") return header === source;
|
|
765
|
+
const found = /^profile\s+(\S+)$/.exec(header);
|
|
766
|
+
if (found === null || settingIn(body, "source_profile") !== source)
|
|
767
|
+
return false;
|
|
768
|
+
const name = found[1];
|
|
769
|
+
// The name itself first: `agent-agent-x` can be a canonical stage.
|
|
770
|
+
if (profileSettings.has(name)) return true;
|
|
771
|
+
if (!name.startsWith(doubled)) return false;
|
|
772
|
+
const replacement = `${owner}-agent-${name.slice(doubled.length)}`;
|
|
773
|
+
const settings = profileSettings.get(replacement);
|
|
774
|
+
if (
|
|
775
|
+
settings === undefined ||
|
|
776
|
+
settingIn(body, "role_arn") !== settings.roleArn
|
|
777
|
+
)
|
|
778
|
+
return false;
|
|
779
|
+
const region = settingIn(body, "region");
|
|
780
|
+
const externalId = settingIn(body, "external_id");
|
|
781
|
+
return (
|
|
782
|
+
(region === undefined || region === settings.region) &&
|
|
783
|
+
(externalId === undefined || externalId === settings.externalId)
|
|
784
|
+
);
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
// Managed blocks are kept verbatim; only the text between them is filtered.
|
|
788
|
+
const blocks = familyBlocks(text, MANAGED_FAMILY);
|
|
789
|
+
let out = "";
|
|
790
|
+
let at = 0;
|
|
791
|
+
for (const block of blocks) {
|
|
792
|
+
out += dropSections(text.slice(at, block.start), adopt);
|
|
793
|
+
out += text.slice(block.start, block.end);
|
|
794
|
+
at = block.end;
|
|
795
|
+
}
|
|
796
|
+
return out + dropSections(text.slice(at), adopt);
|
|
754
797
|
}
|
|
755
798
|
|
|
756
799
|
/**
|
|
757
|
-
*
|
|
758
|
-
*
|
|
759
|
-
*
|
|
760
|
-
*
|
|
761
|
-
* silently match nothing — a guard that always passes.
|
|
762
|
-
* @param {string} dir The `.aws` directory.
|
|
763
|
-
* @param {string} name The section name.
|
|
764
|
-
* @param {object} io `exists`, `read`, `owner`, `includeLegacy` seams.
|
|
765
|
-
* @returns {string|null|undefined} As {@link resolveOnlyHolder}.
|
|
800
|
+
* Drop the ini sections a predicate selects from unmanaged text.
|
|
801
|
+
* @param {string} text Text outside every managed block.
|
|
802
|
+
* @param {(header: string, body: string[]) => boolean} selects Which sections go.
|
|
803
|
+
* @returns {string} The text without them.
|
|
766
804
|
*/
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
(
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
805
|
+
function dropSections(text, selects) {
|
|
806
|
+
// Keep each retained line terminator even when the next section is removed.
|
|
807
|
+
const lines = text.match(/[^\n]*\n|[^\n]+$/gu) ?? [];
|
|
808
|
+
const kept = [];
|
|
809
|
+
let index = 0;
|
|
810
|
+
while (index < lines.length) {
|
|
811
|
+
const header = /^\s*\[\s*([^\]]+?)\s*\]\s*$/.exec(lines[index]);
|
|
812
|
+
if (header === null) {
|
|
813
|
+
kept.push(lines[index]);
|
|
814
|
+
index += 1;
|
|
815
|
+
continue;
|
|
816
|
+
}
|
|
817
|
+
let end = index + 1;
|
|
818
|
+
while (end < lines.length && !/^\s*\[/.test(lines[end])) end += 1;
|
|
819
|
+
const body = lines.slice(index + 1, end);
|
|
820
|
+
if (!selects(header[1], body)) kept.push(...lines.slice(index, end));
|
|
821
|
+
index = end;
|
|
822
|
+
}
|
|
823
|
+
return kept.join("");
|
|
824
|
+
}
|
|
785
825
|
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
826
|
+
/**
|
|
827
|
+
* Read one AWS INI setting, accepting both delimiters and option casing.
|
|
828
|
+
* @param {string[]} body The section's lines.
|
|
829
|
+
* @param {string} key Setting name.
|
|
830
|
+
* @returns {string|undefined} Its value.
|
|
831
|
+
*/
|
|
832
|
+
function settingIn(body, key) {
|
|
833
|
+
for (const line of body) {
|
|
834
|
+
const found = /^\s*([^=:\s]+)\s*[:=]\s*(.*?)\s*$/.exec(line);
|
|
835
|
+
if (found !== null && found[1].toLowerCase() === key) return found[2];
|
|
789
836
|
}
|
|
790
|
-
|
|
791
|
-
// generator that does not go through this module at all.
|
|
792
|
-
return header.test(stripFamilyBlocks(text, MANAGED_FAMILY, () => true))
|
|
793
|
-
? null
|
|
794
|
-
: undefined;
|
|
837
|
+
return undefined;
|
|
795
838
|
}
|
|
796
839
|
|
|
797
840
|
/**
|
|
@@ -957,7 +1000,6 @@ function main() {
|
|
|
957
1000
|
` Use them explicitly: aws --profile ${written[0]} ...`
|
|
958
1001
|
);
|
|
959
1002
|
reportLegacyProfiles();
|
|
960
|
-
reportResolveOnlySlot(cfg.namespace);
|
|
961
1003
|
return;
|
|
962
1004
|
}
|
|
963
1005
|
|
|
@@ -998,35 +1040,6 @@ function main() {
|
|
|
998
1040
|
);
|
|
999
1041
|
}
|
|
1000
1042
|
reportLegacyProfiles();
|
|
1001
|
-
reportResolveOnlySlot(cfg.namespace);
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* Say so when the deprecated bare names went to a different project.
|
|
1006
|
-
*
|
|
1007
|
-
* Silence here would be the worst of both worlds. A caller that has not
|
|
1008
|
-
* migrated still names the bare profiles; if another project on this machine
|
|
1009
|
-
* holds them, those names resolve into that project's account and the run would
|
|
1010
|
-
* otherwise report success. Loud-and-wrong is recoverable, silent-and-wrong is
|
|
1011
|
-
* the defect this whole change is about.
|
|
1012
|
-
* @param {string} owner The tenant this run materialized for.
|
|
1013
|
-
*/
|
|
1014
|
-
function reportResolveOnlySlot(owner) {
|
|
1015
|
-
const holder = sourceProfileHolder(
|
|
1016
|
-
join(process.env.HOME || homedir(), ".aws"),
|
|
1017
|
-
RESOLVE_ONLY_LEGACY_SOURCE_PROFILE,
|
|
1018
|
-
{ owner }
|
|
1019
|
-
);
|
|
1020
|
-
if (holder === undefined || holder === owner) return;
|
|
1021
|
-
console.log(
|
|
1022
|
-
` The deprecated bare profile names were NOT written for "${owner}".\n` +
|
|
1023
|
-
` ${holder === null ? "A section outside any lisa-managed block" : `The project "${holder}"`} ` +
|
|
1024
|
-
`already holds "${RESOLVE_ONLY_LEGACY_SOURCE_PROFILE}".\n` +
|
|
1025
|
-
` They are one shared slot, so only one project on a machine can have ` +
|
|
1026
|
-
`them.\n Use the owned names — aws --profile ${owner}-<stage> — or ` +
|
|
1027
|
-
`re-run with\n LISA_SECRETS_CLAIM_LEGACY_PROFILES=1 to take the bare ` +
|
|
1028
|
-
`names deliberately.`
|
|
1029
|
-
);
|
|
1030
1043
|
}
|
|
1031
1044
|
|
|
1032
1045
|
/**
|
|
@@ -32,12 +32,19 @@
|
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
34
|
import { execFileSync } from "node:child_process";
|
|
35
|
-
import { realpathSync } from "node:fs";
|
|
35
|
+
import { realpathSync, readFileSync } from "node:fs";
|
|
36
36
|
import { fileURLToPath } from "node:url";
|
|
37
37
|
|
|
38
38
|
import { fetchAll } from "./providers.mjs";
|
|
39
|
-
import { readConfig } from "./surfaces.mjs";
|
|
39
|
+
import { readConfig, readTaskConfig } from "./surfaces.mjs";
|
|
40
40
|
import { readMaterialized } from "./resolve-secret.mjs";
|
|
41
|
+
import { failure } from "./task-readiness.mjs";
|
|
42
|
+
import { runTaskAction } from "./task-action.mjs";
|
|
43
|
+
import { AccessFailure } from "./config-layers.mjs";
|
|
44
|
+
import { prepareRequirements } from "./task-requirements.mjs";
|
|
45
|
+
import { runIntakeRead } from "./task-intake-read.mjs";
|
|
46
|
+
import { runTrackerIntakeRead } from "./task-tracker-intake.mjs";
|
|
47
|
+
export { taskReadiness, credentialAvailability } from "./task-readiness.mjs";
|
|
41
48
|
import {
|
|
42
49
|
routingFloorReasons,
|
|
43
50
|
SUBSTITUTE_SUBSTRATES,
|
|
@@ -144,7 +151,10 @@ export function preflight(
|
|
|
144
151
|
verdict: "unreachable",
|
|
145
152
|
required,
|
|
146
153
|
missing: unresolvedLocally,
|
|
147
|
-
reason:
|
|
154
|
+
reason:
|
|
155
|
+
err.message === "Missing access token"
|
|
156
|
+
? "Missing access token"
|
|
157
|
+
: "Provider access could not be established.",
|
|
148
158
|
};
|
|
149
159
|
}
|
|
150
160
|
|
|
@@ -172,6 +182,32 @@ export function preflight(
|
|
|
172
182
|
*/
|
|
173
183
|
export function report(result, cfg) {
|
|
174
184
|
if (result.verdict === "ok") return "";
|
|
185
|
+
cfg = {
|
|
186
|
+
...cfg,
|
|
187
|
+
provider: [
|
|
188
|
+
"env",
|
|
189
|
+
"bitwarden",
|
|
190
|
+
"doppler",
|
|
191
|
+
"1password",
|
|
192
|
+
"aws",
|
|
193
|
+
"vault",
|
|
194
|
+
].includes(cfg.provider)
|
|
195
|
+
? cfg.provider
|
|
196
|
+
: "unknown",
|
|
197
|
+
surface: [
|
|
198
|
+
"local",
|
|
199
|
+
"github-actions",
|
|
200
|
+
"codex-cloud",
|
|
201
|
+
"claude-web",
|
|
202
|
+
"container",
|
|
203
|
+
].includes(cfg.surface)
|
|
204
|
+
? cfg.surface
|
|
205
|
+
: "unknown",
|
|
206
|
+
};
|
|
207
|
+
const reason =
|
|
208
|
+
result.reason === "Missing access token"
|
|
209
|
+
? result.reason
|
|
210
|
+
: "Provider access could not be established.";
|
|
175
211
|
|
|
176
212
|
const lines = [];
|
|
177
213
|
if (result.verdict === "unreachable") {
|
|
@@ -180,7 +216,7 @@ export function report(result, cfg) {
|
|
|
180
216
|
`The "${cfg.provider}" provider could not be reached, so nothing is`,
|
|
181
217
|
`known about any credential — this is not a report that they are fine.`,
|
|
182
218
|
``,
|
|
183
|
-
` reason: ${
|
|
219
|
+
` reason: ${reason}`,
|
|
184
220
|
``,
|
|
185
221
|
`Fix this machine's access to the provider (bootstrap token, CLI`,
|
|
186
222
|
`install, network), then start a new session. Do not treat the`,
|
|
@@ -212,7 +248,23 @@ export function report(result, cfg) {
|
|
|
212
248
|
}
|
|
213
249
|
lines.push(``);
|
|
214
250
|
for (const { name, reasons } of result.missing) {
|
|
215
|
-
|
|
251
|
+
const named = [
|
|
252
|
+
"GH_TOKEN",
|
|
253
|
+
"NOTION_API_TOKEN",
|
|
254
|
+
"ATLASSIAN_API_TOKEN",
|
|
255
|
+
"LINEAR_API_KEY",
|
|
256
|
+
].includes(name)
|
|
257
|
+
? name
|
|
258
|
+
: "Required credential";
|
|
259
|
+
const safeReasons = reasons.filter(
|
|
260
|
+
value =>
|
|
261
|
+
/^(?:tracker|source) is "(?:github|notion|jira|confluence|linear)"$/.test(
|
|
262
|
+
value
|
|
263
|
+
) || value === "declared in secrets.require"
|
|
264
|
+
);
|
|
265
|
+
lines.push(
|
|
266
|
+
` ${named} — required because ${safeReasons.join("; ") || "the current project requires it"}`
|
|
267
|
+
);
|
|
216
268
|
}
|
|
217
269
|
lines.push(
|
|
218
270
|
``,
|
|
@@ -303,15 +355,43 @@ function safely(thunk) {
|
|
|
303
355
|
}
|
|
304
356
|
}
|
|
305
357
|
|
|
306
|
-
/**
|
|
307
|
-
* CLI entry point. Prints the report and exits non-zero on any failure.
|
|
308
|
-
*/
|
|
309
358
|
function main() {
|
|
359
|
+
if (process.argv.includes("--tracker-intake-read")) {
|
|
360
|
+
runTrackerIntakeRead();
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
if (process.argv.includes("--intake-read")) {
|
|
364
|
+
runIntakeRead();
|
|
365
|
+
return;
|
|
366
|
+
}
|
|
367
|
+
if (process.argv.includes("--prepare")) {
|
|
368
|
+
const cfg = readTaskConfig();
|
|
369
|
+
const index = process.argv.indexOf("--ref");
|
|
370
|
+
const input = JSON.parse(readFileSync(0, "utf8"));
|
|
371
|
+
console.log(
|
|
372
|
+
JSON.stringify(
|
|
373
|
+
prepareRequirements(
|
|
374
|
+
cfg,
|
|
375
|
+
index >= 0 ? process.argv[index + 1] : undefined,
|
|
376
|
+
input
|
|
377
|
+
)
|
|
378
|
+
)
|
|
379
|
+
);
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
if (
|
|
383
|
+
["--task", "--hook", "--observe-native", "--reset-native"].some(flag =>
|
|
384
|
+
process.argv.includes(flag)
|
|
385
|
+
)
|
|
386
|
+
) {
|
|
387
|
+
runTaskAction();
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
310
390
|
const cfg = readConfig();
|
|
311
391
|
const result = preflight(cfg);
|
|
312
392
|
const text = report(result, cfg);
|
|
313
393
|
if (text) console.error(text);
|
|
314
|
-
if (result.verdict !== "ok") process.
|
|
394
|
+
if (result.verdict !== "ok") process.exitCode = 1;
|
|
315
395
|
}
|
|
316
396
|
|
|
317
397
|
/**
|
|
@@ -338,5 +418,13 @@ function invokedAsScript(moduleUrl, argv1 = process.argv[1]) {
|
|
|
338
418
|
}
|
|
339
419
|
|
|
340
420
|
if (invokedAsScript(import.meta.url)) {
|
|
341
|
-
|
|
421
|
+
try {
|
|
422
|
+
main();
|
|
423
|
+
} catch (error) {
|
|
424
|
+
const result = failure(
|
|
425
|
+
error instanceof AccessFailure ? error.code : "config-invalid"
|
|
426
|
+
);
|
|
427
|
+
console.error(`${result.code}: ${result.action}`);
|
|
428
|
+
process.exitCode = process.argv.includes("--prepare") ? 2 : 1;
|
|
429
|
+
}
|
|
342
430
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
import { listBootstrapFiles, readBootstrapFile } from "./bootstrap-store.mjs";
|
|
13
|
+
import { AccessFailure } from "./config-layers.mjs";
|
|
13
14
|
|
|
14
15
|
import {
|
|
15
16
|
boundedChildOutput,
|
|
@@ -140,7 +141,10 @@ export function bootstrapToken(bootstrap) {
|
|
|
140
141
|
: "";
|
|
141
142
|
if (found) return found;
|
|
142
143
|
}
|
|
143
|
-
throw new
|
|
144
|
+
throw new AccessFailure(
|
|
145
|
+
"bootstrap-missing",
|
|
146
|
+
describeMissingBootstrap(bootstrap)
|
|
147
|
+
);
|
|
144
148
|
}
|
|
145
149
|
|
|
146
150
|
/**
|
|
@@ -646,6 +650,25 @@ export function fetchAll(cfg) {
|
|
|
646
650
|
return fetchNamed(cfg, cfg.require);
|
|
647
651
|
}
|
|
648
652
|
|
|
653
|
+
/** Presence-only view for readiness: retain grant narrowing and project allowlist.
|
|
654
|
+
* Missing records are data here, unlike ordinary fetchAll's asserted contract.
|
|
655
|
+
* Values stay in process, never in a decision or diagnostic.
|
|
656
|
+
*/
|
|
657
|
+
export function readinessProvider(cfg) {
|
|
658
|
+
if (!["env", "bitwarden", "doppler"].includes(cfg.provider))
|
|
659
|
+
throw new AccessFailure("adapter-unsupported");
|
|
660
|
+
try {
|
|
661
|
+
const selected = normalizeRows(fetchRaw(cfg), cfg.narrow);
|
|
662
|
+
return cfg.require === null
|
|
663
|
+
? selected
|
|
664
|
+
: new Map([...selected].filter(([name]) => cfg.require.includes(name)));
|
|
665
|
+
} catch (error) {
|
|
666
|
+
if (error instanceof AccessFailure) throw error;
|
|
667
|
+
if (error.code === "ENOENT") throw new AccessFailure("tool-missing");
|
|
668
|
+
throw new AccessFailure("provider-unreachable");
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
649
672
|
/**
|
|
650
673
|
* The provider view the rotation path reads.
|
|
651
674
|
*
|
|
@@ -47,6 +47,27 @@ const SOURCE_CREDENTIALS = {
|
|
|
47
47
|
linear: ["LINEAR_API_KEY"],
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
+
/** Routing aliases belong to the existing access owner, not to token spelling. */
|
|
51
|
+
export function routingCapabilityMatches(route, requirement) {
|
|
52
|
+
const layer = ["jira", "confluence"].includes(route) ? "atlassian" : route;
|
|
53
|
+
if (requirement.access_layer !== layer) return false;
|
|
54
|
+
if (route === "confluence")
|
|
55
|
+
return [
|
|
56
|
+
"list-spaces",
|
|
57
|
+
"read-page",
|
|
58
|
+
"read-page-descendants",
|
|
59
|
+
"read-page-comments",
|
|
60
|
+
].includes(requirement.operation);
|
|
61
|
+
if (route === "jira")
|
|
62
|
+
return [
|
|
63
|
+
"list-projects",
|
|
64
|
+
"issue-type-metadata",
|
|
65
|
+
"read-issue",
|
|
66
|
+
"search-issues",
|
|
67
|
+
].includes(requirement.operation);
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
50
71
|
/**
|
|
51
72
|
* The credentials a project's routing makes mandatory.
|
|
52
73
|
*
|