@codyswann/lisa 4.109.2 → 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/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/npm-updater-helper-graph.json +2 -2
- 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 +18 -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 +84 -69
- 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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-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-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/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-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-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-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-usage-accounting/SKILL.md +5 -1
- package/rails/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
- package/typescript/copy-contents/.husky/pre-commit +3 -2
- package/typescript/copy-overwrite/.github/GITHUB_ACTIONS.md +2 -1
- package/typescript/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: lisa-exploratory-qa
|
|
3
3
|
description: "First-time-user exploratory QA…"
|
|
4
4
|
---
|
|
5
|
-
First-time-user exploratory QA pass for ANY product type (DOM web app, HTTP/API backend, canvas game, CLI/library, IaC/CDK) that FEEDS THE LIFECYCLE. Use when asked to experience a product the way a brand-new end user would — driving its real consumer-facing interface via the `use-the-product` core (which detects the product type, resolves the per-environment mutation policy from .lisa.config.json so production data is never mutated by accident, and explores through the project's personas when it defines them) to find anything confusing, broken, or hard to use. Static route scans, HTTP fetches, screenshots alone, or console/network checks alone are not sufficient evidence. Instead of writing a report file, it files worthwhile findings as tracked work items via lisa-tracker-write. A `ready` parameter
|
|
5
|
+
First-time-user exploratory QA pass for ANY product type (DOM web app, HTTP/API backend, canvas game, CLI/library, IaC/CDK) that FEEDS THE LIFECYCLE. Use when asked to experience a product the way a brand-new end user would — driving its real consumer-facing interface via the `use-the-product` core (which detects the product type, resolves the per-environment mutation policy from .lisa.config.json so production data is never mutated by accident, and explores through the project's personas when it defines them) to find anything confusing, broken, or hard to use. Static route scans, HTTP fetches, screenshots alone, or console/network checks alone are not sufficient evidence. Instead of writing a report file, it files worthwhile findings as tracked work items via lisa-tracker-write. A `ready` parameter picks build-ready (picked up by lisa-intake) or backlog; it defaults to build-ready, or backlog under humanGate.mode strict. For gaps in the automated test suite, use e2e-coverage-gaps instead.
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
# Exploratory QA
|
|
@@ -18,9 +18,12 @@ Experience the product the way a **brand-new end user** would: drive its real co
|
|
|
18
18
|
## Parameters
|
|
19
19
|
|
|
20
20
|
- **`target-url | env`** (first positional) — what to explore (passed through to `use-the-product`).
|
|
21
|
-
- **`ready=true|false`** — the build-ready state for the tickets this pass creates.
|
|
22
|
-
|
|
23
|
-
- `ready=
|
|
21
|
+
- **`ready=true|false`** — the build-ready state for the tickets this pass creates. The default
|
|
22
|
+
follows `humanGate.mode`:
|
|
23
|
+
- `ready=true` (**default** under `humanGate.mode: "access-only"`) → created build-ready, so
|
|
24
|
+
`lisa-intake` / the build-intake scanner auto-picks them up.
|
|
25
|
+
- `ready=false` (**default** under `humanGate.mode: "strict"`, or passed explicitly by the
|
|
26
|
+
operator) → created in the backlog for a human to review and promote.
|
|
24
27
|
|
|
25
28
|
## 1. Set up
|
|
26
29
|
|
|
@@ -71,12 +74,14 @@ Kane never files the work item itself. Even when it marks a failure as a confirm
|
|
|
71
74
|
|
|
72
75
|
| Finding | `issue_type` | `build_ready` |
|
|
73
76
|
|---|---|---|
|
|
74
|
-
| User-visible **bug** (broken behavior) | `Bug` | the `ready` flag (default `
|
|
75
|
-
| **Usability / UX / clarity issue** | `Improvement` | the `ready` flag (default `
|
|
77
|
+
| User-visible **bug** (broken behavior) | `Bug` | the `ready` flag (default per `humanGate.mode`) |
|
|
78
|
+
| **Usability / UX / clarity issue** | `Improvement` | the `ready` flag (default per `humanGate.mode`) |
|
|
76
79
|
|
|
77
80
|
Each finding is a flat leaf, so `build_ready` applies directly — pass it explicitly on every create.
|
|
78
81
|
|
|
79
|
-
**
|
|
82
|
+
**Under the default `humanGate.mode: "access-only"`, you judge each finding's product significance yourself.** File only the findings you judge worthwhile, build-ready (`build_ready: true`), with a `Decision:` line in the description saying why the finding matters and to whom, so a person can reverse the call later. A finding you judge not worthwhile is not filed; name it and the reason in the pass summary. When the operator passes `ready=false`, that is an explicit operator hold: every create passes `human_gate: "the operator explicitly asked for this exploratory pass to be held for review"` alongside `build_ready: false`.
|
|
83
|
+
|
|
84
|
+
**Under `humanGate.mode: "strict"`, this skill is the named human-gate exception under `ready-role-filing`.** Exploratory findings are then treated as *candidate* defects and usability observations whose **product significance is a human call**. The default `ready=false` is an **explicit human-gate marker, never a bare omission**: every not-ready create passes `human_gate: "exploratory finding — product significance is a human product call"` alongside `build_ready: false`, and the writer stamps the auditable `[lisa-human-gate]` marker. An operator who wants a strict-mode pass to feed the queue directly opts in with `ready=true`.
|
|
80
85
|
|
|
81
86
|
(The sibling `e2e-coverage-gaps` skills are the contrast: a missing automated test is not a product question, so they file `build_ready: true` by default.)
|
|
82
87
|
|
|
@@ -158,9 +163,14 @@ teardown proposal through `lisa-tracker-write` (per `tracked-work` + `integratio
|
|
|
158
163
|
**Completed** means the prior approved action happened, so a later recurrence may be re-filed.
|
|
159
164
|
When an existing proposal suppresses filing, **the run still records `policy-obsolete` and files
|
|
160
165
|
nothing** — the outcome describes this run, while the ticket is filed exactly once.
|
|
161
|
-
- **Labels** `
|
|
162
|
-
|
|
163
|
-
|
|
166
|
+
- **Labels** follow `humanGate.mode`. Under the default `access-only` the loop makes the call
|
|
167
|
+
itself: it picks one response from the evidence below (tear down, or re-cadence to a named longer
|
|
168
|
+
cadence), states it with its reasoning, and files the proposal build-ready (`status:ready`), so the
|
|
169
|
+
factory run that claims it performs that response with the matching command. If that run cannot
|
|
170
|
+
reach the scheduler, it holds the item naming that access. Under `strict`: `status:blocked` +
|
|
171
|
+
`human-needed`, carrying the contract's decision-ready packet. The `human-needed` label marks the
|
|
172
|
+
proposal human-owned: `lisa-repair-intake` recognizes it and never re-dispatches it as stalled
|
|
173
|
+
work.
|
|
164
174
|
- **Evidence** the date-filtered search result, this run's summary, **the loop's current cadence**
|
|
165
175
|
(the baseline an operator needs to choose a longer one), and a one-line summary of recent runs
|
|
166
176
|
read from `.lisa/automations/runs/exploratory-bugs.jsonl`. Fill the rest of the packet the same
|
|
@@ -175,7 +185,8 @@ teardown proposal through `lisa-tracker-write` (per `tracked-work` + `integratio
|
|
|
175
185
|
- **Operator footer**, verbatim, as on every loop-filed proposal (`rejection-detection`):
|
|
176
186
|
> 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.
|
|
177
187
|
|
|
178
|
-
The loop **keeps running at its normal cadence** until
|
|
188
|
+
The loop **keeps running at its normal cadence** until the proposal is acted on (by the factory run
|
|
189
|
+
that claims it under `access-only`, by a human under `strict`), and never deletes its own
|
|
179
190
|
registration.
|
|
180
191
|
|
|
181
192
|
## Quality bar
|
|
@@ -183,5 +194,5 @@ registration.
|
|
|
183
194
|
- Explore as a true first-time user — judge clarity, not whether you (who can read the code) can figure it out.
|
|
184
195
|
- Every ticket must stand alone for an implementer who was not in the session.
|
|
185
196
|
- Do not claim cleanup succeeded unless verified.
|
|
186
|
-
- File per the `ready` flag (default: backlog for human triage).
|
|
197
|
+
- File per the `ready` flag (default: build-ready under `access-only`, backlog for human triage under `strict`).
|
|
187
198
|
- Route automated-coverage gaps to `e2e-coverage-gaps`; preserve unrelated repo changes.
|
|
@@ -242,14 +242,14 @@ A blocker is a **claim with a timestamp, not a fact** — it goes stale the mome
|
|
|
242
242
|
true, and nothing re-read one before this phase. For each `$BLOCKED` candidate:
|
|
243
243
|
|
|
244
244
|
1. **Read release comments before applying the human gate.** Pass all item comments, labels,
|
|
245
|
-
body, `trustedHumanActorIds
|
|
246
|
-
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
245
|
+
body, `trustedHumanActorIds`, configured `humanNeededLabel`, `humanOnly` and `humanGateMode` to `classifyReadyCandidate(...)`. For a discharged hold,
|
|
246
|
+
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
247
247
|
and retain its plan. Apply human-marker cleanup only as planned; defer any ready-role restoration
|
|
248
248
|
until steps 2–5 have cleared the remaining blockers (map the role to the vendor's state or label).
|
|
249
249
|
A still-active hold is never auto-selected, whatever any probe says. An absent or unreadable
|
|
250
250
|
comment history cannot discharge a hold. A release removes only the human hold: continue the
|
|
251
251
|
remaining blocker checks below before selecting the item.
|
|
252
|
-
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
|
|
252
|
+
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
|
|
253
253
|
`removeHumanNeededLabel` here; defer `addReadyLabel` until the remaining blocker checks below
|
|
254
254
|
clear, exactly as for a release. A hold that names no act an agent cannot perform then never
|
|
255
255
|
blocks selection, and an item with a real blocker never skips the re-probe. A hold that is
|
|
@@ -260,9 +260,14 @@ true, and nothing re-read one before this phase. For each `$BLOCKED` candidate:
|
|
|
260
260
|
|
|
261
261
|
2. **Extract the stated discharge condition**, then **probe it**. Machine-testable conditions — a
|
|
262
262
|
version on trunk, a published package, a CI run history, an advisory's patched status — rot
|
|
263
|
-
fastest and are cheapest to check. A
|
|
263
|
+
fastest and are cheapest to check. A condition that is a decision rather than a fact is not machine-testable, but it is not a reason to
|
|
264
|
+
wait: when the evidence supports a call, make it, record a `Decision:` line on the item (what was
|
|
265
|
+
chosen and why) as the discharging evidence, and treat the condition as discharged. Leave the
|
|
266
|
+
item only when the condition needs access the agent lacks (name it) or is a hold the operator
|
|
267
|
+
explicitly asked for. Under `humanGate.mode: "strict"`, leave every decision for a person.
|
|
264
268
|
3. **Classify with `classifyPreWorkCandidate(...)`** from `scripts/intake-blocker-reprobe.mjs`.
|
|
265
|
-
Include the structured `comments` and `
|
|
269
|
+
Include the structured `comments`, `trustedHumanActorIds`, `humanOnly` and `humanGateMode`
|
|
270
|
+
from step 1.
|
|
266
271
|
A discharge with no recorded evidence is not a discharge, and neither is a candidate nothing
|
|
267
272
|
probed this cycle — the helper refuses both.
|
|
268
273
|
4. **Record the result on the issue either way** via `formatReprobeNote(...)` as a comment, so the
|
|
@@ -355,8 +360,8 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
355
360
|
|
|
356
361
|
**Lift invalid holds before classifying.** A hold filed under the old "human product call"
|
|
357
362
|
wording that names no act an agent cannot perform is not a hold (`ready-role-filing`, "What a human
|
|
358
|
-
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
|
|
359
|
-
from `humanGate.humanOnly` in config. Post each string in its `comments` once (each begins
|
|
363
|
+
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
|
|
364
|
+
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
|
|
360
365
|
`[lisa-human-gate-lifted] reason=<slug>` and explains why), apply its `actions` (remove the
|
|
361
366
|
human-needed marker, add the ready role back), then classify below with those comments included. A
|
|
362
367
|
valid hold (credential, spend, sign-off, and the rest) plans nothing and stays held; so does a
|
|
@@ -379,7 +384,7 @@ printed even at zero.
|
|
|
379
384
|
and re-rejected every cycle forever and seen by nothing — `lisa-repair-intake` sweeps items that
|
|
380
385
|
are **not** in the ready role and excludes gated ones outright, so a ready-and-gated item falls
|
|
381
386
|
outside its filter twice over. Call
|
|
382
|
-
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, alreadyNotified })`
|
|
387
|
+
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, alreadyNotified })`
|
|
383
388
|
and apply exactly the actions it returns: remove `$READY`, add the configured human-needed
|
|
384
389
|
marker, and post `formatHumanGateNote()` once. The planner is idempotent by state, so an item
|
|
385
390
|
already out of the lane and already marked yields no second mutation and no second comment. This
|
|
@@ -389,7 +394,7 @@ printed even at zero.
|
|
|
389
394
|
This ready-lane candidate can retain a historical body marker and a human-needed label.
|
|
390
395
|
This step reconciles only candidates still in the ready lane; released holds outside it are
|
|
391
396
|
recovered by `lisa-repair-intake` step 2b (or Phase 2.5 when included in this cycle). Call
|
|
392
|
-
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
397
|
+
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
393
398
|
and apply exactly the actions it returns: remove the configured human-needed marker, add the
|
|
394
399
|
configured ready role back, and post `formatHumanGateReleaseNote()` once. It is the exact inverse
|
|
395
400
|
of step 3's planner and it refuses in both directions — an item still held plans nothing, and an
|
|
@@ -361,7 +361,7 @@ To run the gate, this skill must:
|
|
|
361
361
|
|
|
362
362
|
1. Pull the remote links / `## Source Artifacts` section / `## Links` section of every Epic and Story created in this run via `lisa-tracker-read`.
|
|
363
363
|
2. Apply the §8 preservation matrix and verdict rules.
|
|
364
|
-
3. If the gate fails: list each dropped/misrouted artifact and
|
|
364
|
+
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.
|
|
365
365
|
4. If the gate passes: print the matrix compactly and proceed to Phase 6.
|
|
366
366
|
|
|
367
367
|
This gate is not optional.
|
|
@@ -243,7 +243,7 @@ If the issue is not a Bug and not an Epic, it MUST have a parent sub-issue:
|
|
|
243
243
|
gh issue list --repo <org>/<repo> --label type:Epic --state open --json number,title,body --limit 100
|
|
244
244
|
```
|
|
245
245
|
Match on keywords from the summary and description.
|
|
246
|
-
3. If no Epic matches,
|
|
246
|
+
3. If no Epic matches exactly, pick or create it yourself from the evidence: use the open 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 issue body so a person can re-parent it later. Do NOT orphan the issue.
|
|
247
247
|
|
|
248
248
|
### 4b. Related issues
|
|
249
249
|
|
|
@@ -332,7 +332,7 @@ For non-build-ready issues created fresh (Epics, Stories, and other containers),
|
|
|
332
332
|
|
|
333
333
|
**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.
|
|
334
334
|
|
|
335
|
-
**Validate the gate before stamping it.** A `human_gate` is for an act an agent cannot perform — a credential only a person holds, spend
|
|
335
|
+
**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:
|
|
336
336
|
|
|
337
337
|
```bash
|
|
338
338
|
node "${CLAUDE_PLUGIN_ROOT:-node_modules/@codyswann/lisa/plugins/lisa}/scripts/human-gate-act.mjs" check --reason "<the human_gate reason>"
|
|
@@ -192,8 +192,23 @@ authority — if any of these hold:
|
|
|
192
192
|
|
|
193
193
|
**On any of those: file a proposed-intervention ticket via `lisa-tracker-write` and STOP.** The
|
|
194
194
|
ticket carries the job contract, the earliest failed handoff, the gap classification with
|
|
195
|
-
evidence, and the proposed change with its expected mechanism;
|
|
196
|
-
|
|
195
|
+
evidence, and the proposed change with its expected mechanism; label `type:harness`. How it is
|
|
196
|
+
filed follows `humanGate.mode`:
|
|
197
|
+
|
|
198
|
+
- **`access-only` (default):** file it build-ready (`build_ready: true`, `status:ready`), with a
|
|
199
|
+
`Decision:` line saying why this intervention is the right one, so the normal factory implements
|
|
200
|
+
it as an ordinary work item under its own review gates. The one exception is an intervention that
|
|
201
|
+
needs access the agent lacks (condition 3: a new credential, paid tool, or account only a person
|
|
202
|
+
holds): file it `status:blocked` with `human_gate: "<the access a person must provide>"`, naming
|
|
203
|
+
that access, per `ready-role-filing`. The other exception is an intervention whose change lands
|
|
204
|
+
on a **human-authored surface** (`.agents/rules/`, `PROJECT_RULES.md`, `AGENTS.md`, or any
|
|
205
|
+
surface the project declares human-authored): no agent writes those, so it passes
|
|
206
|
+
`human_gate: "a person edits <surface>, which is declared human-authored, so no agent may write
|
|
207
|
+
it"`. That is an authorship rule, not an access gate, and it holds in both modes.
|
|
208
|
+
- **`strict`:** `status:blocked` plus an explicit `human_gate: "a human approves the proposed
|
|
209
|
+
harness intervention"` per `ready-role-filing` (human-flipped to `status:ready` when approved).
|
|
210
|
+
|
|
211
|
+
Either way, this run stops here. Post the result record with
|
|
197
212
|
`Verdict: bounded-authority-stop`, `Decision: n/a (proposed-intervention, <url>)`, and
|
|
198
213
|
terminate. Implementing it anyway is the failure mode this phase exists to prevent.
|
|
199
214
|
|
|
@@ -403,16 +418,18 @@ In headless mode:
|
|
|
403
418
|
|
|
404
419
|
- **No mutation of the working tree, any managed surface, or the default branch.** Phase 5 does
|
|
405
420
|
not edit, branch, or commit; it *drafts* the smallest owning change and files it as a
|
|
406
|
-
proposed-intervention ticket via `lisa-tracker-write` (`type:harness`,
|
|
407
|
-
|
|
421
|
+
proposed-intervention ticket via `lisa-tracker-write` (`type:harness`, filed per
|
|
422
|
+
`humanGate.mode` exactly as in Phase 5's out-of-authority path), with the drafted diff sketch,
|
|
423
|
+
the expected mechanism, and the verification plan.
|
|
408
424
|
- Phases 6 and 7 do not run (there is nothing applied to verify); the result record carries
|
|
409
425
|
`Verdict: headless-proposal-only`, `Decision: n/a (proposed-intervention, <url>)`, and a
|
|
410
426
|
`Known limits` line saying no rerun evidence exists. This verdict is deliberately distinct
|
|
411
427
|
from `bounded-authority-stop`, so an operator can tell "the fix was too big to make" from
|
|
412
428
|
"the automation never touches anything".
|
|
413
|
-
- **The only writes are the result record and the proposed-intervention ticket(s).**
|
|
414
|
-
|
|
415
|
-
|
|
429
|
+
- **The only writes are the result record and the proposed-intervention ticket(s).** Under
|
|
430
|
+
`access-only` the ticket is already build-ready, so the normal factory implements it; under
|
|
431
|
+
`strict` (or for a ticket held on named missing access) it waits for a human to flip it to
|
|
432
|
+
`status:ready`, after which the normal factory (or an interactive invocation) implements it.
|
|
416
433
|
- Never a prompt, never a question, never a blocked wait — anywhere in this skill, in either
|
|
417
434
|
mode.
|
|
418
435
|
|
|
@@ -215,14 +215,14 @@ A blocker is a **claim with a timestamp, not a fact** — it goes stale the mome
|
|
|
215
215
|
true, and nothing re-read one before this phase. For each pre-work candidate outside `$READY`:
|
|
216
216
|
|
|
217
217
|
1. **Read release comments before applying the human gate.** Pass all item comments, labels,
|
|
218
|
-
body, `trustedHumanActorIds
|
|
219
|
-
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
218
|
+
body, `trustedHumanActorIds`, configured `humanNeededLabel`, `humanOnly` and `humanGateMode` to `classifyReadyCandidate(...)`. For a discharged hold,
|
|
219
|
+
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
220
220
|
and retain its plan. Apply human-marker cleanup only as planned; defer any ready-role restoration
|
|
221
221
|
until steps 2–5 have cleared the remaining blockers (map the role to the vendor's state or label).
|
|
222
222
|
A still-active hold is never auto-selected, whatever any probe says. An absent or unreadable
|
|
223
223
|
comment history cannot discharge a hold. A release removes only the human hold: continue the
|
|
224
224
|
remaining blocker checks below before selecting the item.
|
|
225
|
-
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
|
|
225
|
+
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
|
|
226
226
|
`removeHumanNeededLabel` here; defer `addReadyLabel` until the remaining blocker checks below
|
|
227
227
|
clear, exactly as for a release. A hold that names no act an agent cannot perform then never
|
|
228
228
|
blocks selection, and an item with a real blocker never skips the re-probe. A hold that is
|
|
@@ -233,10 +233,14 @@ true, and nothing re-read one before this phase. For each pre-work candidate out
|
|
|
233
233
|
|
|
234
234
|
2. **Extract the stated discharge condition**, then **probe it**. Machine-testable conditions — a
|
|
235
235
|
version on trunk, a published package, a CI run history, an advisory's patched status — rot
|
|
236
|
-
fastest and are cheapest to check. A
|
|
236
|
+
fastest and are cheapest to check. A condition that is a decision rather than a fact is not machine-testable, but it is not a reason to
|
|
237
|
+
wait: when the evidence supports a call, make it, record a `Decision:` line on the item (what was
|
|
238
|
+
chosen and why) as the discharging evidence, and treat the condition as discharged. Leave the
|
|
239
|
+
item only when the condition needs access the agent lacks (name it) or is a hold the operator
|
|
240
|
+
explicitly asked for. Under `humanGate.mode: "strict"`, leave every decision for a person.
|
|
237
241
|
3. **Classify with `classifyPreWorkCandidate(...)`** from
|
|
238
|
-
`scripts/intake-blocker-reprobe.mjs`, including the structured `comments
|
|
239
|
-
`trustedHumanActorIds` from step 1. A discharge with no recorded evidence is not a discharge,
|
|
242
|
+
`scripts/intake-blocker-reprobe.mjs`, including the structured `comments`,
|
|
243
|
+
`trustedHumanActorIds`, `humanOnly` and `humanGateMode` from step 1. A discharge with no recorded evidence is not a discharge,
|
|
240
244
|
and neither is a candidate nothing probed this cycle — the helper refuses both.
|
|
241
245
|
4. **Record the result on the ticket either way** via `formatReprobeNote(...)` as a comment, so the
|
|
242
246
|
next cycle reads the answer rather than re-deriving it. Keep it idempotent.
|
|
@@ -259,8 +263,8 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
259
263
|
|
|
260
264
|
**Lift invalid holds before classifying.** A hold filed under the old "human product call"
|
|
261
265
|
wording that names no act an agent cannot perform is not a hold (`ready-role-filing`, "What a human
|
|
262
|
-
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
|
|
263
|
-
from `humanGate.humanOnly` in config. Post each string in its `comments` once (each begins
|
|
266
|
+
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
|
|
267
|
+
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
|
|
264
268
|
`[lisa-human-gate-lifted] reason=<slug>` and explains why), apply its `actions` (remove the
|
|
265
269
|
human-needed marker, add the ready role back), then classify below with those comments included. A
|
|
266
270
|
valid hold (credential, spend, sign-off, and the rest) plans nothing and stays held; so does a
|
|
@@ -283,7 +287,7 @@ printed even at zero.
|
|
|
283
287
|
and re-rejected every cycle forever and seen by nothing — `lisa-repair-intake` sweeps items that
|
|
284
288
|
are **not** in the ready role and excludes gated ones outright, so a ready-and-gated item falls
|
|
285
289
|
outside its filter twice over. Call
|
|
286
|
-
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, alreadyNotified })`
|
|
290
|
+
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, alreadyNotified })`
|
|
287
291
|
and apply exactly the actions it returns: remove `$READY`, add the configured human-needed
|
|
288
292
|
marker, and post `formatHumanGateNote()` once. The planner is idempotent by state, so an item
|
|
289
293
|
already out of the lane and already marked yields no second mutation and no second comment. This
|
|
@@ -293,7 +297,7 @@ printed even at zero.
|
|
|
293
297
|
This ready-lane candidate can retain a historical body marker and a human-needed label.
|
|
294
298
|
This step reconciles only candidates still in the ready lane; released holds outside it are
|
|
295
299
|
recovered by `lisa-repair-intake` step 2b (or Phase 2.5 when included in this cycle). Call
|
|
296
|
-
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
300
|
+
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
297
301
|
and apply exactly the actions it returns: remove the configured human-needed marker, add the
|
|
298
302
|
configured ready role back, and post `formatHumanGateReleaseNote()` once. It is the exact inverse
|
|
299
303
|
of step 3's planner and it refuses in both directions — an item still held plans nothing, and an
|
|
@@ -84,7 +84,7 @@ Required fields (stop and ask if missing — do not invent values):
|
|
|
84
84
|
|
|
85
85
|
| Field | Required For | Notes |
|
|
86
86
|
|-------|--------------|-------|
|
|
87
|
-
| Project key | CREATE | Resolve from `.lisa.config.json` (`jira.project`);
|
|
87
|
+
| 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 |
|
|
88
88
|
| Issue type | CREATE | Story, Task, Bug, Epic, Spike, Sub-task, Improvement |
|
|
89
89
|
| Summary | CREATE, UPDATE | One line, imperative voice, under 100 chars |
|
|
90
90
|
| Description | CREATE, UPDATE | Multi-section — see Phase 3 |
|
|
@@ -220,7 +220,7 @@ If the ticket is not a Bug and not an Epic, it MUST have an epic parent:
|
|
|
220
220
|
project = <PROJECT> AND issuetype = Epic AND statusCategory != Done
|
|
221
221
|
```
|
|
222
222
|
via `lisa-atlassian-access` `operation: search-issues jql: "<query>"`. Match on keywords from the summary and description.
|
|
223
|
-
3. If no epic matches,
|
|
223
|
+
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.
|
|
224
224
|
|
|
225
225
|
### 4b. Related Tickets
|
|
226
226
|
|
|
@@ -317,7 +317,7 @@ Before create/update, verify each field is populated where applicable:
|
|
|
317
317
|
|
|
318
318
|
**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.
|
|
319
319
|
|
|
320
|
-
**Validate the gate before stamping it.** A `human_gate` is for an act an agent cannot perform — a credential only a person holds, spend
|
|
320
|
+
**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:
|
|
321
321
|
|
|
322
322
|
```bash
|
|
323
323
|
node "${CLAUDE_PLUGIN_ROOT:-node_modules/@codyswann/lisa/plugins/lisa}/scripts/human-gate-act.mjs" check --reason "<the human_gate reason>"
|
|
@@ -362,7 +362,7 @@ The validator is the **single source of truth** for what makes a valid ticket. T
|
|
|
362
362
|
|
|
363
363
|
If the validator reports `FAIL`:
|
|
364
364
|
- Surface the failure list and the per-gate remediation to the user.
|
|
365
|
-
- Do NOT proceed to Phase 6. Fix the spec
|
|
365
|
+
- 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.
|
|
366
366
|
- Never invoke `lisa-atlassian-access` with `operation: write-ticket` while the validator's verdict is FAIL.
|
|
367
367
|
|
|
368
368
|
If the validator reports `PASS`, continue to Phase 6.
|
|
@@ -3,13 +3,16 @@ name: lisa-learnings-audit
|
|
|
3
3
|
description: "The gardener of the learnings…"
|
|
4
4
|
allowed-tools: ["Skill", "Bash", "Read", "Glob", "Grep"]
|
|
5
5
|
---
|
|
6
|
-
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.
|
|
6
|
+
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.
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
# Learnings Audit (the gardener): $ARGUMENTS
|
|
10
10
|
|
|
11
11
|
Run one audit cycle over this project's knowledge surfaces and convert what the
|
|
12
|
-
evidence supports into **
|
|
12
|
+
evidence supports into **tracker tickets** — nothing else. Under the default
|
|
13
|
+
`humanGate.mode: "access-only"` those tickets file build-ready and the factory
|
|
14
|
+
implements them; under `humanGate.mode: "strict"` they are **human-gated**
|
|
15
|
+
(see Ticket emission). The
|
|
13
16
|
gardener is the only flow in Lisa that takes knowledge *back out* or moves it
|
|
14
17
|
*up* the ladder; it closes the loop that capture (learner, debrief-apply, MLD)
|
|
15
18
|
opens.
|
|
@@ -25,8 +28,10 @@ not capped), `surface=<ledger|rules|skills|wiki|all>` (default `all`),
|
|
|
25
28
|
Keep the knowledge system from silting up: every learning lives at the
|
|
26
29
|
cheapest rung that still prevents the mistake (per the six-rung ladder,
|
|
27
30
|
PRD #1729), prose never duplicates a mechanical owner, the eager tier shrinks
|
|
28
|
-
over time, and every change to "what the agents believe"
|
|
29
|
-
|
|
31
|
+
over time, and every change to "what the agents believe" passes through the
|
|
32
|
+
tracker as an evidence-bearing ticket a person can read and reverse — approved
|
|
33
|
+
by a human only under `humanGate.mode: "strict"` or when the destination is a
|
|
34
|
+
human-authored surface. A quiet run with nothing to propose is a healthy
|
|
30
35
|
outcome and says so in its one-line summary.
|
|
31
36
|
|
|
32
37
|
## Sources of truth
|
|
@@ -115,7 +120,8 @@ Never promote a check into a stage other than the one it names.
|
|
|
115
120
|
A recurring miss counts once per `[lisa-planning-miss]` note on distinct items.
|
|
116
121
|
|
|
117
122
|
**Auto-merged low-confidence entries are re-reviewed first.** A project
|
|
118
|
-
|
|
123
|
+
whose `learnings.lowConfidence` resolves to `"auto-merge"` — the default
|
|
124
|
+
under `humanGate.mode: "access-only"` — (resolve it with
|
|
119
125
|
`resolveLearningsSettings(config).lowConfidence` from
|
|
120
126
|
`@codyswann/lisa/learnings`) lets `lisa-persist-learning` merge `low`
|
|
121
127
|
learnings without a human reading them (CodySwannGT/lisa#4659). In that mode,
|
|
@@ -130,7 +136,8 @@ checked first, never evidence for a change: RETIRE or DEMOTE still needs
|
|
|
130
136
|
proof (a contradiction, staleness, a mechanical owner), and Recurrence
|
|
131
137
|
evidence that it applied is a CONFIRM. Name these entries in the run proof
|
|
132
138
|
(`low-confidence re-reviewed: <ids>`), so an operator can see that the
|
|
133
|
-
skipped human gate was paid for here. Under
|
|
139
|
+
skipped human gate was paid for here. Under `human-triage` (the default
|
|
140
|
+
only under `humanGate.mode: "strict"`) a
|
|
134
141
|
`low` entry reached the ledger only through a human merge, so it keeps the
|
|
135
142
|
normal order.
|
|
136
143
|
|
|
@@ -225,13 +232,25 @@ audits the auditor without re-running it.
|
|
|
225
232
|
## Ticket emission
|
|
226
233
|
|
|
227
234
|
All project-tracker writes go through **`lisa-tracker-write`** so gardener
|
|
228
|
-
tickets pass the same validation gates as all factory work.
|
|
229
|
-
`
|
|
230
|
-
|
|
231
|
-
`
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
the
|
|
235
|
+
tickets pass the same validation gates as all factory work. Resolve
|
|
236
|
+
`humanGate.mode` from `.lisa.config.json` (default `"access-only"`):
|
|
237
|
+
|
|
238
|
+
- **`access-only` (default)** — file every PROMOTE / DEMOTE / RETIRE /
|
|
239
|
+
CONFIRM ticket **build-ready** (`status:ready`), with no `human_gate`. The
|
|
240
|
+
gardener has the evidence and the access, so it makes the call; the
|
|
241
|
+
ticket's evidence and rationale are the recorded reasoning a person can
|
|
242
|
+
reverse later. The one exception is a ticket whose change lands on a
|
|
243
|
+
**human-authored surface** (`.agents/rules/`, `PROJECT_RULES.md`,
|
|
244
|
+
`AGENTS.md`, or any surface the project declares human-authored): no agent
|
|
245
|
+
writes those, so it passes `human_gate: "a person edits <surface>, which is
|
|
246
|
+
declared human-authored, so no agent may write it"`. That is an authorship
|
|
247
|
+
rule, not an access gate, and it holds in both modes.
|
|
248
|
+
- **`strict`** — nothing is created `status:ready`; the human flips. Per
|
|
249
|
+
`ready-role-filing` that hold is **declared, not implied**: every gardener
|
|
250
|
+
ticket passes `human_gate: "a human decides whether this knowledge is
|
|
251
|
+
promoted, demoted, or retired"` so the writer stamps the auditable
|
|
252
|
+
`[lisa-human-gate]` marker. An omitted flag would be indistinguishable from
|
|
253
|
+
the accidental non-ready filing the rule exists to catch.
|
|
235
254
|
|
|
236
255
|
**Per-item tickets — PROMOTE / DEMOTE** (`issue_type: Task`; GitHub trackers
|
|
237
256
|
carry the `type:Task` label) — one ticket per recommendation, capped by
|
|
@@ -278,7 +297,9 @@ at audit time (`learning-` plus 20 hex digits, or a legacy token). It is not the
|
|
|
278
297
|
12-hex `<invariant-hash>` in the row's `[lisa-gardener]` marker — the two are
|
|
279
298
|
different identifiers, and only the entry fingerprint shows whether a later
|
|
280
299
|
consolidation rewrote the entry behind the same id. Rows are individually
|
|
281
|
-
strikeable
|
|
300
|
+
strikeable. Under `access-only` the batch files build-ready and a person
|
|
301
|
+
may still strike a row before the factory picks it up; under `strict` the
|
|
302
|
+
human deletes rows they reject, then flips the ticket ready.
|
|
282
303
|
The gardener **never bumps `last_confirmed` itself**: the bumps are executed
|
|
283
304
|
by the **implementing factory run** that picks up the flipped batch ticket.
|
|
284
305
|
Embed the following execution contract **verbatim** (markers included — do
|
|
@@ -386,15 +407,19 @@ it as **Completed** if it was fixed — a later recurrence may be re-filed as a
|
|
|
386
407
|
|
|
387
408
|
## Autonomous-vs-approval boundary
|
|
388
409
|
|
|
389
|
-
**
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
410
|
+
**This skill only files tickets.** The gardener never edits, writes, or
|
|
411
|
+
deletes any rule, skill, wiki page, ledger entry, lint config, or hook itself;
|
|
412
|
+
it never merges or transitions an existing ticket; it never bumps
|
|
413
|
+
`last_confirmed`. Autonomous actions are limited to: reading surfaces,
|
|
414
|
+
gathering evidence, invoking the advisory router, and creating/commenting
|
|
415
|
+
marker-deduped tickets. The factory then executes each `status:ready` ticket
|
|
416
|
+
like any work item, honoring the `promotion-contract` rule.
|
|
417
|
+
|
|
418
|
+
Who gates depends on `humanGate.mode` (see Ticket emission). Under the
|
|
419
|
+
default `access-only` the gardener decides: it files build-ready and the
|
|
420
|
+
factory implements, and only a change to a human-authored surface is
|
|
421
|
+
human-gated. Under `strict` everything is human-gated: humans gate by
|
|
422
|
+
flipping a ticket to `status:ready` or closing it as rejected.
|
|
398
423
|
|
|
399
424
|
## Escalation
|
|
400
425
|
|
|
@@ -416,8 +441,10 @@ rather than reissued. **Filing order**: file the per-item PROMOTE/DEMOTE
|
|
|
416
441
|
tickets first and the CONFIRM/RETIRE **batch ticket last** — the batch is the
|
|
417
442
|
run's completion signal, so a crash mid-run leaves individually
|
|
418
443
|
marker-recoverable per-item tickets and a missing (not half-filled) batch:
|
|
419
|
-
the most recoverable state. Never attempt to "roll back" filed tickets
|
|
420
|
-
|
|
444
|
+
the most recoverable state. Never attempt to "roll back" filed tickets by
|
|
445
|
+
deleting them. Close-out decisions are the agent's: when new evidence shows a
|
|
446
|
+
filed ticket is wrong or redundant, close it with the evidence in a comment so
|
|
447
|
+
a person can reopen it.
|
|
421
448
|
|
|
422
449
|
## Run outcomes
|
|
423
450
|
|
|
@@ -502,10 +529,14 @@ automation, through `lisa-tracker-write` (per `tracked-work` +
|
|
|
502
529
|
candidate evidence, not the dedupe key. When an existing proposal suppresses
|
|
503
530
|
filing, **the run still records `policy-obsolete` and files nothing** — the
|
|
504
531
|
outcome describes this run, while the ticket is filed exactly once.
|
|
505
|
-
- **Labels** `
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
532
|
+
- **Labels** follow `humanGate.mode`. Under the default `access-only` the loop makes the call
|
|
533
|
+
itself: it picks one response from the evidence below (tear down, or re-cadence to a named longer
|
|
534
|
+
cadence), states it with its reasoning, and files the proposal build-ready (`status:ready`), so the
|
|
535
|
+
factory run that claims it performs that response with the matching command. If that run cannot
|
|
536
|
+
reach the scheduler, it holds the item naming that access. Under `strict`: `status:blocked` +
|
|
537
|
+
`human-needed`, carrying the contract's decision-ready packet. The `human-needed` label marks the
|
|
538
|
+
proposal human-owned: `lisa-repair-intake` recognizes it and never re-dispatches it as stalled
|
|
539
|
+
work.
|
|
509
540
|
- **Evidence** the date-filtered search result, this run's summary, **the
|
|
510
541
|
loop's current cadence** (the baseline an operator needs to choose a longer
|
|
511
542
|
one), and a one-line summary of recent runs read from
|
|
@@ -523,9 +554,10 @@ automation, through `lisa-tracker-write` (per `tracked-work` +
|
|
|
523
554
|
(`rejection-detection`):
|
|
524
555
|
> 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.
|
|
525
556
|
|
|
526
|
-
The gardener **keeps running at its normal cadence** until
|
|
527
|
-
|
|
528
|
-
|
|
557
|
+
The gardener **keeps running at its normal cadence** until that ticket is
|
|
558
|
+
acted on (by the factory run that claims it under `access-only`, by a human
|
|
559
|
+
under `strict`) — retirement is never a self-executed exit within the run that
|
|
560
|
+
proposes it — and it never deletes its own
|
|
529
561
|
registration.
|
|
530
562
|
|
|
531
563
|
## Scheduling
|
|
@@ -214,14 +214,14 @@ A blocker is a **claim with a timestamp, not a fact**. It is written once and go
|
|
|
214
214
|
For each pre-work candidate that is **not** in `$READY`:
|
|
215
215
|
|
|
216
216
|
1. **Read release comments before applying the human gate.** Pass all item comments, labels,
|
|
217
|
-
body, `trustedHumanActorIds
|
|
218
|
-
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
217
|
+
body, `trustedHumanActorIds`, configured `humanNeededLabel`, `humanOnly` and `humanGateMode` to `classifyReadyCandidate(...)`. For a discharged hold,
|
|
218
|
+
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
219
219
|
and retain its plan. Apply human-marker cleanup only as planned; defer any ready-role restoration
|
|
220
220
|
until steps 2–5 have cleared the remaining blockers (map the role to the vendor's state or label).
|
|
221
221
|
A still-active hold is never auto-selected, whatever any probe says. An absent or unreadable
|
|
222
222
|
comment history cannot discharge a hold. A release removes only the human hold: continue the
|
|
223
223
|
remaining blocker checks below before selecting the item.
|
|
224
|
-
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
|
|
224
|
+
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
|
|
225
225
|
`removeHumanNeededLabel` here; defer `addReadyLabel` until the remaining blocker checks below
|
|
226
226
|
clear, exactly as for a release. A hold that names no act an agent cannot perform then never
|
|
227
227
|
blocks selection, and an item with a real blocker never skips the re-probe. A hold that is
|
|
@@ -231,11 +231,11 @@ For each pre-work candidate that is **not** in `$READY`:
|
|
|
231
231
|
step 2's probe. Keep probing any independent blocker the item states.
|
|
232
232
|
|
|
233
233
|
2. **Extract the stated discharge condition** from the description or the most recent blocking comment — the sentence naming what has to become true.
|
|
234
|
-
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
|
|
234
|
+
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.
|
|
235
235
|
4. **Classify with the shared helper** so the ordering and the evidence requirement cannot drift per vendor:
|
|
236
236
|
|
|
237
237
|
```text
|
|
238
|
-
classifyPreWorkCandidate({ laneType, labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, statedBlocker, probe })
|
|
238
|
+
classifyPreWorkCandidate({ laneType, labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, statedBlocker, probe })
|
|
239
239
|
→ { selectable, reason, humanGated, evidence }
|
|
240
240
|
```
|
|
241
241
|
|
|
@@ -260,8 +260,8 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
260
260
|
|
|
261
261
|
**Lift invalid holds before classifying.** A hold filed under the old "human product call"
|
|
262
262
|
wording that names no act an agent cannot perform is not a hold (`ready-role-filing`, "What a human
|
|
263
|
-
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
|
|
264
|
-
from `humanGate.humanOnly` in config. Post each string in its `comments` once (each begins
|
|
263
|
+
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
|
|
264
|
+
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
|
|
265
265
|
`[lisa-human-gate-lifted] reason=<slug>` and explains why), apply its `actions` (remove the
|
|
266
266
|
human-needed marker, add the ready role back), then classify below with those comments included. A
|
|
267
267
|
valid hold (credential, spend, sign-off, and the rest) plans nothing and stays held; so does a
|
|
@@ -284,7 +284,7 @@ printed even at zero.
|
|
|
284
284
|
and re-rejected every cycle forever and seen by nothing — `lisa-repair-intake` sweeps items that
|
|
285
285
|
are **not** in the ready role and excludes gated ones outright, so a ready-and-gated item falls
|
|
286
286
|
outside its filter twice over. Call
|
|
287
|
-
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, alreadyNotified })`
|
|
287
|
+
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, alreadyNotified })`
|
|
288
288
|
and apply exactly the actions it returns: remove `$READY`, add the configured human-needed
|
|
289
289
|
marker, and post `formatHumanGateNote()` once. The planner is idempotent by state, so an item
|
|
290
290
|
already out of the lane and already marked yields no second mutation and no second comment. This
|
|
@@ -294,7 +294,7 @@ printed even at zero.
|
|
|
294
294
|
This ready-lane candidate can retain a historical body marker and a human-needed label.
|
|
295
295
|
This step reconciles only candidates still in the ready lane; released holds outside it are
|
|
296
296
|
recovered by `lisa-repair-intake` step 2b (or Phase 2.5 when included in this cycle). Call
|
|
297
|
-
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
297
|
+
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, humanGateMode, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
298
298
|
and apply exactly the actions it returns: remove the configured human-needed marker, add the
|
|
299
299
|
configured ready role back, and post `formatHumanGateReleaseNote()` once. It is the exact inverse
|
|
300
300
|
of step 3's planner and it refuses in both directions — an item still held plans nothing, and an
|
|
@@ -361,7 +361,7 @@ To run the gate, this skill must:
|
|
|
361
361
|
|
|
362
362
|
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)`.
|
|
363
363
|
2. Apply the §8 preservation matrix and verdict rules.
|
|
364
|
-
3. If the gate fails: list each dropped/misrouted artifact and
|
|
364
|
+
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.
|
|
365
365
|
4. If the gate passes: print the matrix compactly and proceed to Phase 6.
|
|
366
366
|
|
|
367
367
|
This gate is not optional.
|