@codyswann/lisa 4.87.14 → 4.88.1
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/lisa-hooks/block-direct-issue-create.sh +13 -9
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +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/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/nightly-e2e-guard-behavior-certificate.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +66 -31
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/opencode/plugin-templates/lisa-block-direct-issue-create.ts +5 -2
- package/dist/sync/lifecycle-defaults.d.ts +1 -0
- package/dist/sync/lifecycle-defaults.d.ts.map +1 -1
- package/dist/sync/lifecycle-defaults.js +3 -0
- package/dist/sync/lifecycle-defaults.js.map +1 -1
- package/dist/sync/registry.d.ts.map +1 -1
- package/dist/sync/registry.js +6 -1
- package/dist/sync/registry.js.map +1 -1
- 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/skills/lisa-agent-ready/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +21 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-github-create/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +10 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +21 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-create/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +10 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +22 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-create/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +10 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-persist-learning/SKILL.md +3 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +29 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +50 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-human.mjs +51 -14
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-overruled.mjs +70 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +23 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +327 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/human-needed.mjs +39 -11
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/queue-github.mjs +14 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/session-manager.mjs +11 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-task-decomposition/SKILL.md +2 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +5 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-build-intake/SKILL.md +6 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-create/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-write/SKILL.md +1 -1
- package/plugins/lisa/agents/learning-judge.md +20 -5
- package/plugins/lisa/hooks/block-direct-issue-create.sh +13 -9
- package/plugins/lisa/rules/reference/automation-runbook-contract.md +3 -2
- package/plugins/lisa/rules/reference/config-resolution.md +3 -1
- package/plugins/lisa/rules/reference/ready-role-filing.md +56 -5
- package/plugins/lisa/scripts/human-gate-act.mjs +182 -0
- package/plugins/lisa/scripts/human-gate-lift.mjs +141 -0
- package/plugins/lisa/scripts/intake-blocker-reprobe.mjs +319 -5
- package/plugins/lisa/skills/lisa-agent-ready/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +21 -3
- package/plugins/lisa/skills/lisa-github-create/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +10 -2
- package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +21 -3
- package/plugins/lisa/skills/lisa-jira-create/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +10 -2
- package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +22 -4
- package/plugins/lisa/skills/lisa-linear-create/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +10 -2
- package/plugins/lisa/skills/lisa-persist-learning/SKILL.md +3 -2
- package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +29 -2
- package/plugins/lisa/skills/lisa-session-manager/SKILL.md +50 -5
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-human.mjs +51 -14
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-overruled.mjs +70 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +23 -3
- package/plugins/lisa/skills/lisa-session-manager/scripts/escalation-overruled.mjs +327 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/human-needed.mjs +39 -11
- package/plugins/lisa/skills/lisa-session-manager/scripts/queue-github.mjs +14 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/session-manager.mjs +11 -1
- package/plugins/lisa/skills/lisa-task-decomposition/SKILL.md +2 -1
- package/plugins/lisa/skills/lisa-track/SKILL.md +5 -5
- package/plugins/lisa/skills/lisa-tracker-build-intake/SKILL.md +6 -0
- package/plugins/lisa/skills/lisa-tracker-create/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-tracker-write/SKILL.md +1 -1
- package/plugins/lisa-agy/agents/learning-judge.md +20 -5
- package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +13 -9
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/human-gate-act.mjs +182 -0
- package/plugins/lisa-agy/scripts/human-gate-lift.mjs +141 -0
- package/plugins/lisa-agy/scripts/intake-blocker-reprobe.mjs +319 -5
- package/plugins/lisa-agy/skills/lisa-agent-ready/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +21 -3
- package/plugins/lisa-agy/skills/lisa-github-create/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +10 -2
- package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +21 -3
- package/plugins/lisa-agy/skills/lisa-jira-create/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +10 -2
- package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +22 -4
- package/plugins/lisa-agy/skills/lisa-linear-create/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +10 -2
- package/plugins/lisa-agy/skills/lisa-persist-learning/SKILL.md +3 -2
- package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +29 -2
- package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +50 -5
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-human.mjs +51 -14
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-overruled.mjs +70 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +23 -3
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/escalation-overruled.mjs +327 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/human-needed.mjs +39 -11
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/queue-github.mjs +14 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/session-manager.mjs +11 -1
- package/plugins/lisa-agy/skills/lisa-task-decomposition/SKILL.md +2 -1
- package/plugins/lisa-agy/skills/lisa-track/SKILL.md +5 -5
- package/plugins/lisa-agy/skills/lisa-tracker-build-intake/SKILL.md +6 -0
- package/plugins/lisa-agy/skills/lisa-tracker-create/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-tracker-write/SKILL.md +1 -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 +20 -5
- package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +13 -9
- package/plugins/lisa-copilot/rules/reference/automation-runbook-contract.md +3 -2
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +3 -1
- package/plugins/lisa-copilot/rules/reference/ready-role-filing.md +56 -5
- package/plugins/lisa-copilot/scripts/human-gate-act.mjs +182 -0
- package/plugins/lisa-copilot/scripts/human-gate-lift.mjs +141 -0
- package/plugins/lisa-copilot/scripts/intake-blocker-reprobe.mjs +319 -5
- package/plugins/lisa-copilot/skills/lisa-agent-ready/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +21 -3
- package/plugins/lisa-copilot/skills/lisa-github-create/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +10 -2
- package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +21 -3
- package/plugins/lisa-copilot/skills/lisa-jira-create/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +10 -2
- package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +22 -4
- package/plugins/lisa-copilot/skills/lisa-linear-create/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +10 -2
- package/plugins/lisa-copilot/skills/lisa-persist-learning/SKILL.md +3 -2
- package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +29 -2
- package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +50 -5
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-human.mjs +51 -14
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-overruled.mjs +70 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +23 -3
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/escalation-overruled.mjs +327 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/human-needed.mjs +39 -11
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/queue-github.mjs +14 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/session-manager.mjs +11 -1
- package/plugins/lisa-copilot/skills/lisa-task-decomposition/SKILL.md +2 -1
- package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +5 -5
- package/plugins/lisa-copilot/skills/lisa-tracker-build-intake/SKILL.md +6 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-create/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-tracker-write/SKILL.md +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/learning-judge.md +20 -5
- package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +13 -9
- package/plugins/lisa-cursor/rules/automation-runbook-contract-reference.mdc +3 -2
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +3 -1
- package/plugins/lisa-cursor/rules/ready-role-filing-reference.mdc +56 -5
- package/plugins/lisa-cursor/scripts/human-gate-act.mjs +182 -0
- package/plugins/lisa-cursor/scripts/human-gate-lift.mjs +141 -0
- package/plugins/lisa-cursor/scripts/intake-blocker-reprobe.mjs +319 -5
- package/plugins/lisa-cursor/skills/lisa-agent-ready/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +21 -3
- package/plugins/lisa-cursor/skills/lisa-github-create/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +10 -2
- package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +21 -3
- package/plugins/lisa-cursor/skills/lisa-jira-create/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +10 -2
- package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +22 -4
- package/plugins/lisa-cursor/skills/lisa-linear-create/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +10 -2
- package/plugins/lisa-cursor/skills/lisa-persist-learning/SKILL.md +3 -2
- package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +29 -2
- package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +50 -5
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-human.mjs +51 -14
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-overruled.mjs +70 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +23 -3
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/escalation-overruled.mjs +327 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/human-needed.mjs +39 -11
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/queue-github.mjs +14 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/session-manager.mjs +11 -1
- package/plugins/lisa-cursor/skills/lisa-task-decomposition/SKILL.md +2 -1
- package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +5 -5
- package/plugins/lisa-cursor/skills/lisa-tracker-build-intake/SKILL.md +6 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-create/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-tracker-write/SKILL.md +1 -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 +20 -5
- package/plugins/lisa-devin/hooks/block-direct-issue-create.sh +13 -9
- package/plugins/lisa-devin/rules/reference/automation-runbook-contract.md +3 -2
- package/plugins/lisa-devin/rules/reference/config-resolution.md +3 -1
- package/plugins/lisa-devin/rules/reference/ready-role-filing.md +56 -5
- package/plugins/lisa-devin/scripts/human-gate-act.mjs +182 -0
- package/plugins/lisa-devin/scripts/human-gate-lift.mjs +141 -0
- package/plugins/lisa-devin/scripts/intake-blocker-reprobe.mjs +319 -5
- package/plugins/lisa-devin/skills/lisa-agent-ready/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-github-build-intake/SKILL.md +21 -3
- package/plugins/lisa-devin/skills/lisa-github-create/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +10 -2
- package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +21 -3
- package/plugins/lisa-devin/skills/lisa-jira-create/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +10 -2
- package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +22 -4
- package/plugins/lisa-devin/skills/lisa-linear-create/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +10 -2
- package/plugins/lisa-devin/skills/lisa-persist-learning/SKILL.md +3 -2
- package/plugins/lisa-devin/skills/lisa-repair-intake/SKILL.md +29 -2
- package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +50 -5
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-human.mjs +51 -14
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-overruled.mjs +70 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +23 -3
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +327 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/human-needed.mjs +39 -11
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/queue-github.mjs +14 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/session-manager.mjs +11 -1
- package/plugins/lisa-devin/skills/lisa-task-decomposition/SKILL.md +2 -1
- package/plugins/lisa-devin/skills/lisa-track/SKILL.md +5 -5
- package/plugins/lisa-devin/skills/lisa-tracker-build-intake/SKILL.md +6 -0
- package/plugins/lisa-devin/skills/lisa-tracker-create/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-tracker-write/SKILL.md +1 -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 +20 -5
- package/plugins/src/base/hooks/block-direct-issue-create.sh +13 -9
- package/plugins/src/base/rules/reference/automation-runbook-contract.md +3 -2
- package/plugins/src/base/rules/reference/config-resolution.md +3 -1
- package/plugins/src/base/rules/reference/ready-role-filing.md +56 -5
- package/plugins/src/base/scripts/human-gate-act.mjs +182 -0
- package/plugins/src/base/scripts/human-gate-lift.mjs +141 -0
- package/plugins/src/base/scripts/intake-blocker-reprobe.mjs +319 -5
- package/plugins/src/base/skills/lisa-agent-ready/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +21 -3
- package/plugins/src/base/skills/lisa-github-create/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +10 -2
- package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +21 -3
- package/plugins/src/base/skills/lisa-jira-create/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +10 -2
- package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +22 -4
- package/plugins/src/base/skills/lisa-linear-create/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +10 -2
- package/plugins/src/base/skills/lisa-persist-learning/SKILL.md +3 -2
- package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +29 -2
- package/plugins/src/base/skills/lisa-session-manager/SKILL.md +50 -5
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-human.mjs +51 -14
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-overruled.mjs +70 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +23 -3
- package/plugins/src/base/skills/lisa-session-manager/scripts/escalation-overruled.mjs +327 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/human-needed.mjs +39 -11
- package/plugins/src/base/skills/lisa-session-manager/scripts/queue-github.mjs +14 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/session-manager.mjs +11 -1
- package/plugins/src/base/skills/lisa-task-decomposition/SKILL.md +2 -1
- package/plugins/src/base/skills/lisa-track/SKILL.md +5 -5
- package/plugins/src/base/skills/lisa-tracker-build-intake/SKILL.md +6 -0
- package/plugins/src/base/skills/lisa-tracker-create/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-tracker-write/SKILL.md +1 -1
|
@@ -549,8 +549,11 @@ const LisaBlockDirectIssueCreate = async () => {
|
|
|
549
549
|
" which resolves or creates exactly one live leaf through",
|
|
550
550
|
" lisa-tracker-write with build_ready: true, validates it before the",
|
|
551
551
|
" write, and claims it.",
|
|
552
|
-
"2.
|
|
553
|
-
|
|
552
|
+
"2. Must a person perform an act an agent cannot (a credential only they",
|
|
553
|
+
" hold, spend, an external account, a legal sign-off, a system the agent",
|
|
554
|
+
" cannot reach)? A choice with a reasonable default is not that: decide",
|
|
555
|
+
" it, record the decision on the item, and use 1. Otherwise pass",
|
|
556
|
+
' human_gate: "<the act a person must perform>", which stamps',
|
|
554
557
|
` ${HUMAN_GATE_MARKER} on the item so the hold is auditable.`,
|
|
555
558
|
"",
|
|
556
559
|
"Filed, not ready, and no human_gate is the incomplete-handoff case. See",
|
|
@@ -20,6 +20,7 @@ export declare const BUILD_LABEL_DEFAULTS: {
|
|
|
20
20
|
readonly blocked: "status:blocked";
|
|
21
21
|
readonly human_needed: "human-needed";
|
|
22
22
|
readonly spec_defect: "blocked:spec-defect";
|
|
23
|
+
readonly wrongly_escalated: "wrongly-escalated-to-human";
|
|
23
24
|
readonly done: {
|
|
24
25
|
readonly dev: "status:on-dev";
|
|
25
26
|
readonly staging: "status:on-stg";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle-defaults.d.ts","sourceRoot":"","sources":["../../src/sync/lifecycle-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"lifecycle-defaults.d.ts","sourceRoot":"","sources":["../../src/sync/lifecycle-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;CAcvB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,eAAO,MAAM,wBAAwB,EAAE,SAKtC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAShC,CAAC"}
|
|
@@ -19,6 +19,9 @@ export const BUILD_LABEL_DEFAULTS = {
|
|
|
19
19
|
blocked: "status:blocked",
|
|
20
20
|
human_needed: "human-needed",
|
|
21
21
|
spec_defect: "blocked:spec-defect",
|
|
22
|
+
// Applied by a human (or an agent at an operator's direction) to rule an
|
|
23
|
+
// escalation wrong; the session manager captures it as a learning (#4657).
|
|
24
|
+
wrongly_escalated: "wrongly-escalated-to-human",
|
|
22
25
|
done: {
|
|
23
26
|
dev: "status:on-dev",
|
|
24
27
|
staging: "status:on-stg",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle-defaults.js","sourceRoot":"","sources":["../../src/sync/lifecycle-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,KAAK,EAAE,cAAc;IACrB,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,gBAAgB;IACzB,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,qBAAqB;IAClC,IAAI,EAAE;QACJ,GAAG,EAAE,eAAe;QACpB,OAAO,EAAE,eAAe;QACxB,UAAU,EAAE,aAAa;KAC1B;CACO,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAc;IACjD,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,aAAa;IACtB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE;CAC/D,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAc;IAC3C,KAAK,EAAE,WAAW;IAClB,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,eAAe;IAC1B,OAAO,EAAE,aAAa;IACtB,QAAQ,EAAE,cAAc;IACxB,OAAO,EAAE,aAAa;IACtB,QAAQ,EAAE,cAAc;IACxB,QAAQ,EAAE,qBAAqB;CAChC,CAAC"}
|
|
1
|
+
{"version":3,"file":"lifecycle-defaults.js","sourceRoot":"","sources":["../../src/sync/lifecycle-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,KAAK,EAAE,cAAc;IACrB,OAAO,EAAE,oBAAoB;IAC7B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AK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC;IACjD,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC,CAAC;IAC5D,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC,CAAC;CAC5D,CAkCA,CAAC;AAMF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,SAAS,aAAa,EA2LjD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,SAAS,WAAW,EA0C/C,CAAC"}
|
package/dist/sync/registry.js
CHANGED
|
@@ -187,7 +187,11 @@ export const SYNC_REGISTRY = [
|
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
key: "jira.labels",
|
|
190
|
-
defaultValue: {
|
|
190
|
+
defaultValue: {
|
|
191
|
+
human_needed: "Human Needed",
|
|
192
|
+
spec_defect: "Spec Defect",
|
|
193
|
+
wrongly_escalated: BUILD_LABEL_DEFAULTS.wrongly_escalated,
|
|
194
|
+
},
|
|
191
195
|
relevantWhen: ["jira", WHEN_TRACKER_JIRA],
|
|
192
196
|
description: "JIRA marker labels",
|
|
193
197
|
},
|
|
@@ -215,6 +219,7 @@ export const SYNC_REGISTRY = [
|
|
|
215
219
|
build: {
|
|
216
220
|
human_needed: BUILD_LABEL_DEFAULTS.human_needed,
|
|
217
221
|
spec_defect: BUILD_LABEL_DEFAULTS.spec_defect,
|
|
222
|
+
wrongly_escalated: BUILD_LABEL_DEFAULTS.wrongly_escalated,
|
|
218
223
|
},
|
|
219
224
|
prd: PRD_LABEL_DEFAULTS,
|
|
220
225
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
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AAE,2BAA2B,CAAC,OAAO,CAAC,MAAO,CAAC,SAAS;KACjE;IACD;QACE,GAAG,EAAE,2BAA2B,CAAC,OAAO,CAAC,MAAO,CAAC,KAAK,CAAC,CAAC,CAAE;QAC1D,YAAY,EAAE,CAAC,mBAAmB,EAAE,kBAAkB,CAAC;QACvD,SAAS,EAAE,2BAA2B,CAAC,OAAO,CAAC,MAAO,CAAC,SAAS;KACjE;IACD;QACE,GAAG,EAAE,2BAA2B,CAAC,OAAO,CAAC,MAAO,CAAC,KAAK,CAAC,CAAC,CAAE;QAC1D,YAAY,EAAE,CAAC,mBAAmB,EAAE,kBAAkB,CAAC;QACvD,SAAS,EAAE,2BAA2B,CAAC,OAAO,CAAC,MAAO,CAAC,SAAS;KACjE;IACD;QACE,GAAG,EAAE,2BAA2B,CAAC,OAAO,CAAC,MAAO,CAAC,KAAK,CAAC,CAAC,CAAE;QAC1D,YAAY,EAAE,CAAC,mBAAmB,CAAC;QACnC,SAAS,EAAE,2BAA2B,CAAC,OAAO,CAAC,MAAO,CAAC,SAAS;KACjE;IACD;QACE,GAAG,EAAE,2BAA2B,CAAC,MAAM,CAAC,MAAO,CAAC,KAAK,CAAC,CAAC,CAAE;QACzD,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,SAAS,EAAE,2BAA2B,CAAC,MAAM,CAAC,MAAO,CAAC,SAAS;KAChE;IACD;QACE,GAAG,EAAE,2BAA2B,CAAC,MAAM,CAAC,MAAO,CAAC,KAAK,CAAC,CAAC,CAAE;QACzD,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,SAAS,EAAE,2BAA2B,CAAC,MAAM,CAAC,MAAO,CAAC,SAAS;KAChE;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"qs": "^6.16.0"
|
|
190
190
|
},
|
|
191
191
|
"name": "@codyswann/lisa",
|
|
192
|
-
"version": "4.
|
|
192
|
+
"version": "4.88.1",
|
|
193
193
|
"description": "Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin",
|
|
194
194
|
"main": "dist/index.js",
|
|
195
195
|
"exports": {
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
"test": "tests"
|
|
348
348
|
},
|
|
349
349
|
"types": "./dist/index.d.ts",
|
|
350
|
-
"lisaReleaseCommit": "
|
|
351
|
-
"gitHead": "
|
|
352
|
-
"lisaReleaseTag": "v4.
|
|
350
|
+
"lisaReleaseCommit": "5c764f831c45252f69b2d7c36b7fd8d8bb84cfdd",
|
|
351
|
+
"gitHead": "5c764f831c45252f69b2d7c36b7fd8d8bb84cfdd",
|
|
352
|
+
"lisaReleaseTag": "v4.88.1"
|
|
353
353
|
}
|
|
@@ -222,8 +222,8 @@ vocabulary; it consumes it.
|
|
|
222
222
|
skill (never a vendor write skill directly), carrying the five finding fields in the body. Per the `ready-role-filing` rule each
|
|
223
223
|
create declares its readiness explicitly: pass **`build_ready: true`** when the correction is
|
|
224
224
|
mechanical (an omitted flag is NOT build-ready on any tracker, so the mechanical branch would
|
|
225
|
-
otherwise file work nothing ever claims), and pass **`human_gate: "<the
|
|
226
|
-
|
|
225
|
+
otherwise file work nothing ever claims), and pass **`human_gate: "<the act only a person can
|
|
226
|
+
perform>"`** plus the `human-needed` marker when it needs an act an agent cannot perform (a credential, spend, a sign-off, an accountable person, an unreachable system — `ready-role-filing`, "What a human gate is"); a correction with a reasonable default is decided, recorded, and filed `build_ready: true`. This is the skill's **only tracker write**, and it creates Lisa's *own* work item —
|
|
227
227
|
it **never edits, comments on, transitions, or otherwise mutates any ingested source** (see the
|
|
228
228
|
connected-source safety boundary above). The shipped never-ask posture is preserved: a blocker
|
|
229
229
|
becomes a filed ticket, **never** a prompt, and the session **never pauses to ask a human anything**,
|
|
@@ -243,12 +243,20 @@ 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
245
|
body, `trustedHumanActorIds` and configured `humanNeededLabel` to `classifyReadyCandidate(...)`. For a discharged hold,
|
|
246
|
-
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
246
|
+
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, 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
|
|
253
|
+
`removeHumanNeededLabel` here; defer `addReadyLabel` until the remaining blocker checks below
|
|
254
|
+
clear, exactly as for a release. A hold that names no act an agent cannot perform then never
|
|
255
|
+
blocks selection, and an item with a real blocker never skips the re-probe. A hold that is
|
|
256
|
+
lifted, by this call or in an earlier cycle (`humanGateVerdict(...).lifted` lists both), is a
|
|
257
|
+
discharged condition, not a human decision still pending: record the decision on
|
|
258
|
+
the item (a `Decision:` line saying what was chosen and why) if it does not carry one yet and exclude that condition from
|
|
259
|
+
step 2's probe. Keep probing any independent blocker the item states.
|
|
252
260
|
|
|
253
261
|
2. **Extract the stated discharge condition**, then **probe it**. Machine-testable conditions — a
|
|
254
262
|
version on trunk, a published package, a CI run history, an advisory's patched status — rot
|
|
@@ -345,6 +353,16 @@ Run this **first**, ahead of the repo-scope gate (3a.0) and the leaf-only gate (
|
|
|
345
353
|
candidate. Ordering is load-bearing for the same reason it is inside `classifyPreWorkCandidate`: no
|
|
346
354
|
other gate's verdict — however conclusive — may promote an item a person parked.
|
|
347
355
|
|
|
356
|
+
**Lift invalid holds before classifying.** A hold filed under the old "human product call"
|
|
357
|
+
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
|
|
360
|
+
`[lisa-human-gate-lifted] reason=<slug>` and explains why), apply its `actions` (remove the
|
|
361
|
+
human-needed marker, add the ready role back), then classify below with those comments included. A
|
|
362
|
+
valid hold (credential, spend, sign-off, and the rest) plans nothing and stays held; so does a
|
|
363
|
+
label-only hold. Name lifted items in the cycle summary via `summarizeHumanGateLifts([...])`,
|
|
364
|
+
printed even at zero.
|
|
365
|
+
|
|
348
366
|
1. **Classify with `classifyReadyCandidate(...)`** from `scripts/intake-blocker-reprobe.mjs`. It
|
|
349
367
|
shares the gate test with the pre-work classifier deliberately — two copies of a substring test
|
|
350
368
|
drift, and a drifted gate fails *silently*, by quietly ceasing to match. Do **not** re-implement
|
|
@@ -361,7 +379,7 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
361
379
|
and re-rejected every cycle forever and seen by nothing — `lisa-repair-intake` sweeps items that
|
|
362
380
|
are **not** in the ready role and excludes gated ones outright, so a ready-and-gated item falls
|
|
363
381
|
outside its filter twice over. Call
|
|
364
|
-
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, alreadyNotified })`
|
|
382
|
+
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, alreadyNotified })`
|
|
365
383
|
and apply exactly the actions it returns: remove `$READY`, add the configured human-needed
|
|
366
384
|
marker, and post `formatHumanGateNote()` once. The planner is idempotent by state, so an item
|
|
367
385
|
already out of the lane and already marked yields no second mutation and no second comment. This
|
|
@@ -371,7 +389,7 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
371
389
|
This ready-lane candidate can retain a historical body marker and a human-needed label.
|
|
372
390
|
This step reconciles only candidates still in the ready lane; released holds outside it are
|
|
373
391
|
recovered by `lisa-repair-intake` step 2b (or Phase 2.5 when included in this cycle). Call
|
|
374
|
-
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
392
|
+
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
375
393
|
and apply exactly the actions it returns: remove the configured human-needed marker, add the
|
|
376
394
|
configured ready role back, and post `formatHumanGateReleaseNote()` once. It is the exact inverse
|
|
377
395
|
of step 3's planner and it refuses in both directions — an item still held plans nothing, and an
|
|
@@ -84,7 +84,7 @@ Issues must be created in parent-before-child order:
|
|
|
84
84
|
2. For each Story, invoke `lisa-github-write-issue` with the Epic ref as `parent_ref`. Capture each Story number.
|
|
85
85
|
3. For each Sub-task, invoke `lisa-github-write-issue` with the Story ref as `parent_ref` and explicit `build_ready: true`.
|
|
86
86
|
|
|
87
|
-
- **Declare readiness on every leaf write.** Per the `ready-role-filing` rule an omitted `build_ready` is **not build-ready** on any tracker, so pass `build_ready: true` on each Sub-task (the leaf work units this skill plans) and never on the Epic or Stories, which are containers per `leaf-only-lifecycle`. A leaf that is deliberately held instead passes `human_gate: "<
|
|
87
|
+
- **Declare readiness on every leaf write.** Per the `ready-role-filing` rule an omitted `build_ready` is **not build-ready** on any tracker, so pass `build_ready: true` on each Sub-task (the leaf work units this skill plans) and never on the Epic or Stories, which are containers per `leaf-only-lifecycle`. A leaf that is deliberately held instead passes `human_gate: "<the act a person must perform>"`. Filing a leaf with neither is an incomplete handoff and `lisa-github-write-issue` rejects it.
|
|
88
88
|
|
|
89
89
|
### What to pass to each invocation
|
|
90
90
|
|
|
@@ -326,10 +326,18 @@ For non-build-ready issues created fresh (Epics, Stories, and other containers),
|
|
|
326
326
|
- **`build_ready: false`** → create the leaf **without** `status:ready`, so it sits in the backlog for a human to review and promote into the queue.
|
|
327
327
|
- **`build_ready: true`** → ensure the leaf carries `status:ready` so `lisa-intake` / `lisa-github-build-intake` auto-picks it up.
|
|
328
328
|
|
|
329
|
-
**A filing with neither is an incomplete handoff.** A leaf that is not build-ready must carry an explicit `human_gate: "<
|
|
329
|
+
**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.
|
|
330
|
+
|
|
331
|
+
**Validate the gate before stamping it.** A `human_gate` is for an act an agent cannot perform — a credential only a person holds, spend, an external account, a legal or compliance sign-off, naming an accountable person, acting in a system the agent cannot reach, or a decision class the project declared human-only (`humanGate.humanOnly`). 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:
|
|
332
|
+
|
|
333
|
+
```bash
|
|
334
|
+
node "${CLAUDE_PLUGIN_ROOT:-node_modules/@codyswann/lisa/plugins/lisa}/scripts/human-gate-act.mjs" check --reason "<the human_gate reason>"
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
Exit `1` refuses the gate: do **not** file the leaf held. Report the refusal with the verdict's `remedy` — **decide and record**: pick the reasonable default, write a `Decision:` line on the item, and file it `build_ready: true`. Exit `2` is a usage or config error: stop and report. On exit `0`, stamp the hold with the verdict's `label` naming the act — a visible line plus the verbatim marker:
|
|
330
338
|
|
|
331
339
|
```text
|
|
332
|
-
Held for a
|
|
340
|
+
Held for a person to <label>: <reason>.
|
|
333
341
|
<!-- [lisa-human-gate] reason=<short-slug> -->
|
|
334
342
|
```
|
|
335
343
|
|
|
@@ -216,12 +216,20 @@ true, and nothing re-read one before this phase. For each pre-work candidate out
|
|
|
216
216
|
|
|
217
217
|
1. **Read release comments before applying the human gate.** Pass all item comments, labels,
|
|
218
218
|
body, `trustedHumanActorIds` and configured `humanNeededLabel` to `classifyReadyCandidate(...)`. For a discharged hold,
|
|
219
|
-
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
219
|
+
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, 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
|
|
226
|
+
`removeHumanNeededLabel` here; defer `addReadyLabel` until the remaining blocker checks below
|
|
227
|
+
clear, exactly as for a release. A hold that names no act an agent cannot perform then never
|
|
228
|
+
blocks selection, and an item with a real blocker never skips the re-probe. A hold that is
|
|
229
|
+
lifted, by this call or in an earlier cycle (`humanGateVerdict(...).lifted` lists both), is a
|
|
230
|
+
discharged condition, not a human decision still pending: record the decision on
|
|
231
|
+
the item (a `Decision:` line saying what was chosen and why) if it does not carry one yet and exclude that condition from
|
|
232
|
+
step 2's probe. Keep probing any independent blocker the item states.
|
|
225
233
|
|
|
226
234
|
2. **Extract the stated discharge condition**, then **probe it**. Machine-testable conditions — a
|
|
227
235
|
version on trunk, a published package, a CI run history, an advisory's patched status — rot
|
|
@@ -249,6 +257,16 @@ Run this **first**, ahead of the repo-scope gate (3a.0) and the leaf-only gate (
|
|
|
249
257
|
candidate. Ordering is load-bearing for the same reason it is inside `classifyPreWorkCandidate`: no
|
|
250
258
|
other gate's verdict — however conclusive — may promote an item a person parked.
|
|
251
259
|
|
|
260
|
+
**Lift invalid holds before classifying.** A hold filed under the old "human product call"
|
|
261
|
+
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
|
|
264
|
+
`[lisa-human-gate-lifted] reason=<slug>` and explains why), apply its `actions` (remove the
|
|
265
|
+
human-needed marker, add the ready role back), then classify below with those comments included. A
|
|
266
|
+
valid hold (credential, spend, sign-off, and the rest) plans nothing and stays held; so does a
|
|
267
|
+
label-only hold. Name lifted items in the cycle summary via `summarizeHumanGateLifts([...])`,
|
|
268
|
+
printed even at zero.
|
|
269
|
+
|
|
252
270
|
1. **Classify with `classifyReadyCandidate(...)`** from `scripts/intake-blocker-reprobe.mjs`. It
|
|
253
271
|
shares the gate test with the pre-work classifier deliberately — two copies of a substring test
|
|
254
272
|
drift, and a drifted gate fails *silently*, by quietly ceasing to match. Do **not** re-implement
|
|
@@ -265,7 +283,7 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
265
283
|
and re-rejected every cycle forever and seen by nothing — `lisa-repair-intake` sweeps items that
|
|
266
284
|
are **not** in the ready role and excludes gated ones outright, so a ready-and-gated item falls
|
|
267
285
|
outside its filter twice over. Call
|
|
268
|
-
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, alreadyNotified })`
|
|
286
|
+
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, alreadyNotified })`
|
|
269
287
|
and apply exactly the actions it returns: remove `$READY`, add the configured human-needed
|
|
270
288
|
marker, and post `formatHumanGateNote()` once. The planner is idempotent by state, so an item
|
|
271
289
|
already out of the lane and already marked yields no second mutation and no second comment. This
|
|
@@ -275,7 +293,7 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
275
293
|
This ready-lane candidate can retain a historical body marker and a human-needed label.
|
|
276
294
|
This step reconciles only candidates still in the ready lane; released holds outside it are
|
|
277
295
|
recovered by `lisa-repair-intake` step 2b (or Phase 2.5 when included in this cycle). Call
|
|
278
|
-
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
296
|
+
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
279
297
|
and apply exactly the actions it returns: remove the configured human-needed marker, add the
|
|
280
298
|
configured ready role back, and post `formatHumanGateReleaseNote()` once. It is the exact inverse
|
|
281
299
|
of step 3's planner and it refuses in both directions — an item still held plans nothing, and an
|
|
@@ -127,7 +127,7 @@ Exclude unless requested: migration plans, performance tests
|
|
|
127
127
|
- Sign-in account and target environment recorded in description
|
|
128
128
|
- Post-create verification
|
|
129
129
|
|
|
130
|
-
**Declare readiness on every leaf write.** Per the `ready-role-filing` rule an omitted `build_ready` is **not build-ready** on any tracker, so pass `build_ready: true` on each Sub-task (the leaf work units this skill plans) and never on the Epic or Stories, which are containers per `leaf-only-lifecycle`. A leaf that is deliberately held instead passes `human_gate: "<
|
|
130
|
+
**Declare readiness on every leaf write.** Per the `ready-role-filing` rule an omitted `build_ready` is **not build-ready** on any tracker, so pass `build_ready: true` on each Sub-task (the leaf work units this skill plans) and never on the Epic or Stories, which are containers per `leaf-only-lifecycle`. A leaf that is deliberately held instead passes `human_gate: "<the act a person must perform>"`. Filing a leaf with neither is an incomplete handoff and `lisa-jira-write-ticket` rejects it.
|
|
131
131
|
|
|
132
132
|
### Invocation order
|
|
133
133
|
|
|
@@ -311,10 +311,18 @@ Before create/update, verify each field is populated where applicable:
|
|
|
311
311
|
- **`build_ready: false`** → same outcome as omitted, stated deliberately: the ticket waits in the project's default status for a human to promote it.
|
|
312
312
|
- **`build_ready: true`** → after create, transition the **leaf** to the resolved `ready` role so `lisa-intake` / `lisa-jira-build-intake` auto-picks it up (see Phase 6 CREATE step). Resolve the role name with the standard pattern (`.jira.workflow.ready` // `Ready`, local overrides global). Best-effort: if the transition is unreachable, record it and leave the ticket in its default status rather than failing the write.
|
|
313
313
|
|
|
314
|
-
**A filing with neither is an incomplete handoff.** A leaf that is not build-ready must carry an explicit `human_gate: "<
|
|
314
|
+
**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.
|
|
315
|
+
|
|
316
|
+
**Validate the gate before stamping it.** A `human_gate` is for an act an agent cannot perform — a credential only a person holds, spend, an external account, a legal or compliance sign-off, naming an accountable person, acting in a system the agent cannot reach, or a decision class the project declared human-only (`humanGate.humanOnly`). 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:
|
|
317
|
+
|
|
318
|
+
```bash
|
|
319
|
+
node "${CLAUDE_PLUGIN_ROOT:-node_modules/@codyswann/lisa/plugins/lisa}/scripts/human-gate-act.mjs" check --reason "<the human_gate reason>"
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
Exit `1` refuses the gate: do **not** file the leaf held. Report the refusal with the verdict's `remedy` — **decide and record**: pick the reasonable default, write a `Decision:` line on the item, and file it `build_ready: true`. Exit `2` is a usage or config error: stop and report. On exit `0`, stamp the hold with the verdict's `label` naming the act — a visible line plus the verbatim marker:
|
|
315
323
|
|
|
316
324
|
```text
|
|
317
|
-
Held for a
|
|
325
|
+
Held for a person to <label>: <reason>.
|
|
318
326
|
<!-- [lisa-human-gate] reason=<short-slug> -->
|
|
319
327
|
```
|
|
320
328
|
|
|
@@ -215,19 +215,27 @@ 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
217
|
body, `trustedHumanActorIds` and configured `humanNeededLabel` to `classifyReadyCandidate(...)`. For a discharged hold,
|
|
218
|
-
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
218
|
+
call `planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, 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
|
|
225
|
+
`removeHumanNeededLabel` here; defer `addReadyLabel` until the remaining blocker checks below
|
|
226
|
+
clear, exactly as for a release. A hold that names no act an agent cannot perform then never
|
|
227
|
+
blocks selection, and an item with a real blocker never skips the re-probe. A hold that is
|
|
228
|
+
lifted, by this call or in an earlier cycle (`humanGateVerdict(...).lifted` lists both), is a
|
|
229
|
+
discharged condition, not a human decision still pending: record the decision on
|
|
230
|
+
the item (a `Decision:` line saying what was chosen and why) if it does not carry one yet and exclude that condition from
|
|
231
|
+
step 2's probe. Keep probing any independent blocker the item states.
|
|
224
232
|
|
|
225
233
|
2. **Extract the stated discharge condition** from the description or the most recent blocking comment — the sentence naming what has to become true.
|
|
226
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 human decision is not machine-testable — leave it and move on.
|
|
227
235
|
4. **Classify with the shared helper** so the ordering and the evidence requirement cannot drift per vendor:
|
|
228
236
|
|
|
229
237
|
```text
|
|
230
|
-
classifyPreWorkCandidate({ laneType, labels, body, comments, trustedHumanActorIds, humanNeededLabel, statedBlocker, probe })
|
|
238
|
+
classifyPreWorkCandidate({ laneType, labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, statedBlocker, probe })
|
|
231
239
|
→ { selectable, reason, humanGated, evidence }
|
|
232
240
|
```
|
|
233
241
|
|
|
@@ -250,6 +258,16 @@ Run this **first**, ahead of the repo-scope gate (3a.0) and the leaf-only gate (
|
|
|
250
258
|
candidate. Ordering is load-bearing for the same reason it is inside `classifyPreWorkCandidate`: no
|
|
251
259
|
other gate's verdict — however conclusive — may promote an item a person parked.
|
|
252
260
|
|
|
261
|
+
**Lift invalid holds before classifying.** A hold filed under the old "human product call"
|
|
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
|
|
265
|
+
`[lisa-human-gate-lifted] reason=<slug>` and explains why), apply its `actions` (remove the
|
|
266
|
+
human-needed marker, add the ready role back), then classify below with those comments included. A
|
|
267
|
+
valid hold (credential, spend, sign-off, and the rest) plans nothing and stays held; so does a
|
|
268
|
+
label-only hold. Name lifted items in the cycle summary via `summarizeHumanGateLifts([...])`,
|
|
269
|
+
printed even at zero.
|
|
270
|
+
|
|
253
271
|
1. **Classify with `classifyReadyCandidate(...)`** from `scripts/intake-blocker-reprobe.mjs`. It
|
|
254
272
|
shares the gate test with the pre-work classifier deliberately — two copies of a substring test
|
|
255
273
|
drift, and a drifted gate fails *silently*, by quietly ceasing to match. Do **not** re-implement
|
|
@@ -266,7 +284,7 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
266
284
|
and re-rejected every cycle forever and seen by nothing — `lisa-repair-intake` sweeps items that
|
|
267
285
|
are **not** in the ready role and excludes gated ones outright, so a ready-and-gated item falls
|
|
268
286
|
outside its filter twice over. Call
|
|
269
|
-
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, alreadyNotified })`
|
|
287
|
+
`planHumanGateReconciliation({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, alreadyNotified })`
|
|
270
288
|
and apply exactly the actions it returns: remove `$READY`, add the configured human-needed
|
|
271
289
|
marker, and post `formatHumanGateNote()` once. The planner is idempotent by state, so an item
|
|
272
290
|
already out of the lane and already marked yields no second mutation and no second comment. This
|
|
@@ -276,7 +294,7 @@ other gate's verdict — however conclusive — may promote an item a person par
|
|
|
276
294
|
This ready-lane candidate can retain a historical body marker and a human-needed label.
|
|
277
295
|
This step reconciles only candidates still in the ready lane; released holds outside it are
|
|
278
296
|
recovered by `lisa-repair-intake` step 2b (or Phase 2.5 when included in this cycle). Call
|
|
279
|
-
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
297
|
+
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
280
298
|
and apply exactly the actions it returns: remove the configured human-needed marker, add the
|
|
281
299
|
configured ready role back, and post `formatHumanGateReleaseNote()` once. It is the exact inverse
|
|
282
300
|
of step 3's planner and it refuses in both directions — an item still held plans nothing, and an
|
|
@@ -128,7 +128,7 @@ Items must be created in parent-before-child order so each child can be passed i
|
|
|
128
128
|
2. For each Story, invoke `lisa-linear-write-issue` with the Project ID as `parent_project_id`. Capture each Issue identifier.
|
|
129
129
|
3. For each Sub-task, invoke `lisa-linear-write-issue` with the Story Issue ID as `parent_issue_id` and explicit `build_ready: true`.
|
|
130
130
|
|
|
131
|
-
- **Declare readiness on every leaf write.** Per the `ready-role-filing` rule an omitted `build_ready` is **not build-ready** on any tracker, so pass `build_ready: true` on each Sub-task (the leaf work units this skill plans) and never on the Epic or Stories, which are containers per `leaf-only-lifecycle`. A leaf that is deliberately held instead passes `human_gate: "<
|
|
131
|
+
- **Declare readiness on every leaf write.** Per the `ready-role-filing` rule an omitted `build_ready` is **not build-ready** on any tracker, so pass `build_ready: true` on each Sub-task (the leaf work units this skill plans) and never on the Epic or Stories, which are containers per `leaf-only-lifecycle`. A leaf that is deliberately held instead passes `human_gate: "<the act a person must perform>"`. Filing a leaf with neither is an incomplete handoff and `lisa-linear-write-issue` rejects it.
|
|
132
132
|
|
|
133
133
|
### What to pass to each invocation
|
|
134
134
|
|
|
@@ -305,10 +305,18 @@ For Bug / Task / Sub-task, ensure the summary is prefixed with `[<repo-name>]`.
|
|
|
305
305
|
- **`build_ready: false`** → create the leaf **without** the `ready` state, leaving it in the team's default backlog state so it waits for a human to review and promote it into the queue.
|
|
306
306
|
- **`build_ready: true`** → declare `lifecycle_role: ready` so the access layer resolves `.linear.workflow.ready` and places the leaf there, and `lisa-intake` / `lisa-linear-build-intake` auto-picks it up. Best-effort **for the lane, never for the guard**: an access-layer refusal (`ready` unbound, absent from the team, ambiguous) is fail-closed and is never worked around here — surface its message verbatim, do not fail the write, leave the Issue in its default state and record the reason. The Issue is still created; what is refused is the unproven lane placement, which is the safe half to lose.
|
|
307
307
|
|
|
308
|
-
**A filing with neither is an incomplete handoff.** A leaf that is not build-ready must carry an explicit `human_gate: "<
|
|
308
|
+
**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.
|
|
309
|
+
|
|
310
|
+
**Validate the gate before stamping it.** A `human_gate` is for an act an agent cannot perform — a credential only a person holds, spend, an external account, a legal or compliance sign-off, naming an accountable person, acting in a system the agent cannot reach, or a decision class the project declared human-only (`humanGate.humanOnly`). 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:
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
node "${CLAUDE_PLUGIN_ROOT:-node_modules/@codyswann/lisa/plugins/lisa}/scripts/human-gate-act.mjs" check --reason "<the human_gate reason>"
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
Exit `1` refuses the gate: do **not** file the leaf held. Report the refusal with the verdict's `remedy` — **decide and record**: pick the reasonable default, write a `Decision:` line on the item, and file it `build_ready: true`. Exit `2` is a usage or config error: stop and report. On exit `0`, stamp the hold with the verdict's `label` naming the act — a visible line plus the verbatim marker:
|
|
309
317
|
|
|
310
318
|
```text
|
|
311
|
-
Held for a
|
|
319
|
+
Held for a person to <label>: <reason>.
|
|
312
320
|
<!-- [lisa-human-gate] reason=<short-slug> -->
|
|
313
321
|
```
|
|
314
322
|
|
|
@@ -23,7 +23,7 @@ Accept the candidate as JSON or `key=value` fields:
|
|
|
23
23
|
- `evidence_links` — concrete evidence refs available for citation
|
|
24
24
|
- `scope_hint` — `project` | `upstream` (a hint; the judge decides)
|
|
25
25
|
- `triggering_issue` — the issue/work item whose failure produced this candidate (required)
|
|
26
|
-
- `signal` — optional; `planning-miss` when a dispatched item stopped for a human or filed a new ticket mid-build (from `lisa-session-manager` or `lisa-implement`)
|
|
26
|
+
- `signal` — optional; `planning-miss` when a dispatched item stopped for a human or filed a new ticket mid-build (from `lisa-session-manager` or `lisa-implement`); `wrongly-escalated` when a human labeled an item's escalation wrong with the configured wrongly-escalated label (from `lisa-session-manager`'s overruled-escalation sweep, CodySwannGT/lisa#4657), carrying the hold and release as `evidence`. A hint for the judge, never a verdict
|
|
27
27
|
- `fingerprint` — optional; computed below when absent
|
|
28
28
|
|
|
29
29
|
## Phase 0 — Fingerprint (stable dedupe key)
|
|
@@ -237,7 +237,7 @@ No learning content is ever committed without a PR — there is no other write p
|
|
|
237
237
|
Stage: <planning_stage>. The worker could not find: "<quoted>". Planning skills read this rule back through the bounded projection (`lisa-task-decomposition` step 0).
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
For a **low-confidence** PR, the body must additionally end with this fixed decision-framing line so the human at the gate knows exactly what merging means:
|
|
240
|
+
For a **low-confidence** PR (other than a `wrongly-escalated` one, which no human merges — step 6), the body must additionally end with this fixed decision-framing line so the human at the gate knows exactly what merging means:
|
|
241
241
|
|
|
242
242
|
```markdown
|
|
243
243
|
**Merge** to adopt this rule into every future session for all six coding agents; **close** to discard it.
|
|
@@ -257,6 +257,7 @@ No learning content is ever committed without a PR — there is no other write p
|
|
|
257
257
|
```
|
|
258
258
|
|
|
259
259
|
A low-confidence PR sitting OPEN with green checks and `autoMergeRequest: null` is this mode's **success** state — a human merges or closes it. All pending low-confidence learning PRs are findable by filtering on the `learning:needs-triage` label (`gh pr list --label "learning:needs-triage"`).
|
|
260
|
+
- **`signal: wrongly-escalated`, at either confidence** → submit through `lisa-git-submit-pr` with its defaults, exactly like `high`, and apply no triage label. The candidate exists because a human already ruled — the wrongly-escalated label on the item is the review a low-confidence PR would otherwise wait for — and waiting for a second human to merge the learning is the very interruption the ruling objected to. Who applied the label does not change this: an automation identity applying it at an operator's direction counts. A `low` entry stays `confidence: low` in the ledger, so the gardener (`lisa-learnings-audit`) can find it and retire the rule if the call was wrong.
|
|
260
261
|
|
|
261
262
|
## Rules
|
|
262
263
|
|
|
@@ -1088,7 +1088,7 @@ with labels like `build-ready`, or with no Lisa status label at all, that are in
|
|
|
1088
1088
|
`intake_mode=build`, every non-PRD issue is normalized as a build ticket. If `intake_mode=both`,
|
|
1089
1089
|
classify PRDs first and normalize all remaining issues as build tickets.
|
|
1090
1090
|
2a. **Ask whether a person is holding it, before anything else.** Call
|
|
1091
|
-
`planLabelNormalization({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, lifecycleLabels, readyLabel })` from
|
|
1091
|
+
`planLabelNormalization({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, lifecycleLabels, readyLabel })` from
|
|
1092
1092
|
`scripts/intake-blocker-reprobe.mjs` for every candidate and apply exactly the verdict it
|
|
1093
1093
|
returns. Do **not** re-implement the test here and do **not** decide held-ness from labels
|
|
1094
1094
|
alone: the vendor writers stamp the `[lisa-human-gate]` marker into the body of a deliberate
|
|
@@ -1110,6 +1110,33 @@ with labels like `build-ready`, or with no Lisa status label at all, that are in
|
|
|
1110
1110
|
an item whose discharge cannot be seen. That fails closed — it stays held — which is the safe
|
|
1111
1111
|
direction and precisely why the omission is invisible.
|
|
1112
1112
|
|
|
1113
|
+
2a.5. **Lift the holds that were never valid, with no person involved.** A human gate is for an act
|
|
1114
|
+
an agent cannot perform (`ready-role-filing`, "What a human gate is"). Holds filed under the old
|
|
1115
|
+
"a human product call is pending" wording often name only a topic (`*-triage`, `*-dispatch`, a
|
|
1116
|
+
naming or classification choice), and each one stalls its item until someone notices. An operator
|
|
1117
|
+
should never have to comment to release one.
|
|
1118
|
+
|
|
1119
|
+
Enumerate open items carrying a `[lisa-human-gate]` marker in the body and, for each, call
|
|
1120
|
+
`planHumanGateLift({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels })`
|
|
1121
|
+
from `scripts/human-gate-lift.mjs`, with `humanOnly` read from `humanGate.humanOnly` in config.
|
|
1122
|
+
The planner lifts only when it is sure: a topic-only slug, no act on any hold-related line, and
|
|
1123
|
+
no secret or act token anywhere in the hold text (`ready-role-filing`, "Existing invalid holds
|
|
1124
|
+
are lifted"). Any doubt keeps the hold. Apply exactly what it returns: post each string in `comments` once (each begins
|
|
1125
|
+
`[lisa-human-gate-lifted] reason=<slug>` with a one-line rationale), then remove the human-needed
|
|
1126
|
+
marker and add the configured build `ready` label as `actions` say. Do **not** re-implement the
|
|
1127
|
+
classification here.
|
|
1128
|
+
|
|
1129
|
+
This is not a forged human release, and it is a narrow exception to "never remove a
|
|
1130
|
+
`human_needed` marker this skill did not apply": a lift records that the hold was invalid under
|
|
1131
|
+
the contract, so there is nothing for a person to authorize. A lift's authority comes from
|
|
1132
|
+
re-classifying the hold, not from who wrote the comment, so a lift naming a valid hold discharges
|
|
1133
|
+
nothing. **Valid holds plan nothing** (credential, spend, external account, legal/compliance
|
|
1134
|
+
sign-off, accountable person, unreachable system, Lisa's own human-only gates, and any
|
|
1135
|
+
project-declared class). **Label-only holds plan nothing** — an access block or blocked verdict
|
|
1136
|
+
declares no reason to judge. A mixed item lifts its invalid reasons and stays held for the valid
|
|
1137
|
+
one. Never edit the description. Count these under `lifted_invalid_hold` and name them in the
|
|
1138
|
+
cycle summary via `summarizeHumanGateLifts([...])`, printed even when it is zero.
|
|
1139
|
+
|
|
1113
1140
|
2b. **Release the holds that have been answered.** This is step 2a's inverse and it is the reason
|
|
1114
1141
|
this sweep is where it lives: applying a hold had a path and lifting one had none, so a person
|
|
1115
1142
|
could supply exactly what a held item asked for, record the decision on the item, and the item
|
|
@@ -1119,7 +1146,7 @@ with labels like `build-ready`, or with no Lisa status label at all, that are in
|
|
|
1119
1146
|
|
|
1120
1147
|
Enumerate items carrying the configured `human_needed` marker **or** a `[lisa-human-gate]` marker
|
|
1121
1148
|
in the body, and for each call
|
|
1122
|
-
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
1149
|
+
`planHumanGateRelease({ labels, body, comments, trustedHumanActorIds, humanNeededLabel, humanOnly, readyLabel, lifecycleLabels, alreadyNotified })`
|
|
1123
1150
|
from `scripts/intake-blocker-reprobe.mjs`. Apply exactly the actions it returns: remove the
|
|
1124
1151
|
human-needed marker, add the configured build `ready` label back, and post
|
|
1125
1152
|
`formatHumanGateReleaseNote()` once. Do **not** re-implement the discharge test, and do **not**
|