@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
|
@@ -188,6 +188,52 @@ Right: create the label. Stop only if the tracker refuses for lack of permission
|
|
|
188
188
|
|
|
189
189
|
This does not conflict with writing for a non-technical reader (`communication`). That rule is about who reads a report, not about giving them to-dos.
|
|
190
190
|
|
|
191
|
+
### 8. Always Promotable
|
|
192
|
+
|
|
193
|
+
**Always promotable.** Whatever is on a shared branch can be promoted to the next environment as it stands. Most changes meet this by being complete and proven when they merge, and need nothing more. Only new behavior that merges before it is finished or verified is switched off, and that switch is removed once it is. If the branch is not promotable, fixing or reverting that comes before any other work.
|
|
194
|
+
|
|
195
|
+
A piece of work must never block a deployment. Promoting one environment to the next is a single step, never a sorting job: nobody works out which changes are ready and cherry-picks them. The established names are keeping the main line always releasable and separating deployment from release: code can be in production without being switched on.
|
|
196
|
+
|
|
197
|
+
**One question decides whether a change needs a switch:** if this were promoted to production right now, would a user see something unfinished or unproven?
|
|
198
|
+
|
|
199
|
+
- **No: the change is live and needs no switch.** Bug fixes, small tweaks, copy changes, refactors and dependency updates are almost always complete and proven when they merge, and reverting is their off switch. Never add a switch to work that is complete and proven when it merges. A switch on every change is machinery nobody needs (YAGNI).
|
|
200
|
+
- **Yes: the change is switched off.** The question decides, not the kind of work: a feature or a fix that lands across several merges, or new behavior that merges before its verification has passed, merges behind a switch that is off in production.
|
|
201
|
+
|
|
202
|
+
Live work is proven **before** it merges, not after. That is what lets it skip the switch. Proven means its local verification passed before the merge. The check in the target environment after the deploy confirms that proof, and a change is not "unverified" merely because that later check has not run yet. Work is unverified when it cannot be proven before it merges: it needs a piece that has not landed, an environment it cannot reach locally, or a decision that has not been made.
|
|
203
|
+
|
|
204
|
+
**Changes that cannot be switched off must be safe on their own**, because they are live the moment they ship:
|
|
205
|
+
|
|
206
|
+
- Database changes add before they remove. Old and new code both work against the same data.
|
|
207
|
+
- API changes are additive. A caller that has not been updated keeps working.
|
|
208
|
+
|
|
209
|
+
**A switch is temporary.** The work is not done while its switch exists: removing it is part of finishing the feature, not a follow-up, so this rule does not conflict with Clean Deletion or with No Technical Debt. A switch and an add-before-remove change that this rule requires are not the compatibility shims Clean Deletion forbids.
|
|
210
|
+
|
|
211
|
+
**Name the switch so it can be found and removed.** Give it a name that appears nowhere else in the repository and is not the start of another switch's name; `node scripts/lisa-release-switch.mjs references --switch <name>` must report none before the first use. Use one spelling of the name everywhere it is read: the done gate searches every tracked file for the name as a whole token, in any letter case, and cannot find a different spelling such as `NEW_CHECKOUT` for `new-checkout`. A second switch called `<name>-v2` counts as a reference and keeps the removing item open. Records do not count: committed evidence (`evidence/<ticket>/…` at the repository root), a changelog file (`CHANGELOG`, `CHANGELOG.md`), and Lisa's machine state under `.lisa/`. Recording that a switch is off, or saying in the changelog that it was removed, holds nothing open. Everything in those two folders is treated as a record, code included, so keep nothing that reads a switch there. Every other file counts, documentation and other release notes included: update documentation with the removal, and describe the removal elsewhere without the switch's name.
|
|
212
|
+
|
|
213
|
+
**The mechanism is the project's choice.** Lisa wraps no flag tool. A project names what it uses in `release.switch.mechanism` (a hosted flag service, a cloud configuration service, a product-analytics flag, a plain configuration value) and may point `release.switch.guide` at its own convention. With nothing named, use a plain configuration value that defaults to off. Whatever the mechanism, a switch must be settable per environment, on outside production while off in production, so the work can be verified. A project with one environment verifies switched-off work locally or for a test account only. An agent must be able to do three things with it:
|
|
214
|
+
|
|
215
|
+
1. add a switch;
|
|
216
|
+
2. confirm it is off in production;
|
|
217
|
+
3. remove it.
|
|
218
|
+
|
|
219
|
+
If you cannot confirm the production value, you cannot claim the work is dark.
|
|
220
|
+
|
|
221
|
+
**Turning a finished feature on.** A feature is turned on once, by the work item that removes its switch, after the whole feature is verified. An earlier item of the same feature verifies its own part with the switch on outside production and leaves it off in production. Then, having confirmed that production is running the verified version, the agent turns the switch on in production. The switch is removed only after that, never while the turn-on is still waiting. No person is needed, unless the project lists the decision class `feature-release` in `humanGate.humanOnly`; then that one step is a declared human gate.
|
|
222
|
+
|
|
223
|
+
**When the branch is not promotable.** A change whose failure is live on a shared branch is reverted at once: one that shipped without a switch and fails at verification, one that is switched off but breaks something with the switch off, and any change that breaks the build or the deployment, which no switch can turn off. A feature that fails after its switch was turned on in production is live too: the switch is turned off again at once. It is reworked, and the work item goes back to the ready queue with the failure evidence. It is never left in place to be fixed forward, and it never holds a promotion.
|
|
224
|
+
|
|
225
|
+
**Work items and pull requests say which.** A leaf work item that changes runtime behavior carries a `## Release Switch` section with exactly one line (gate S22 in the `*-validate-*` skills, checked by `scripts/lisa-release-switch.mjs check`):
|
|
226
|
+
|
|
227
|
+
```text
|
|
228
|
+
Live — complete and proven at merge
|
|
229
|
+
Switched off — <switch-name>; removed by this item
|
|
230
|
+
Switched off — <switch-name>; removed by <work-item ref>
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
The item that removes a switch cannot be finished while tracked source still references it (`lisa-work-item.mjs finish`). A pull request states the same thing next to how to undo it.
|
|
234
|
+
|
|
235
|
+
**A project without live users.** `release.liveUsers` in `.lisa.config.json` is a fact about the project: absent means it has live users and this rule applies. A project that is not launched sets it to `false`; then nothing in this section applies, including the add-before-remove and additive requirements, because there are no users and no live data to protect. Lisa names the setting whenever a production deployment happens while it is `false`, so the opt-out is seen on launch day. A value that is not `true` or `false` is reported and treated as `true`. `node scripts/lisa-release-switch.mjs config` prints how it resolved.
|
|
236
|
+
|
|
191
237
|
---
|
|
192
238
|
|
|
193
239
|
## Quick Reference
|
|
@@ -500,6 +546,8 @@ Structure the code so future agents can easily identify what to change, make a t
|
|
|
500
546
|
|
|
501
547
|
Write comments and docstrings that preserve engineering intent, not merely implementation details.
|
|
502
548
|
|
|
549
|
+
This overrides any default to match the comment density of the surrounding code: future agents keep no memory of today, so intent that is not written down is lost.
|
|
550
|
+
|
|
503
551
|
Code should generally explain **what** happens. Comments and docstrings should explain **why it happens that way**, especially when the reasoning is not obvious from the implementation.
|
|
504
552
|
|
|
505
553
|
When adding, modifying, or removing code:
|
|
@@ -288,7 +288,10 @@ fi
|
|
|
288
288
|
| `usage` | no | — | Optional token/cost pricing metadata consumed by the `usage-accounting` rule. Missing pricing never blocks a lifecycle flow; Lisa records token counts with `estimated_cost: null` when no trustworthy price source is configured. |
|
|
289
289
|
| `dependencies.humanSignOff` | no | `"none"` (`"default"` when `humanGate.mode` is `"strict"`) | Whether dependency decisions wait on a person. `"default"` keeps every ratification requirement in `dependency-trust-classes`; `"none"` has the agent ratify instead and record its reasoning in the dependency's entry — the trust class and its per-class evidence are still required, and credential, paid-account, and license approvals are unaffected. Any other value is reported as invalid (in `lisa apply` output and the session's `lisa-resolved-config` block) and treated as `"default"`, the stricter option. |
|
|
290
290
|
| `humanGate.mode` | no | `"access-only"` | How wide the human gate is. `"access-only"`: an agent performs every act it has access to perform, and only an act it lacks access to (an interactive login, a credential it cannot create or reach, spending money, a legal signature, an action only a person's account can take, or a hold the operator asked for) is a human gate. `"strict"` restores the older, wider gate: a compliance sign-off, naming an accountable person, and the calls Lisa's policy used to reserve for a person (learnings promotion, harness interventions, automation retirement, exploratory-QA findings) count as human gates again, and the defaults of `dependencies.humanSignOff` and `learnings.lowConfidence` become `"default"` and `"human-triage"`. A value either key sets explicitly always wins over the mode. A value that is present but invalid fails safe: it is reported and treated as the stricter option (an invalid local value first falls back to a valid value in `.lisa.config.json`); an absent value gets the mode's default. An invalid `humanGate.mode` is therefore treated as `"strict"`. Read by `scripts/human-gate-act.mjs`; see `ready-role-filing`, "What a human gate is". |
|
|
291
|
-
| `humanGate.humanOnly` | no | `[]` | Decision classes this project reserves for a person, such as `["pricing"]`, in either mode. A `human_gate` reason naming one (as a whole word) is accepted by the writers and never lifted by the sweeps. Absent, only the acts `humanGate.mode` names qualify as a human gate. `.lisa.config.local.json` replaces the list when it sets one. Read by `scripts/human-gate-act.mjs`; see `ready-role-filing`, "What a human gate is". |
|
|
291
|
+
| `humanGate.humanOnly` | no | `[]` | Decision classes this project reserves for a person, such as `["pricing"]`, in either mode. A `human_gate` reason naming one (as a whole word) is accepted by the writers and never lifted by the sweeps. Listing `feature-release` reserves turning a finished, switched-off feature on in production for a person (`coding-philosophy`, "Always Promotable"); otherwise the agent does it once verification passes. Absent, only the acts `humanGate.mode` names qualify as a human gate. `.lisa.config.local.json` replaces the list when it sets one. Read by `scripts/human-gate-act.mjs`; see `ready-role-filing`, "What a human gate is". |
|
|
292
|
+
| `release.liveUsers` | no | `true` | Whether this project has live users, which decides whether the always-promotable rule applies (`coding-philosophy`, "Always Promotable"). A fact about the project, not a switch for a rule: a project that is not launched sets `false`, and then no `## Release Switch` declaration, release switch, or backward-compatible database or API change is required. Absent means `true`. A value that is not `true` or `false` is reported and treated as `true`. `lisa sync` does not write this key, so an absent value stays visible as a default. While it is `false`, the merge flow names the setting whenever a production deployment is confirmed (`lisa-release-switch.mjs notice`). Read by `scripts/lib/release-switch.mjs`; `node scripts/lisa-release-switch.mjs config` prints how it resolved. |
|
|
293
|
+
| `release.switch.mechanism` | no | `config-value` | What this project uses to switch unfinished work off: free text such as a hosted flag service, a cloud configuration service, a product-analytics flag, or a config file. Lisa wraps none of them and only carries the name to the agent. Absent means a plain configuration value that defaults to off. |
|
|
294
|
+
| `release.switch.guide` | no | — | Path or URL of the project's own convention for adding, reading and removing a switch. |
|
|
292
295
|
| `knowledge` | **yes** | `llm-wiki` | Knowledge backend. Closed vocabulary; `llm-wiki` (the git-native wiki each repo owns at `wiki/`) is the only value today. `lisa sync` writes the default with `_lisaSync.populated` provenance and rejects any other value. Selects the plugin that provides the backend (`llm-wiki` → `lisa-wiki`). See **Knowledge role** below. |
|
|
293
296
|
| ~~`wiki`~~ | — | — | **Retired.** Pointed at a local path or a remote wiki repo to mirror. Every repo now owns its own wiki at `wiki/`, so the key has nothing left to say; the `ensure-knowledge-role` migration removes it and nothing reads it. |
|
|
294
297
|
| `sessionManager` | no | — (opt-in) | Local session manager: polls the Ready queue, runs each item in a fresh background Claude Code session, and relays questions over a per-project Telegram bot when one is configured (optional). Absent means the manager is not used; `lisa sync` never populates it. Written by `/lisa:setup:session-manager`. See **Session manager (`sessionManager`)** below. |
|
|
@@ -162,11 +162,11 @@ Sequence:
|
|
|
162
162
|
3. PR Watch Loop -- drive the PR to MERGED via the `drive-pr-to-merge` skill. That skill is the single source of truth for clearing every blocker (auto-merge with direct-merge fallback, `BEHIND` re-sync, conflict resolution, failing-check fixes, human + bot review-comment handling with thread resolution via `pull-request-review`, stale `CHANGES_REQUESTED` dismissal, and post-merge ancestry verification). Do NOT re-implement the loop or its terminal conditions here or in any calling skill.
|
|
163
163
|
4. Merge the PR (owned by `drive-pr-to-merge`, including the auto-merge race and zero-deploy-run checks)
|
|
164
164
|
5. Monitor deploy (watch the deployment action triggered by merge):
|
|
165
|
-
- If deploy fails -- fix, open new PR, return to step 3
|
|
165
|
+
- If deploy fails -- when a merged change broke it, revert that change at once, whatever its release switch says, and return the work item to the ready queue (`coding-philosophy`, "Always Promotable"); when the change did not cause it, or the project sets `release.liveUsers: false`, fix, open new PR, return to step 3
|
|
166
166
|
6. Remote verification:
|
|
167
167
|
- `verification-specialist` -- verify in target environment (same checks as local verification, but on remote). Resolve credentials through the `verification-lifecycle` lookup order before declaring any missing. If they remain genuinely unavailable, do not complete on artifact-only evidence: post a tracker comment naming every credential source checked and what could not be verified as a result, transition the work item to the configured blocked state, and apply the configured `needs-human` / `human-review` label (creating it when the tracker supports label creation and it is missing). The comment is what makes the escalation auditable -- a label alone records that something stopped, not what was tried or why. Evidence must explicitly distinguish `verified empirically` from `artifact-only / verification deferred`
|
|
168
168
|
- `ops-specialist` -- post-deploy health check via `lisa-monitor <env> --report-only`, smoke test, monitor for errors in first minutes. `--report-only` is REQUIRED: it keeps the post-deploy check a pure health/audit report so monitor's standalone ticket-filing never fires inside a Verify run
|
|
169
|
-
- If remote verification fails -- fix, open new PR, return to step 3
|
|
169
|
+
- If remote verification fails -- when the failure is live, revert the change at once and return the work item to the ready queue with the failure evidence; it is never fixed forward in place and never holds a promotion (`coding-philosophy`, "Always Promotable"). A failure is live when the work item's `## Release Switch` says `Live` or it has none, when the work is switched off but the failure shows with the switch off, or when the switch is already on in production (turn it off again first). A failure that shows only with the switch on while it is still off in production, and any failure in a project that sets `release.liveUsers: false`: fix, open new PR, return to step 3
|
|
170
170
|
7. **Record Verify usage on the evidence artifact** -- invoke `lisa-usage-accounting` against the generated evidence artifact (comment body, PR evidence section, or markdown proof) so it gains a direct `verify` usage entry in the canonical `## Lisa Usage` section. If the originating work item or PRD parentage is known, prefer `record_and_rollup` so ancestor totals refresh in the same pass. If runtime usage is unavailable, still write `source: unavailable` with nullable token/cost fields instead of omitting the row.
|
|
171
171
|
8. **Post evidence via the tracker surface** -- invoke `lisa-tracker-evidence` after the usage write so the same canonical evidence artifact is uploaded / posted without hand-editing a second format.
|
|
172
172
|
|
|
@@ -2,6 +2,166 @@
|
|
|
2
2
|
|
|
3
3
|
> Detail behind the eager `when-to-stop` rule.
|
|
4
4
|
|
|
5
|
+
## Task readiness
|
|
6
|
+
|
|
7
|
+
The secrets access owner's `preflight-secrets.mjs` is the shared decision entry
|
|
8
|
+
point. Before claim, the bounded resolver reads the complete live body/comments,
|
|
9
|
+
acceptance, proof and delivery needs; enumerates credential availability separately
|
|
10
|
+
from scoped capability/identity; and persists the complete vendor context after
|
|
11
|
+
the normal git-ignore and EAS checks. Only this small local intake metadata write
|
|
12
|
+
may precede claim. Normal source, branch, claim and business writes may not.
|
|
13
|
+
|
|
14
|
+
Before a context exists, fixed Implement/Track/tracker-read/secrets-access owner
|
|
15
|
+
loads and configured issue/comment/relationship reads remain available. The
|
|
16
|
+
bounded native `Agent` route uses name `input-resolver`, type `general-purpose`,
|
|
17
|
+
description `Resolve Lisa input`, and the exact prompt `Invoke lisa-track <ref>;
|
|
18
|
+
resolve the complete live issue, comments and graph; prepare requirements and
|
|
19
|
+
prove access before any claim. Do not implement or change source.` Only the
|
|
20
|
+
configured canonical ref is substituted. Other agents, skills and mutations
|
|
21
|
+
are not preclaim exceptions. Never create a fake complete empty header to load
|
|
22
|
+
the resolver or read its inputs.
|
|
23
|
+
|
|
24
|
+
Supply a complete values-free `required_access` array and
|
|
25
|
+
`requirements_complete: true` as JSON on stdin to the owner's
|
|
26
|
+
`--prepare --ref <canonical-ref>` mode. For the first context, include the complete
|
|
27
|
+
unedited `context_body` on that same stdin; it creates
|
|
28
|
+
only the fixed ignored0600 context after Git-ignore and EAS checks. Existing
|
|
29
|
+
context cannot be replaced through `context_body`. This is the bounded initial
|
|
30
|
+
resolver metadata transaction, not a general Write or shell exception.
|
|
31
|
+
For the native Claude `Write` tool, pass the complete canonical context as
|
|
32
|
+
`{file_path: "<absolute project root>/.lisa/work-item-context.md", content: "<leading requirements header plus full body>"}`.
|
|
33
|
+
Use the header schema above with current root/ref/config/surface/body/requirements
|
|
34
|
+
digests; no stored success field or credential value belongs in that header.
|
|
35
|
+
The before hook treats this exact-path request as data for the existing validated
|
|
36
|
+
atomic0600 metadata owner. It DENIES the redundant raw Write with
|
|
37
|
+
"Context prepared; run readiness", while explicitly performing only that bounded
|
|
38
|
+
metadata side effect. Run readiness next; a denial is not a fake successful tool
|
|
39
|
+
result. Source writes, alternate paths, symlinks, conflicting refs/config/body,
|
|
40
|
+
missing ignore/EAS proof and malformed headers still refuse. Existing body bytes
|
|
41
|
+
cannot be replaced by this adapter. Never put the complete private body in a Bash
|
|
42
|
+
command, heredoc, argv or Lisa-owned log; native tool payloads may still be retained
|
|
43
|
+
in runtime transcripts. No universal transcript privacy is claimed.
|
|
44
|
+
Codex retains native `tool_name: apply_patch`; its `tool_input.command` is patch
|
|
45
|
+
data. Only ONE whole `*** Add File: <absolute canonical context path>` operation
|
|
46
|
+
is decoded into the same strict metadata owner. Every content line starts with
|
|
47
|
+
`+`; Add File reconstructs those lines with LF and a final LF. The before hook
|
|
48
|
+
prepares0600 context and DENIES the redundant raw patch with the same recovery.
|
|
49
|
+
Relative/normalized/symlink aliases, mixed operations, update/delete/move/hunks,
|
|
50
|
+
bad framing/trailing text and bad headers/body/ref/config/binding still refuse.
|
|
51
|
+
Ordinary non-context source patches are NOT metadata: they reach normal readiness,
|
|
52
|
+
proceed only when qualified and remain withheld when required access is unproved.
|
|
53
|
+
This is a protocol/wrapper component, not execution of every native app/version.
|
|
54
|
+
|
|
55
|
+
Real SessionStart (including same-ID resume), UserPromptSubmit and SessionEnd
|
|
56
|
+
rotate the existing temporary root/session epoch before config/header/provider
|
|
57
|
+
evaluation, including subagent scopes. Early affected-action failures invalidate
|
|
58
|
+
the epoch before reporting denial. Restoring exact config bytes cannot revive
|
|
59
|
+
an old proof. SessionStart remains advisory; this reset grants no access.
|
|
60
|
+
The owner prepends the strictly leading
|
|
61
|
+
`<!-- lisa-required-access:v1` header and preserves every following body/comment
|
|
62
|
+
byte. Then run `--task --ref <canonical-ref>` before claim and act on its semantic
|
|
63
|
+
outcome. `ESTABLISHED` exits0 and proves only the exercised scope. `DENIED` exits2
|
|
64
|
+
and stops the affected action. `NATIVE_OWNER_REQUIRED` exits3: the documented
|
|
65
|
+
native owner must perform its actual immediate identity/resource probe before
|
|
66
|
+
the claim or affected continuation. It is not shell PASS or a definitive access
|
|
67
|
+
failure; do not repeat an unobservable check forever. A complete empty array checks routing and declared requirements;
|
|
68
|
+
it proves no other integration. Never use credential-only for an integration
|
|
69
|
+
whose identity/resource/operation must be proved. Never supply values, executable
|
|
70
|
+
paths, commands, argv, arbitrary URLs, JSON programs or successful attestations.
|
|
71
|
+
|
|
72
|
+
The header binds root, canonical ref/provider, body, effective config/provenance,
|
|
73
|
+
surface and requirement digests. The owner rereads them and the canonical binding
|
|
74
|
+
at every affected action. Missing, conflicting, incomplete, malformed or stale
|
|
75
|
+
metadata refuses; no cached pass survives a changed task/config/surface/body.
|
|
76
|
+
Only fixed owner adapters probe documented operations. GitHub's native keyring
|
|
77
|
+
route checks the configured repository, and proves only that GitHub operation.
|
|
78
|
+
Supported injected access needs no vault tool, bootstrap or health proof.
|
|
79
|
+
Routing credential names are capability proxies: a complete task capability for
|
|
80
|
+
the same routed vendor may establish access through its documented native owner.
|
|
81
|
+
An explicit `secrets.require` or credential-only task assertion remains independent
|
|
82
|
+
and must be satisfied before any handoff. An omitted routed capability still
|
|
83
|
+
checks its routing floor; an unrelated capability cannot satisfy that floor.
|
|
84
|
+
|
|
85
|
+
Native PreToolUse adapters call this same owner and withhold ordinary DENIED and
|
|
86
|
+
NATIVE_OWNER_REQUIRED actions; no-context/no-binding is not a mutation grant.
|
|
87
|
+
SessionStart stays advisory. Only fixed orientation/recovery, owner loading and
|
|
88
|
+
the expected documented read-only probes remain available while pending.
|
|
89
|
+
Fixed orientation reads remain available.
|
|
90
|
+
Required source errors use fixed safe diagnoses and recovery actions; never
|
|
91
|
+
reflect requirement identifiers/resources/paths, parse errors or provider output.
|
|
92
|
+
Do not block unrelated tasks or require optional integrations universally.
|
|
93
|
+
|
|
94
|
+
The exact readiness owner command (`node <owner>/preflight-secrets.mjs --task
|
|
95
|
+
--ref <canonical-ref>`, or `--prepare` with that ref and JSON on terminal stdin)
|
|
96
|
+
remains available during refusal. It grants no work: task mode still reports its
|
|
97
|
+
real verdict, and preparation only refreshes the ignored requirements metadata.
|
|
98
|
+
Only the exact native context Write/Add File forms above carry private metadata.
|
|
99
|
+
General shell chaining, redirects and unrelated commands are not exceptions.
|
|
100
|
+
|
|
101
|
+
### Native connector representation gap
|
|
102
|
+
|
|
103
|
+
The reference native owner has one narrow Notion self/fetch before/after bridge.
|
|
104
|
+
It uses runtime call/session/input and approved connection provenance, stable self
|
|
105
|
+
identity, and a recognized positive exact-resource MCP output. Arbitrary text,
|
|
106
|
+
empty success, supplied status, unsolicited/replayed results and wrong identity
|
|
107
|
+
cannot mint proof. Every pending scope must be covered, and the next identical
|
|
108
|
+
ordinary action atomically consumes the complete temporary observation once.
|
|
109
|
+
State contains safe indexes/hashes, not arguments, private IDs, result text or
|
|
110
|
+
credential values. Changed root/task/config/context/surface/action, failures and
|
|
111
|
+
intervening work invalidate it; no durable PASS or new binding schema exists.
|
|
112
|
+
|
|
113
|
+
Several runtimes have after-tool events but lack qualified response/provenance
|
|
114
|
+
forwarding here. Standard Notion output without the supported typed positive
|
|
115
|
+
contract, ChatGPT's different fetch shape, and missing native call/provenance
|
|
116
|
+
fields are `native-response-unrepresented`, not vendor/tool/credential absence.
|
|
117
|
+
Ordinary work remains withheld. The documented
|
|
118
|
+
`lisa-notion-access`, `lisa-linear-access` and `lisa-atlassian-access` native routes
|
|
119
|
+
remain valid when tier1 is genuinely unavailable; their actual immediate
|
|
120
|
+
identity/resource probe and guarded write/readback own the affected native
|
|
121
|
+
operation. A supplied passed status, transcript or shell absence proves nothing.
|
|
122
|
+
Capability credential names are primary candidates, not independent mandatory
|
|
123
|
+
secrets that can prevent a documented fallback. Explicit config assertions and
|
|
124
|
+
routing-floor obligations remain mandatory with their existing exceptions.
|
|
125
|
+
Supported primary resolution precedes eligible fallback; wrong identity cannot
|
|
126
|
+
be hidden by connector handoff. Provider health and capability proof stay separate.
|
|
127
|
+
Only the represented event/response contract is machine-enforced; fixture or
|
|
128
|
+
callback results do not establish native-agent execution. Otherwise report the
|
|
129
|
+
precise response mapping gap and retain the ordinary-action refusal and existing
|
|
130
|
+
owner's immediate probe/write/readback duty. A mismatched identity never authorizes
|
|
131
|
+
a fallback. Provider health and capability proof remain distinct observations.
|
|
132
|
+
|
|
133
|
+
Descriptors can name integrations beyond the executable adapters. Existing
|
|
134
|
+
documented native owners remain authoritative. Without such a native route,
|
|
135
|
+
unsupported executable observation is DENIED (adapter-unsupported), not an
|
|
136
|
+
invented connector handoff or malformed metadata. A documented cheapest
|
|
137
|
+
authenticated read still needs an implemented supported adapter. No header supplies
|
|
138
|
+
executable code, URLs, argv or attestations. Credential diagnoses use bounded
|
|
139
|
+
schema-validated public keys and generated requirement indexes, never raw
|
|
140
|
+
requirement IDs/resources or a fixture-name allowlist.
|
|
141
|
+
The bounded GitGuardian `token-read` adapter resolves GITGUARDIAN_API_KEY through
|
|
142
|
+
the same sources, reads the fixed API token-self endpoint, and compares its
|
|
143
|
+
workspace to the optional task-specific `gitguardian.workspaceId` anchor. It
|
|
144
|
+
proves that scoped token read, not a scan or vault health. API authority:
|
|
145
|
+
[GitGuardian API](https://api.gitguardian.com/docs). Projects not needing this
|
|
146
|
+
operation do not need this anchor or credential.
|
|
147
|
+
GitHub reads its repository/permissions separately from the authenticated user.
|
|
148
|
+
Native keyring success avoids a vault lookup. When native authentication is
|
|
149
|
+
unavailable, the same supported env/file/provider ladder supplies GH_TOKEN only
|
|
150
|
+
to the scoped gh child's in-memory environment, clearing conflicting aliases.
|
|
151
|
+
Wrong native identity never silently falls back. API failure is not vault outage.
|
|
152
|
+
An observed actor ID comes only from `/user`, never a repository viewer field;
|
|
153
|
+
repository access does not imply the actor owns that repository. Installation
|
|
154
|
+
tokens without `/user` prove repository scope only, with actor explicitly unobserved.
|
|
155
|
+
|
|
156
|
+
Claude, Codex, Cursor, Copilot and Devin receive the shared native before-tool
|
|
157
|
+
hook; OpenCode throws from tool.execute.before. Antigravity's run_command adapter
|
|
158
|
+
can cancel shell work; it has no SessionStart. Equivalent file-edit/native-MCP
|
|
159
|
+
response interception is not implemented by this adapter; the generator contract
|
|
160
|
+
does list PostToolUse support, so this is not a claim that agy lacks that event.
|
|
161
|
+
Generated artifact parity does not establish native
|
|
162
|
+
execution on any platform. Preserve the existing access ordering and hold/leaf/
|
|
163
|
+
scope/idempotency guards. Stop/report independently of tracker write success.
|
|
164
|
+
|
|
5
165
|
- If you can't reach something you need, such as a repository, a secret, an API, or a connector, say exactly what's missing in your first message and stop. Don't substitute, mock, or guess.
|
|
6
166
|
|
|
7
167
|
If the missing access is discovered after work begins, say exactly what's
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Tracked Work
|
|
2
2
|
|
|
3
|
+
Before claim or normal project mutations, follow `tool-access-gate` Task readiness. The only preclaim write exception is the bounded requirements-only header in the ignored work-item context; it grants no access. Preserve body/comments, holds, leaf/scope checks, and the canonical binding schema. Recheck new requirements and current scope before affected work; failure reporting never depends on a successful tracker write.
|
|
4
|
+
|
|
3
5
|
Apply `do-it-now` before creating work from incidental findings. Declining an observation needs no new ticket. Related small accepted repairs may share one bounded maintenance leaf; traceability does not require a separate item for every nit.
|
|
4
6
|
|
|
5
7
|
The project tracker is the durable operator-facing record for project work. Every session that will produce a durable project outcome must establish exactly one live configured-tracker leaf before the first durable mutation. Durable outcomes include code, tests, configuration, documentation, committed research or plans, investigation findings, commits, and pull requests. Read-only questions, discussion, and repository orientation are exempt until they turn into durable work.
|
|
@@ -201,6 +201,37 @@ and the section shows that ledger's actual tokens and cost beside the estimate
|
|
|
201
201
|
(`lisa-estimate.mjs tally`). It is `N/A` when the project turns the
|
|
202
202
|
requirement off. Nobody is ever asked for an estimate.
|
|
203
203
|
|
|
204
|
+
## Release switch (gate S22)
|
|
205
|
+
|
|
206
|
+
Whatever is on a shared branch can be promoted to the next environment as it
|
|
207
|
+
stands (`coding-philosophy`, "Always Promotable"). So every leaf that changes
|
|
208
|
+
runtime behavior, in a project with live users, carries one `## Release Switch`
|
|
209
|
+
section with exactly one line:
|
|
210
|
+
|
|
211
|
+
```text
|
|
212
|
+
Live — complete and proven at merge
|
|
213
|
+
Switched off — <switch-name>; removed by this item
|
|
214
|
+
Switched off — <switch-name>; removed by <work-item ref>
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
One question decides the form: if this were promoted to production right now,
|
|
218
|
+
would a user see something unfinished or unproven? If no, the work is live and
|
|
219
|
+
gets no switch: bug fixes, small tweaks, copy changes, refactors and dependency
|
|
220
|
+
updates almost always are. The question decides, not the kind of work. If yes,
|
|
221
|
+
it is switched off, and the declaration names the
|
|
222
|
+
switch and the work item that removes it. The shipped
|
|
223
|
+
`scripts/lisa-release-switch.mjs` renders and checks the section for every
|
|
224
|
+
agent.
|
|
225
|
+
|
|
226
|
+
At write and ready time a proposed leaf with no declaration fails, because the
|
|
227
|
+
writer renders it. A leaf already in the tracker with none is `N/A` with a
|
|
228
|
+
repair note, and the claiming agent writes the declaration before any work
|
|
229
|
+
(`lisa-track`). A declaration that is present and malformed always fails. At
|
|
230
|
+
done time `lisa-work-item finish` refuses the item that removes a switch while
|
|
231
|
+
tracked source still references that switch. The gate is `N/A` for work that
|
|
232
|
+
changes no runtime behavior, for containers, and whenever the project sets
|
|
233
|
+
`release.liveUsers: false`. Nobody is ever asked which form applies.
|
|
234
|
+
|
|
204
235
|
## Relationship to the lifecycle
|
|
205
236
|
|
|
206
237
|
- **Write time** — `*-write-*` runs the applicable pre-write gates; a spec
|
|
@@ -316,8 +316,9 @@ Generated for: \`${platform}\`.
|
|
|
316
316
|
Profiles are named \`<project>-agent-<stage>\`, not bare \`dev\` or
|
|
317
317
|
\`production\`. The bundle supplies the stage; the project component comes from
|
|
318
318
|
\`LISA_AWS_PROFILE_NAMESPACE\`, then the bundle's \`namespace\`, then
|
|
319
|
-
\`<owner>-<repository>\` from this checkout's git origin.
|
|
320
|
-
|
|
319
|
+
\`<owner>-<repository>\` from this checkout's git origin. A bundle key that
|
|
320
|
+
already begins with \`agent-\` is not doubled: \`agent-dev\` and \`dev\` both become
|
|
321
|
+
\`<project>-agent-dev\`. Select an account explicitly, for example:
|
|
321
322
|
|
|
322
323
|
\`\`\`bash
|
|
323
324
|
aws --profile <project>-agent-staging sts get-caller-identity
|
|
@@ -187,6 +187,9 @@ remove_profile_section() {
|
|
|
187
187
|
|
|
188
188
|
temporary_file="$(mktemp "${file}.XXXXXX")"
|
|
189
189
|
awk -v section="$section" '
|
|
190
|
+
/^# >>> managed by lisa-secrets-access/ { managed = 1; in_section = 0 }
|
|
191
|
+
/^# <<< managed by lisa-secrets-access/ { managed = 0; in_section = 0 }
|
|
192
|
+
managed { print; next }
|
|
190
193
|
/^\[[^]]*\][[:space:]]*$/ {
|
|
191
194
|
current = $0
|
|
192
195
|
sub(/^\[[[:space:]]*/, "", current)
|
|
@@ -225,16 +228,21 @@ profile_setting_value() {
|
|
|
225
228
|
' "$file"
|
|
226
229
|
}
|
|
227
230
|
|
|
228
|
-
#
|
|
231
|
+
# Find profiles still using the old unnamespaced bootstrap. When selecting
|
|
232
|
+
# sections for deletion, omit managed blocks handled by a different writer.
|
|
229
233
|
#
|
|
230
234
|
# Identified by the retired bootstrap profile name, which only Lisa ever wrote,
|
|
231
235
|
# so an operator's own `[profile dev]` can never be mistaken for ours.
|
|
232
236
|
legacy_profile_sections() {
|
|
233
|
-
local file
|
|
237
|
+
local file selection
|
|
234
238
|
file="$1"
|
|
239
|
+
selection="$2"
|
|
235
240
|
[ -f "$file" ] || return 0
|
|
236
241
|
|
|
237
|
-
awk -v bootstrap="$LEGACY_BOOTSTRAP_PROFILE" '
|
|
242
|
+
awk -v bootstrap="$LEGACY_BOOTSTRAP_PROFILE" -v selection="$selection" '
|
|
243
|
+
/^# >>> managed by lisa-secrets-access/ { managed = 1; section = ""; next }
|
|
244
|
+
/^# <<< managed by lisa-secrets-access/ { managed = 0; section = ""; next }
|
|
245
|
+
selection == "prune" && managed { next }
|
|
238
246
|
/^\[[^]]*\][[:space:]]*$/ {
|
|
239
247
|
current = $0
|
|
240
248
|
sub(/^\[[[:space:]]*/, "", current)
|
|
@@ -242,15 +250,82 @@ legacy_profile_sections() {
|
|
|
242
250
|
section = current
|
|
243
251
|
next
|
|
244
252
|
}
|
|
245
|
-
|
|
253
|
+
# Dependency checks accept AWS CLI option casing and both INI delimiters.
|
|
254
|
+
# Retain the historical selector for reporting and pruning.
|
|
255
|
+
/^[[:space:]]*source_profile[[:space:]]*=/ ||
|
|
256
|
+
(selection == "references" && tolower($0) ~ /^[[:space:]]*source_profile[[:space:]]*[:=]/) {
|
|
246
257
|
value = $0
|
|
247
|
-
sub(/^[
|
|
258
|
+
sub(/^[^:=]*[:=][[:space:]]*/, "", value)
|
|
248
259
|
sub(/[[:space:]]*$/, "", value)
|
|
249
260
|
if (value == bootstrap && section != "") print section
|
|
250
261
|
}
|
|
251
262
|
' "$file"
|
|
252
263
|
}
|
|
253
264
|
|
|
265
|
+
# Sections an earlier run of THIS script wrote under the doubled spelling.
|
|
266
|
+
#
|
|
267
|
+
# Before stage keys were normalized, a bundle key `agent-dev` became
|
|
268
|
+
# `<namespace>-agent-agent-dev`. Those sections assume from this project's own
|
|
269
|
+
# bootstrap profile, so they are provably this project's output — not another
|
|
270
|
+
# tenant's (a different source profile) and not an operator's (who would not
|
|
271
|
+
# name this project's bootstrap profile). Names this run is about to write are
|
|
272
|
+
# excluded, so a bundle that genuinely names a stage `agent-x` keeps it.
|
|
273
|
+
# Retire one only when this run wrote a replacement with matching role and
|
|
274
|
+
# declared settings. An inactive stage can share this spelling and bootstrap.
|
|
275
|
+
doubled_profile_sections() {
|
|
276
|
+
local file
|
|
277
|
+
file="$1"
|
|
278
|
+
[ -f "$file" ] || return 0
|
|
279
|
+
|
|
280
|
+
awk -v canonical="profile ${PROFILE_NAMESPACE}-agent-" \
|
|
281
|
+
-v bootstrap="$BOOTSTRAP_PROFILE" \
|
|
282
|
+
-v keep="$canonical_sections" '
|
|
283
|
+
function matches_when_declared(prior, current, key) {
|
|
284
|
+
return !((prior, key) in settings) || settings[prior, key] == settings[current, key]
|
|
285
|
+
}
|
|
286
|
+
BEGIN {
|
|
287
|
+
doubled = canonical "agent-"
|
|
288
|
+
count = split(keep, names, "|")
|
|
289
|
+
for (i = 1; i <= count; i++) wanted[names[i]] = 1
|
|
290
|
+
}
|
|
291
|
+
# A lisa-secrets-access managed block is regenerated by that writer only.
|
|
292
|
+
/^# >>> managed by lisa-secrets-access/ { managed = 1; section = ""; next }
|
|
293
|
+
/^# <<< managed by lisa-secrets-access/ { managed = 0; section = ""; next }
|
|
294
|
+
managed { next }
|
|
295
|
+
/^\[[^]]*\][[:space:]]*$/ {
|
|
296
|
+
current = $0
|
|
297
|
+
sub(/^\[[[:space:]]*/, "", current)
|
|
298
|
+
sub(/[[:space:]]*\][[:space:]]*$/, "", current)
|
|
299
|
+
section = current
|
|
300
|
+
sections[++section_count] = section
|
|
301
|
+
seen[section]++
|
|
302
|
+
next
|
|
303
|
+
}
|
|
304
|
+
section != "" && tolower($0) ~ /^[[:space:]]*(source_profile|role_arn|region|external_id)[[:space:]]*[:=]/ {
|
|
305
|
+
key = tolower($0)
|
|
306
|
+
sub(/^[[:space:]]*/, "", key)
|
|
307
|
+
sub(/[[:space:]]*[:=].*$/, "", key)
|
|
308
|
+
value = $0
|
|
309
|
+
sub(/^[^:=]*[:=][[:space:]]*/, "", value)
|
|
310
|
+
sub(/[[:space:]]*$/, "", value)
|
|
311
|
+
settings[section, key] = value
|
|
312
|
+
}
|
|
313
|
+
END {
|
|
314
|
+
for (i = 1; i <= section_count; i++) {
|
|
315
|
+
section = sections[i]
|
|
316
|
+
replacement = canonical substr(section, length(doubled) + 1)
|
|
317
|
+
if (index(section, doubled) == 1 && !(section in wanted) &&
|
|
318
|
+
(replacement in wanted) && seen[section] == 1 && seen[replacement] == 1 &&
|
|
319
|
+
settings[section, "source_profile"] == bootstrap &&
|
|
320
|
+
settings[section, "role_arn"] != "" &&
|
|
321
|
+
settings[section, "role_arn"] == settings[replacement, "role_arn"] &&
|
|
322
|
+
matches_when_declared(section, replacement, "region") &&
|
|
323
|
+
matches_when_declared(section, replacement, "external_id")) print section
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
' "$file"
|
|
327
|
+
}
|
|
328
|
+
|
|
254
329
|
sanitize_session_name() {
|
|
255
330
|
local candidate
|
|
256
331
|
candidate="$(printf '%s' "${LISA_REMOTE_AGENT:-remote-agent}" \
|
|
@@ -526,6 +601,21 @@ profiles_json="$(printf '%s' "$bootstrap_json" | jq -c '
|
|
|
526
601
|
end
|
|
527
602
|
')"
|
|
528
603
|
|
|
604
|
+
# One canonical name per stage: `<namespace>-agent-<stage>`, where `<stage>` is
|
|
605
|
+
# the bundle key with at most ONE leading `agent-` removed. Infra kits publish
|
|
606
|
+
# keys that already say `agent-` (`agent-dev`), so prefixing without normalizing
|
|
607
|
+
# produced `acme-agent-agent-dev`. This is the same rule as `stageOf` in
|
|
608
|
+
# lisa-secrets-access/scripts/aws-bootstrap.mjs — the other Lisa writer of these
|
|
609
|
+
# files — so one tenant gets one set of names whichever writer ran. Normalized
|
|
610
|
+
# once, here, so every later use of a stage (names, the default, the observer
|
|
611
|
+
# check) sees the same value.
|
|
612
|
+
printf '%s' "$profiles_json" | jq -e '
|
|
613
|
+
(type != "object") or
|
|
614
|
+
([keys[] | ltrimstr("agent-")] | (length == (unique | length)) and all(length > 0))
|
|
615
|
+
' >/dev/null || fail \
|
|
616
|
+
"bootstrap profile keys must name distinct stages: \"dev\" and \"agent-dev\" are the same stage, and \"agent-\" alone names none"
|
|
617
|
+
profiles_json="$(printf '%s' "$profiles_json" | jq -c 'if type == "object" then with_entries(.key |= ltrimstr("agent-")) else . end')"
|
|
618
|
+
|
|
529
619
|
namespace_resolution="$(resolve_namespace)"
|
|
530
620
|
PROFILE_NAMESPACE="${namespace_resolution%%$'\t'*}"
|
|
531
621
|
namespace_source="${namespace_resolution#*$'\t'}"
|
|
@@ -558,6 +648,7 @@ done < <(printf '%s' "$profiles_json" | jq -r '
|
|
|
558
648
|
')
|
|
559
649
|
|
|
560
650
|
default_stage="${LISA_AWS_DEFAULT_PROFILE:-dev}"
|
|
651
|
+
default_stage="${default_stage#agent-}"
|
|
561
652
|
if ! printf '%s' "$profiles_json" | jq -e --arg stage "$default_stage" 'has($stage)' >/dev/null; then
|
|
562
653
|
default_stage="$(printf '%s' "$profiles_json" | jq -r 'keys[0]')"
|
|
563
654
|
fi
|
|
@@ -580,23 +671,33 @@ chmod 700 "$HOME/.aws"
|
|
|
580
671
|
|
|
581
672
|
profile_names="$(printf '%s' "$profiles_json" \
|
|
582
673
|
| jq -r --arg namespace "$PROFILE_NAMESPACE" 'keys | map($namespace + "-agent-" + .) | join(", ")')"
|
|
674
|
+
canonical_sections="$(printf '%s' "$profiles_json" \
|
|
675
|
+
| jq -r --arg namespace "$PROFILE_NAMESPACE" 'keys | map("profile " + $namespace + "-agent-" + .) | join("|")')"
|
|
583
676
|
|
|
584
677
|
# Migration: the previous convention's profiles are still on this workstation.
|
|
585
678
|
#
|
|
586
679
|
# They are reported rather than removed, because deleting a profile an operator
|
|
587
680
|
# may still be using is its own silent surprise. Pruning is opt-in and says
|
|
588
681
|
# exactly what it removed.
|
|
589
|
-
|
|
682
|
+
prune_legacy="${LISA_AWS_PRUNE_LEGACY_PROFILES:-0}"
|
|
683
|
+
legacy_selection="report"
|
|
684
|
+
if [ "$prune_legacy" = "1" ]; then legacy_selection="prune"; fi
|
|
685
|
+
legacy_sections="$(legacy_profile_sections "$config_file" "$legacy_selection")"
|
|
590
686
|
legacy_names=""
|
|
591
687
|
if [ -n "$legacy_sections" ]; then
|
|
592
688
|
legacy_names="$(printf '%s\n' "$legacy_sections" | sed 's/^profile //' | paste -sd ',' - | sed 's/,/, /g')"
|
|
593
|
-
if [ "$
|
|
689
|
+
if [ "$prune_legacy" = "1" ]; then
|
|
594
690
|
printf '%s\n' "$legacy_sections" | while IFS= read -r section; do
|
|
595
691
|
[ -n "$section" ] || continue
|
|
596
692
|
remove_profile_section "$config_file" "$section"
|
|
597
693
|
done
|
|
598
|
-
|
|
599
|
-
|
|
694
|
+
remaining_legacy_sections="$(legacy_profile_sections "$config_file" references)"
|
|
695
|
+
if [ -z "$remaining_legacy_sections" ]; then
|
|
696
|
+
remove_profile_section "$config_file" "profile ${LEGACY_BOOTSTRAP_PROFILE}"
|
|
697
|
+
remove_profile_section "$credentials_file" "$LEGACY_BOOTSTRAP_PROFILE"
|
|
698
|
+
else
|
|
699
|
+
echo "remote-agent-aws-setup: retained legacy bootstrap ${LEGACY_BOOTSTRAP_PROFILE} because remaining profiles use it" >&2
|
|
700
|
+
fi
|
|
600
701
|
fi
|
|
601
702
|
fi
|
|
602
703
|
|
|
@@ -640,6 +741,18 @@ while IFS="$(printf '\t')" read -r stage role_arn region; do
|
|
|
640
741
|
aws configure set region "$region" --profile "$profile_name"
|
|
641
742
|
done < <(printf '%s' "$profiles_json" | jq -r 'to_entries[] | [.key, .value.roleArn, .value.region] | @tsv')
|
|
642
743
|
|
|
744
|
+
# Retire doubled names for the stages this run just wrote. Writing the
|
|
745
|
+
# replacements first keeps a usable profile if a write fails. A doubled name
|
|
746
|
+
# for a stage outside this bundle or with different settings remains available.
|
|
747
|
+
doubled_sections="$(doubled_profile_sections "$config_file")"
|
|
748
|
+
if [ -n "$doubled_sections" ]; then
|
|
749
|
+
printf '%s\n' "$doubled_sections" | while IFS= read -r section; do
|
|
750
|
+
[ -n "$section" ] || continue
|
|
751
|
+
remove_profile_section "$config_file" "$section"
|
|
752
|
+
done
|
|
753
|
+
echo "remote-agent-aws-setup: removed doubled profile names left by an earlier bootstrap: $(printf '%s\n' "$doubled_sections" | sed 's/^profile //' | paste -sd ',' - | sed 's/,/, /g')" >&2
|
|
754
|
+
fi
|
|
755
|
+
|
|
643
756
|
default_profile="${PROFILE_NAMESPACE}-agent-${default_stage}"
|
|
644
757
|
if [ "$claim_default" = "1" ]; then
|
|
645
758
|
aws configure set role_arn "$default_role_arn" --profile default
|
|
@@ -681,7 +794,7 @@ if [ "${LISA_AWS_SKIP_VERIFY:-0}" != "1" ]; then
|
|
|
681
794
|
fi
|
|
682
795
|
|
|
683
796
|
if [ -n "$legacy_names" ]; then
|
|
684
|
-
if [ "$
|
|
797
|
+
if [ "$prune_legacy" = "1" ]; then
|
|
685
798
|
echo "remote-agent-aws-setup: removed unnamespaced profiles left by an earlier bootstrap: ${legacy_names}" >&2
|
|
686
799
|
else
|
|
687
800
|
echo "remote-agent-aws-setup: ${config_file} still contains unnamespaced profiles written by an earlier Lisa bootstrap: ${legacy_names}. They name a stage but no owner, so on a workstation carrying more than one organisation they can resolve to another tenant's account. Review them, or re-run with LISA_AWS_PRUNE_LEGACY_PROFILES=1 to delete the ones Lisa wrote." >&2
|
|
@@ -6,6 +6,19 @@ allowed-tools: ["Bash", "Read", "Skill"]
|
|
|
6
6
|
|
|
7
7
|
# Atlassian Access: $ARGUMENTS
|
|
8
8
|
|
|
9
|
+
The shared readiness before/after owner represents the existing native
|
|
10
|
+
`issue-type-metadata` and `list-spaces` reads. After the ordinary action is
|
|
11
|
+
withheld, the approved Atlassian plugin's exact
|
|
12
|
+
`getAccessibleAtlassianResources {}` must return the configured cloud ID and
|
|
13
|
+
site. Then `getJiraProjectIssueTypesMetadata {cloudId,projectIdOrKey}` must return
|
|
14
|
+
the documented typed issue-types page, or `getConfluenceSpaces {cloudId}` the
|
|
15
|
+
typed spaces results. Returned tenant/resource identity must match where present.
|
|
16
|
+
Every required row is proved on the same connection/call/session/action scope;
|
|
17
|
+
only then can the identical ordinary action consume one observation. Discovery
|
|
18
|
+
admission alone grants nothing. Unrecognized result variants remain an exact
|
|
19
|
+
representation gap, not an authentication or platform-impossibility claim.
|
|
20
|
+
Independent `secrets.require` and credential-only assertions are still mandatory.
|
|
21
|
+
|
|
9
22
|
Single chokepoint for all Atlassian operations. Routes each op to a substrate, enforces connection match, returns structured result. Caller skills (`jira-*`, `confluence-*`) MUST go through this — they MUST NOT invoke `acli` directly, call Atlassian MCP tools directly, or curl the Atlassian REST API themselves.
|
|
10
23
|
|
|
11
24
|
## Invocation contract
|
|
@@ -348,9 +348,16 @@ part left without them stays unproved however well everything else is set up. Wr
|
|
|
348
348
|
knowing the tool, which is why you write them. Code then tries them and tells you whether they
|
|
349
349
|
work.
|
|
350
350
|
|
|
351
|
-
**On the paved road,
|
|
352
|
-
|
|
353
|
-
|
|
351
|
+
**On the paved road, reuse the installed proof pairs.** Lisa seeds a pair when its installed files
|
|
352
|
+
and task match the shipped template. The traceability pair uses the native push gate in a
|
|
353
|
+
disposable copy. Its clean case reads the live work item from the baseline commit, so run that
|
|
354
|
+
proof with `--acknowledge-external-effects` after confirming tracker read access. A check without
|
|
355
|
+
an applicable pair reads unproved. The shipped test and coverage recipes require Vitest.
|
|
356
|
+
|
|
357
|
+
The production dependency pair uses a Bun text lockfile. It changes the version of an existing
|
|
358
|
+
transitive dependency to a version with a public advisory and a patched version in separate
|
|
359
|
+
disposable lockfiles. Dependency installation and lifecycle scripts are disabled. The pair reads
|
|
360
|
+
registry metadata and the live advisory service when external effects are acknowledged.
|
|
354
361
|
|
|
355
362
|
Take the parts you declared in this run one at a time.
|
|
356
363
|
|
|
@@ -439,6 +446,13 @@ identify the commands. For example, a Bun project with Lefthook may need
|
|
|
439
446
|
`[["bun", "install", "--frozen-lockfile"], ["./node_modules/.bin/lefthook", "install"]]`.
|
|
440
447
|
Record the approved commands in the committed config before trying the pairs.
|
|
441
448
|
|
|
449
|
+
The whole-repository TypeScript setup includes pairs for staged lint, formatting, structural rules,
|
|
450
|
+
slow lint, type checking, dead code, unit tests, integration tests, and coverage when the installed
|
|
451
|
+
tasks and patch files match the template. The formatting pair starts with CSS the formatter cannot parse.
|
|
452
|
+
Add a proof for each remaining required control. Commit the current work item and attribution
|
|
453
|
+
trailers with the proof setup. The temporary commit uses those trailers so the installed Git hooks
|
|
454
|
+
can validate it through their usual path.
|
|
455
|
+
|
|
442
456
|
Before the first run that uses those commands, show their exact arguments and
|
|
443
457
|
ask the operator once. For example, “May I run these setup commands in the
|
|
444
458
|
temporary copy? They can use this machine's network and credentials.” Carry
|
|
@@ -541,10 +555,8 @@ In plain language, for someone who does not code:
|
|
|
541
555
|
3. Each threshold: what is measured, the value measured today, and the value the operator
|
|
542
556
|
confirmed.
|
|
543
557
|
4. For each check, in one sentence, that a test change showed it catches a problem: it refused a
|
|
544
|
-
small change that breaks its rule and let a harmless one through. Name each check
|
|
545
|
-
|
|
546
|
-
checks that come with the project type; otherwise, what stood in the way. A check without them
|
|
547
|
-
stays unproved.
|
|
558
|
+
small change that breaks its rule and let a harmless one through. Name each unproved check
|
|
559
|
+
and state the reason the proof did not apply or could not run.
|
|
548
560
|
5. What was **not** declared and why: each open question, with who is likely to know the answer,
|
|
549
561
|
and that it is answered by typing on its answer line in `.lisa/audit/report.md` and running
|
|
550
562
|
`/lisa:audit` again; each proposal the operator declined; each decision still waiting because
|