@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
|
@@ -82,7 +82,7 @@ Required fields (stop and ask if missing — do not invent values):
|
|
|
82
82
|
|
|
83
83
|
| Field | Required For | Notes |
|
|
84
84
|
|-------|--------------|-------|
|
|
85
|
-
| Project key | CREATE | Resolve from `.lisa.config.json` (`jira.project`);
|
|
85
|
+
| Project key | CREATE | Resolve from `.lisa.config.json` (`jira.project`); if not configured, pick it from the evidence (the projects `lisa-atlassian-access` can reach, the keys this repo's history and linked tickets use) and record the choice. Stop only when Jira is unreachable, naming the missing access |
|
|
86
86
|
| Issue type | CREATE | Story, Task, Bug, Epic, Spike, Sub-task, Improvement |
|
|
87
87
|
| Summary | CREATE, UPDATE | One line, imperative voice, under 100 chars |
|
|
88
88
|
| Description | CREATE, UPDATE | Multi-section — see Phase 3 |
|
|
@@ -218,7 +218,7 @@ If the ticket is not a Bug and not an Epic, it MUST have an epic parent:
|
|
|
218
218
|
project = <PROJECT> AND issuetype = Epic AND statusCategory != Done
|
|
219
219
|
```
|
|
220
220
|
via `lisa-atlassian-access` `operation: search-issues jql: "<query>"`. Match on keywords from the summary and description.
|
|
221
|
-
3. If no epic matches,
|
|
221
|
+
3. If no epic matches exactly, pick or create it yourself from the evidence: use the active epic the summary, description and linked work fit best, or, when none fits, create a new epic (this skill, `issue_type: Epic`) scoped to the work. Record the choice and why in the ticket description so a person can re-parent it later. Do NOT orphan the ticket.
|
|
222
222
|
|
|
223
223
|
### 4b. Related Tickets
|
|
224
224
|
|
|
@@ -315,7 +315,7 @@ Before create/update, verify each field is populated where applicable:
|
|
|
315
315
|
|
|
316
316
|
**A filing with neither is an incomplete handoff.** A leaf that is not build-ready must carry an explicit `human_gate: "<the act a person must perform>"`; nothing in the ready status means nothing ever claims it. When `human_gate` is supplied, stamp the hold on the ticket so it is auditable — after the check below.
|
|
317
317
|
|
|
318
|
-
**Validate the gate before stamping it.** A `human_gate` is for an act an agent cannot perform — a credential only a person holds, spend
|
|
318
|
+
**Validate the gate before stamping it.** A `human_gate` is for an act an agent cannot perform — an access act: `credential` (complete a login or supply a credential only a person holds), `spend`, `external-account`, `legal-signoff` (sign a legal agreement on the company's behalf), `person-only-account` (a protected deployment, a required reviewer, an account only a person holds), `unreachable-system`, or `operator-hold` (a hold the operator explicitly asked for); `human-authored-surface` (an edit to a surface declared human-authored, which no agent writes: an authorship rule, valid in both modes); or a decision class the project declared human-only (`humanGate.humanOnly`). Under `humanGate.mode: "strict"` the strict-only acts `compliance-signoff`, `accountable-person` and `lisa-policy` also count. A choice with a reasonable default is a decision, not a gate (`ready-role-filing`, "What a human gate is"). Run the check on the reason:
|
|
319
319
|
|
|
320
320
|
```bash
|
|
321
321
|
node "${CLAUDE_PLUGIN_ROOT:-node_modules/@codyswann/lisa/plugins/lisa}/scripts/human-gate-act.mjs" check --reason "<the human_gate reason>"
|
|
@@ -360,7 +360,7 @@ The validator is the **single source of truth** for what makes a valid ticket. T
|
|
|
360
360
|
|
|
361
361
|
If the validator reports `FAIL`:
|
|
362
362
|
- Surface the failure list and the per-gate remediation to the user.
|
|
363
|
-
- Do NOT proceed to Phase 6. Fix the spec
|
|
363
|
+
- Do NOT proceed to Phase 6. Fix the spec yourself from the evidence and re-run validation; stop only when a fix needs access you lack, and name that access.
|
|
364
364
|
- Never invoke `lisa-atlassian-access` with `operation: write-ticket` while the validator's verdict is FAIL.
|
|
365
365
|
|
|
366
366
|
If the validator reports `PASS`, continue to Phase 6.
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-learnings-audit
|
|
3
|
-
description: "The gardener of the learnings ladder (PRD #1729). Periodically audits every knowledge surface — ledger, rules trees (including Lisa's own shipped eager rules), skills, wiki index, and mechanical-control surfaces — gathers evidence per item (recurrence, staleness, redundancy, contradiction, budget pressure), classifies each candidate through the ladder router (skill-evaluator, advisory), and communicates exclusively through the tracker: one evidence-bearing ticket per PROMOTE/DEMOTE, one batch ticket per run for CONFIRM/RETIRE, upstream Lisa issues for upstream-scoped patterns.
|
|
3
|
+
description: "The gardener of the learnings ladder (PRD #1729). Periodically audits every knowledge surface — ledger, rules trees (including Lisa's own shipped eager rules), skills, wiki index, and mechanical-control surfaces — gathers evidence per item (recurrence, staleness, redundancy, contradiction, budget pressure), classifies each candidate through the ladder router (skill-evaluator, advisory), and communicates exclusively through the tracker: one evidence-bearing ticket per PROMOTE/DEMOTE, one batch ticket per run for CONFIRM/RETIRE, upstream Lisa issues for upstream-scoped patterns. The skill only files tickets: under the default humanGate.mode access-only they file build-ready (status:ready) and the factory implements them, except a change to a human-authored surface, which stays human-gated; under humanGate.mode strict every ticket is human-gated. Rejections (tickets closed as not planned) are remembered. Cron-able via lisa-setup-automations and runnable on demand via /lisa:learnings:audit."
|
|
4
4
|
allowed-tools: ["Skill", "Bash", "Read", "Glob", "Grep"]
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Learnings Audit (the gardener): $ARGUMENTS
|
|
8
8
|
|
|
9
9
|
Run one audit cycle over this project's knowledge surfaces and convert what the
|
|
10
|
-
evidence supports into **
|
|
10
|
+
evidence supports into **tracker tickets** — nothing else. Under the default
|
|
11
|
+
`humanGate.mode: "access-only"` those tickets file build-ready and the factory
|
|
12
|
+
implements them; under `humanGate.mode: "strict"` they are **human-gated**
|
|
13
|
+
(see Ticket emission). The
|
|
11
14
|
gardener is the only flow in Lisa that takes knowledge *back out* or moves it
|
|
12
15
|
*up* the ladder; it closes the loop that capture (learner, debrief-apply, MLD)
|
|
13
16
|
opens.
|
|
@@ -23,8 +26,10 @@ not capped), `surface=<ledger|rules|skills|wiki|all>` (default `all`),
|
|
|
23
26
|
Keep the knowledge system from silting up: every learning lives at the
|
|
24
27
|
cheapest rung that still prevents the mistake (per the six-rung ladder,
|
|
25
28
|
PRD #1729), prose never duplicates a mechanical owner, the eager tier shrinks
|
|
26
|
-
over time, and every change to "what the agents believe"
|
|
27
|
-
|
|
29
|
+
over time, and every change to "what the agents believe" passes through the
|
|
30
|
+
tracker as an evidence-bearing ticket a person can read and reverse — approved
|
|
31
|
+
by a human only under `humanGate.mode: "strict"` or when the destination is a
|
|
32
|
+
human-authored surface. A quiet run with nothing to propose is a healthy
|
|
28
33
|
outcome and says so in its one-line summary.
|
|
29
34
|
|
|
30
35
|
## Sources of truth
|
|
@@ -113,7 +118,8 @@ Never promote a check into a stage other than the one it names.
|
|
|
113
118
|
A recurring miss counts once per `[lisa-planning-miss]` note on distinct items.
|
|
114
119
|
|
|
115
120
|
**Auto-merged low-confidence entries are re-reviewed first.** A project
|
|
116
|
-
|
|
121
|
+
whose `learnings.lowConfidence` resolves to `"auto-merge"` — the default
|
|
122
|
+
under `humanGate.mode: "access-only"` — (resolve it with
|
|
117
123
|
`resolveLearningsSettings(config).lowConfidence` from
|
|
118
124
|
`@codyswann/lisa/learnings`) lets `lisa-persist-learning` merge `low`
|
|
119
125
|
learnings without a human reading them (CodySwannGT/lisa#4659). In that mode,
|
|
@@ -128,7 +134,8 @@ checked first, never evidence for a change: RETIRE or DEMOTE still needs
|
|
|
128
134
|
proof (a contradiction, staleness, a mechanical owner), and Recurrence
|
|
129
135
|
evidence that it applied is a CONFIRM. Name these entries in the run proof
|
|
130
136
|
(`low-confidence re-reviewed: <ids>`), so an operator can see that the
|
|
131
|
-
skipped human gate was paid for here. Under
|
|
137
|
+
skipped human gate was paid for here. Under `human-triage` (the default
|
|
138
|
+
only under `humanGate.mode: "strict"`) a
|
|
132
139
|
`low` entry reached the ledger only through a human merge, so it keeps the
|
|
133
140
|
normal order.
|
|
134
141
|
|
|
@@ -223,13 +230,25 @@ audits the auditor without re-running it.
|
|
|
223
230
|
## Ticket emission
|
|
224
231
|
|
|
225
232
|
All project-tracker writes go through **`lisa-tracker-write`** so gardener
|
|
226
|
-
tickets pass the same validation gates as all factory work.
|
|
227
|
-
`
|
|
228
|
-
|
|
229
|
-
`
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
the
|
|
233
|
+
tickets pass the same validation gates as all factory work. Resolve
|
|
234
|
+
`humanGate.mode` from `.lisa.config.json` (default `"access-only"`):
|
|
235
|
+
|
|
236
|
+
- **`access-only` (default)** — file every PROMOTE / DEMOTE / RETIRE /
|
|
237
|
+
CONFIRM ticket **build-ready** (`status:ready`), with no `human_gate`. The
|
|
238
|
+
gardener has the evidence and the access, so it makes the call; the
|
|
239
|
+
ticket's evidence and rationale are the recorded reasoning a person can
|
|
240
|
+
reverse later. The one exception is a ticket whose change lands on a
|
|
241
|
+
**human-authored surface** (`.agents/rules/`, `PROJECT_RULES.md`,
|
|
242
|
+
`AGENTS.md`, or any surface the project declares human-authored): no agent
|
|
243
|
+
writes those, so it passes `human_gate: "a person edits <surface>, which is
|
|
244
|
+
declared human-authored, so no agent may write it"`. That is an authorship
|
|
245
|
+
rule, not an access gate, and it holds in both modes.
|
|
246
|
+
- **`strict`** — nothing is created `status:ready`; the human flips. Per
|
|
247
|
+
`ready-role-filing` that hold is **declared, not implied**: every gardener
|
|
248
|
+
ticket passes `human_gate: "a human decides whether this knowledge is
|
|
249
|
+
promoted, demoted, or retired"` so the writer stamps the auditable
|
|
250
|
+
`[lisa-human-gate]` marker. An omitted flag would be indistinguishable from
|
|
251
|
+
the accidental non-ready filing the rule exists to catch.
|
|
233
252
|
|
|
234
253
|
**Per-item tickets — PROMOTE / DEMOTE** (`issue_type: Task`; GitHub trackers
|
|
235
254
|
carry the `type:Task` label) — one ticket per recommendation, capped by
|
|
@@ -276,7 +295,9 @@ at audit time (`learning-` plus 20 hex digits, or a legacy token). It is not the
|
|
|
276
295
|
12-hex `<invariant-hash>` in the row's `[lisa-gardener]` marker — the two are
|
|
277
296
|
different identifiers, and only the entry fingerprint shows whether a later
|
|
278
297
|
consolidation rewrote the entry behind the same id. Rows are individually
|
|
279
|
-
strikeable
|
|
298
|
+
strikeable. Under `access-only` the batch files build-ready and a person
|
|
299
|
+
may still strike a row before the factory picks it up; under `strict` the
|
|
300
|
+
human deletes rows they reject, then flips the ticket ready.
|
|
280
301
|
The gardener **never bumps `last_confirmed` itself**: the bumps are executed
|
|
281
302
|
by the **implementing factory run** that picks up the flipped batch ticket.
|
|
282
303
|
Embed the following execution contract **verbatim** (markers included — do
|
|
@@ -384,15 +405,19 @@ it as **Completed** if it was fixed — a later recurrence may be re-filed as a
|
|
|
384
405
|
|
|
385
406
|
## Autonomous-vs-approval boundary
|
|
386
407
|
|
|
387
|
-
**
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
408
|
+
**This skill only files tickets.** The gardener never edits, writes, or
|
|
409
|
+
deletes any rule, skill, wiki page, ledger entry, lint config, or hook itself;
|
|
410
|
+
it never merges or transitions an existing ticket; it never bumps
|
|
411
|
+
`last_confirmed`. Autonomous actions are limited to: reading surfaces,
|
|
412
|
+
gathering evidence, invoking the advisory router, and creating/commenting
|
|
413
|
+
marker-deduped tickets. The factory then executes each `status:ready` ticket
|
|
414
|
+
like any work item, honoring the `promotion-contract` rule.
|
|
415
|
+
|
|
416
|
+
Who gates depends on `humanGate.mode` (see Ticket emission). Under the
|
|
417
|
+
default `access-only` the gardener decides: it files build-ready and the
|
|
418
|
+
factory implements, and only a change to a human-authored surface is
|
|
419
|
+
human-gated. Under `strict` everything is human-gated: humans gate by
|
|
420
|
+
flipping a ticket to `status:ready` or closing it as rejected.
|
|
396
421
|
|
|
397
422
|
## Escalation
|
|
398
423
|
|
|
@@ -414,8 +439,10 @@ rather than reissued. **Filing order**: file the per-item PROMOTE/DEMOTE
|
|
|
414
439
|
tickets first and the CONFIRM/RETIRE **batch ticket last** — the batch is the
|
|
415
440
|
run's completion signal, so a crash mid-run leaves individually
|
|
416
441
|
marker-recoverable per-item tickets and a missing (not half-filled) batch:
|
|
417
|
-
the most recoverable state. Never attempt to "roll back" filed tickets
|
|
418
|
-
|
|
442
|
+
the most recoverable state. Never attempt to "roll back" filed tickets by
|
|
443
|
+
deleting them. Close-out decisions are the agent's: when new evidence shows a
|
|
444
|
+
filed ticket is wrong or redundant, close it with the evidence in a comment so
|
|
445
|
+
a person can reopen it.
|
|
419
446
|
|
|
420
447
|
## Run outcomes
|
|
421
448
|
|
|
@@ -500,10 +527,14 @@ automation, through `lisa-tracker-write` (per `tracked-work` +
|
|
|
500
527
|
candidate evidence, not the dedupe key. When an existing proposal suppresses
|
|
501
528
|
filing, **the run still records `policy-obsolete` and files nothing** — the
|
|
502
529
|
outcome describes this run, while the ticket is filed exactly once.
|
|
503
|
-
- **Labels** `
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
530
|
+
- **Labels** follow `humanGate.mode`. Under the default `access-only` the loop makes the call
|
|
531
|
+
itself: it picks one response from the evidence below (tear down, or re-cadence to a named longer
|
|
532
|
+
cadence), states it with its reasoning, and files the proposal build-ready (`status:ready`), so the
|
|
533
|
+
factory run that claims it performs that response with the matching command. If that run cannot
|
|
534
|
+
reach the scheduler, it holds the item naming that access. Under `strict`: `status:blocked` +
|
|
535
|
+
`human-needed`, carrying the contract's decision-ready packet. The `human-needed` label marks the
|
|
536
|
+
proposal human-owned: `lisa-repair-intake` recognizes it and never re-dispatches it as stalled
|
|
537
|
+
work.
|
|
507
538
|
- **Evidence** the date-filtered search result, this run's summary, **the
|
|
508
539
|
loop's current cadence** (the baseline an operator needs to choose a longer
|
|
509
540
|
one), and a one-line summary of recent runs read from
|
|
@@ -521,9 +552,10 @@ automation, through `lisa-tracker-write` (per `tracked-work` +
|
|
|
521
552
|
(`rejection-detection`):
|
|
522
553
|
> To stop this from being raised again, close it as **Not planned**. Close it as **Completed** if it was fixed — a later recurrence may be re-filed as a regression.
|
|
523
554
|
|
|
524
|
-
The gardener **keeps running at its normal cadence** until
|
|
525
|
-
|
|
526
|
-
|
|
555
|
+
The gardener **keeps running at its normal cadence** until that ticket is
|
|
556
|
+
acted on (by the factory run that claims it under `access-only`, by a human
|
|
557
|
+
under `strict`) — retirement is never a self-executed exit within the run that
|
|
558
|
+
proposes it — and it never deletes its own
|
|
527
559
|
registration.
|
|
528
560
|
|
|
529
561
|
## Scheduling
|
|
@@ -212,14 +212,14 @@ A blocker is a **claim with a timestamp, not a fact**. It is written once and go
|
|
|
212
212
|
For each pre-work candidate that is **not** in `$READY`:
|
|
213
213
|
|
|
214
214
|
1. **Read release comments before applying the human gate.** Pass all item comments, labels,
|
|
215
|
-
body, `trustedHumanActorIds
|
|
216
|
-
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
215
|
+
body, `trustedHumanActorIds`, configured `humanNeededLabel`, `humanOnly` and `humanGateMode` to `classifyReadyCandidate(...)`. For a discharged hold,
|
|
216
|
+
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
217
217
|
and retain its plan. Apply human-marker cleanup only as planned; defer any ready-role restoration
|
|
218
218
|
until steps 2–5 have cleared the remaining blockers (map the role to the vendor's state or label).
|
|
219
219
|
A still-active hold is never auto-selected, whatever any probe says. An absent or unreadable
|
|
220
220
|
comment history cannot discharge a hold. A release removes only the human hold: continue the
|
|
221
221
|
remaining blocker checks below before selecting the item.
|
|
222
|
-
Lift invalid holds first: call `planHumanGateLift({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels })` from `scripts/human-gate-lift.mjs`. Post its `comments` and apply only
|
|
222
|
+
Lift invalid holds first: call `planHumanGateLift({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels })` from `scripts/human-gate-lift.mjs`. Post its `comments` and apply only
|
|
223
223
|
`removeHumanNeededLabel` here; defer `addReadyLabel` until the remaining blocker checks below
|
|
224
224
|
clear, exactly as for a release. A hold that names no act an agent cannot perform then never
|
|
225
225
|
blocks selection, and an item with a real blocker never skips the re-probe. A hold that is
|
|
@@ -229,11 +229,11 @@ For each pre-work candidate that is **not** in `$READY`:
|
|
|
229
229
|
step 2's probe. Keep probing any independent blocker the item states.
|
|
230
230
|
|
|
231
231
|
2. **Extract the stated discharge condition** from the description or the most recent blocking comment — the sentence naming what has to become true.
|
|
232
|
-
3. **Probe it.** Machine-testable conditions are the ones that rot fastest and are cheapest to check: a version on trunk (`git show origin/<trunk>:<manifest>`), a published package, a run history (`gh run list`), an advisory's patched status. A condition that is a
|
|
232
|
+
3. **Probe it.** Machine-testable conditions are the ones that rot fastest and are cheapest to check: a version on trunk (`git show origin/<trunk>:<manifest>`), a published package, a run history (`gh run list`), an advisory's patched status. A condition that is a decision rather than a fact is not machine-testable, but it is not a reason to wait: when the evidence supports a call, make it, record a `Decision:` line on the item (what was chosen and why) as the discharging evidence, and treat the condition as discharged. Leave the item only when the condition needs access the agent lacks (name it) or is a hold the operator explicitly asked for. Under `humanGate.mode: "strict"`, leave every decision for a person.
|
|
233
233
|
4. **Classify with the shared helper** so the ordering and the evidence requirement cannot drift per vendor:
|
|
234
234
|
|
|
235
235
|
```text
|
|
236
|
-
classifyPreWorkCandidate({ laneType, labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, statedBlocker, probe })
|
|
236
|
+
classifyPreWorkCandidate({ laneType, labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, statedBlocker, probe })
|
|
237
237
|
→ { selectable, reason, humanGated, evidence }
|
|
238
238
|
```
|
|
239
239
|
|
|
@@ -258,8 +258,8 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
258
258
|
|
|
259
259
|
**Lift invalid holds before classifying.** A hold filed under the old "human product call"
|
|
260
260
|
wording that names no act an agent cannot perform is not a hold (`ready-role-filing`, "What a human
|
|
261
|
-
gate is"), and no person should have to comment to end it. Call `planHumanGateLift({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels })` from `scripts/human-gate-lift.mjs`, with `humanOnly` read
|
|
262
|
-
from `humanGate.humanOnly` in config. Post each string in its `comments` once (each begins
|
|
261
|
+
gate is"), and no person should have to comment to end it. Call `planHumanGateLift({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels })` from `scripts/human-gate-lift.mjs`, with `humanOnly` read
|
|
262
|
+
from `humanGate.humanOnly` and `humanGateMode` from `humanGate.mode` in config (one call: `node scripts/human-gate-act.mjs policy` prints both; a reader that omits the mode judges under access-only, so a strict project must pass it). Post each string in its `comments` once (each begins
|
|
263
263
|
`[lisa-human-gate-lifted] reason=<slug>` and explains why), apply its `actions` (remove the
|
|
264
264
|
human-needed marker, add the ready role back), then classify below with those comments included. A
|
|
265
265
|
valid hold (credential, spend, sign-off, and the rest) plans nothing and stays held; so does a
|
|
@@ -282,7 +282,7 @@ printed even at zero.
|
|
|
282
282
|
and re-rejected every cycle forever and seen by nothing — `lisa-repair-intake` sweeps items that
|
|
283
283
|
are **not** in the ready role and excludes gated ones outright, so a ready-and-gated item falls
|
|
284
284
|
outside its filter twice over. Call
|
|
285
|
-
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, alreadyNotified })`
|
|
285
|
+
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, alreadyNotified })`
|
|
286
286
|
and apply exactly the actions it returns: remove `$READY`, add the configured human-needed
|
|
287
287
|
marker, and post `formatHumanGateNote()` once. The planner is idempotent by state, so an item
|
|
288
288
|
already out of the lane and already marked yields no second mutation and no second comment. This
|
|
@@ -292,7 +292,7 @@ printed even at zero.
|
|
|
292
292
|
This ready-lane candidate can retain a historical body marker and a human-needed label.
|
|
293
293
|
This step reconciles only candidates still in the ready lane; released holds outside it are
|
|
294
294
|
recovered by `lisa-repair-intake` step 2b (or Phase 2.5 when included in this cycle). Call
|
|
295
|
-
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
295
|
+
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
296
296
|
and apply exactly the actions it returns: remove the configured human-needed marker, add the
|
|
297
297
|
configured ready role back, and post `formatHumanGateReleaseNote()` once. It is the exact inverse
|
|
298
298
|
of step 3's planner and it refuses in both directions — an item still held plans nothing, and an
|
|
@@ -67,7 +67,7 @@ If either is missing, **refuse to post**: stop and report the missing Not-establ
|
|
|
67
67
|
|
|
68
68
|
## Phase 2 — Upload Evidence Files (optional)
|
|
69
69
|
|
|
70
|
-
If `evidence/files/` is non-empty, resolve the release with `RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure)` (it creates a missing release
|
|
70
|
+
If `evidence/files/` is non-empty, resolve the release with `RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure)` (it creates a missing release, rolls over to `<release>-2`, `-3`, … when one is nearly full, and stops only when a pinned release or every overflow release is full, or the release name is too long to roll over; default `pr-assets`), then upload each text file to it on the current repo via `gh release upload "$RELEASE"`. The release is the permalink store — keeps the Linear comment lightweight while preserving large outputs.
|
|
71
71
|
|
|
72
72
|
For each uploaded file, capture the public release URL.
|
|
73
73
|
|
|
@@ -364,7 +364,7 @@ To run the gate, this skill must:
|
|
|
364
364
|
|
|
365
365
|
1. Pull the remote links of every epic and story created in this run via `lisa-tracker-read (vendor-neutral; dispatches to jira-read-ticket or github-read-issue)`.
|
|
366
366
|
2. Apply the §8 preservation matrix and verdict rules.
|
|
367
|
-
3. If the gate fails: list each dropped/misrouted artifact and
|
|
367
|
+
3. If the gate fails: list each dropped/misrouted artifact and re-attach each via `lisa-tracker-write` (UPDATE mode), choosing the destination ticket from the evidence and recording why. Stop only when re-attaching needs access you lack (for example, the source artifact or the tracker cannot be reached), and name that access.
|
|
368
368
|
4. If the gate passes: print the matrix compactly and proceed to Phase 6.
|
|
369
369
|
|
|
370
370
|
This gate is not optional.
|
|
@@ -210,7 +210,7 @@ If the parent is explicitly provided, use it. Otherwise:
|
|
|
210
210
|
lisa-linear-access operation: list-projects({team: <teamKey>, state: ["backlog", "planned", "started"]})
|
|
211
211
|
```
|
|
212
212
|
Match on keywords from the summary and description.
|
|
213
|
-
2. If no
|
|
213
|
+
2. If no Project matches exactly, pick or create it yourself from the evidence: use the active Project the summary, description and linked work fit best, or, when none fits, create a new Project (this skill, `issue_type: Epic`) scoped to the work. Record the choice and why in the Issue description so a person can re-parent it later. Do NOT orphan the item.
|
|
214
214
|
|
|
215
215
|
### 4b. Related Items
|
|
216
216
|
|
|
@@ -257,7 +257,7 @@ Linear native relations are set on the Issue via `save_issue`'s `relations` fiel
|
|
|
257
257
|
|
|
258
258
|
**Adding a relation to an already-linked pair may be a REPLACE, not an add.** Reported measured twice against the raw `issueRelationCreate` mutation: creating a `blocks` edge between two issues already carrying a `related` edge converted that edge in place — the source issue's outgoing relation count did not grow (CodySwannGT/lisa#3605). Relationship discovery is mandatory on the UPDATE path as well as creation, so this skill's own contract routinely points it at pairs that already have edges.
|
|
259
259
|
|
|
260
|
-
So on an update, read the pair's existing relations before writing one. Where an edge already exists and differs in type,
|
|
260
|
+
So on an update, read the pair's existing relations before writing one. Where an edge already exists and differs in type, decide from the evidence (both issues' bodies, history and linked work) which type is right, and record a `Decision:` line on the issue before changing it (under `humanGate.mode: "strict"`, surface it and let a human decide) — **an inherited relation is not a verified one**, and rewriting it silently removes the only moment anyone would check what it meant.
|
|
261
261
|
|
|
262
262
|
**The true undo is delete plus re-create with the original type.** A single delete removes the link entirely and does not restore what was there before, so any runbook recording "undo = delete relation X" has written down a plan that loses the prior relationship.
|
|
263
263
|
|
|
@@ -309,7 +309,7 @@ For Bug / Task / Sub-task, ensure the summary is prefixed with `[<repo-name>]`.
|
|
|
309
309
|
|
|
310
310
|
**A filing with neither is an incomplete handoff.** A leaf that is not build-ready must carry an explicit `human_gate: "<the act a person must perform>"`; nothing in the ready lane means nothing ever claims it. When `human_gate` is supplied, stamp the hold on the Issue so it is auditable — after the check below.
|
|
311
311
|
|
|
312
|
-
**Validate the gate before stamping it.** A `human_gate` is for an act an agent cannot perform — a credential only a person holds, spend
|
|
312
|
+
**Validate the gate before stamping it.** A `human_gate` is for an act an agent cannot perform — an access act: `credential` (complete a login or supply a credential only a person holds), `spend`, `external-account`, `legal-signoff` (sign a legal agreement on the company's behalf), `person-only-account` (a protected deployment, a required reviewer, an account only a person holds), `unreachable-system`, or `operator-hold` (a hold the operator explicitly asked for); `human-authored-surface` (an edit to a surface declared human-authored, which no agent writes: an authorship rule, valid in both modes); or a decision class the project declared human-only (`humanGate.humanOnly`). Under `humanGate.mode: "strict"` the strict-only acts `compliance-signoff`, `accountable-person` and `lisa-policy` also count. A choice with a reasonable default is a decision, not a gate (`ready-role-filing`, "What a human gate is"). Run the check on the reason:
|
|
313
313
|
|
|
314
314
|
```bash
|
|
315
315
|
node "${CLAUDE_PLUGIN_ROOT:-node_modules/@codyswann/lisa/plugins/lisa}/scripts/human-gate-act.mjs" check --reason "<the human_gate reason>"
|
|
@@ -333,7 +333,7 @@ person scanning a board and to any path that has not yet been routed through the
|
|
|
333
333
|
If the label does not exist in the tracker, create it, or record that it could not be applied and
|
|
334
334
|
proceed — the marker still holds. Never file the label *instead of* the marker.
|
|
335
335
|
|
|
336
|
-
**Every marker reader must consult comments.** Use `classifyReadyCandidate` with labels, body, comments
|
|
336
|
+
**Every marker reader must consult comments.** Use `classifyReadyCandidate` with labels, body, comments, the configured human-needed label, `humanOnly` and `humanGateMode` (from `humanGate.mode`), then `planHumanGateRelease` for any release actions. A historical body marker alone is not an active hold after its matching release; unreadable comments leave a hold in place.
|
|
337
337
|
|
|
338
338
|
**Write a `reason=` the release can name.** The hold's reason is not decoration: a hold ends when a
|
|
339
339
|
`[lisa-human-gate-release]` comment repeating that same `reason=` is recorded on the item by an authorized human, and the
|
|
@@ -356,7 +356,7 @@ The validator is the **single source of truth** for what makes a valid Linear wo
|
|
|
356
356
|
|
|
357
357
|
If the validator reports `FAIL`:
|
|
358
358
|
- Surface the failure list and the per-gate remediation to the user.
|
|
359
|
-
- Do NOT proceed to Phase 6. Fix the spec
|
|
359
|
+
- Do NOT proceed to Phase 6. Fix the spec yourself from the evidence and re-run validation; stop only when a fix needs access you lack, and name that access.
|
|
360
360
|
- Never call `lisa-linear-access operation: save-project` or `lisa-linear-access operation: save-issue` while the validator's verdict is FAIL.
|
|
361
361
|
|
|
362
362
|
If the validator reports `PASS`, continue to Phase 6.
|
|
@@ -204,9 +204,14 @@ watching it. Evaluate all three. When all three hold, record `policy-obsolete` a
|
|
|
204
204
|
**Completed** means the prior approved action happened, so a later recurrence may be re-filed.
|
|
205
205
|
When an existing proposal suppresses filing, **the run still records `policy-obsolete` and files
|
|
206
206
|
nothing** — the outcome describes this run, while the ticket is filed exactly once.
|
|
207
|
-
- **Labels** `
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
- **Labels** follow `humanGate.mode`. Under the default `access-only` the loop makes the call
|
|
208
|
+
itself: it picks one response from the evidence below (tear down, or re-cadence to a named longer
|
|
209
|
+
cadence), states it with its reasoning, and files the proposal build-ready (`status:ready`), so the
|
|
210
|
+
factory run that claims it performs that response with the matching command. If that run cannot
|
|
211
|
+
reach the scheduler, it holds the item naming that access. Under `strict`: `status:blocked` +
|
|
212
|
+
`human-needed`, carrying the contract's decision-ready packet. The `human-needed` label marks the
|
|
213
|
+
proposal human-owned: `lisa-repair-intake` recognizes it and never re-dispatches it as stalled
|
|
214
|
+
work.
|
|
210
215
|
- **Evidence** the date-filtered search result, this run's summary, **the loop's current cadence**
|
|
211
216
|
(the baseline an operator needs to choose a longer one), and a one-line summary of recent runs
|
|
212
217
|
read from `.lisa/automations/runs/monitor.jsonl`. Fill the rest of the packet the same way every
|
|
@@ -220,5 +225,6 @@ watching it. Evaluate all three. When all three hold, record `policy-obsolete` a
|
|
|
220
225
|
- **Operator footer**, verbatim, as on every loop-filed proposal (`rejection-detection`):
|
|
221
226
|
> To stop this from being raised again, close it as **Not planned**. Close it as **Completed** if it was fixed — a later recurrence may be re-filed as a regression.
|
|
222
227
|
|
|
223
|
-
The loop **keeps running at its normal cadence** until
|
|
228
|
+
The loop **keeps running at its normal cadence** until the proposal is acted on (by the factory run
|
|
229
|
+
that claims it under `access-only`, by a human under `strict`), and never deletes its own
|
|
224
230
|
registration.
|
|
@@ -375,7 +375,7 @@ To run the gate, this skill must:
|
|
|
375
375
|
|
|
376
376
|
1. Pull the remote links of every epic and story created in this run via `lisa-tracker-read (vendor-neutral; dispatches to jira-read-ticket or github-read-issue)`.
|
|
377
377
|
2. Apply the §8 preservation matrix and verdict rules.
|
|
378
|
-
3. If the gate fails: list each dropped/misrouted artifact (domain, title, source page, why it was dropped) and
|
|
378
|
+
3. If the gate fails: list each dropped/misrouted artifact (domain, title, source page, why it was dropped) and re-attach each via `lisa-tracker-write` (UPDATE mode), choosing the destination ticket from the evidence and recording why. Stop only when re-attaching needs access you lack (for example, the source artifact or the tracker cannot be reached), and name that access. Never silently proceed past a gate failure.
|
|
379
379
|
4. If the gate passes: print the matrix compactly and proceed to Phase 6.
|
|
380
380
|
|
|
381
381
|
This gate is not optional. Skipping it is the failure mode the architecture exists to prevent.
|
|
@@ -235,13 +235,13 @@ No learning content is ever committed without a PR — there is no other write p
|
|
|
235
235
|
Stage: <planning_stage>. The worker could not find: "<quoted>". Planning skills read this rule back through the bounded projection (`lisa-task-decomposition` step 0).
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
For a **low-confidence** PR (other than a `wrongly-escalated` one, which no human merges — step 6), the body must additionally end with one fixed line chosen by the step-6 routing mode. Under `human-triage` (the default) it is this decision-framing line, so the human at the gate knows exactly what merging means:
|
|
238
|
+
For a **low-confidence** PR (other than a `wrongly-escalated` one, which no human merges — step 6), the body must additionally end with one fixed line chosen by the step-6 routing mode. Under `human-triage` (the default only under `humanGate.mode: "strict"`) it is this decision-framing line, so the human at the gate knows exactly what merging means:
|
|
239
239
|
|
|
240
240
|
```markdown
|
|
241
241
|
**Merge** to adopt this rule into every future session for all six coding agents; **close** to discard it.
|
|
242
242
|
```
|
|
243
243
|
|
|
244
|
-
Under `auto-merge` nobody stands at that gate, so the line instead says why the PR merges unattended and who re-checks it (resolve the mode with the step-6 command before writing the body):
|
|
244
|
+
Under `auto-merge` (the default under `humanGate.mode: "access-only"`) nobody stands at that gate, so the line instead says why the PR merges unattended and who re-checks it (resolve the mode with the step-6 command before writing the body):
|
|
245
245
|
|
|
246
246
|
```markdown
|
|
247
247
|
Low-confidence learning: merges through the normal gates under `learnings.lowConfidence: "auto-merge"`; the gardener (`lisa-learnings-audit`) re-reviews it first.
|
|
@@ -253,10 +253,10 @@ No learning content is ever committed without a PR — there is no other write p
|
|
|
253
253
|
LOW_CONFIDENCE=$(node -e 'import("@codyswann/lisa/learnings").then(async m => { const c = await m.readProjectConfig(process.cwd()); console.log(m.resolveLearningsSettings(c).lowConfidence); })')
|
|
254
254
|
```
|
|
255
255
|
|
|
256
|
-
|
|
256
|
+
When the key is absent the default follows `humanGate.mode`: it prints `auto-merge` under the default `"access-only"` mode and `human-triage` under `"strict"`. A value the project sets explicitly always wins over the mode.
|
|
257
257
|
|
|
258
258
|
- **`high`** → submit through `lisa-git-submit-pr` with its defaults: auto-merge ON, merging through the project's normal gates.
|
|
259
|
-
- **`low` + `auto-merge`** → submit through `lisa-git-submit-pr` with its defaults, exactly like `high`: auto-merge ON, merging through the project's normal gates — the gates are not skipped, only the human wait is. This is for operators who involve humans only when an agent is genuinely stuck; the human gate's purpose is still covered, because the ledger is a cold, bounded projection, a planning-miss rule only adds a planning check, and the gardener can retire or demote a wrong entry. Keep the entry findable without blocking the merge: the ledger entry already carries `confidence: low` (step 3), and the PR gets the `learning:low-confidence` label (never `learning:needs-triage`, which means a human still has to act), created idempotently first:
|
|
259
|
+
- **`low` + `auto-merge`** → submit through `lisa-git-submit-pr` with its defaults, exactly like `high`: auto-merge ON, merging through the project's normal gates — the gates are not skipped, only the human wait is. This is the default under `humanGate.mode: "access-only"`, for operators who involve humans only when an agent is genuinely stuck; the human gate's purpose is still covered, because the ledger is a cold, bounded projection, a planning-miss rule only adds a planning check, and the gardener can retire or demote a wrong entry. Keep the entry findable without blocking the merge: the ledger entry already carries `confidence: low` (step 3), and the PR gets the `learning:low-confidence` label (never `learning:needs-triage`, which means a human still has to act), created idempotently first:
|
|
260
260
|
|
|
261
261
|
```bash
|
|
262
262
|
gh label create "learning:low-confidence" \
|
|
@@ -268,7 +268,7 @@ No learning content is ever committed without a PR — there is no other write p
|
|
|
268
268
|
```
|
|
269
269
|
|
|
270
270
|
Labeling never blocks: if it fails, report it in the run summary and leave the PR armed. The run summary names the routing mode used.
|
|
271
|
-
- **`low` + `human-triage`** (the default) → submit through `lisa-git-submit-pr` with `auto_merge=false` (drives the PR to green-and-open `awaiting-human`, never merging — even on repos that disallow auto-merge). Then apply the human-triage label, creating it idempotently first (the `lisa-drive-pr-to-merge` label pattern — `|| true` tolerates only already-exists, so verify):
|
|
271
|
+
- **`low` + `human-triage`** (the default under `humanGate.mode: "strict"`, or set explicitly) → submit through `lisa-git-submit-pr` with `auto_merge=false` (drives the PR to green-and-open `awaiting-human`, never merging — even on repos that disallow auto-merge). Then apply the human-triage label, creating it idempotently first (the `lisa-drive-pr-to-merge` label pattern — `|| true` tolerates only already-exists, so verify):
|
|
272
272
|
|
|
273
273
|
```bash
|
|
274
274
|
gh label create "learning:needs-triage" \
|
|
@@ -356,9 +356,14 @@ marker-deduped teardown proposal through `lisa-tracker-write` (per `tracked-work
|
|
|
356
356
|
**Completed** means the prior approved action happened, so a later recurrence may be re-filed.
|
|
357
357
|
When an existing proposal suppresses filing, **the run still records `policy-obsolete` and files
|
|
358
358
|
nothing** — the outcome describes this run, while the ticket is filed exactly once.
|
|
359
|
-
- **Labels** `
|
|
360
|
-
|
|
361
|
-
|
|
359
|
+
- **Labels** follow `humanGate.mode`. Under the default `access-only` the loop makes the call
|
|
360
|
+
itself: it picks one response from the evidence below (tear down, or re-cadence to a named longer
|
|
361
|
+
cadence), states it with its reasoning, and files the proposal build-ready (`status:ready`), so the
|
|
362
|
+
factory run that claims it performs that response with the matching command. If that run cannot
|
|
363
|
+
reach the scheduler, it holds the item naming that access. Under `strict`: `status:blocked` +
|
|
364
|
+
`human-needed`, carrying the contract's decision-ready packet. The `human-needed` label marks the
|
|
365
|
+
proposal human-owned: `lisa-repair-intake` recognizes it and never re-dispatches it as stalled
|
|
366
|
+
work.
|
|
362
367
|
- **Evidence** the date-filtered search result, this run's summary, **the loop's current cadence**
|
|
363
368
|
(the baseline an operator needs to choose a longer one), and a one-line summary of recent runs
|
|
364
369
|
read from `.lisa/automations/runs/exploratory-prds.jsonl`. Fill the rest of the packet the same
|
|
@@ -373,7 +378,8 @@ marker-deduped teardown proposal through `lisa-tracker-write` (per `tracked-work
|
|
|
373
378
|
- **Operator footer**, verbatim, as on every loop-filed proposal (`rejection-detection`):
|
|
374
379
|
> To stop this from being raised again, close it as **Not planned**. Close it as **Completed** if it was fixed — a later recurrence may be re-filed as a regression.
|
|
375
380
|
|
|
376
|
-
The loop **keeps running at its normal cadence** until
|
|
381
|
+
The loop **keeps running at its normal cadence** until the proposal is acted on (by the factory run
|
|
382
|
+
that claims it under `access-only`, by a human under `strict`), and never deletes its own
|
|
377
383
|
registration.
|
|
378
384
|
|
|
379
385
|
## Out of scope (hard rules)
|
|
@@ -408,8 +408,12 @@ the vendor build-intake runs**, skipping the claim transition (the item is alrea
|
|
|
408
408
|
standing in for the scanner that never got to finish it.
|
|
409
409
|
3. **On a surfaced blocker** (agent reports it cannot proceed), leave/move the item to `blocked`
|
|
410
410
|
with a `[lisa-repair-intake]` note (see Loop prevention). When the surfaced blocker is something
|
|
411
|
-
**only a human can supply** (credentials
|
|
412
|
-
|
|
411
|
+
**only a human can supply** (credentials or access/permissions the agent cannot obtain — an
|
|
412
|
+
interactive login, a secret store it cannot reach, spending money, a legal signature, an account
|
|
413
|
+
only a person holds — or a hold the operator explicitly asked for), the item also carries the
|
|
414
|
+
`human_needed` marker. A product or scoping decision is not on that list: the agent makes it from
|
|
415
|
+
the evidence, records the reasoning on the item, and continues (under `humanGate.mode: "strict"`
|
|
416
|
+
it is human-needed as before). The vendor agent's pre-flight gate applies the marker; if
|
|
413
417
|
repair-intake makes the block transition itself for such a reason, it adds the marker too. (A
|
|
414
418
|
block that another tracked ticket or retry will clear is *not* human-needed — that is the
|
|
415
419
|
auto-recoverable fix-ticket path above.)
|
|
@@ -694,11 +698,15 @@ LISA_BLOCKER_NODE
|
|
|
694
698
|
re-formed every cycle and a human had to break the loop. Reading the relation back is what makes
|
|
695
699
|
"I removed the link" distinguishable from "I meant to".
|
|
696
700
|
|
|
697
|
-
**An `escalate` verdict
|
|
701
|
+
**An `escalate` verdict never dissolves the edge as satisfied.** The sharp case is
|
|
698
702
|
a blocker closed `NOT PLANNED`: the work depended on will never be delivered, so dissolving reads
|
|
699
|
-
as "unblocked" when nothing was built
|
|
700
|
-
|
|
701
|
-
|
|
703
|
+
as "unblocked" when nothing was built. Treating closure as satisfaction is the same reason-blind
|
|
704
|
+
wrong write as CodySwannGT/lisa#3479. Under the default `humanGate.mode: "access-only"` the
|
|
705
|
+
scoping call is the agent's: re-scope the item to build without the dependency, drop the edge
|
|
706
|
+
because the item no longer needs it, or close the item as Not planned — and record a
|
|
707
|
+
`Decision:` line saying which and why. Under `"strict"`, hold and report it: the call is a
|
|
708
|
+
person's, and holding silently would hide it. Either way, a single escalation among
|
|
709
|
+
otherwise-dissolving edges holds the item until that call is made and recorded.
|
|
702
710
|
|
|
703
711
|
**On Linear, dissolve with a relation DELETE.** Do not "update" an edge:
|
|
704
712
|
`issueRelationCreate` CONVERTS an existing relation rather than adding one
|
|
@@ -1086,7 +1094,7 @@ with labels like `build-ready`, or with no Lisa status label at all, that are in
|
|
|
1086
1094
|
`intake_mode=build`, every non-PRD issue is normalized as a build ticket. If `intake_mode=both`,
|
|
1087
1095
|
classify PRDs first and normalize all remaining issues as build tickets.
|
|
1088
1096
|
2a. **Ask whether a person is holding it, before anything else.** Call
|
|
1089
|
-
`planLabelNormalization({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, lifecycleLabels, readyLabel })` from
|
|
1097
|
+
`planLabelNormalization({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, lifecycleLabels, readyLabel })` from
|
|
1090
1098
|
`scripts/intake-blocker-reprobe.mjs` for every candidate and apply exactly the verdict it
|
|
1091
1099
|
returns. Do **not** re-implement the test here and do **not** decide held-ness from labels
|
|
1092
1100
|
alone: the vendor writers stamp the `[lisa-human-gate]` marker into the body of a deliberate
|
|
@@ -1115,8 +1123,8 @@ with labels like `build-ready`, or with no Lisa status label at all, that are in
|
|
|
1115
1123
|
should never have to comment to release one.
|
|
1116
1124
|
|
|
1117
1125
|
Enumerate open items carrying a `[lisa-human-gate]` marker in the body and, for each, call
|
|
1118
|
-
`planHumanGateLift({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels })`
|
|
1119
|
-
from `scripts/human-gate-lift.mjs`, with `humanOnly` read from `humanGate.humanOnly` in config.
|
|
1126
|
+
`planHumanGateLift({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels })`
|
|
1127
|
+
from `scripts/human-gate-lift.mjs`, with `humanOnly` read from `humanGate.humanOnly` and `humanGateMode` from `humanGate.mode` in config (one call: `node scripts/human-gate-act.mjs policy` prints both; a reader that omits the mode judges under access-only, so a strict project must pass it).
|
|
1120
1128
|
The planner lifts only when it is sure: a topic-only slug, no act on any hold-related line, and
|
|
1121
1129
|
no secret or act token anywhere in the hold text (`ready-role-filing`, "Existing invalid holds
|
|
1122
1130
|
are lifted"). Any doubt keeps the hold. Apply exactly what it returns: post each string in `comments` once (each begins
|
|
@@ -1128,9 +1136,12 @@ with labels like `build-ready`, or with no Lisa status label at all, that are in
|
|
|
1128
1136
|
`human_needed` marker this skill did not apply": a lift records that the hold was invalid under
|
|
1129
1137
|
the contract, so there is nothing for a person to authorize. A lift's authority comes from
|
|
1130
1138
|
re-classifying the hold, not from who wrote the comment, so a lift naming a valid hold discharges
|
|
1131
|
-
nothing. **Valid holds plan nothing
|
|
1132
|
-
|
|
1133
|
-
|
|
1139
|
+
nothing. **Valid holds plan nothing.** In both modes those are the access acts (`credential`,
|
|
1140
|
+
`spend`, `external-account`, `legal-signoff`, `person-only-account`, `unreachable-system`,
|
|
1141
|
+
`operator-hold`), `human-authored-surface`, and any project-declared `humanGate.humanOnly`
|
|
1142
|
+
class. Under `humanGate.mode: "strict"` the strict-only acts (`compliance-signoff`,
|
|
1143
|
+
`accountable-person`, `lisa-policy`) are valid too; under the default access-only mode a hold
|
|
1144
|
+
that names only one of them is invalid and is lifted. **Label-only holds plan nothing** — an access block or blocked verdict
|
|
1134
1145
|
declares no reason to judge. A mixed item lifts its invalid reasons and stays held for the valid
|
|
1135
1146
|
one. Never edit the description. Count these under `lifted_invalid_hold` and name them in the
|
|
1136
1147
|
cycle summary via `summarizeHumanGateLifts([...])`, printed even when it is zero.
|
|
@@ -1144,7 +1155,7 @@ with labels like `build-ready`, or with no Lisa status label at all, that are in
|
|
|
1144
1155
|
|
|
1145
1156
|
Enumerate items carrying the configured `human_needed` marker **or** a `[lisa-human-gate]` marker
|
|
1146
1157
|
in the body, and for each call
|
|
1147
|
-
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
1158
|
+
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
1148
1159
|
from `scripts/intake-blocker-reprobe.mjs`. Apply exactly the actions it returns: remove the
|
|
1149
1160
|
human-needed marker, add the configured build `ready` label back, and post
|
|
1150
1161
|
`formatHumanGateReleaseNote()` once. Do **not** re-implement the discharge test, and do **not**
|
|
@@ -165,6 +165,15 @@ the others: `queue` already leaves an item with a pending question out (`pending
|
|
|
165
165
|
rest of the queue is dispatched as usual. Never wait for the answer, never ask in this terminal
|
|
166
166
|
(never `AskUserQuestion`), and never end a turn on the question.
|
|
167
167
|
|
|
168
|
+
**Decide before you mark.** A decision or a repo route is not, by itself, a reason to stop. When
|
|
169
|
+
the evidence supports a call — the item, its parent, the PRD, the code, the repo's history — the
|
|
170
|
+
manager (or the worker) makes it, posts the choice and its reasoning on the item so a person can
|
|
171
|
+
reverse it, and carries on. Mark the item only when the call genuinely needs a person: an access
|
|
172
|
+
gap the agent cannot close (an interactive login, a credential or secret store it cannot reach,
|
|
173
|
+
spending money, a legal signature, an account only a person holds), or a hold the operator
|
|
174
|
+
explicitly asked for. Under `humanGate.mode: "strict"` a design or product decision and an
|
|
175
|
+
ambiguous repo route are relayed to the operator as before.
|
|
176
|
+
|
|
168
177
|
The four cases, each with its `--kind`:
|
|
169
178
|
|
|
170
179
|
| Case | `--kind` | Question or reason (on STDIN) |
|
|
@@ -175,8 +184,11 @@ The four cases, each with its `--kind`:
|
|
|
175
184
|
| A design or product decision | `decision` | the decision, the options, and what each one changes |
|
|
176
185
|
|
|
177
186
|
A `decision` is raised when a worker's question or `FAILED` reason, or the item itself, says the
|
|
178
|
-
work cannot go on until someone decides how it should behave
|
|
179
|
-
`worker
|
|
187
|
+
work cannot go on until someone decides how it should behave **and** `humanGate.mode` is
|
|
188
|
+
`strict`; under access-only the manager decides it and records why. A worker's plain question
|
|
189
|
+
stays `worker-question`, and is raised only when answering it needs access the agent lacks or an
|
|
190
|
+
operator hold applies. A `repo-route` is raised only under `strict`; under access-only route to the
|
|
191
|
+
best-supported repo and record why.
|
|
180
192
|
|
|
181
193
|
**Every hold except `exhausted` is also a planning miss** unless something outside planning caused
|
|
182
194
|
it. PRD intake, decomposition and the ready gate exist so a dispatched worker never needs a human;
|
|
@@ -471,6 +483,11 @@ queue below). For each:
|
|
|
471
483
|
- `release`: dissolve the edges and move the item to the `ready` role in one `lisa-tracker-write`
|
|
472
484
|
update, with a comment `[lisa-session-manager] Released: <reason>`; read it back with `lisa-tracker-read` and confirm the
|
|
473
485
|
role changed before you claim it did. Notify Telegram.
|
|
486
|
+
- `decide` (access-only; a blocker was closed NOT PLANNED): relay nothing to the operator. Make
|
|
487
|
+
the call from the item's and blocker's evidence: re-scope the item to build without the
|
|
488
|
+
dependency (dissolve the edge and move it to the `ready` role), drop an edge that no longer applies, or
|
|
489
|
+
close the item. Post `[lisa-session-manager] Decision: <which> — <why>` in the same
|
|
490
|
+
`lisa-tracker-write` update, and read it back before you claim it landed. Notify Telegram.
|
|
474
491
|
- `keep` with a manager question pending: "Waiting on a human" above handles it.
|
|
475
492
|
- `keep`, `escalate`, `skip-human-gate`: leave it. Gate self-blocks and clarification blocks
|
|
476
493
|
belong to `lisa-repair-intake` and humans.
|