@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
|
@@ -229,6 +229,36 @@ const HUMAN_SIGN_OFF_PATH = "dependencies.humanSignOff";
|
|
|
229
229
|
*/
|
|
230
230
|
const HUMAN_SIGN_OFF_VALUES = ["default", "none"];
|
|
231
231
|
|
|
232
|
+
/**
|
|
233
|
+
* How wide the human gate is (CodySwannGT/lisa#4687). Also a closed
|
|
234
|
+
* vocabulary, and the one key other defaults DEPEND on: `dependencies.
|
|
235
|
+
* humanSignOff` and `learnings.lowConfidence` resolve to their stricter
|
|
236
|
+
* defaults only under `strict`. An invalid mode resolves to `access-only`, as
|
|
237
|
+
* the shipped classifier and the TypeScript reader both read it.
|
|
238
|
+
*/
|
|
239
|
+
const HUMAN_GATE_MODE_PATH = "humanGate.mode";
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* The `humanGate.mode` vocabulary, copied from `HUMAN_GATE_MODES` in
|
|
243
|
+
* `src/core/project-config-human-gate.ts` (not importable from a plugin
|
|
244
|
+
* payload) and pinned against that export by this hook's wiring test. The
|
|
245
|
+
* first entry is the default.
|
|
246
|
+
*/
|
|
247
|
+
const HUMAN_GATE_MODE_VALUES = ["access-only", "strict"];
|
|
248
|
+
|
|
249
|
+
/** `learnings.lowConfidence`, whose default follows the mode. */
|
|
250
|
+
const LOW_CONFIDENCE_PATH = "learnings.lowConfidence";
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The `learnings.lowConfidence` vocabulary, copied from
|
|
254
|
+
* `LOW_CONFIDENCE_ROUTINGS` in `src/core/project-config-learnings.ts` and
|
|
255
|
+
* pinned against that export by this hook's wiring test.
|
|
256
|
+
*/
|
|
257
|
+
const LOW_CONFIDENCE_VALUES = ["human-triage", "auto-merge"];
|
|
258
|
+
|
|
259
|
+
/** The mode in force when `humanGate.mode` is absent. */
|
|
260
|
+
const DEFAULT_MODE = HUMAN_GATE_MODE_VALUES[0];
|
|
261
|
+
|
|
232
262
|
/**
|
|
233
263
|
* Keys Lisa supplies a built-in value for when a project declares none.
|
|
234
264
|
*
|
|
@@ -244,7 +274,12 @@ const HUMAN_SIGN_OFF_VALUES = ["default", "none"];
|
|
|
244
274
|
* present: swapping the `harness` and `gates.unproven` entries preserves that
|
|
245
275
|
* set, leaves every test in both suites green, and tells every session with no
|
|
246
276
|
* declared harness that its harness is `warn`.
|
|
247
|
-
*
|
|
277
|
+
*
|
|
278
|
+
* An entry with a `strict` value is MODE-AWARE: `value` is its default under
|
|
279
|
+
* the default `humanGate.mode` (`access-only`) and `strict` its default under
|
|
280
|
+
* `"strict"`. The rendered line names the mode it was resolved under, because
|
|
281
|
+
* "the project declared nothing" no longer pins one value.
|
|
282
|
+
* @type {ReadonlyArray<{path: string, value: string, strict?: string, owner: string}>}
|
|
248
283
|
*/
|
|
249
284
|
export const BUILT_IN_DEFAULTS = [
|
|
250
285
|
{ path: "harness", value: "claude", owner: "src/core/config.ts" },
|
|
@@ -263,9 +298,21 @@ export const BUILT_IN_DEFAULTS = [
|
|
|
263
298
|
value: ".lisa/PROJECT_LEARNINGS.md",
|
|
264
299
|
owner: "src/core/learnings-location.ts",
|
|
265
300
|
},
|
|
301
|
+
{
|
|
302
|
+
path: HUMAN_GATE_MODE_PATH,
|
|
303
|
+
value: DEFAULT_MODE,
|
|
304
|
+
owner: "src/core/project-config-human-gate.ts",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
path: LOW_CONFIDENCE_PATH,
|
|
308
|
+
value: "auto-merge",
|
|
309
|
+
strict: "human-triage",
|
|
310
|
+
owner: "src/core/project-config-learnings.ts",
|
|
311
|
+
},
|
|
266
312
|
{
|
|
267
313
|
path: HUMAN_SIGN_OFF_PATH,
|
|
268
|
-
value: "
|
|
314
|
+
value: "none",
|
|
315
|
+
strict: "default",
|
|
269
316
|
owner: "src/core/project-config-dependencies.ts",
|
|
270
317
|
},
|
|
271
318
|
];
|
|
@@ -305,6 +352,7 @@ const SUBTREE_ORDER = [
|
|
|
305
352
|
"quality",
|
|
306
353
|
"learnings",
|
|
307
354
|
"dependencies",
|
|
355
|
+
"humanGate",
|
|
308
356
|
"verification",
|
|
309
357
|
"nightlyE2E",
|
|
310
358
|
"intake",
|
|
@@ -639,7 +687,7 @@ function describeInvalidSignOff(block) {
|
|
|
639
687
|
}
|
|
640
688
|
const { humanSignOff } = block;
|
|
641
689
|
if (humanSignOff === undefined) return null;
|
|
642
|
-
if (HUMAN_SIGN_OFF_VALUES.includes(humanSignOff)) return null;
|
|
690
|
+
if (HUMAN_SIGN_OFF_VALUES.includes(normalizeMode(humanSignOff))) return null;
|
|
643
691
|
const accepted = HUMAN_SIGN_OFF_VALUES.map(value => `"${value}"`).join(" | ");
|
|
644
692
|
return `${JSON.stringify(humanSignOff)}, which is not one of ${accepted}`;
|
|
645
693
|
}
|
|
@@ -661,6 +709,144 @@ function invalidSignOffLine(config, fallback, owner) {
|
|
|
661
709
|
: `${HUMAN_SIGN_OFF_PATH}: ${fallback} [INVALID — this project declares ${declared}; treated as ${fallback}; owner: ${owner}]`;
|
|
662
710
|
}
|
|
663
711
|
|
|
712
|
+
/**
|
|
713
|
+
* Hidden key carrying the mode resolution on the merged config. The leading
|
|
714
|
+
* underscore keeps it out of every rendered subtree.
|
|
715
|
+
*/
|
|
716
|
+
const MODE_RESOLUTION = "_humanGateMode";
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* The comparable form of a declared closed-vocabulary value (`humanGate.mode`,
|
|
720
|
+
* `dependencies.humanSignOff`): trimmed and lower-cased, as the classifier and
|
|
721
|
+
* the TypeScript readers compare it.
|
|
722
|
+
* @param {unknown} value A raw `humanGate.mode`.
|
|
723
|
+
* @returns {unknown} The normalized value.
|
|
724
|
+
*/
|
|
725
|
+
function normalizeMode(value) {
|
|
726
|
+
return typeof value === "string" ? value.trim().toLowerCase() : value;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Resolve `humanGate.mode` from the two files BEFORE they are merged.
|
|
731
|
+
*
|
|
732
|
+
* Deep-merging first would let an invalid local value overwrite a valid
|
|
733
|
+
* global `strict`, and the session would be told access-only for a project
|
|
734
|
+
* that committed strict. So a valid local value wins and an invalid one falls
|
|
735
|
+
* back to a valid global one — the same order as `human-gate-act.mjs`. With
|
|
736
|
+
* no valid value anywhere, a declared one fails safe, to `strict`; only an
|
|
737
|
+
* absent mode means the default. Every rejected declaration is reported.
|
|
738
|
+
* @param {unknown} mainConfig Parsed `.lisa.config.json`, or undefined.
|
|
739
|
+
* @param {unknown} localConfig Parsed `.lisa.config.local.json`, or undefined.
|
|
740
|
+
* @returns {{mode: string, declared: boolean, rejected: string[]}} Resolution.
|
|
741
|
+
*/
|
|
742
|
+
function resolveModeDeclaration(mainConfig, localConfig) {
|
|
743
|
+
const accepted = HUMAN_GATE_MODE_VALUES.map(value => `"${value}"`).join(
|
|
744
|
+
" | "
|
|
745
|
+
);
|
|
746
|
+
const rejected = [];
|
|
747
|
+
let found = null;
|
|
748
|
+
const sources = [
|
|
749
|
+
[localConfig, ` in ${LOCAL_CONFIG}`],
|
|
750
|
+
[mainConfig, ""],
|
|
751
|
+
];
|
|
752
|
+
for (const [config, where] of sources) {
|
|
753
|
+
if (!isObject(config) || !("humanGate" in config)) continue;
|
|
754
|
+
const block = config.humanGate;
|
|
755
|
+
if (!isObject(block)) {
|
|
756
|
+
rejected.push(
|
|
757
|
+
`${JSON.stringify(block)} for humanGate${where}, which is not an object`
|
|
758
|
+
);
|
|
759
|
+
continue;
|
|
760
|
+
}
|
|
761
|
+
if (block.mode === undefined) continue;
|
|
762
|
+
const mode = normalizeMode(block.mode);
|
|
763
|
+
if (HUMAN_GATE_MODE_VALUES.includes(mode)) {
|
|
764
|
+
// The first valid value wins; keep judging so a typo in the other file
|
|
765
|
+
// is still reported.
|
|
766
|
+
found ??= mode;
|
|
767
|
+
continue;
|
|
768
|
+
}
|
|
769
|
+
rejected.push(
|
|
770
|
+
`${JSON.stringify(block.mode)}${where}, which is not one of ${accepted}`
|
|
771
|
+
);
|
|
772
|
+
}
|
|
773
|
+
if (found !== null) return { mode: found, declared: true, rejected };
|
|
774
|
+
return {
|
|
775
|
+
mode: rejected.length > 0 ? "strict" : DEFAULT_MODE,
|
|
776
|
+
declared: false,
|
|
777
|
+
rejected,
|
|
778
|
+
};
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* The mode resolution for a merged config: the one {@link buildContext}
|
|
783
|
+
* attached, or one computed from the merged value alone.
|
|
784
|
+
* @param {object} config Resolved config.
|
|
785
|
+
* @returns {{mode: string, declared: boolean, rejected: string[]}} Resolution.
|
|
786
|
+
*/
|
|
787
|
+
function modeResolution(config) {
|
|
788
|
+
return config[MODE_RESOLUTION] ?? resolveModeDeclaration(config, undefined);
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* The INVALID line for an unusable `humanGate.mode` declaration.
|
|
793
|
+
* @param {object} config Resolved config.
|
|
794
|
+
* @param {string} owner Module that owns the setting.
|
|
795
|
+
* @returns {string|null} The line, or null when nothing was rejected.
|
|
796
|
+
*/
|
|
797
|
+
function invalidModeLine(config, owner) {
|
|
798
|
+
const { mode, rejected } = modeResolution(config);
|
|
799
|
+
return rejected.length === 0
|
|
800
|
+
? null
|
|
801
|
+
: `${HUMAN_GATE_MODE_PATH}: ${mode} [INVALID — this project declares ${rejected.join(" and ")}; treated as ${mode}; owner: ${owner}]`;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Render the `humanGate` block: the effective mode as its own dotted line when
|
|
806
|
+
* it was declared cleanly (a rejected one is stated once, by the gap lines),
|
|
807
|
+
* the rest generically.
|
|
808
|
+
* @param {object} config Resolved config.
|
|
809
|
+
* @param {string[]} out Lines accumulated so far (mutated).
|
|
810
|
+
*/
|
|
811
|
+
function renderHumanGate(config, out) {
|
|
812
|
+
const block = config.humanGate;
|
|
813
|
+
if (!isObject(block)) return;
|
|
814
|
+
const { mode: _mode, ...rest } = block;
|
|
815
|
+
const resolution = modeResolution(config);
|
|
816
|
+
if (resolution.declared && resolution.rejected.length === 0) {
|
|
817
|
+
out.push(`${HUMAN_GATE_MODE_PATH}: ${resolution.mode}`);
|
|
818
|
+
}
|
|
819
|
+
renderSubtree(rest, "humanGate", out);
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* Whether a declared `learnings.lowConfidence` is outside its vocabulary.
|
|
824
|
+
* @param {unknown} block The resolved `learnings` value.
|
|
825
|
+
* @returns {boolean} True when a value is present and unusable.
|
|
826
|
+
*/
|
|
827
|
+
function lowConfidenceInvalid(block) {
|
|
828
|
+
if (!isObject(block) || block.lowConfidence === undefined) return false;
|
|
829
|
+
return !LOW_CONFIDENCE_VALUES.includes(normalizeMode(block.lowConfidence));
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* The INVALID line for an unusable `learnings.lowConfidence`. The TypeScript
|
|
834
|
+
* reader rejects such a config outright; a session still has to be told what
|
|
835
|
+
* it can rely on, which is the safe routing.
|
|
836
|
+
* @param {object} config Resolved config.
|
|
837
|
+
* @param {string} fallback The value in force instead.
|
|
838
|
+
* @param {string} owner Module that owns the setting.
|
|
839
|
+
* @returns {string|null} The line, or null when the value is absent or valid.
|
|
840
|
+
*/
|
|
841
|
+
function invalidLowConfidenceLine(config, fallback, owner) {
|
|
842
|
+
if (!lowConfidenceInvalid(config.learnings)) return null;
|
|
843
|
+
const accepted = [...LOW_CONFIDENCE_VALUES]
|
|
844
|
+
.sort()
|
|
845
|
+
.map(value => `"${value}"`)
|
|
846
|
+
.join(" | ");
|
|
847
|
+
return `${LOW_CONFIDENCE_PATH}: ${fallback} [INVALID — this project declares ${JSON.stringify(config.learnings.lowConfidence)}, which is not one of ${accepted}; treated as ${fallback}; owner: ${owner}]`;
|
|
848
|
+
}
|
|
849
|
+
|
|
664
850
|
/**
|
|
665
851
|
* Render the `dependencies` block.
|
|
666
852
|
*
|
|
@@ -675,8 +861,9 @@ function invalidSignOffLine(config, fallback, owner) {
|
|
|
675
861
|
function renderDependencies(block, out) {
|
|
676
862
|
if (!isObject(block)) return;
|
|
677
863
|
const { humanSignOff, ...rest } = block;
|
|
678
|
-
|
|
679
|
-
|
|
864
|
+
const value = normalizeMode(humanSignOff);
|
|
865
|
+
if (HUMAN_SIGN_OFF_VALUES.includes(value)) {
|
|
866
|
+
out.push(`${HUMAN_SIGN_OFF_PATH}: ${value}`);
|
|
680
867
|
}
|
|
681
868
|
renderSubtree(rest, "dependencies", out);
|
|
682
869
|
}
|
|
@@ -688,17 +875,37 @@ function renderDependencies(block, out) {
|
|
|
688
875
|
*/
|
|
689
876
|
function renderDefaults(config) {
|
|
690
877
|
const lines = [];
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
878
|
+
const resolution = modeResolution(config);
|
|
879
|
+
const { mode } = resolution;
|
|
880
|
+
for (const { path, value: base, strict, owner } of BUILT_IN_DEFAULTS) {
|
|
881
|
+
const value = strict !== undefined && mode === "strict" ? strict : base;
|
|
882
|
+
// A present but invalid value fails safe, to the strict value, whatever
|
|
883
|
+
// the mode; only an absent one gets the mode-aware default.
|
|
884
|
+
const invalid =
|
|
885
|
+
path === HUMAN_SIGN_OFF_PATH
|
|
886
|
+
? invalidSignOffLine(config, strict ?? value, owner)
|
|
887
|
+
: path === HUMAN_GATE_MODE_PATH
|
|
888
|
+
? invalidModeLine(config, owner)
|
|
889
|
+
: path === LOW_CONFIDENCE_PATH
|
|
890
|
+
? invalidLowConfidenceLine(config, strict ?? value, owner)
|
|
891
|
+
: null;
|
|
892
|
+
if (invalid !== null) {
|
|
893
|
+
lines.push(invalid);
|
|
894
|
+
continue;
|
|
698
895
|
}
|
|
699
|
-
if (
|
|
896
|
+
if (
|
|
897
|
+
path === HUMAN_GATE_MODE_PATH
|
|
898
|
+
? resolution.declared
|
|
899
|
+
: at(config, path) !== undefined
|
|
900
|
+
) {
|
|
901
|
+
continue;
|
|
902
|
+
}
|
|
903
|
+
const provenance =
|
|
904
|
+
strict === undefined
|
|
905
|
+
? "Lisa built-in default"
|
|
906
|
+
: `Lisa built-in default for ${HUMAN_GATE_MODE_PATH} ${mode}`;
|
|
700
907
|
lines.push(
|
|
701
|
-
`${path}: ${value} [
|
|
908
|
+
`${path}: ${value} [${provenance} — this project declares none; owner: ${owner}]`
|
|
702
909
|
);
|
|
703
910
|
}
|
|
704
911
|
for (const path of REQUIRED_KEYS) {
|
|
@@ -757,6 +964,16 @@ function renderBody(config) {
|
|
|
757
964
|
renderDependencies(config.dependencies, lines);
|
|
758
965
|
continue;
|
|
759
966
|
}
|
|
967
|
+
if (key === "humanGate") {
|
|
968
|
+
renderHumanGate(config, lines);
|
|
969
|
+
continue;
|
|
970
|
+
}
|
|
971
|
+
if (key === "learnings" && lowConfidenceInvalid(config.learnings)) {
|
|
972
|
+
// Stated once, by the INVALID gap line; never as if it were in force.
|
|
973
|
+
const { lowConfidence: _invalid, ...rest } = config.learnings;
|
|
974
|
+
renderSubtree(rest, key, lines);
|
|
975
|
+
continue;
|
|
976
|
+
}
|
|
760
977
|
renderSubtree(config[key], key, lines);
|
|
761
978
|
}
|
|
762
979
|
const unlisted = Object.keys(config).filter(
|
|
@@ -888,6 +1105,11 @@ export function buildContext(projectDir) {
|
|
|
888
1105
|
main.state === "ok" ? main.value : {},
|
|
889
1106
|
local.state === "ok" ? local.value : {}
|
|
890
1107
|
);
|
|
1108
|
+
// Resolved from the two files, not the merge: see resolveModeDeclaration.
|
|
1109
|
+
resolved[MODE_RESOLUTION] = resolveModeDeclaration(
|
|
1110
|
+
main.state === "ok" ? main.value : undefined,
|
|
1111
|
+
local.state === "ok" ? local.value : undefined
|
|
1112
|
+
);
|
|
891
1113
|
const sources =
|
|
892
1114
|
local.state === "ok"
|
|
893
1115
|
? `${MAIN_CONFIG} + ${LOCAL_CONFIG} (local wins where they overlap)`
|
|
@@ -18,8 +18,10 @@
|
|
|
18
18
|
* documented entries autonomously, and doctor readiness (B5) audits that
|
|
19
19
|
* every entry carries a written decision.
|
|
20
20
|
*
|
|
21
|
-
*
|
|
22
|
-
* ({ file, key, reason, until }).
|
|
21
|
+
* Documented exception: `.lisa.config.json` → `thresholdRatchet.allow`
|
|
22
|
+
* entries ({ file, key, reason, until }). An agent records one, with its
|
|
23
|
+
* reason, only when the regression is justified; a person can reverse it by
|
|
24
|
+
* removing the entry. Honored ONLY from the baseline side (HEAD /
|
|
23
25
|
* merge-base), never from the change under review — an agent cannot grant
|
|
24
26
|
* itself an exception in the same change that weakens a gate. `key: "*"`
|
|
25
27
|
* allows every key in the file, and reports as file-wide so it is not mistaken
|
|
@@ -54,7 +54,7 @@ It opens with the outcome and the operator action, before any narrative:
|
|
|
54
54
|
|
|
55
55
|
```
|
|
56
56
|
change-proved — nothing for you. PR #6393 open, auto-merge on, CI running.
|
|
57
|
-
approval-requested — need
|
|
57
|
+
approval-requested — need your account: approve the protected production deploy for the 135 Regular→Bold flips.
|
|
58
58
|
recovery-required — need you: staging E2E gate red for congestion; rerun or admin-merge.
|
|
59
59
|
```
|
|
60
60
|
|
|
@@ -79,22 +79,24 @@ Health and operator action are **orthogonal** — a healthy run can still need a
|
|
|
79
79
|
action: review the proposed item and flip it ready when you want it built.
|
|
80
80
|
- `change-proved` — the loop made a change and proved it with evidence. **Healthy.** Operator
|
|
81
81
|
action: none (informational).
|
|
82
|
-
- `approval-requested` — the loop reached a boundary it may not cross alone
|
|
82
|
+
- `approval-requested` — the loop reached a boundary it may not cross alone: an act it lacks access
|
|
83
|
+
to, or one the project's `humanGate.mode: "strict"` reserves. **Healthy.** Operator
|
|
83
84
|
action: answer the approval question.
|
|
84
85
|
- `recovery-required` — the loop itself could not complete (access, tooling, or substrate broken)
|
|
85
86
|
and escalated a decision-ready packet. **Not healthy.** Operator action: restore the named
|
|
86
87
|
capability, then close the escalation item.
|
|
87
88
|
- `policy-obsolete` — the loop's own retirement policy (the retirement condition written in its
|
|
88
|
-
runbook) tripped, so it proposed its own teardown. **Healthy.** Operator action:
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
runbook) tripped, so it proposed its own teardown. **Healthy.** Operator action: none by default
|
|
90
|
+
(the proposal files build-ready and the factory performs it; close it as **Not planned** to
|
|
91
|
+
reverse); under `humanGate.mode: "strict"`, approve the teardown, decline it (close the proposal
|
|
92
|
+
as **Not planned**; the loop keeps running at cadence), or re-cadence it.
|
|
91
93
|
|
|
92
94
|
## A run outcome is NOT a work-item lifecycle terminal state (CRITICAL)
|
|
93
95
|
|
|
94
96
|
A **run outcome** describes the LOOP ITERATION. A **terminal state** describes a TICKET — Lisa
|
|
95
97
|
already uses that phrase for work-item lifecycles (`lisa-intake`: "`Blocked` is a valid terminal
|
|
96
98
|
state of the downstream lifecycles"). The two vocabularies never merge in an operator-facing report.
|
|
97
|
-
A healthy cycle that routes a work item to `Blocked`
|
|
99
|
+
A healthy cycle that routes a work item to `Blocked` naming the access it lacks is
|
|
98
100
|
`candidate-proposed` — it produced something — so it is **never `nothing-needed`**, which is
|
|
99
101
|
reserved for runs that found nothing at all, and **never `recovery-required`**, which means the
|
|
100
102
|
loop itself is broken, not that a work item was blocked.
|
|
@@ -146,7 +148,7 @@ non-technical operator can read (`factory-model` rule 5).
|
|
|
146
148
|
| Candidate selection | The query or filter that decides what this run acts on, and the bound on how many. |
|
|
147
149
|
| Scope/bounds | What the loop will never touch, and the cap that keeps one run finite. |
|
|
148
150
|
| Proof | What the loop must observe before claiming it changed anything — the evidence it records. |
|
|
149
|
-
| Autonomous-vs-approval boundary | The named line: what it does alone, and the first thing on the other side that requires a human. |
|
|
151
|
+
| Autonomous-vs-approval boundary | The named line: what it does alone, and the first thing on the other side that requires a human — an act the loop lacks access to, named as such. |
|
|
150
152
|
| Escalation | What it files when it cannot proceed — always the decision-ready packet below. |
|
|
151
153
|
| Recovery | What a human or the next run does to get the loop working again after `recovery-required`. |
|
|
152
154
|
| Next-run state | What the next run can observe from this one, derived from durable surfaces (tracker, records) rather than in-process memory. |
|
|
@@ -178,9 +180,11 @@ Proof
|
|
|
178
180
|
a claim of "done" without that evidence is not made.
|
|
179
181
|
|
|
180
182
|
Autonomous-vs-approval boundary
|
|
181
|
-
Alone: claim, plan, implement, open the PR, drive it to merge
|
|
182
|
-
|
|
183
|
-
|
|
183
|
+
Alone: claim, plan, implement, open the PR, drive it to merge, and decide any requirement with a
|
|
184
|
+
reasonable default, recording the decision on the item. Requires a human: a protected deployment
|
|
185
|
+
approval that must come from a person's account, and any item that needs access the loop lacks
|
|
186
|
+
(a credential, an interactive login, a paid account) — that becomes a blocked work item naming
|
|
187
|
+
that access, not a guess.
|
|
184
188
|
|
|
185
189
|
Escalation
|
|
186
190
|
When the loop itself cannot proceed (tracker credentials revoked, queue unreadable), it files the
|
|
@@ -218,9 +222,9 @@ only `recovery-required` means the machinery itself is broken.
|
|
|
218
222
|
| `nothing-needed` | The loop ran end to end and found nothing to act on. | Healthy — **no operator action** | None. | What was scanned, how much was seen, and "nothing to propose". |
|
|
219
223
|
| `candidate-proposed` | The loop proposed work — a ticket, PRD, or recommendation — for a human or a downstream factory. | Healthy | Review the proposed item and flip it ready when you want it built. | What was proposed and where to find it (item refs). |
|
|
220
224
|
| `change-proved` | The loop made a change and proved it with evidence. | Healthy | None — informational. | What changed and the evidence that proves it. |
|
|
221
|
-
| `approval-requested` | The loop reached its autonomous/approval boundary and asked a human. | Healthy | Answer the approval question. | What is waiting, on whom, and what happens if nobody answers. |
|
|
225
|
+
| `approval-requested` | The loop reached its autonomous/approval boundary (an act it lacks access to) and asked a human. | Healthy | Answer the approval question. | What is waiting, on whom, and what happens if nobody answers. |
|
|
222
226
|
| `recovery-required` | The loop itself could not complete: access, tooling, or substrate is broken. | **Not healthy** — needs a human | Restore the named capability, then close the escalation item. | What broke, and the escalation item to act on. |
|
|
223
|
-
| `policy-obsolete` | The loop's own retirement policy — the retirement condition written in its runbook — tripped, so it proposed its own teardown. | Healthy |
|
|
227
|
+
| `policy-obsolete` | The loop's own retirement policy — the retirement condition written in its runbook — tripped, so it proposed its own teardown. | Healthy | None by default: under `humanGate.mode: "access-only"` the proposal files build-ready naming the chosen action, and the factory run that claims it performs it — reverse it by closing the proposal as **Not planned**. Under `"strict"`: decide — approve the teardown, decline it (close the proposal as **Not planned**; the loop continues at cadence), or re-cadence it. | Why it looks obsolete and the teardown-proposal item. |
|
|
224
228
|
|
|
225
229
|
### Exemplar one-line summaries
|
|
226
230
|
|
|
@@ -283,8 +287,8 @@ This is the highest-risk seam in the contract, so it is stated explicitly.
|
|
|
283
287
|
`prd-lifecycle-rollup`).
|
|
284
288
|
|
|
285
289
|
They never merge in an operator-facing report. A perfectly healthy cycle that routes a work item to
|
|
286
|
-
`Blocked` — because the item
|
|
287
|
-
`candidate-proposed`: the run produced something (a blocked item
|
|
290
|
+
`Blocked` — because the item needs an act the agent lacks access to, such as a credential — is
|
|
291
|
+
`candidate-proposed`: the run produced something (a blocked item naming the missing access), so
|
|
288
292
|
it is **never `nothing-needed`**, which is reserved for runs that found nothing at all, and **never
|
|
289
293
|
`recovery-required`**, which means the machinery is broken. Conflating a blocked work item with a
|
|
290
294
|
broken loop would paint healthy intake cycles permanently red and train operators to ignore the
|
|
@@ -310,7 +314,7 @@ from the accidental non-ready filing that rule exists to catch.
|
|
|
310
314
|
| Work already attempted | What the loop tried on its own before escalating, so nobody repeats it. |
|
|
311
315
|
| Evidence | Links to the runs, items, logs, or records that show the problem (the evidence packet from the evidence PRD is the carrier; this contract names it and defines no evidence formats). |
|
|
312
316
|
| Risk of inaction | What degrades or stops if nobody acts, and how soon. |
|
|
313
|
-
| Smallest unresolved choice | The single smallest decision a human must make — one question, not a list — stated with **named options** (or as a yes/no), and what the loop will do with each answer. |
|
|
317
|
+
| Smallest unresolved choice | The single smallest act or decision a human must make to restore the missing access — one question, not a list — stated with **named options** (or as a yes/no), and what the loop will do with each answer. |
|
|
314
318
|
| How to answer | The mechanical response path: comment on the item, flip a label, or close it — so the operator never has to guess how to reply. |
|
|
315
319
|
|
|
316
320
|
The wording requirement is binding: a **non-technical operator must be able to act on the packet
|
|
@@ -335,14 +339,25 @@ BOTH hold:
|
|
|
335
339
|
When both hold, the run ends `policy-obsolete` and files **exactly ONE marker-deduped**
|
|
336
340
|
teardown-proposal item — matched on the marker, never the title — carrying the date-filtered search
|
|
337
341
|
result and this run's summary as evidence, and proposing either a longer cadence or
|
|
338
|
-
`lisa-tear-down-automations`.
|
|
339
|
-
|
|
340
|
-
|
|
342
|
+
`lisa-tear-down-automations`. Who decides depends on `humanGate.mode`:
|
|
343
|
+
|
|
344
|
+
- **`"access-only"` (default)** — the loop picks the action from the evidence (tear down or
|
|
345
|
+
re-cadence) and files the proposal **build-ready** (`status:ready`, no `human-needed`), naming that
|
|
346
|
+
action and its reasoning. The factory run that claims it performs it — `lisa-tear-down-automations`
|
|
347
|
+
to **approve** the teardown, or `lisa-setup-automations` to **re-cadence** it — and holds the item,
|
|
348
|
+
naming the access, only if it cannot reach the scheduler. A person reverses it by closing the
|
|
349
|
+
proposal as **Not planned** before it is claimed.
|
|
350
|
+
- **`"strict"`** — the proposal files `status:blocked` + `human-needed` and is human-owned: an
|
|
351
|
+
operator flips it one of three ways: **approve** it (`lisa-tear-down-automations` runs and the
|
|
352
|
+
registration goes away), **decline** it, or **re-cadence** it (register it at the longer cadence
|
|
353
|
+
instead of tearing it down).
|
|
354
|
+
|
|
355
|
+
In both modes a **decline** is closing the proposal as **Not planned** — closing it as
|
|
341
356
|
**Completed** leaves a later re-file open, per `rejection-detection`'s proposal rejection memory;
|
|
342
|
-
either way the loop simply continues
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
357
|
+
either way the loop simply continues. The loop **keeps running at its normal cadence** until the
|
|
358
|
+
proposal is acted on. Retirement is a recommendation like any other,
|
|
359
|
+
**never a self-executed exit**: a loop never deletes its own registration mid-run, and a proposal nobody acts on changes
|
|
360
|
+
nothing.
|
|
346
361
|
|
|
347
362
|
## Never block, always degrade
|
|
348
363
|
|
|
@@ -55,7 +55,7 @@ Git Discipline:
|
|
|
55
55
|
- Prefix git push with `GIT_SSH_COMMAND="ssh -o ServerAliveInterval=30 -o ServerAliveCountMax=5"`.
|
|
56
56
|
- Never commit directly to an environment branch (dev, staging, main).
|
|
57
57
|
- Never use --no-verify or attempt to bypass a git hook.
|
|
58
|
-
- When a pre-commit, pre-push, CI, or other quality gate fails, fix the root cause first: upgrade the vulnerable dependency, fix the lint/type/test failure, remove the secret, or repair the failing check. If a fix is genuinely impossible,
|
|
58
|
+
- When a pre-commit, pre-push, CI, or other quality gate fails, fix the root cause first: upgrade the vulnerable dependency, fix the lint/type/test failure, remove the secret, or repair the failing check. If a fix is genuinely impossible, make the risk-acceptance decision yourself, record the reasoning, and add a narrow, documented ignore for the specific failing rule or advisory. Under `humanGate.mode: "strict"`, ask the user to make that decision instead. Never use `--no-verify`, hook environment switches, blanket ignores, or threshold reductions as a substitute for fixing the gate.
|
|
59
59
|
- Never bypass branch protection. Never use `--admin`, `--force`, or any other flag to merge a PR that has failing CI checks. If CI fails, fix it. If you cannot fix it, escalate to the human. There are zero exceptions. "Green in CI" is the definition of done — not "green locally." A PR is not complete until CI passes on the actual PR branch.
|
|
60
60
|
- **Never use plain `git push --force`.** When a history rewrite is explicitly approved, use `--force-with-lease`; prefer the explicit SHA-bound form `--force-with-lease=<ref>:<sha>`, such as `git push --force-with-lease=refs/heads/<branch>:<approved-sha> origin HEAD:refs/heads/<branch>`, where `<approved-sha>` is the exact remote tip the approval covered.
|
|
61
61
|
- **History-rewrite approval is SHA-scoped, not durable.** Record the remote ref and exact SHA the authorization covers. If the remote ref moves or the lease rejects, the approval is void: stop and obtain fresh confirmation for the new remote state. Never re-derive consent from the earlier approval or treat a fresh fetch as renewing authorization for a different SHA; do not retry with an updated implicit lease or plain `--force`.
|
|
@@ -42,7 +42,7 @@ Do not begin with blockers, ambiguities, access requirements, or unanswered ques
|
|
|
42
42
|
## Git Discipline
|
|
43
43
|
|
|
44
44
|
- **Never use `--no-verify`** or bypass any git hook.
|
|
45
|
-
- When a hook or quality gate fails, fix the root cause first. If no fix is
|
|
45
|
+
- When a hook or quality gate fails, fix the root cause first. If no fix is possible, accept the risk yourself, record why (strict mode: ask the user), and add a specific documented ignore; never a blanket bypass.
|
|
46
46
|
- **Never bypass branch protection** — no `--admin`, `--force`, no merging a PR with failing CI. "Green in CI" is the definition of done.
|
|
47
47
|
- Never commit directly to environment branches (`dev`, `staging`, `main`).
|
|
48
48
|
- **Never use plain `git push --force`.** When a history rewrite is explicitly approved, use `--force-with-lease`; prefer the SHA-bound form `--force-with-lease=<ref>:<sha>`, where `<sha>` is the exact remote tip the approval covered.
|
|
@@ -282,11 +282,12 @@ fi
|
|
|
282
282
|
| `source` | no | — | Default PRD source for batch skills (`/lisa:intake`) and arg-less single-PRD skills. One of `"notion"`, `"confluence"`, `"linear"`, `"github"`, `"jira"`. Explicit URLs/keys passed to a skill always win over `source`; this is a default, not a lock. |
|
|
283
283
|
| ~~`projectRulesFile`~~ | — | — | **Retired.** Host-authored rules now live in the fixed, agent-neutral directory `.agents/rules/` — not a configurable file. An existing key is still parsed and preserved so installed projects keep applying, but nothing serves rules from it. See **Host rules** below. |
|
|
284
284
|
| `learnings.file` | no | `.lisa/PROJECT_LEARNINGS.md` | Safe repo-relative Markdown path for the machine-managed learnings ledger, overriding the `.lisa/` default. Rejected if it resolves inside any auto-loaded rules tree (`.claude/rules`, `.cursor/rules`, `.github/instructions`, `.agents/rules`) — the ledger must stay out of eager context. |
|
|
285
|
-
| `learnings.lowConfidence` | no | `human-triage` | How `lisa-persist-learning` submits a low-confidence learning PR. `human-triage` keeps auto-merge off and labels it `learning:needs-triage` for a human to merge or close. `auto-merge` submits it like a high-confidence PR, merging through the project's normal gates, labeled `learning:low-confidence`; `lisa-learnings-audit` then re-reviews those entries first. Any other value is rejected. |
|
|
285
|
+
| `learnings.lowConfidence` | no | `auto-merge` (`human-triage` when `humanGate.mode` is `"strict"`) | How `lisa-persist-learning` submits a low-confidence learning PR. `human-triage` keeps auto-merge off and labels it `learning:needs-triage` for a human to merge or close. `auto-merge` submits it like a high-confidence PR, merging through the project's normal gates, labeled `learning:low-confidence`; `lisa-learnings-audit` then re-reviews those entries first. Any other value is rejected by `lisa apply`; the session's `lisa-resolved-config` block reports it as invalid and treats it as `human-triage`, the stricter option. |
|
|
286
286
|
| `health.schedule` | no | `off` | Health cadence contract: `off`, `daily`, or `weekly`. `lisa sync` populates the default with `_lisaSync.populated` provenance and rejects values outside this closed vocabulary. Runtime results live only at the gitignored `.lisa/health/latest.json`, never in either config file. |
|
|
287
287
|
| `usage` | no | — | Optional token/cost pricing metadata consumed by the `usage-accounting` rule. Missing pricing never blocks a lifecycle flow; Lisa records token counts with `estimated_cost: null` when no trustworthy price source is configured. |
|
|
288
|
-
| `dependencies.humanSignOff` | no | `"default"` | Whether dependency decisions wait on a person. `"default"` keeps every ratification requirement in `dependency-trust-classes`; `"none"`
|
|
289
|
-
| `humanGate.
|
|
288
|
+
| `dependencies.humanSignOff` | no | `"none"` (`"default"` when `humanGate.mode` is `"strict"`) | Whether dependency decisions wait on a person. `"default"` keeps every ratification requirement in `dependency-trust-classes`; `"none"` has the agent ratify instead and record its reasoning in the dependency's entry — the trust class and its per-class evidence are still required, and credential, paid-account, and license approvals are unaffected. Any other value is reported as invalid (in `lisa apply` output and the session's `lisa-resolved-config` block) and treated as `"default"`, the stricter option. |
|
|
289
|
+
| `humanGate.mode` | no | `"access-only"` | How wide the human gate is. `"access-only"`: an agent performs every act it has access to perform, and only an act it lacks access to (an interactive login, a credential it cannot create or reach, spending money, a legal signature, an action only a person's account can take, or a hold the operator asked for) is a human gate. `"strict"` restores the older, wider gate: a compliance sign-off, naming an accountable person, and the calls Lisa's policy used to reserve for a person (learnings promotion, harness interventions, automation retirement, exploratory-QA findings) count as human gates again, and the defaults of `dependencies.humanSignOff` and `learnings.lowConfidence` become `"default"` and `"human-triage"`. A value either key sets explicitly always wins over the mode. A value that is present but invalid fails safe: it is reported and treated as the stricter option (an invalid local value first falls back to a valid value in `.lisa.config.json`); an absent value gets the mode's default. An invalid `humanGate.mode` is therefore treated as `"strict"`. Read by `scripts/human-gate-act.mjs`; see `ready-role-filing`, "What a human gate is". |
|
|
290
|
+
| `humanGate.humanOnly` | no | `[]` | Decision classes this project reserves for a person, such as `["pricing"]`, in either mode. A `human_gate` reason naming one (as a whole word) is accepted by the writers and never lifted by the sweeps. Absent, only the acts `humanGate.mode` names qualify as a human gate. `.lisa.config.local.json` replaces the list when it sets one. Read by `scripts/human-gate-act.mjs`; see `ready-role-filing`, "What a human gate is". |
|
|
290
291
|
| `wiki` | no | — | Wiki location for the `wiki-knowledge-source` rule. Omit for a local in-repo wiki (`wiki/`). See **Wiki source** below. |
|
|
291
292
|
| `sessionManager` | no | — (opt-in) | Local session manager: polls the Ready queue, runs each item in a fresh background Claude Code session, and relays questions over a per-project Telegram bot when one is configured (optional). Absent means the manager is not used; `lisa sync` never populates it. Written by `/lisa:setup:session-manager`. See **Session manager (`sessionManager`)** below. |
|
|
292
293
|
|
|
@@ -599,7 +600,7 @@ A **marker** is an additive label applied *alongside* a lifecycle role, not a st
|
|
|
599
600
|
|
|
600
601
|
| Marker | What it means | JIRA default | GitHub/Linear default |
|
|
601
602
|
|---|---|---|---|
|
|
602
|
-
| `human_needed` | Applied with `blocked` when — **after the agent has drafted every authorable missing section via the `pre-flight-autofill` procedure** — the block still
|
|
603
|
+
| `human_needed` | Applied with `blocked` when — **after the agent has drafted every authorable missing section via the `pre-flight-autofill` procedure** — the block still needs an act the agent lacks access to (a credential it cannot reach, an interactive login, an access grant, spending money, a legal signature, an action only a person's account can take) or a hold the operator explicitly asked for. A product or scoping choice is not one: the agent decides it and records the decision. Under `humanGate.mode: "strict"` an irreducible product/scoping decision also qualifies. | `Human Needed` (label) | `human-needed` (label) |
|
|
603
604
|
| `spec_defect` | Applied with `blocked` when the thing holding the item is the item's **own specification** — an acceptance criterion that cannot be satisfied as written, a field naming an environment or surface the project does not have, a validation journey demanding something the project cannot produce. **Human-applied only.** No agent sets it, because judging a criterion unbuildable is a product call, and the agent that wrote a bad criterion is the least likely to know it did. | `Spec Defect` (label) | `blocked:spec-defect` (label) |
|
|
604
605
|
| `wrongly_escalated` | A **ruling** that an earlier escalation to a human was wrong: the hold asked a person for a decision an agent could have made. Applied by a human, or by an agent at an operator's direction — who applied it does not matter. It is a classification, not a release: it moves no lane and needs no release authorization. The session manager's overruled-escalation sweep captures each labeled item once as a `wrongly-escalated` learning candidate (CodySwannGT/lisa#4657). Resolved from `jira.labels.wrongly_escalated`, `github.labels.build.wrongly_escalated` or `linear.labels.build.wrongly_escalated`. | `wrongly-escalated-to-human` (label) | `wrongly-escalated-to-human` (label) |
|
|
605
606
|
|
|
@@ -612,9 +613,9 @@ Resolution keys:
|
|
|
612
613
|
- Linear: `linear.labels.build.human_needed` (default `human-needed`). Applied as a Linear **label**, for the same reason as JIRA — an Issue holds exactly one workflow state but any number of labels, so an additive marker cannot be a state. The `blocked` **state** still drives the lifecycle; `human_needed` is the marker on top of it. This is the only build-lane key left in `linear.labels`.
|
|
613
614
|
- `spec_defect` resolves the same way on each vendor — `jira.labels.spec_defect` (default `Spec Defect`), `github.labels.build.spec_defect` and `linear.labels.build.spec_defect` (default `blocked:spec-defect`).
|
|
614
615
|
|
|
615
|
-
**When to apply it.** There are two application sites. The first is **at filing**: a leaf filed with a `human_gate` reason under `ready-role-filing` carries the `[lisa-human-gate]` body marker *and* this label, so the hold is legible to a path that reads bodies and to a path that reads labels alike. Such an item sits in no lifecycle role at all rather than in `blocked`, which is the one case where this marker stands beside no role — and it is deliberate: a hold recorded on only one surface is a half-armed gate, and the label-keyed sweeps promoted exactly that population into the build queue (#3805). The second site is a **block a human must clear**: apply `human_needed` only when a human must act before the item can move — the pre-flight gate failures that bounce a ticket back to its reporter are exactly this case, but **only after** the agent has run the `pre-flight-autofill` draft-then-block procedure (drafting the authorable gaps — acceptance criteria, validation journey, repository, relationship search, etc. — into the ticket as labeled assumptions).
|
|
616
|
+
**When to apply it.** There are two application sites. The first is **at filing**: a leaf filed with a `human_gate` reason under `ready-role-filing` carries the `[lisa-human-gate]` body marker *and* this label, so the hold is legible to a path that reads bodies and to a path that reads labels alike. Such an item sits in no lifecycle role at all rather than in `blocked`, which is the one case where this marker stands beside no role — and it is deliberate: a hold recorded on only one surface is a half-armed gate, and the label-keyed sweeps promoted exactly that population into the build queue (#3805). The second site is a **block a human must clear**: apply `human_needed` only when a human must act before the item can move — the pre-flight gate failures that bounce a ticket back to its reporter are exactly this case, but **only after** the agent has run the `pre-flight-autofill` draft-then-block procedure (drafting the authorable gaps — acceptance criteria, validation journey, repository, relationship search, etc. — into the ticket as labeled assumptions). The agent adopts those drafted assumptions as its decisions and records them; what remains for a human is only an act the agent lacks access to (a real missing credential, a login, an access grant) or an operator's explicit hold. The marker means "a person must perform a named act," not "a human must author from scratch" — and not "a human must confirm the agent's choices".
|
|
616
617
|
|
|
617
|
-
**Why `spec_defect` is separate from `human_needed`.** Both name a hold a person must clear, but they are different asks and the rollup must not merge them. `human_needed` waits on an
|
|
618
|
+
**Why `spec_defect` is separate from `human_needed`.** Both name a hold a person must clear, but they are different asks and the rollup must not merge them. `human_needed` waits on an act from *outside* the item — a credential, an access grant, an operator's hold — and the item's own text is fine. `spec_defect` waits on the item's text being *rewritten*, and no external event will ever supply that. An item carrying `spec_defect` will sit forever until somebody edits it; that is exactly the class that accumulated silently when the rollup rendered both as plain `blocked` (issue #3045: 32 identical hold comments over six weeks on one Epic). Where both markers are present, `spec_defect` wins — it is the more specific record, and the only one carrying a judgment nothing else can supply.
|
|
618
619
|
|
|
619
620
|
**Nothing infers `spec_defect`.** It is never derived from prose, a title, or a failed gate. A `blocked` item carrying neither marker and no open `is blocked by` link classifies as **`unknown`**, and the rollup says so and asks a person to decide — an honest `unknown` beats a confident wrong answer, and auto-reclassifying would turn a human product call into a guess.
|
|
620
621
|
|