@codyswann/lisa 8.8.0 → 8.10.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-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/core/lisa-owned-hash-ledger.json +118 -4
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/nightly-e2e-guard-behavior-certificate.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.json +107 -44
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/scripts/intake-blocker-reprobe.mjs +195 -23
- package/plugins/lisa/.codex-plugin/scripts/operator-id-kinds.mjs +41 -2
- package/plugins/lisa/.codex-plugin/scripts/ready-queue-order.mjs +69 -0
- 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 +10 -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 +34 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-implement/SKILL.md +10 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +10 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/validate-config.mjs +94 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +11 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-cycle.mjs +3 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-human.mjs +3 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-orphans.mjs +4 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-queue.mjs +8 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/config.mjs +28 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/orphan-sweep.mjs +2 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/queue-github.mjs +4 -1
- 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-build-intake/SKILL.md +11 -1
- 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/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 +5 -2
- package/plugins/lisa/rules/reference/intent-routing.md +2 -2
- package/plugins/lisa/rules/reference/ready-role-filing.md +55 -5
- package/plugins/lisa/rules/reference/work-item-definition-of-ready.md +31 -0
- package/plugins/lisa/scripts/intake-blocker-reprobe.mjs +195 -23
- package/plugins/lisa/scripts/operator-id-kinds.mjs +41 -2
- package/plugins/lisa/scripts/ready-queue-order.mjs +69 -0
- 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 +10 -0
- package/plugins/lisa/skills/lisa-github-validate-issue/SKILL.md +27 -1
- package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +34 -1
- package/plugins/lisa/skills/lisa-implement/SKILL.md +10 -2
- package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +10 -0
- package/plugins/lisa/skills/lisa-jira-validate-ticket/SKILL.md +27 -1
- package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +34 -1
- package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +10 -0
- package/plugins/lisa/skills/lisa-linear-validate-issue/SKILL.md +26 -0
- package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +34 -1
- package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +10 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/validate-config.mjs +94 -4
- package/plugins/lisa/skills/lisa-session-manager/SKILL.md +11 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-cycle.mjs +3 -3
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-human.mjs +3 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-orphans.mjs +4 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-queue.mjs +8 -5
- package/plugins/lisa/skills/lisa-session-manager/scripts/config.mjs +28 -4
- package/plugins/lisa/skills/lisa-session-manager/scripts/orphan-sweep.mjs +2 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/queue-github.mjs +4 -1
- 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-build-intake/SKILL.md +11 -1
- package/plugins/lisa/skills/lisa-verify/SKILL.md +4 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/intake-blocker-reprobe.mjs +195 -23
- package/plugins/lisa-agy/scripts/operator-id-kinds.mjs +41 -2
- package/plugins/lisa-agy/scripts/ready-queue-order.mjs +69 -0
- 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 +10 -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 +34 -1
- package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +10 -2
- package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +10 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/validate-config.mjs +94 -4
- package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +11 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-cycle.mjs +3 -3
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-human.mjs +3 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-orphans.mjs +4 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-queue.mjs +8 -5
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/config.mjs +28 -4
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/orphan-sweep.mjs +2 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/queue-github.mjs +4 -1
- 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-build-intake/SKILL.md +11 -1
- 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 +1 -1
- package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +235 -3
- 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 +5 -2
- package/plugins/lisa-copilot/rules/reference/intent-routing.md +2 -2
- package/plugins/lisa-copilot/rules/reference/ready-role-filing.md +55 -5
- package/plugins/lisa-copilot/rules/reference/work-item-definition-of-ready.md +31 -0
- package/plugins/lisa-copilot/scripts/intake-blocker-reprobe.mjs +195 -23
- package/plugins/lisa-copilot/scripts/operator-id-kinds.mjs +41 -2
- package/plugins/lisa-copilot/scripts/ready-queue-order.mjs +69 -0
- 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 +10 -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 +34 -1
- package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +10 -2
- package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +10 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/validate-config.mjs +94 -4
- package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +11 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-cycle.mjs +3 -3
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-human.mjs +3 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-orphans.mjs +4 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-queue.mjs +8 -5
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/config.mjs +28 -4
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/orphan-sweep.mjs +2 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/queue-github.mjs +4 -1
- 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-build-intake/SKILL.md +11 -1
- 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/inject-resolved-config.mjs +235 -3
- 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 +5 -2
- package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +2 -2
- package/plugins/lisa-cursor/rules/ready-role-filing-reference.mdc +55 -5
- package/plugins/lisa-cursor/rules/work-item-definition-of-ready-reference.mdc +31 -0
- package/plugins/lisa-cursor/scripts/intake-blocker-reprobe.mjs +195 -23
- package/plugins/lisa-cursor/scripts/operator-id-kinds.mjs +41 -2
- package/plugins/lisa-cursor/scripts/ready-queue-order.mjs +69 -0
- 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 +10 -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 +34 -1
- package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +10 -2
- package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +10 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/validate-config.mjs +94 -4
- package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +11 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-cycle.mjs +3 -3
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-human.mjs +3 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-orphans.mjs +4 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-queue.mjs +8 -5
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/config.mjs +28 -4
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/orphan-sweep.mjs +2 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/queue-github.mjs +4 -1
- 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-build-intake/SKILL.md +11 -1
- 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/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 +5 -2
- package/plugins/lisa-devin/rules/reference/intent-routing.md +2 -2
- package/plugins/lisa-devin/rules/reference/ready-role-filing.md +55 -5
- package/plugins/lisa-devin/rules/reference/work-item-definition-of-ready.md +31 -0
- package/plugins/lisa-devin/scripts/intake-blocker-reprobe.mjs +195 -23
- package/plugins/lisa-devin/scripts/operator-id-kinds.mjs +41 -2
- package/plugins/lisa-devin/scripts/ready-queue-order.mjs +69 -0
- 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 +10 -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 +34 -1
- package/plugins/lisa-devin/skills/lisa-implement/SKILL.md +10 -2
- package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/lisa-devin/skills/lisa-repair-intake/SKILL.md +10 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/validate-config.mjs +94 -4
- package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +11 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-cycle.mjs +3 -3
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-human.mjs +3 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-orphans.mjs +4 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-queue.mjs +8 -5
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/config.mjs +28 -4
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/orphan-sweep.mjs +2 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/queue-github.mjs +4 -1
- 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-build-intake/SKILL.md +11 -1
- 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/src/base/hooks/inject-resolved-config.mjs +235 -3
- 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 +5 -2
- package/plugins/src/base/rules/reference/intent-routing.md +2 -2
- package/plugins/src/base/rules/reference/ready-role-filing.md +55 -5
- package/plugins/src/base/rules/reference/work-item-definition-of-ready.md +31 -0
- package/plugins/src/base/scripts/intake-blocker-reprobe.mjs +195 -23
- package/plugins/src/base/scripts/operator-id-kinds.mjs +41 -2
- package/plugins/src/base/scripts/ready-queue-order.mjs +69 -0
- 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 +10 -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 +34 -1
- package/plugins/src/base/skills/lisa-implement/SKILL.md +10 -2
- package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +10 -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 +34 -1
- package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +10 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs +94 -4
- package/plugins/src/base/skills/lisa-session-manager/SKILL.md +11 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs +3 -3
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-human.mjs +3 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-orphans.mjs +4 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-queue.mjs +8 -5
- package/plugins/src/base/skills/lisa-session-manager/scripts/config.mjs +28 -4
- package/plugins/src/base/skills/lisa-session-manager/scripts/orphan-sweep.mjs +2 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/queue-github.mjs +4 -1
- 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-build-intake/SKILL.md +11 -1
- package/plugins/src/base/skills/lisa-verify/SKILL.md +4 -1
- package/scripts/lisa-release-switch.mjs +9 -0
- package/scripts/two-channel-couplings.json +1 -1
- package/typescript/copy-overwrite/.prettierignore +2 -0
|
@@ -259,6 +259,29 @@ const LOW_CONFIDENCE_VALUES = ["human-triage", "auto-merge"];
|
|
|
259
259
|
/** The mode in force when `humanGate.mode` is absent. */
|
|
260
260
|
const DEFAULT_MODE = HUMAN_GATE_MODE_VALUES[0];
|
|
261
261
|
|
|
262
|
+
/**
|
|
263
|
+
* Whether the project has live users (CodySwannGT/lisa#5188). It decides
|
|
264
|
+
* whether the always-promotable rule applies, so a session must see how it
|
|
265
|
+
* resolved even when the project declares nothing. Absent means `true`; a value
|
|
266
|
+
* that is not a boolean is treated as `true`, the stricter option. Both, and
|
|
267
|
+
* the fallback switch mechanism below, are copied from
|
|
268
|
+
* `all/copy-overwrite/scripts/lib/release-switch.mjs` (not importable from a
|
|
269
|
+
* plugin payload) and pinned against it by this hook's wiring test.
|
|
270
|
+
*/
|
|
271
|
+
const LIVE_USERS_PATH = "release.liveUsers";
|
|
272
|
+
|
|
273
|
+
/** What `release.liveUsers` resolves to when absent or invalid. */
|
|
274
|
+
const DEFAULT_LIVE_USERS = "true";
|
|
275
|
+
|
|
276
|
+
/** The switch mechanism a project names, if any. */
|
|
277
|
+
const SWITCH_MECHANISM_PATH = "release.switch.mechanism";
|
|
278
|
+
|
|
279
|
+
/** The mechanism in force when none is named: a plain configuration value that defaults to off. */
|
|
280
|
+
const DEFAULT_SWITCH_MECHANISM = "config-value";
|
|
281
|
+
|
|
282
|
+
/** The module that owns the `release.*` setting. */
|
|
283
|
+
const RELEASE_OWNER = "all/copy-overwrite/scripts/lib/release-switch.mjs";
|
|
284
|
+
|
|
262
285
|
/**
|
|
263
286
|
* Keys Lisa supplies a built-in value for when a project declares none.
|
|
264
287
|
*
|
|
@@ -315,6 +338,12 @@ export const BUILT_IN_DEFAULTS = [
|
|
|
315
338
|
strict: "default",
|
|
316
339
|
owner: "src/core/project-config-dependencies.ts",
|
|
317
340
|
},
|
|
341
|
+
{ path: LIVE_USERS_PATH, value: DEFAULT_LIVE_USERS, owner: RELEASE_OWNER },
|
|
342
|
+
{
|
|
343
|
+
path: SWITCH_MECHANISM_PATH,
|
|
344
|
+
value: DEFAULT_SWITCH_MECHANISM,
|
|
345
|
+
owner: RELEASE_OWNER,
|
|
346
|
+
},
|
|
318
347
|
];
|
|
319
348
|
|
|
320
349
|
/**
|
|
@@ -341,6 +370,7 @@ const SUBTREE_ORDER = [
|
|
|
341
370
|
"repo",
|
|
342
371
|
"workItem",
|
|
343
372
|
"deploy",
|
|
373
|
+
"release",
|
|
344
374
|
"github",
|
|
345
375
|
"jira",
|
|
346
376
|
"linear",
|
|
@@ -812,12 +842,25 @@ function invalidModeLine(config, owner) {
|
|
|
812
842
|
function renderHumanGate(config, out) {
|
|
813
843
|
const block = config.humanGate;
|
|
814
844
|
if (!isObject(block)) return;
|
|
815
|
-
const { mode: _mode, ...rest } = block;
|
|
845
|
+
const { mode: _mode, humanOnly, ...rest } = block;
|
|
816
846
|
const resolution = modeResolution(config);
|
|
817
847
|
if (resolution.declared && resolution.rejected.length === 0) {
|
|
818
848
|
out.push(`${HUMAN_GATE_MODE_PATH}: ${resolution.mode}`);
|
|
819
849
|
}
|
|
820
|
-
|
|
850
|
+
// `humanOnly` is a list of decision classes. Anything else names none, and
|
|
851
|
+
// is stated by kind only: its contents are not ours to print into a session.
|
|
852
|
+
if (humanOnly !== undefined && !Array.isArray(humanOnly)) {
|
|
853
|
+
out.push(
|
|
854
|
+
`humanGate.humanOnly: INVALID — this project declares ${shownRejected(humanOnly)}, which is not a list of decision classes.`
|
|
855
|
+
);
|
|
856
|
+
renderSubtree(rest, "humanGate", out);
|
|
857
|
+
return;
|
|
858
|
+
}
|
|
859
|
+
renderSubtree(
|
|
860
|
+
humanOnly === undefined ? rest : { ...rest, humanOnly },
|
|
861
|
+
"humanGate",
|
|
862
|
+
out
|
|
863
|
+
);
|
|
821
864
|
}
|
|
822
865
|
|
|
823
866
|
/**
|
|
@@ -848,6 +891,176 @@ function invalidLowConfidenceLine(config, fallback, owner) {
|
|
|
848
891
|
return `${LOW_CONFIDENCE_PATH}: ${fallback} [INVALID — this project declares ${JSON.stringify(config.learnings.lowConfidence)}, which is not one of ${accepted}; treated as ${fallback}; owner: ${owner}]`;
|
|
849
892
|
}
|
|
850
893
|
|
|
894
|
+
/**
|
|
895
|
+
* A rejected `release.*` value as it may be put in a session's context. An
|
|
896
|
+
* object or a list is named by its kind only: this block is injected into
|
|
897
|
+
* every session, and whatever sits inside a setting that should have been a
|
|
898
|
+
* word or a yes/no could be a credential that no pattern recognises.
|
|
899
|
+
* @param {unknown} value The declared value.
|
|
900
|
+
* @returns {string} Text safe to render.
|
|
901
|
+
*/
|
|
902
|
+
function shownRejected(value) {
|
|
903
|
+
if (Array.isArray(value)) return "a list";
|
|
904
|
+
if (isObject(value)) return "an object";
|
|
905
|
+
if (typeof value !== "string") return JSON.stringify(value);
|
|
906
|
+
// A mistyped yes/no or mechanism name is a short plain word, and showing it
|
|
907
|
+
// helps. Anything else is described, never quoted, and never cut short: the
|
|
908
|
+
// credential scrub runs on whole values, and a connection string with its
|
|
909
|
+
// host sliced off no longer looks like one to it.
|
|
910
|
+
return REJECTED_PLAIN_WORD.test(value)
|
|
911
|
+
? JSON.stringify(value)
|
|
912
|
+
: `a string of ${value.length} characters`;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
/** A short value made only of letters, digits, spaces, dots, underscores and hyphens. */
|
|
916
|
+
const REJECTED_PLAIN_WORD = /^[\w .-]{0,40}$/;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Whether a present `release.liveUsers` is unusable. Only a boolean says
|
|
920
|
+
* anything; `"false"` in quotes must not turn the rule off.
|
|
921
|
+
* @param {unknown} release The resolved `release` value.
|
|
922
|
+
* @returns {boolean} True when the key is present and not a boolean.
|
|
923
|
+
*/
|
|
924
|
+
function liveUsersInvalid(release) {
|
|
925
|
+
return (
|
|
926
|
+
isObject(release) &&
|
|
927
|
+
"liveUsers" in release &&
|
|
928
|
+
typeof release.liveUsers !== "boolean"
|
|
929
|
+
);
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* The INVALID line for an unusable `release.liveUsers`.
|
|
934
|
+
* @param {object} config Resolved config.
|
|
935
|
+
* @param {string} owner Module that owns the setting.
|
|
936
|
+
* @returns {string|null} The line, or null when the value is absent or valid.
|
|
937
|
+
*/
|
|
938
|
+
function invalidLiveUsersLine(config, owner) {
|
|
939
|
+
const release = config.release;
|
|
940
|
+
// A `release` that is not an object says nothing, so nothing under it is in
|
|
941
|
+
// force. Printing it as `release: false` would read as "the rule is off".
|
|
942
|
+
if (release !== undefined && !isObject(release)) {
|
|
943
|
+
return `${LIVE_USERS_PATH}: ${DEFAULT_LIVE_USERS} [INVALID — this project declares release as ${shownRejected(release)}, which is not an object; treated as ${DEFAULT_LIVE_USERS} (the project has live users); owner: ${owner}]`;
|
|
944
|
+
}
|
|
945
|
+
if (liveUsersInvalid(release)) {
|
|
946
|
+
return `${LIVE_USERS_PATH}: ${DEFAULT_LIVE_USERS} [INVALID — this project declares ${shownRejected(release.liveUsers)}, which is not true or false; treated as ${DEFAULT_LIVE_USERS} (the project has live users); owner: ${owner}]`;
|
|
947
|
+
}
|
|
948
|
+
// A key that differs only by letter case is not read at all, and it is the
|
|
949
|
+
// quietest way to believe the rule is off when it is on.
|
|
950
|
+
const misspelt = misspeltLiveUsersKey(release);
|
|
951
|
+
return misspelt === null || "liveUsers" in release
|
|
952
|
+
? null
|
|
953
|
+
: `${LIVE_USERS_PATH}: ${DEFAULT_LIVE_USERS} [INVALID — this project declares release.${misspelt}, which Lisa does not read (the key is ${LIVE_USERS_PATH}); treated as ${DEFAULT_LIVE_USERS} (the project has live users); owner: ${owner}]`;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* A `release` key that spells `liveUsers` with different letter case.
|
|
958
|
+
* @param {unknown} release The resolved `release` value.
|
|
959
|
+
* @returns {string|null} The key as written, or null when there is none.
|
|
960
|
+
*/
|
|
961
|
+
function misspeltLiveUsersKey(release) {
|
|
962
|
+
if (!isObject(release)) return null;
|
|
963
|
+
return (
|
|
964
|
+
Object.keys(release).find(
|
|
965
|
+
key => key !== "liveUsers" && key.toLowerCase() === "liveusers"
|
|
966
|
+
) ?? null
|
|
967
|
+
);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Whether the declared switch mechanism is unusable: `release.switch` that is
|
|
972
|
+
* not an object, or a mechanism that is not a non-empty string.
|
|
973
|
+
* @param {unknown} release The resolved `release` value.
|
|
974
|
+
* @returns {boolean} True when a mechanism was declared and cannot be used.
|
|
975
|
+
*/
|
|
976
|
+
function switchMechanismInvalid(release) {
|
|
977
|
+
if (!isObject(release) || !("switch" in release)) return false;
|
|
978
|
+
const block = release.switch;
|
|
979
|
+
if (!isObject(block)) return true;
|
|
980
|
+
return (
|
|
981
|
+
"mechanism" in block &&
|
|
982
|
+
!(typeof block.mechanism === "string" && block.mechanism.trim() !== "")
|
|
983
|
+
);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* The INVALID line for an unusable `release.switch.mechanism`.
|
|
988
|
+
* @param {object} config Resolved config.
|
|
989
|
+
* @param {string} owner Module that owns the setting.
|
|
990
|
+
* @returns {string|null} The line, or null when the value is absent or valid.
|
|
991
|
+
*/
|
|
992
|
+
function invalidSwitchMechanismLine(config, owner) {
|
|
993
|
+
if (!switchMechanismInvalid(config.release)) return null;
|
|
994
|
+
const block = config.release.switch;
|
|
995
|
+
const declared = isObject(block) ? block.mechanism : block;
|
|
996
|
+
const subject = isObject(block) ? "" : "release.switch as ";
|
|
997
|
+
return `${SWITCH_MECHANISM_PATH}: ${DEFAULT_SWITCH_MECHANISM} [INVALID — this project declares ${subject}${shownRejected(declared)}, which is not ${isObject(block) ? "a non-empty string" : "an object"}; treated as ${DEFAULT_SWITCH_MECHANISM}; owner: ${owner}]`;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* The INVALID line for a `release.switch.guide` that is not a non-empty
|
|
1002
|
+
* string. The guide has no default, so nothing else would mention it, and
|
|
1003
|
+
* dropping it in silence would hide a problem the doctor check reports.
|
|
1004
|
+
* @param {object} config Resolved config.
|
|
1005
|
+
* @returns {string|null} The line, or null when the guide is absent or usable.
|
|
1006
|
+
*/
|
|
1007
|
+
function invalidSwitchGuideLine(config) {
|
|
1008
|
+
const block = isObject(config.release) ? config.release.switch : undefined;
|
|
1009
|
+
if (!isObject(block) || !("guide" in block)) return null;
|
|
1010
|
+
const usable = typeof block.guide === "string" && block.guide.trim() !== "";
|
|
1011
|
+
return usable
|
|
1012
|
+
? null
|
|
1013
|
+
: `release.switch.guide: not set [INVALID — this project declares ${shownRejected(block.guide)}, which is not a non-empty string; treated as not set; owner: ${RELEASE_OWNER}]`;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Dotted names of the keys under `release` and `release.switch` that Lisa does
|
|
1018
|
+
* not read, the misspelt live-users key excluded (its own INVALID line names
|
|
1019
|
+
* it).
|
|
1020
|
+
* @param {unknown} release The resolved `release` value.
|
|
1021
|
+
* @returns {string[]} Key paths, in declaration order.
|
|
1022
|
+
*/
|
|
1023
|
+
function unreadReleaseKeys(release) {
|
|
1024
|
+
if (!isObject(release)) return [];
|
|
1025
|
+
const misspelt = misspeltLiveUsersKey(release);
|
|
1026
|
+
const block = isObject(release.switch) ? release.switch : {};
|
|
1027
|
+
return [
|
|
1028
|
+
...Object.keys(release)
|
|
1029
|
+
.filter(key => !["liveUsers", "switch", misspelt].includes(key))
|
|
1030
|
+
.map(key => `release.${key}`),
|
|
1031
|
+
...Object.keys(block)
|
|
1032
|
+
.filter(key => !["mechanism", "guide"].includes(key))
|
|
1033
|
+
.map(key => `release.switch.${key}`),
|
|
1034
|
+
].filter(path => !path.split(".").at(-1).startsWith("_"));
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* The `release` block with every unusable value removed, so the subtree
|
|
1039
|
+
* renderer never prints a rejected value as if it were in force. Each removed
|
|
1040
|
+
* value is stated once, by its INVALID gap line.
|
|
1041
|
+
* @param {unknown} release The resolved `release` value.
|
|
1042
|
+
* @returns {object|null} What may be rendered, or null when nothing may.
|
|
1043
|
+
*/
|
|
1044
|
+
function usableRelease(release) {
|
|
1045
|
+
if (!isObject(release)) return null;
|
|
1046
|
+
const { liveUsers, switch: block } = release;
|
|
1047
|
+
const text = value => typeof value === "string" && value.trim() !== "";
|
|
1048
|
+
// Only the keys Lisa reads are rendered with their values. A key it does not
|
|
1049
|
+
// read (a misspelling, or anything else) would otherwise be printed in full
|
|
1050
|
+
// and look like a setting in force; those are named by key in one line.
|
|
1051
|
+
const usableSwitch = isObject(block)
|
|
1052
|
+
? Object.fromEntries(
|
|
1053
|
+
["mechanism", "guide"]
|
|
1054
|
+
.filter(key => text(block[key]))
|
|
1055
|
+
.map(key => [key, block[key]])
|
|
1056
|
+
)
|
|
1057
|
+
: {};
|
|
1058
|
+
return {
|
|
1059
|
+
...(typeof liveUsers === "boolean" ? { liveUsers } : {}),
|
|
1060
|
+
...(Object.keys(usableSwitch).length > 0 ? { switch: usableSwitch } : {}),
|
|
1061
|
+
};
|
|
1062
|
+
}
|
|
1063
|
+
|
|
851
1064
|
/**
|
|
852
1065
|
* Render the `dependencies` block.
|
|
853
1066
|
*
|
|
@@ -889,7 +1102,11 @@ function renderDefaults(config) {
|
|
|
889
1102
|
? invalidModeLine(config, owner)
|
|
890
1103
|
: path === LOW_CONFIDENCE_PATH
|
|
891
1104
|
? invalidLowConfidenceLine(config, strict ?? value, owner)
|
|
892
|
-
:
|
|
1105
|
+
: path === LIVE_USERS_PATH
|
|
1106
|
+
? invalidLiveUsersLine(config, owner)
|
|
1107
|
+
: path === SWITCH_MECHANISM_PATH
|
|
1108
|
+
? invalidSwitchMechanismLine(config, owner)
|
|
1109
|
+
: null;
|
|
893
1110
|
if (invalid !== null) {
|
|
894
1111
|
lines.push(invalid);
|
|
895
1112
|
continue;
|
|
@@ -954,6 +1171,8 @@ function renderBody(config) {
|
|
|
954
1171
|
// so it is the line that must survive.
|
|
955
1172
|
/** @type {string[]} */
|
|
956
1173
|
const lines = renderDefaults(config);
|
|
1174
|
+
const guide = invalidSwitchGuideLine(config);
|
|
1175
|
+
if (guide !== null) lines.push(guide);
|
|
957
1176
|
const notification = renderNotificationLevel(config.sessionManager);
|
|
958
1177
|
if (notification !== null) lines.push(notification);
|
|
959
1178
|
const gapLines = lines.length;
|
|
@@ -991,6 +1210,19 @@ function renderBody(config) {
|
|
|
991
1210
|
renderHumanGate(config, lines);
|
|
992
1211
|
continue;
|
|
993
1212
|
}
|
|
1213
|
+
if (key === "release") {
|
|
1214
|
+
// Invalid values are stated once, by their INVALID gap lines; never as
|
|
1215
|
+
// if they were in force.
|
|
1216
|
+
const usable = usableRelease(config.release);
|
|
1217
|
+
if (usable !== null) renderSubtree(usable, key, lines);
|
|
1218
|
+
const unread = unreadReleaseKeys(config.release);
|
|
1219
|
+
if (unread.length > 0) {
|
|
1220
|
+
lines.push(
|
|
1221
|
+
`release: keys Lisa does not read (values not shown): ${unread.join(", ")}`
|
|
1222
|
+
);
|
|
1223
|
+
}
|
|
1224
|
+
continue;
|
|
1225
|
+
}
|
|
994
1226
|
if (key === "learnings" && lowConfidenceInvalid(config.learnings)) {
|
|
995
1227
|
// Stated once, by the INVALID gap line; never as if it were in force.
|
|
996
1228
|
const { lowConfidence: _invalid, ...rest } = config.learnings;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# Coding Philosophy (load-bearing)
|
|
2
2
|
|
|
3
|
-
- **KISS settles ties. YAGNI:** build what today's problem needs,
|
|
4
|
-
- **Hill-climbability.** Make localized changes with clear contracts
|
|
5
|
-
- **Immutability.** Create new values
|
|
3
|
+
- **KISS settles ties. YAGNI:** build what today's problem needs, no speculative abstraction or options. Extract shared code only when it repeats 3+ times and the abstraction is simpler than the duplication.
|
|
4
|
+
- **Hill-climbability.** Make localized, low-coupling changes with clear contracts, and leave a working baseline a later agent can find, change, verify, and keep or revert alone.
|
|
5
|
+
- **Immutability.** Create new values, never mutate; prefer `map`/`filter`/`reduce`. Where a stack rule forbids allocation on a hot path, the stack rule wins.
|
|
6
6
|
- **TDD for behavior changes.** Write the failing test first, make it pass, then refactor. Learn real behavior by running code before you write expectations.
|
|
7
7
|
- **Delete replaced code completely**, with no `V2` copies or compatibility shims. Framework migrations, such as Rails migrations, are ordinary code. Simplify your diff before you finish.
|
|
8
8
|
- **No technical debt.** Fix failures in the change that surfaces them. Never add quarantine, baseline or exemption lists, silence a check, or defer part of the job as "follow-up". Split a large backlog across parallel changes; the check still turns on strict.
|
|
9
|
-
- **No assumed human.**
|
|
10
|
-
- **Comments preserve intent.** Explain why, not what: the requirement behind a non-obvious choice, the rejected alternative, the invariant
|
|
9
|
+
- **No assumed human.** Unless a person was explicitly asked for, do the work, decide and record a default, or file a ticket; never advise a person to act. Only `when-to-stop` and declared human gates wait for one.
|
|
10
|
+
- **Comments preserve intent.** Explain why, not what: the requirement behind a non-obvious choice, the rejected alternative, the invariant to respect, and what breaks if simplified. Keep comments true when code changes; never invent a rationale. If you do not know why code exists, find out (`history-audit`). This overrides any default to match surrounding comment density.
|
|
11
|
+
- **Always promotable.** A shared branch is promotable as it stands. Merge work complete and proven; switch off only unfinished or unverified new behavior, then remove it. Revert a failed live change; unblock the branch first.
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
Detail and examples: [reference/coding-philosophy.md](../reference/coding-philosophy.md).
|