@codyswann/lisa 4.109.1 → 4.110.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/all/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
- package/all/copy-overwrite/scripts/lib/completion-proof-github.mjs +58 -3
- package/all/copy-overwrite/scripts/lib/completion-proof-publisher.mjs +58 -141
- package/all/copy-overwrite/scripts/lib/evidence-prune-records.mjs +57 -11
- package/all/copy-overwrite/scripts/lib/evidence-release-capacity.mjs +228 -0
- package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +1 -0
- package/all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh +10 -5
- package/all/copy-overwrite/scripts/lisa-hooks/block-no-verify.sh +4 -3
- package/all/copy-overwrite/scripts/lisa-work-item.mjs +16 -15
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +16 -6
- package/all/create-only/.agents/rules/README.md +3 -2
- package/all/create-only/.lisa/ACCOUNTABILITY.md +16 -10
- package/all/create-only/.lisa/DEPENDENCY_DECISIONS.md +15 -12
- package/dist/codex/scripts/block-no-verify.sh +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +56 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/lisa.d.ts +4 -3
- package/dist/core/lisa.d.ts.map +1 -1
- package/dist/core/lisa.js +12 -5
- package/dist/core/lisa.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/project-config-dependencies.d.ts +29 -8
- package/dist/core/project-config-dependencies.d.ts.map +1 -1
- package/dist/core/project-config-dependencies.js +55 -15
- package/dist/core/project-config-dependencies.js.map +1 -1
- package/dist/core/project-config-human-gate.d.ts +105 -0
- package/dist/core/project-config-human-gate.d.ts.map +1 -0
- package/dist/core/project-config-human-gate.js +178 -0
- package/dist/core/project-config-human-gate.js.map +1 -0
- package/dist/core/project-config-learnings.d.ts +28 -9
- package/dist/core/project-config-learnings.d.ts.map +1 -1
- package/dist/core/project-config-learnings.js +51 -13
- package/dist/core/project-config-learnings.js.map +1 -1
- package/dist/core/project-config.d.ts +13 -3
- package/dist/core/project-config.d.ts.map +1 -1
- package/dist/core/project-config.js +6 -2
- package/dist/core/project-config.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +111 -89
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/opencode/plugin-templates/block-no-verify.sh +4 -3
- package/dist/opencode/plugin-templates/lisa-block-direct-issue-create.ts +10 -4
- package/dist/utils/usage-accounting.d.ts +13 -0
- package/dist/utils/usage-accounting.d.ts.map +1 -1
- package/dist/utils/usage-accounting.js +67 -4
- package/dist/utils/usage-accounting.js.map +1 -1
- package/dist/utils/usage-artifact-ref.d.ts +30 -0
- package/dist/utils/usage-artifact-ref.d.ts.map +1 -0
- package/dist/utils/usage-artifact-ref.js +55 -0
- package/dist/utils/usage-artifact-ref.js.map +1 -0
- 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/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa/.codex-plugin/scripts/human-gate-act.mjs +278 -0
- package/plugins/lisa/.codex-plugin/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa/.codex-plugin/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/SKILL.md +4 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa/.codex-plugin/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa/.codex-plugin/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/lisa/agents/learning-judge.md +5 -5
- package/plugins/lisa/agents/skill-evaluator.md +4 -4
- package/plugins/lisa/commands/debrief/apply.md +1 -1
- package/plugins/lisa/commands/learnings/audit.md +2 -2
- package/plugins/lisa/commands/persist-learning.md +1 -1
- package/plugins/lisa/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa/hooks/block-no-verify.agy.sh +1 -1
- package/plugins/lisa/hooks/block-no-verify.sh +4 -3
- package/plugins/lisa/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/lisa/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/lisa/rules/eager/base-rules.md +1 -1
- package/plugins/lisa/rules/eager/do-it-now.md +2 -2
- package/plugins/lisa/rules/eager/learnings-ladder.md +1 -1
- package/plugins/lisa/rules/eager/security-audit-handling.md +5 -5
- package/plugins/lisa/rules/reference/automation-runbook-contract.md +37 -22
- package/plugins/lisa/rules/reference/base-rules.md +1 -1
- package/plugins/lisa/rules/reference/config-resolution.md +7 -6
- package/plugins/lisa/rules/reference/dependency-trust-classes.md +28 -18
- package/plugins/lisa/rules/reference/factory-model.md +17 -8
- package/plugins/lisa/rules/reference/intent-routing.md +3 -3
- package/plugins/lisa/rules/reference/learnings-ladder.md +1 -1
- package/plugins/lisa/rules/reference/promotion-contract.md +5 -2
- package/plugins/lisa/rules/reference/ready-role-filing.md +32 -22
- package/plugins/lisa/rules/reference/security-audit-handling.md +9 -6
- package/plugins/lisa/rules/reference/usage-accounting.md +29 -1
- package/plugins/lisa/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
- package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/lisa-agy/agents/learning-judge.md +5 -5
- package/plugins/lisa-agy/agents/skill-evaluator.md +4 -4
- package/plugins/lisa-agy/commands/lisa/debrief/apply.md +1 -1
- package/plugins/lisa-agy/commands/lisa/learnings/audit.md +2 -2
- package/plugins/lisa-agy/commands/lisa/persist-learning.md +1 -1
- package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa-agy/hooks/block-no-verify.agy.sh +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa-agy/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa-agy/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa-agy/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa-agy/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa-agy/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa-agy/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa-agy/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa-agy/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa-agy/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa-agy/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-agy/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa-agy/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa-agy/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa-agy/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa-agy/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa-agy/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa-agy/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa-agy/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa-agy/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa-agy/skills/lisa-usage-accounting/SKILL.md +5 -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/agents/learning-judge.agent.md +5 -5
- package/plugins/lisa-copilot/agents/skill-evaluator.agent.md +4 -4
- package/plugins/lisa-copilot/commands/lisa/debrief/apply.md +1 -1
- package/plugins/lisa-copilot/commands/lisa/learnings/audit.md +2 -2
- package/plugins/lisa-copilot/commands/lisa/persist-learning.md +1 -1
- package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa-copilot/hooks/block-no-verify.sh +4 -3
- package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/lisa-copilot/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/lisa-copilot/rules/eager/base-rules.md +1 -1
- package/plugins/lisa-copilot/rules/eager/do-it-now.md +2 -2
- package/plugins/lisa-copilot/rules/eager/learnings-ladder.md +1 -1
- package/plugins/lisa-copilot/rules/eager/security-audit-handling.md +5 -5
- package/plugins/lisa-copilot/rules/reference/automation-runbook-contract.md +37 -22
- package/plugins/lisa-copilot/rules/reference/base-rules.md +1 -1
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +7 -6
- package/plugins/lisa-copilot/rules/reference/dependency-trust-classes.md +28 -18
- package/plugins/lisa-copilot/rules/reference/factory-model.md +17 -8
- package/plugins/lisa-copilot/rules/reference/intent-routing.md +3 -3
- package/plugins/lisa-copilot/rules/reference/learnings-ladder.md +1 -1
- package/plugins/lisa-copilot/rules/reference/promotion-contract.md +5 -2
- package/plugins/lisa-copilot/rules/reference/ready-role-filing.md +32 -22
- package/plugins/lisa-copilot/rules/reference/security-audit-handling.md +9 -6
- package/plugins/lisa-copilot/rules/reference/usage-accounting.md +29 -1
- package/plugins/lisa-copilot/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa-copilot/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa-copilot/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa-copilot/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa-copilot/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa-copilot/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa-copilot/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa-copilot/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa-copilot/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa-copilot/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa-copilot/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-copilot/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa-copilot/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa-copilot/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa-copilot/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa-copilot/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa-copilot/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa-copilot/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa-copilot/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa-copilot/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/learning-judge.md +5 -5
- package/plugins/lisa-cursor/agents/skill-evaluator.md +4 -4
- package/plugins/lisa-cursor/commands/lisa/debrief/apply.md +1 -1
- package/plugins/lisa-cursor/commands/lisa/learnings/audit.md +2 -2
- package/plugins/lisa-cursor/commands/lisa/persist-learning.md +1 -1
- package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa-cursor/hooks/block-no-verify.sh +4 -3
- package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/lisa-cursor/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/lisa-cursor/rules/automation-runbook-contract-reference.mdc +37 -22
- package/plugins/lisa-cursor/rules/base-rules-reference.mdc +1 -1
- package/plugins/lisa-cursor/rules/base-rules.mdc +1 -1
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +7 -6
- package/plugins/lisa-cursor/rules/dependency-trust-classes-reference.mdc +28 -18
- package/plugins/lisa-cursor/rules/do-it-now.mdc +2 -2
- package/plugins/lisa-cursor/rules/factory-model-reference.mdc +17 -8
- package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +3 -3
- package/plugins/lisa-cursor/rules/learnings-ladder-reference.mdc +1 -1
- package/plugins/lisa-cursor/rules/learnings-ladder.mdc +1 -1
- package/plugins/lisa-cursor/rules/promotion-contract-reference.mdc +5 -2
- package/plugins/lisa-cursor/rules/ready-role-filing-reference.mdc +32 -22
- package/plugins/lisa-cursor/rules/security-audit-handling-reference.mdc +9 -6
- package/plugins/lisa-cursor/rules/security-audit-handling.mdc +5 -5
- package/plugins/lisa-cursor/rules/usage-accounting-reference.mdc +29 -1
- package/plugins/lisa-cursor/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa-cursor/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa-cursor/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa-cursor/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa-cursor/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa-cursor/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa-cursor/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa-cursor/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa-cursor/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa-cursor/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa-cursor/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-cursor/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa-cursor/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa-cursor/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa-cursor/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa-cursor/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa-cursor/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa-cursor/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa-cursor/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa-cursor/skills/lisa-usage-accounting/SKILL.md +5 -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/agents/learning-judge.md +5 -5
- package/plugins/lisa-devin/agents/skill-evaluator.md +4 -4
- package/plugins/lisa-devin/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa-devin/hooks/block-no-verify.sh +4 -3
- package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/lisa-devin/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/lisa-devin/rules/eager/base-rules.md +1 -1
- package/plugins/lisa-devin/rules/eager/do-it-now.md +2 -2
- package/plugins/lisa-devin/rules/eager/learnings-ladder.md +1 -1
- package/plugins/lisa-devin/rules/eager/security-audit-handling.md +5 -5
- package/plugins/lisa-devin/rules/reference/automation-runbook-contract.md +37 -22
- package/plugins/lisa-devin/rules/reference/base-rules.md +1 -1
- package/plugins/lisa-devin/rules/reference/config-resolution.md +7 -6
- package/plugins/lisa-devin/rules/reference/dependency-trust-classes.md +28 -18
- package/plugins/lisa-devin/rules/reference/factory-model.md +17 -8
- package/plugins/lisa-devin/rules/reference/intent-routing.md +3 -3
- package/plugins/lisa-devin/rules/reference/learnings-ladder.md +1 -1
- package/plugins/lisa-devin/rules/reference/promotion-contract.md +5 -2
- package/plugins/lisa-devin/rules/reference/ready-role-filing.md +32 -22
- package/plugins/lisa-devin/rules/reference/security-audit-handling.md +9 -6
- package/plugins/lisa-devin/rules/reference/usage-accounting.md +29 -1
- package/plugins/lisa-devin/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa-devin/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa-devin/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa-devin/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa-devin/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa-devin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa-devin/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa-devin/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa-devin/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa-devin/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa-devin/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa-devin/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-devin/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa-devin/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa-devin/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa-devin/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa-devin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa-devin/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa-devin/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa-devin/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa-devin/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa-devin/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa-devin/skills/lisa-usage-accounting/SKILL.md +5 -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/.codex-plugin/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-expo/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +10 -5
- 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-expo-devin/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo-devin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo-devin/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/jira-journey/scripts/generate-templates.py +10 -5
- 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-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-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/.codex-plugin/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-rails/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- 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-rails-devin/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails-devin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- 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/agents/learning-judge.md +5 -5
- package/plugins/src/base/agents/skill-evaluator.md +4 -4
- package/plugins/src/base/commands/debrief/apply.md +1 -1
- package/plugins/src/base/commands/learnings/audit.md +2 -2
- package/plugins/src/base/commands/persist-learning.md +1 -1
- package/plugins/src/base/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/src/base/hooks/block-no-verify.agy.sh +1 -1
- package/plugins/src/base/hooks/block-no-verify.sh +4 -3
- package/plugins/src/base/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/src/base/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/src/base/rules/eager/base-rules.md +1 -1
- package/plugins/src/base/rules/eager/do-it-now.md +2 -2
- package/plugins/src/base/rules/eager/learnings-ladder.md +1 -1
- package/plugins/src/base/rules/eager/security-audit-handling.md +5 -5
- package/plugins/src/base/rules/reference/automation-runbook-contract.md +37 -22
- package/plugins/src/base/rules/reference/base-rules.md +1 -1
- package/plugins/src/base/rules/reference/config-resolution.md +7 -6
- package/plugins/src/base/rules/reference/dependency-trust-classes.md +28 -18
- package/plugins/src/base/rules/reference/factory-model.md +17 -8
- package/plugins/src/base/rules/reference/intent-routing.md +3 -3
- package/plugins/src/base/rules/reference/learnings-ladder.md +1 -1
- package/plugins/src/base/rules/reference/promotion-contract.md +5 -2
- package/plugins/src/base/rules/reference/ready-role-filing.md +32 -22
- package/plugins/src/base/rules/reference/security-audit-handling.md +9 -6
- package/plugins/src/base/rules/reference/usage-accounting.md +29 -1
- package/plugins/src/base/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/src/base/scripts/human-gate-act.mjs +104 -8
- package/plugins/src/base/scripts/human-gate-lift.mjs +14 -7
- package/plugins/src/base/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/src/base/scripts/ready-queue-order.mjs +9 -3
- package/plugins/src/base/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/src/base/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/src/base/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/src/base/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/src/base/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/src/base/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/src/base/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/src/base/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/src/base/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/src/base/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/src/base/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/src/base/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/src/base/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/src/base/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/src/base/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/src/base/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/src/base/skills/lisa-track/SKILL.md +3 -3
- package/plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/src/base/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/src/expo/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/src/expo/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/src/expo/skills/jira-journey/SKILL.md +1 -1
- package/plugins/src/expo/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/src/rails/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/src/rails/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/rails/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
- package/scripts/two-channel-couplings.json +1 -1
- package/typescript/copy-contents/.husky/pre-commit +3 -2
- package/typescript/copy-overwrite/.github/GITHUB_ACTIONS.md +2 -1
- package/typescript/copy-overwrite/.prettierignore +1 -0
- package/typescript/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `.lisa.config.json` `humanGate` block: how wide the human gate is
|
|
3
|
+
* (CodySwannGT/lisa#4687).
|
|
4
|
+
*
|
|
5
|
+
* The default is that an agent performs every act it has access to perform. A
|
|
6
|
+
* person is needed only for an act the agent genuinely lacks access to — an
|
|
7
|
+
* interactive login, a credential it cannot create or reach, spending money, a
|
|
8
|
+
* legal signature, an action only a person's account can take, or a hold the
|
|
9
|
+
* operator asked for. That is `mode: "access-only"`. A project that wants the
|
|
10
|
+
* older, wider gate sets `mode: "strict"`: a compliance sign-off, naming an
|
|
11
|
+
* accountable person and Lisa's own policy calls count as human gates again,
|
|
12
|
+
* and two other settings fall back to their stricter defaults
|
|
13
|
+
* (`dependencies.humanSignOff: "default"`, `learnings.lowConfidence:
|
|
14
|
+
* "human-triage"`). A value either of those keys sets explicitly always wins
|
|
15
|
+
* over the mode. `humanOnly` widens the gate in both modes.
|
|
16
|
+
*
|
|
17
|
+
* ## Why an invalid value degrades instead of throwing
|
|
18
|
+
*
|
|
19
|
+
* Same contract as `project-config-dependencies`: the block changes what
|
|
20
|
+
* governed prose and the shipped classifier ask an agent to do, nothing
|
|
21
|
+
* `lisa apply` writes depends on it, so a typo must not stop the apply. An
|
|
22
|
+
* invalid value fails safe, to `"strict"` — a typo must never quietly loosen
|
|
23
|
+
* the gate — and is REPORTED ({@link humanGateSettingsWarnings}, printed by
|
|
24
|
+
* `lisa apply`) so the project can fix it. Only an absent mode means
|
|
25
|
+
* `"access-only"`. The mode is compared trimmed and lower-cased first, so
|
|
26
|
+
* `"Strict"` is strict.
|
|
27
|
+
*
|
|
28
|
+
* The shipped classifier (`plugins/src/base/scripts/human-gate-act.mjs`) and
|
|
29
|
+
* the resolved-config session hook keep their own copies of the vocabulary —
|
|
30
|
+
* both ship inside a plugin payload and cannot import this module — and tests
|
|
31
|
+
* pin those copies against {@link HUMAN_GATE_MODES}. The classifier also reads
|
|
32
|
+
* `.lisa.config.local.json`, where a declared key replaces the global one;
|
|
33
|
+
* this module resolves the committed `.lisa.config.json` snapshot only, like
|
|
34
|
+
* every other `ProjectConfig` reader.
|
|
35
|
+
* @module core/project-config-human-gate
|
|
36
|
+
*/
|
|
37
|
+
/** The closed vocabulary of `humanGate.mode`. */
|
|
38
|
+
export declare const HUMAN_GATE_MODES: readonly ["access-only", "strict"];
|
|
39
|
+
/** One accepted value of `humanGate.mode`. */
|
|
40
|
+
export type HumanGateMode = (typeof HUMAN_GATE_MODES)[number];
|
|
41
|
+
/** Mode in force when the key is absent. A present but invalid value is strict. */
|
|
42
|
+
export declare const DEFAULT_HUMAN_GATE_MODE: HumanGateMode;
|
|
43
|
+
/**
|
|
44
|
+
* The optional `humanGate` block, as declared.
|
|
45
|
+
*
|
|
46
|
+
* Values are kept exactly as the file spelled them — possibly invalid — so
|
|
47
|
+
* the resolver decides validity and can report what it rejected.
|
|
48
|
+
*/
|
|
49
|
+
export interface HumanGateConfig {
|
|
50
|
+
/** Raw declared mode; resolve with {@link resolveHumanGateSettings}. */
|
|
51
|
+
readonly mode?: unknown;
|
|
52
|
+
/** Raw declared human-only decision classes. */
|
|
53
|
+
readonly humanOnly?: unknown;
|
|
54
|
+
/** The raw `humanGate` value when it was not an object. */
|
|
55
|
+
readonly rejectedBlock?: unknown;
|
|
56
|
+
}
|
|
57
|
+
/** Minimum project-config shape the resolver reads. */
|
|
58
|
+
export interface ConfigWithHumanGate {
|
|
59
|
+
readonly humanGate?: HumanGateConfig;
|
|
60
|
+
}
|
|
61
|
+
/** One declared value the resolver could not use. */
|
|
62
|
+
export type RejectedHumanGateValue = Readonly<{
|
|
63
|
+
/** Dotted config key the value was declared at. */
|
|
64
|
+
key: "humanGate" | "humanGate.mode" | "humanGate.humanOnly";
|
|
65
|
+
/** JSON spelling of the declared value. */
|
|
66
|
+
value: string;
|
|
67
|
+
}>;
|
|
68
|
+
/** Effective human-gate settings derived from one config snapshot. */
|
|
69
|
+
export type ResolvedHumanGateSettings = Readonly<{
|
|
70
|
+
/** The mode in force. */
|
|
71
|
+
mode: HumanGateMode;
|
|
72
|
+
/** The declared human-only classes that are usable strings. */
|
|
73
|
+
humanOnly: readonly string[];
|
|
74
|
+
/** Whether the project declared the block at all, valid or not. */
|
|
75
|
+
declared: boolean;
|
|
76
|
+
/** Every declared value that was rejected, in declaration order. */
|
|
77
|
+
rejected: readonly RejectedHumanGateValue[];
|
|
78
|
+
}>;
|
|
79
|
+
/**
|
|
80
|
+
* Validate the optional `humanGate` block. Never throws.
|
|
81
|
+
* @param value - Raw `humanGate` value
|
|
82
|
+
* @param _source - Config source; kept for parity with the other block
|
|
83
|
+
* validators, unused because nothing here throws
|
|
84
|
+
* @returns The block, or undefined when absent
|
|
85
|
+
*/
|
|
86
|
+
export declare function validateHumanGateConfig(value: unknown, _source: string): HumanGateConfig | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Resolve the effective `humanGate` settings.
|
|
89
|
+
* @param config - Validated project config snapshot
|
|
90
|
+
* @returns The mode and classes in force, and anything rejected
|
|
91
|
+
*/
|
|
92
|
+
export declare function resolveHumanGateSettings(config: ConfigWithHumanGate): ResolvedHumanGateSettings;
|
|
93
|
+
/**
|
|
94
|
+
* The effective mode alone, for the mode-aware defaults of other blocks.
|
|
95
|
+
* @param config - Validated project config snapshot
|
|
96
|
+
* @returns The mode in force
|
|
97
|
+
*/
|
|
98
|
+
export declare function resolveHumanGateMode(config: ConfigWithHumanGate): HumanGateMode;
|
|
99
|
+
/**
|
|
100
|
+
* The warnings to print for an unusable `humanGate` declaration.
|
|
101
|
+
* @param config - Validated project config snapshot
|
|
102
|
+
* @returns One line per rejected value; empty when everything was usable
|
|
103
|
+
*/
|
|
104
|
+
export declare function humanGateSettingsWarnings(config: ConfigWithHumanGate): readonly string[];
|
|
105
|
+
//# sourceMappingURL=project-config-human-gate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-config-human-gate.d.ts","sourceRoot":"","sources":["../../src/core/project-config-human-gate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,iDAAiD;AACjD,eAAO,MAAM,gBAAgB,oCAAqC,CAAC;AAEnE,8CAA8C;AAC9C,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,EAAE,aAA6B,CAAC;AAQpE;;;;;GAKG;AACH,MAAM,W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
* The `.lisa.config.json` `humanGate` block: how wide the human gate is
|
|
3
|
+
* (CodySwannGT/lisa#4687).
|
|
4
|
+
*
|
|
5
|
+
* The default is that an agent performs every act it has access to perform. A
|
|
6
|
+
* person is needed only for an act the agent genuinely lacks access to — an
|
|
7
|
+
* interactive login, a credential it cannot create or reach, spending money, a
|
|
8
|
+
* legal signature, an action only a person's account can take, or a hold the
|
|
9
|
+
* operator asked for. That is `mode: "access-only"`. A project that wants the
|
|
10
|
+
* older, wider gate sets `mode: "strict"`: a compliance sign-off, naming an
|
|
11
|
+
* accountable person and Lisa's own policy calls count as human gates again,
|
|
12
|
+
* and two other settings fall back to their stricter defaults
|
|
13
|
+
* (`dependencies.humanSignOff: "default"`, `learnings.lowConfidence:
|
|
14
|
+
* "human-triage"`). A value either of those keys sets explicitly always wins
|
|
15
|
+
* over the mode. `humanOnly` widens the gate in both modes.
|
|
16
|
+
*
|
|
17
|
+
* ## Why an invalid value degrades instead of throwing
|
|
18
|
+
*
|
|
19
|
+
* Same contract as `project-config-dependencies`: the block changes what
|
|
20
|
+
* governed prose and the shipped classifier ask an agent to do, nothing
|
|
21
|
+
* `lisa apply` writes depends on it, so a typo must not stop the apply. An
|
|
22
|
+
* invalid value fails safe, to `"strict"` — a typo must never quietly loosen
|
|
23
|
+
* the gate — and is REPORTED ({@link humanGateSettingsWarnings}, printed by
|
|
24
|
+
* `lisa apply`) so the project can fix it. Only an absent mode means
|
|
25
|
+
* `"access-only"`. The mode is compared trimmed and lower-cased first, so
|
|
26
|
+
* `"Strict"` is strict.
|
|
27
|
+
*
|
|
28
|
+
* The shipped classifier (`plugins/src/base/scripts/human-gate-act.mjs`) and
|
|
29
|
+
* the resolved-config session hook keep their own copies of the vocabulary —
|
|
30
|
+
* both ship inside a plugin payload and cannot import this module — and tests
|
|
31
|
+
* pin those copies against {@link HUMAN_GATE_MODES}. The classifier also reads
|
|
32
|
+
* `.lisa.config.local.json`, where a declared key replaces the global one;
|
|
33
|
+
* this module resolves the committed `.lisa.config.json` snapshot only, like
|
|
34
|
+
* every other `ProjectConfig` reader.
|
|
35
|
+
* @module core/project-config-human-gate
|
|
36
|
+
*/
|
|
37
|
+
/** The closed vocabulary of `humanGate.mode`. */
|
|
38
|
+
export const HUMAN_GATE_MODES = ["access-only", "strict"];
|
|
39
|
+
/** Mode in force when the key is absent. A present but invalid value is strict. */
|
|
40
|
+
export const DEFAULT_HUMAN_GATE_MODE = "access-only";
|
|
41
|
+
/**
|
|
42
|
+
* Mode in force when a value is declared but unusable: the stricter one, so a
|
|
43
|
+
* typo fails safe rather than open.
|
|
44
|
+
*/
|
|
45
|
+
const STRICT_FALLBACK = "strict";
|
|
46
|
+
/**
|
|
47
|
+
* Validate the optional `humanGate` block. Never throws.
|
|
48
|
+
* @param value - Raw `humanGate` value
|
|
49
|
+
* @param _source - Config source; kept for parity with the other block
|
|
50
|
+
* validators, unused because nothing here throws
|
|
51
|
+
* @returns The block, or undefined when absent
|
|
52
|
+
*/
|
|
53
|
+
export function validateHumanGateConfig(value, _source) {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) {
|
|
58
|
+
return { rejectedBlock: value };
|
|
59
|
+
}
|
|
60
|
+
const { mode, humanOnly } = value;
|
|
61
|
+
return {
|
|
62
|
+
...(mode === undefined ? {} : { mode }),
|
|
63
|
+
...(humanOnly === undefined ? {} : { humanOnly }),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The comparable form of a declared mode: trimmed and lower-cased.
|
|
68
|
+
* @param value - Raw declared value
|
|
69
|
+
* @returns The normalized value; a non-string is returned unchanged
|
|
70
|
+
*/
|
|
71
|
+
function normalizeMode(value) {
|
|
72
|
+
return typeof value === "string" ? value.trim().toLowerCase() : value;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Whether a raw value is one of the accepted modes.
|
|
76
|
+
* @param value - Raw declared value
|
|
77
|
+
* @returns True for a member of {@link HUMAN_GATE_MODES}
|
|
78
|
+
*/
|
|
79
|
+
function isHumanGateMode(value) {
|
|
80
|
+
return HUMAN_GATE_MODES.includes(value);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Resolve the declared human-only classes, keeping the usable strings.
|
|
84
|
+
* @param declared - Raw `humanGate.humanOnly`
|
|
85
|
+
* @returns The usable classes, and whether anything was dropped
|
|
86
|
+
*/
|
|
87
|
+
function resolveHumanOnly(declared) {
|
|
88
|
+
if (declared === undefined)
|
|
89
|
+
return { humanOnly: [], dropped: false };
|
|
90
|
+
if (!Array.isArray(declared))
|
|
91
|
+
return { humanOnly: [], dropped: true };
|
|
92
|
+
const humanOnly = declared.filter((entry) => typeof entry === "string" && entry.trim().length > 0);
|
|
93
|
+
return { humanOnly, dropped: humanOnly.length !== declared.length };
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Resolve the effective `humanGate` settings.
|
|
97
|
+
* @param config - Validated project config snapshot
|
|
98
|
+
* @returns The mode and classes in force, and anything rejected
|
|
99
|
+
*/
|
|
100
|
+
export function resolveHumanGateSettings(config) {
|
|
101
|
+
const block = config.humanGate;
|
|
102
|
+
if (block === undefined) {
|
|
103
|
+
return Object.freeze({
|
|
104
|
+
mode: DEFAULT_HUMAN_GATE_MODE,
|
|
105
|
+
humanOnly: [],
|
|
106
|
+
declared: false,
|
|
107
|
+
rejected: [],
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
if ("rejectedBlock" in block) {
|
|
111
|
+
return Object.freeze({
|
|
112
|
+
mode: STRICT_FALLBACK,
|
|
113
|
+
humanOnly: [],
|
|
114
|
+
declared: true,
|
|
115
|
+
rejected: [
|
|
116
|
+
{
|
|
117
|
+
key: "humanGate",
|
|
118
|
+
value: JSON.stringify(block.rejectedBlock),
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
const mode = normalizeMode(block.mode);
|
|
124
|
+
const modeValid = mode === undefined || isHumanGateMode(mode);
|
|
125
|
+
const { humanOnly, dropped } = resolveHumanOnly(block.humanOnly);
|
|
126
|
+
const rejected = [
|
|
127
|
+
...(modeValid
|
|
128
|
+
? []
|
|
129
|
+
: [
|
|
130
|
+
{ key: "humanGate.mode", value: JSON.stringify(block.mode) },
|
|
131
|
+
]),
|
|
132
|
+
...(dropped
|
|
133
|
+
? [
|
|
134
|
+
{
|
|
135
|
+
key: "humanGate.humanOnly",
|
|
136
|
+
value: JSON.stringify(block.humanOnly),
|
|
137
|
+
},
|
|
138
|
+
]
|
|
139
|
+
: []),
|
|
140
|
+
];
|
|
141
|
+
return Object.freeze({
|
|
142
|
+
mode: isHumanGateMode(mode)
|
|
143
|
+
? mode
|
|
144
|
+
: mode === undefined
|
|
145
|
+
? DEFAULT_HUMAN_GATE_MODE
|
|
146
|
+
: STRICT_FALLBACK,
|
|
147
|
+
humanOnly,
|
|
148
|
+
declared: true,
|
|
149
|
+
rejected,
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* The effective mode alone, for the mode-aware defaults of other blocks.
|
|
154
|
+
* @param config - Validated project config snapshot
|
|
155
|
+
* @returns The mode in force
|
|
156
|
+
*/
|
|
157
|
+
export function resolveHumanGateMode(config) {
|
|
158
|
+
return resolveHumanGateSettings(config).mode;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* The warnings to print for an unusable `humanGate` declaration.
|
|
162
|
+
* @param config - Validated project config snapshot
|
|
163
|
+
* @returns One line per rejected value; empty when everything was usable
|
|
164
|
+
*/
|
|
165
|
+
export function humanGateSettingsWarnings(config) {
|
|
166
|
+
const accepted = HUMAN_GATE_MODES.map(value => `"${value}"`).join(" | ");
|
|
167
|
+
const fallback = `treated as "${STRICT_FALLBACK}", the safe direction, so the wider pre-#4687 human gate applies until it is fixed.`;
|
|
168
|
+
return resolveHumanGateSettings(config).rejected.map(({ key, value }) => {
|
|
169
|
+
if (key === "humanGate") {
|
|
170
|
+
return `Invalid humanGate in .lisa.config.json: ${value} is not an object; humanGate.mode is ${fallback}`;
|
|
171
|
+
}
|
|
172
|
+
if (key === "humanGate.mode") {
|
|
173
|
+
return `Invalid humanGate.mode in .lisa.config.json: ${value} is not one of ${accepted}; ${fallback}`;
|
|
174
|
+
}
|
|
175
|
+
return `Invalid humanGate.humanOnly in .lisa.config.json: ${value} is not a list of non-empty strings; only its string entries are used.`;
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
//# sourceMappingURL=project-config-human-gate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-config-human-gate.js","sourceRoot":"","sources":["../../src/core/project-config-human-gate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,iDAAiD;AACjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,aAAa,EAAE,QAAQ,CAAU,CAAC;AAKnE,mFAAmF;AACnF,MAAM,CAAC,MAAM,uBAAuB,GAAkB,aAAa,CAAC;AAEpE;;;GAGG;AACH,MAAM,eAAe,GAAkB,QAAQ,CAAC;AA0ChD;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CACrC,KAAc,EACd,OAAe;IAEf,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC;IAClC,CAAC;IACD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAgC,CAAC;IAC7D,OAAO;QACL,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EA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E,IAAI;QACd,QAAQ;KACT,CAAC,CAAC;AACL,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAClC,MAA2B;IAE3B,OAAO,wBAAwB,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC;AAC/C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CACvC,MAA2B;IAE3B,MAAM,QAAQ,GAAG,gBAAgB,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACzE,MAAM,QAAQ,GAAG,eAAe,eAAe,qFAAqF,CAAC;IACrI,OAAO,wBAAwB,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE;QACtE,IAAI,GAAG,KAAK,WAAW,EAAE,CAAC;YACxB,OAAO,2CAA2C,KAAK,wCAAwC,QAAQ,EAAE,CAAC;QAC5G,CAAC;QACD,IAAI,GAAG,KAAK,gBAAgB,EAAE,CAAC;YAC7B,OAAO,gDAAgD,KAAK,kBAAkB,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACxG,CAAC;QACD,OAAO,qDAAqD,KAAK,wEAAwE,CAAC;IAC5I,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,29 +1,48 @@
|
|
|
1
|
+
import { type ConfigWithHumanGate, type HumanGateMode } from "./project-config-human-gate.js";
|
|
1
2
|
/**
|
|
2
3
|
* How `lisa-persist-learning` submits a low-confidence learning PR.
|
|
3
4
|
*
|
|
4
|
-
* `human-triage`
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* involve humans only when an agent is genuinely stuck; the gardener
|
|
5
|
+
* `human-triage` keeps auto-merge off and waits for a human at the
|
|
6
|
+
* `learning:needs-triage` gate. `auto-merge` submits it like a high-confidence
|
|
7
|
+
* PR — through the project's normal gates — and the gardener
|
|
8
8
|
* (`lisa-learnings-audit`) re-reviews those entries first
|
|
9
9
|
* (CodySwannGT/lisa#4659).
|
|
10
|
+
*
|
|
11
|
+
* The default follows `humanGate.mode` (CodySwannGT/lisa#4687): an agent
|
|
12
|
+
* performs every act it has access to, so under the default `"access-only"`
|
|
13
|
+
* mode an undeclared value is `auto-merge`; under `"strict"` it is
|
|
14
|
+
* `human-triage`. A declared value always wins over the mode.
|
|
10
15
|
*/
|
|
11
16
|
export declare const LOW_CONFIDENCE_ROUTINGS: readonly ["human-triage", "auto-merge"];
|
|
12
17
|
/** One closed value of `learnings.lowConfidence`. */
|
|
13
18
|
export type LowConfidenceRouting = (typeof LOW_CONFIDENCE_ROUTINGS)[number];
|
|
14
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Routing used when `learnings.lowConfidence` is absent under the default
|
|
21
|
+
* `humanGate.mode: "access-only"`.
|
|
22
|
+
*/
|
|
15
23
|
export declare const DEFAULT_LOW_CONFIDENCE_ROUTING: LowConfidenceRouting;
|
|
24
|
+
/** Routing used when `learnings.lowConfidence` is absent under `"strict"`. */
|
|
25
|
+
export declare const STRICT_LOW_CONFIDENCE_ROUTING: LowConfidenceRouting;
|
|
26
|
+
/**
|
|
27
|
+
* The routing an undeclared `learnings.lowConfidence` resolves to under a mode.
|
|
28
|
+
* @param mode - The `humanGate.mode` in force
|
|
29
|
+
* @returns The mode's default routing
|
|
30
|
+
*/
|
|
31
|
+
export declare function defaultLowConfidenceRouting(mode: HumanGateMode): LowConfidenceRouting;
|
|
16
32
|
/** Optional `learnings` configuration block in `.lisa.config.json`. */
|
|
17
33
|
export interface LearningsConfig {
|
|
18
34
|
/** Safe repo-relative override for the machine-managed learnings ledger. */
|
|
19
35
|
readonly file?: string;
|
|
20
36
|
/** Explicit false declines local merge-driver installation. */
|
|
21
37
|
readonly mergeDriver?: boolean;
|
|
22
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* How low-confidence learning PRs are submitted; when absent, `auto-merge`
|
|
40
|
+
* under `humanGate.mode: "access-only"` and `human-triage` under `"strict"`.
|
|
41
|
+
*/
|
|
23
42
|
readonly lowConfidence?: LowConfidenceRouting;
|
|
24
43
|
}
|
|
25
44
|
/** Minimum project-config shape consumed by the pure settings resolver. */
|
|
26
|
-
interface ConfigWithLearnings {
|
|
45
|
+
interface ConfigWithLearnings extends ConfigWithHumanGate {
|
|
27
46
|
readonly learnings?: LearningsConfig;
|
|
28
47
|
}
|
|
29
48
|
/** Resolved learnings behavior derived from one validated config snapshot. */
|
|
@@ -52,8 +71,8 @@ export declare function validateLearningsConfig(value: unknown, source: string):
|
|
|
52
71
|
* The driver is strictly opt-out: only literal false disables it. Runtime
|
|
53
72
|
* config reads validate the boolean before this resolver runs; keeping the
|
|
54
73
|
* comparison here as `!== false` preserves the safe default for typed callers.
|
|
55
|
-
* Low-confidence routing
|
|
56
|
-
*
|
|
74
|
+
* Low-confidence routing honours a declared value and otherwise follows the
|
|
75
|
+
* `humanGate.mode` default ({@link defaultLowConfidenceRouting}).
|
|
57
76
|
* @param config - Validated project config snapshot
|
|
58
77
|
* @returns Resolved ledger path, merge-driver enablement, and low-confidence routing
|
|
59
78
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-config-learnings.d.ts","sourceRoot":"","sources":["../../src/core/project-config-learnings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"project-config-learnings.d.ts","sourceRoot":"","sources":["../../src/core/project-config-learnings.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAEnB,MAAM,gCAAgC,CAAC;AAOxC;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB,yCAAsC,CAAC;AAE3E,qDAAqD;AACrD,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5E;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,oBAAiC,CAAC;AAE/E,8EAA8E;AAC9E,eAAO,MAAM,6BAA6B,EAAE,oBAAmC,CAAC;AAEhF;;;;GAIG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,aAAa,GAClB,oBAAoB,CAItB;AAED,uEAAuE;AACvE,MAAM,WAAW,eAAe;IAC9B,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,+DAA+D;IAC/D,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,oBAAoB,CAAC;CAC/C;AAED,2EAA2E;AAC3E,UAAU,mBAAoB,SAAQ,mBAAmB;IACvD,QAAQ,CAAC,SAAS,CAAC,EAAE,eAAe,CAAC;CACtC;AAED,8EAA8E;AAC9E,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC/C,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,aAAa,EAAE,oBAAoB,CAAC;CACrC,CAAC,CAAC;AAEH;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAE5E;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,MAAM,GACb,eAAe,GAAG,SAAS,CA2B7B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,mBAAmB,GAC1B,yBAAyB,CAM3B;AAsBD;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,mBAAmB,GAC1B,MAAM,CAIR"}
|
|
@@ -9,22 +9,42 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { DEFAULT_PROJECT_LEARNINGS_FILE } from "./learnings-location.js";
|
|
11
11
|
import { validateConfiguredLearningsFile } from "./configured-learnings-path.js";
|
|
12
|
+
import { resolveHumanGateMode, } from "./project-config-human-gate.js";
|
|
12
13
|
const LEARNINGS_FIELDS = ["file", "mergeDriver", "lowConfidence"];
|
|
13
14
|
const HUMAN_TRIAGE = "human-triage";
|
|
14
15
|
const AUTO_MERGE = "auto-merge";
|
|
15
16
|
/**
|
|
16
17
|
* How `lisa-persist-learning` submits a low-confidence learning PR.
|
|
17
18
|
*
|
|
18
|
-
* `human-triage`
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* involve humans only when an agent is genuinely stuck; the gardener
|
|
19
|
+
* `human-triage` keeps auto-merge off and waits for a human at the
|
|
20
|
+
* `learning:needs-triage` gate. `auto-merge` submits it like a high-confidence
|
|
21
|
+
* PR — through the project's normal gates — and the gardener
|
|
22
22
|
* (`lisa-learnings-audit`) re-reviews those entries first
|
|
23
23
|
* (CodySwannGT/lisa#4659).
|
|
24
|
+
*
|
|
25
|
+
* The default follows `humanGate.mode` (CodySwannGT/lisa#4687): an agent
|
|
26
|
+
* performs every act it has access to, so under the default `"access-only"`
|
|
27
|
+
* mode an undeclared value is `auto-merge`; under `"strict"` it is
|
|
28
|
+
* `human-triage`. A declared value always wins over the mode.
|
|
24
29
|
*/
|
|
25
30
|
export const LOW_CONFIDENCE_ROUTINGS = [HUMAN_TRIAGE, AUTO_MERGE];
|
|
26
|
-
/**
|
|
27
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Routing used when `learnings.lowConfidence` is absent under the default
|
|
33
|
+
* `humanGate.mode: "access-only"`.
|
|
34
|
+
*/
|
|
35
|
+
export const DEFAULT_LOW_CONFIDENCE_ROUTING = AUTO_MERGE;
|
|
36
|
+
/** Routing used when `learnings.lowConfidence` is absent under `"strict"`. */
|
|
37
|
+
export const STRICT_LOW_CONFIDENCE_ROUTING = HUMAN_TRIAGE;
|
|
38
|
+
/**
|
|
39
|
+
* The routing an undeclared `learnings.lowConfidence` resolves to under a mode.
|
|
40
|
+
* @param mode - The `humanGate.mode` in force
|
|
41
|
+
* @returns The mode's default routing
|
|
42
|
+
*/
|
|
43
|
+
export function defaultLowConfidenceRouting(mode) {
|
|
44
|
+
return mode === "strict"
|
|
45
|
+
? STRICT_LOW_CONFIDENCE_ROUTING
|
|
46
|
+
: DEFAULT_LOW_CONFIDENCE_ROUTING;
|
|
47
|
+
}
|
|
28
48
|
/**
|
|
29
49
|
* Validate a `learnings.file` override outside every eager context surface.
|
|
30
50
|
* @param value - Raw configured path
|
|
@@ -69,8 +89,8 @@ export function validateLearningsConfig(value, source) {
|
|
|
69
89
|
* The driver is strictly opt-out: only literal false disables it. Runtime
|
|
70
90
|
* config reads validate the boolean before this resolver runs; keeping the
|
|
71
91
|
* comparison here as `!== false` preserves the safe default for typed callers.
|
|
72
|
-
* Low-confidence routing
|
|
73
|
-
*
|
|
92
|
+
* Low-confidence routing honours a declared value and otherwise follows the
|
|
93
|
+
* `humanGate.mode` default ({@link defaultLowConfidenceRouting}).
|
|
74
94
|
* @param config - Validated project config snapshot
|
|
75
95
|
* @returns Resolved ledger path, merge-driver enablement, and low-confidence routing
|
|
76
96
|
*/
|
|
@@ -78,11 +98,26 @@ export function resolveLearningsSettings(config) {
|
|
|
78
98
|
return Object.freeze({
|
|
79
99
|
learningsFile: resolveProjectLearningsFile(config),
|
|
80
100
|
mergeDriverEnabled: config.learnings?.mergeDriver !== false,
|
|
81
|
-
lowConfidence: config
|
|
82
|
-
? AUTO_MERGE
|
|
83
|
-
: DEFAULT_LOW_CONFIDENCE_ROUTING,
|
|
101
|
+
lowConfidence: resolveLowConfidence(config),
|
|
84
102
|
});
|
|
85
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* The routing in force. A declared value wins; an ABSENT one follows the
|
|
106
|
+
* `humanGate.mode` default. A value that is present but not a routing — only
|
|
107
|
+
* reachable by a typed caller that skipped validation, since the reader
|
|
108
|
+
* rejects it — fails safe, to `human-triage`.
|
|
109
|
+
* @param config - Project config snapshot
|
|
110
|
+
* @returns The routing in force
|
|
111
|
+
*/
|
|
112
|
+
function resolveLowConfidence(config) {
|
|
113
|
+
const declared = config.learnings?.lowConfidence;
|
|
114
|
+
if (declared === undefined) {
|
|
115
|
+
return defaultLowConfidenceRouting(resolveHumanGateMode(config));
|
|
116
|
+
}
|
|
117
|
+
return LOW_CONFIDENCE_ROUTINGS.includes(declared)
|
|
118
|
+
? declared
|
|
119
|
+
: STRICT_LOW_CONFIDENCE_ROUTING;
|
|
120
|
+
}
|
|
86
121
|
/**
|
|
87
122
|
* Resolve the validated ledger path while preserving the established public
|
|
88
123
|
* API used by writers and generated agent instructions.
|
|
@@ -116,8 +151,11 @@ function validateLowConfidence(value, source) {
|
|
|
116
151
|
if (value === undefined) {
|
|
117
152
|
return undefined;
|
|
118
153
|
}
|
|
119
|
-
|
|
120
|
-
|
|
154
|
+
// Trimmed and lower-cased first, like `humanGate.mode`, so "Auto-Merge" is
|
|
155
|
+
// the routing the project meant rather than a rejected config.
|
|
156
|
+
const normalized = typeof value === "string" ? value.trim().toLowerCase() : value;
|
|
157
|
+
if (LOW_CONFIDENCE_ROUTINGS.includes(normalized)) {
|
|
158
|
+
return normalized;
|
|
121
159
|
}
|
|
122
160
|
throw new Error(`Invalid learnings.lowConfidence in ${source}: expected "${AUTO_MERGE}" or "${HUMAN_TRIAGE}", received ${JSON.stringify(value)}`);
|
|
123
161
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-config-learnings.js","sourceRoot":"","sources":["../../src/core/project-config-learnings.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"project-config-learnings.js","sourceRoot":"","sources":["../../src/core/project-config-learnings.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,+BAA+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AAS,YAAY,eAAe,IAAI,CAAC,SAAS,CACrH,KAAK,CACN,EAAE,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { type StarterConfig } from "./project-config-starter.js";
|
|
2
2
|
import { type Harness } from "./config.js";
|
|
3
3
|
import { type DependenciesConfig } from "./project-config-dependencies.js";
|
|
4
|
+
import { type HumanGateConfig } from "./project-config-human-gate.js";
|
|
4
5
|
import { type LearningsConfig } from "./project-config-learnings.js";
|
|
5
6
|
import { type VerificationConfig } from "./project-config-kane.js";
|
|
6
7
|
import { type NightlyE2EConfig } from "./project-config-nightly-e2e.js";
|
|
7
8
|
export { AUTO_LOADED_RULES_DIR_PREFIXES, DEFAULT_PROJECT_LEARNINGS_FILE, PROJECT_LEARNINGS_FILENAME, } from "./learnings-location.js";
|
|
8
|
-
export { DEFAULT_LOW_CONFIDENCE_ROUTING, LOW_CONFIDENCE_ROUTINGS, resolveLearningsSettings, resolveProjectLearningsFile, type LearningsConfig, type LowConfidenceRouting, type ResolvedLearningsSettings, } from "./project-config-learnings.js";
|
|
9
|
-
export { DEFAULT_DEPENDENCY_HUMAN_SIGN_OFF, DEPENDENCY_HUMAN_SIGN_OFF_VALUES, dependencySettingsWarning, resolveDependencySettings, type DependenciesConfig, type DependencyHumanSignOff, type ResolvedDependencySettings, } from "./project-config-dependencies.js";
|
|
9
|
+
export { DEFAULT_LOW_CONFIDENCE_ROUTING, LOW_CONFIDENCE_ROUTINGS, STRICT_LOW_CONFIDENCE_ROUTING, defaultLowConfidenceRouting, resolveLearningsSettings, resolveProjectLearningsFile, type LearningsConfig, type LowConfidenceRouting, type ResolvedLearningsSettings, } from "./project-config-learnings.js";
|
|
10
|
+
export { DEFAULT_DEPENDENCY_HUMAN_SIGN_OFF, DEPENDENCY_HUMAN_SIGN_OFF_VALUES, STRICT_DEPENDENCY_HUMAN_SIGN_OFF, defaultDependencyHumanSignOff, dependencySettingsWarning, resolveDependencySettings, type DependenciesConfig, type DependencyHumanSignOff, type ResolvedDependencySettings, } from "./project-config-dependencies.js";
|
|
11
|
+
export { DEFAULT_HUMAN_GATE_MODE, HUMAN_GATE_MODES, humanGateSettingsWarnings, resolveHumanGateMode, resolveHumanGateSettings, type HumanGateConfig, type HumanGateMode, type ResolvedHumanGateSettings, } from "./project-config-human-gate.js";
|
|
10
12
|
export type { BrowserVerificationConfig, KaneBrowserConfig, VerificationConfig, } from "./project-config-kane.js";
|
|
11
13
|
export type { NightlyE2EConfig, NightlyE2ETrackingConfig, NightlyE2ETrackingDestination, } from "./project-config-nightly-e2e.js";
|
|
12
14
|
/** Filename of the per-project config, relative to the destination root */
|
|
@@ -50,9 +52,17 @@ export interface ProjectConfig {
|
|
|
50
52
|
/**
|
|
51
53
|
* Optional dependency-governance settings: `humanSignOff` turns the
|
|
52
54
|
* trust-class ratification requirements off (`"none"`) or keeps them
|
|
53
|
-
* (`"default"
|
|
55
|
+
* (`"default"`). When absent or invalid it follows `humanGate.mode`:
|
|
56
|
+
* `"none"` under `"access-only"`, `"default"` under `"strict"`.
|
|
54
57
|
*/
|
|
55
58
|
readonly dependencies?: DependenciesConfig;
|
|
59
|
+
/**
|
|
60
|
+
* Optional human-gate width (CodySwannGT/lisa#4687): `mode` is
|
|
61
|
+
* `"access-only"` (default: only acts an agent lacks access to wait on a
|
|
62
|
+
* person) or `"strict"` (the older, wider gate); `humanOnly` lists decision
|
|
63
|
+
* classes the project reserves for a person in either mode.
|
|
64
|
+
*/
|
|
65
|
+
readonly humanGate?: HumanGateConfig;
|
|
56
66
|
/** Optional empirical verification provider configuration. */
|
|
57
67
|
readonly verification?: VerificationConfig;
|
|
58
68
|
/** Optional nightly-E2E automation behavior. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-config.d.ts","sourceRoot":"","sources":["../../src/core/project-config.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAML,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EAAE,eAAe,CAAC;IACrC
|
|
1
|
+
{"version":3,"file":"project-config.d.ts","sourceRoot":"","sources":["../../src/core/project-config.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAML,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,6BAA6B,EAC7B,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAC3B,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACL,iCAAiC,EACjC,gCAAgC,EAChC,gCAAgC,EAChC,6BAA6B,EAC7B,yBAAyB,EACzB,yBAAyB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,GAChC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,uBAAuB,EACvB,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,EACpB,wBAAwB,EACxB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,yBAAyB,GAC/B,MAAM,gCAAgC,CAAC;AAExC,YAAY,EACV,yBAAyB,EACzB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,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"./config.js";
|
|
15
15
|
import { PROJECT_LEARNINGS_FILENAME } from "./learnings-location.js";
|
|
16
16
|
import { validateDependenciesConfig, } from "./project-config-dependencies.js";
|
|
17
|
+
import { validateHumanGateConfig, } from "./project-config-human-gate.js";
|
|
17
18
|
import { validateLearningsConfig, } from "./project-config-learnings.js";
|
|
18
19
|
import { validateSafeRelativeMarkdownPath } from "./safe-relative-markdown-path.js";
|
|
19
20
|
import { validateVerificationConfig, } from "./project-config-kane.js";
|
|
20
21
|
import { validateNightlyE2EConfig, } from "./project-config-nightly-e2e.js";
|
|
21
22
|
export { AUTO_LOADED_RULES_DIR_PREFIXES, DEFAULT_PROJECT_LEARNINGS_FILE, PROJECT_LEARNINGS_FILENAME, } from "./learnings-location.js";
|
|
22
|
-
export { DEFAULT_LOW_CONFIDENCE_ROUTING, LOW_CONFIDENCE_ROUTINGS, resolveLearningsSettings, resolveProjectLearningsFile, } from "./project-config-learnings.js";
|
|
23
|
-
export { DEFAULT_DEPENDENCY_HUMAN_SIGN_OFF, DEPENDENCY_HUMAN_SIGN_OFF_VALUES, dependencySettingsWarning, resolveDependencySettings, } from "./project-config-dependencies.js";
|
|
23
|
+
export { DEFAULT_LOW_CONFIDENCE_ROUTING, LOW_CONFIDENCE_ROUTINGS, STRICT_LOW_CONFIDENCE_ROUTING, defaultLowConfidenceRouting, resolveLearningsSettings, resolveProjectLearningsFile, } from "./project-config-learnings.js";
|
|
24
|
+
export { DEFAULT_DEPENDENCY_HUMAN_SIGN_OFF, DEPENDENCY_HUMAN_SIGN_OFF_VALUES, STRICT_DEPENDENCY_HUMAN_SIGN_OFF, defaultDependencyHumanSignOff, dependencySettingsWarning, resolveDependencySettings, } from "./project-config-dependencies.js";
|
|
25
|
+
export { DEFAULT_HUMAN_GATE_MODE, HUMAN_GATE_MODES, humanGateSettingsWarnings, resolveHumanGateMode, resolveHumanGateSettings, } from "./project-config-human-gate.js";
|
|
24
26
|
/** Filename of the per-project config, relative to the destination root */
|
|
25
27
|
export const PROJECT_CONFIG_FILENAME = ".lisa.config.json";
|
|
26
28
|
/**
|
|
@@ -197,6 +199,7 @@ export function validateProjectConfig(parsed, configPath) {
|
|
|
197
199
|
: validateProjectRulesFile(obj.projectRulesFile, configPath);
|
|
198
200
|
const learnings = validateLearningsConfig(obj.learnings, configPath);
|
|
199
201
|
const dependencies = validateDependenciesConfig(obj.dependencies, configPath);
|
|
202
|
+
const humanGate = validateHumanGateConfig(obj.humanGate, configPath);
|
|
200
203
|
const verification = validateVerificationConfig(obj.verification, configPath);
|
|
201
204
|
const nightlyE2E = validateNightlyE2EConfig(obj.nightlyE2E, configPath);
|
|
202
205
|
const starter = validateStarterConfig(obj.starter);
|
|
@@ -205,6 +208,7 @@ export function validateProjectConfig(parsed, configPath) {
|
|
|
205
208
|
...(projectRulesFile === undefined ? {} : { projectRulesFile }),
|
|
206
209
|
...(learnings === undefined ? {} : { learnings }),
|
|
207
210
|
...(dependencies === undefined ? {} : { dependencies }),
|
|
211
|
+
...(humanGate === undefined ? {} : { humanGate }),
|
|
208
212
|
...(verification === undefined ? {} : { verification }),
|
|
209
213
|
...(nightlyE2E === undefined ? {} : { nightlyE2E }),
|
|
210
214
|
...(starter === undefined ? {} : { starter }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-config.js","sourceRoot":"","sources":["../../src/core/project-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,qBAAqB,GAEtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,cAAc,EACd,sBAAsB,GAEvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAEL,0BAA0B,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,uBAAuB,GACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EACL,0BAA0B,GAE3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,wBAAwB,GAEzB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,GAI5B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACL,iCAAiC,EACjC,gCAAgC,EAChC,yBAAyB,EACzB,yBAAyB,GAI1B,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"project-config.js","sourceRoot":"","sources":["../../src/core/project-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,qBAAqB,GAEtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,cAAc,EACd,sBAAsB,GAEvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAEL,0BAA0B,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,uBAAuB,GACxB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,uBAAuB,GACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EACL,0BAA0B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AAO,EAAE,EAAE,EAAE,CAAC;AAClE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAsjGpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CA4zVjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
|