@codyswann/lisa 4.109.1 → 4.110.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
- package/all/copy-overwrite/scripts/lib/completion-proof-github.mjs +58 -3
- package/all/copy-overwrite/scripts/lib/completion-proof-publisher.mjs +58 -141
- package/all/copy-overwrite/scripts/lib/evidence-prune-records.mjs +57 -11
- package/all/copy-overwrite/scripts/lib/evidence-release-capacity.mjs +228 -0
- package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +1 -0
- package/all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh +10 -5
- package/all/copy-overwrite/scripts/lisa-hooks/block-no-verify.sh +4 -3
- package/all/copy-overwrite/scripts/lisa-work-item.mjs +16 -15
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +16 -6
- package/all/create-only/.agents/rules/README.md +3 -2
- package/all/create-only/.lisa/ACCOUNTABILITY.md +16 -10
- package/all/create-only/.lisa/DEPENDENCY_DECISIONS.md +15 -12
- package/dist/codex/scripts/block-no-verify.sh +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +56 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/lisa.d.ts +4 -3
- package/dist/core/lisa.d.ts.map +1 -1
- package/dist/core/lisa.js +12 -5
- package/dist/core/lisa.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/project-config-dependencies.d.ts +29 -8
- package/dist/core/project-config-dependencies.d.ts.map +1 -1
- package/dist/core/project-config-dependencies.js +55 -15
- package/dist/core/project-config-dependencies.js.map +1 -1
- package/dist/core/project-config-human-gate.d.ts +105 -0
- package/dist/core/project-config-human-gate.d.ts.map +1 -0
- package/dist/core/project-config-human-gate.js +178 -0
- package/dist/core/project-config-human-gate.js.map +1 -0
- package/dist/core/project-config-learnings.d.ts +28 -9
- package/dist/core/project-config-learnings.d.ts.map +1 -1
- package/dist/core/project-config-learnings.js +51 -13
- package/dist/core/project-config-learnings.js.map +1 -1
- package/dist/core/project-config.d.ts +13 -3
- package/dist/core/project-config.d.ts.map +1 -1
- package/dist/core/project-config.js +6 -2
- package/dist/core/project-config.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +111 -89
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/opencode/plugin-templates/block-no-verify.sh +4 -3
- package/dist/opencode/plugin-templates/lisa-block-direct-issue-create.ts +10 -4
- package/dist/utils/usage-accounting.d.ts +13 -0
- package/dist/utils/usage-accounting.d.ts.map +1 -1
- package/dist/utils/usage-accounting.js +67 -4
- package/dist/utils/usage-accounting.js.map +1 -1
- package/dist/utils/usage-artifact-ref.d.ts +30 -0
- package/dist/utils/usage-artifact-ref.d.ts.map +1 -0
- package/dist/utils/usage-artifact-ref.js +55 -0
- package/dist/utils/usage-artifact-ref.js.map +1 -0
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa/.codex-plugin/scripts/human-gate-act.mjs +278 -0
- package/plugins/lisa/.codex-plugin/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa/.codex-plugin/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/SKILL.md +4 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa/.codex-plugin/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa/.codex-plugin/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/lisa/agents/learning-judge.md +5 -5
- package/plugins/lisa/agents/skill-evaluator.md +4 -4
- package/plugins/lisa/commands/debrief/apply.md +1 -1
- package/plugins/lisa/commands/learnings/audit.md +2 -2
- package/plugins/lisa/commands/persist-learning.md +1 -1
- package/plugins/lisa/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa/hooks/block-no-verify.agy.sh +1 -1
- package/plugins/lisa/hooks/block-no-verify.sh +4 -3
- package/plugins/lisa/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/lisa/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/lisa/rules/eager/base-rules.md +1 -1
- package/plugins/lisa/rules/eager/do-it-now.md +2 -2
- package/plugins/lisa/rules/eager/learnings-ladder.md +1 -1
- package/plugins/lisa/rules/eager/security-audit-handling.md +5 -5
- package/plugins/lisa/rules/reference/automation-runbook-contract.md +37 -22
- package/plugins/lisa/rules/reference/base-rules.md +1 -1
- package/plugins/lisa/rules/reference/config-resolution.md +7 -6
- package/plugins/lisa/rules/reference/dependency-trust-classes.md +28 -18
- package/plugins/lisa/rules/reference/factory-model.md +17 -8
- package/plugins/lisa/rules/reference/intent-routing.md +3 -3
- package/plugins/lisa/rules/reference/learnings-ladder.md +1 -1
- package/plugins/lisa/rules/reference/promotion-contract.md +5 -2
- package/plugins/lisa/rules/reference/ready-role-filing.md +32 -22
- package/plugins/lisa/rules/reference/security-audit-handling.md +9 -6
- package/plugins/lisa/rules/reference/usage-accounting.md +29 -1
- package/plugins/lisa/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa/skills/lisa-debrief-apply/agents/openai.yaml +2 -2
- package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/lisa-agy/agents/learning-judge.md +5 -5
- package/plugins/lisa-agy/agents/skill-evaluator.md +4 -4
- package/plugins/lisa-agy/commands/lisa/debrief/apply.md +1 -1
- package/plugins/lisa-agy/commands/lisa/learnings/audit.md +2 -2
- package/plugins/lisa-agy/commands/lisa/persist-learning.md +1 -1
- package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa-agy/hooks/block-no-verify.agy.sh +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa-agy/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa-agy/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa-agy/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa-agy/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa-agy/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa-agy/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa-agy/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa-agy/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa-agy/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa-agy/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-agy/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa-agy/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa-agy/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa-agy/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa-agy/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa-agy/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa-agy/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa-agy/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa-agy/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa-agy/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/agents/learning-judge.agent.md +5 -5
- package/plugins/lisa-copilot/agents/skill-evaluator.agent.md +4 -4
- package/plugins/lisa-copilot/commands/lisa/debrief/apply.md +1 -1
- package/plugins/lisa-copilot/commands/lisa/learnings/audit.md +2 -2
- package/plugins/lisa-copilot/commands/lisa/persist-learning.md +1 -1
- package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa-copilot/hooks/block-no-verify.sh +4 -3
- package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/lisa-copilot/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/lisa-copilot/rules/eager/base-rules.md +1 -1
- package/plugins/lisa-copilot/rules/eager/do-it-now.md +2 -2
- package/plugins/lisa-copilot/rules/eager/learnings-ladder.md +1 -1
- package/plugins/lisa-copilot/rules/eager/security-audit-handling.md +5 -5
- package/plugins/lisa-copilot/rules/reference/automation-runbook-contract.md +37 -22
- package/plugins/lisa-copilot/rules/reference/base-rules.md +1 -1
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +7 -6
- package/plugins/lisa-copilot/rules/reference/dependency-trust-classes.md +28 -18
- package/plugins/lisa-copilot/rules/reference/factory-model.md +17 -8
- package/plugins/lisa-copilot/rules/reference/intent-routing.md +3 -3
- package/plugins/lisa-copilot/rules/reference/learnings-ladder.md +1 -1
- package/plugins/lisa-copilot/rules/reference/promotion-contract.md +5 -2
- package/plugins/lisa-copilot/rules/reference/ready-role-filing.md +32 -22
- package/plugins/lisa-copilot/rules/reference/security-audit-handling.md +9 -6
- package/plugins/lisa-copilot/rules/reference/usage-accounting.md +29 -1
- package/plugins/lisa-copilot/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa-copilot/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa-copilot/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa-copilot/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa-copilot/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa-copilot/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa-copilot/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa-copilot/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa-copilot/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa-copilot/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa-copilot/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-copilot/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa-copilot/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa-copilot/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa-copilot/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa-copilot/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa-copilot/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa-copilot/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa-copilot/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa-copilot/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/learning-judge.md +5 -5
- package/plugins/lisa-cursor/agents/skill-evaluator.md +4 -4
- package/plugins/lisa-cursor/commands/lisa/debrief/apply.md +1 -1
- package/plugins/lisa-cursor/commands/lisa/learnings/audit.md +2 -2
- package/plugins/lisa-cursor/commands/lisa/persist-learning.md +1 -1
- package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa-cursor/hooks/block-no-verify.sh +4 -3
- package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/lisa-cursor/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/lisa-cursor/rules/automation-runbook-contract-reference.mdc +37 -22
- package/plugins/lisa-cursor/rules/base-rules-reference.mdc +1 -1
- package/plugins/lisa-cursor/rules/base-rules.mdc +1 -1
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +7 -6
- package/plugins/lisa-cursor/rules/dependency-trust-classes-reference.mdc +28 -18
- package/plugins/lisa-cursor/rules/do-it-now.mdc +2 -2
- package/plugins/lisa-cursor/rules/factory-model-reference.mdc +17 -8
- package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +3 -3
- package/plugins/lisa-cursor/rules/learnings-ladder-reference.mdc +1 -1
- package/plugins/lisa-cursor/rules/learnings-ladder.mdc +1 -1
- package/plugins/lisa-cursor/rules/promotion-contract-reference.mdc +5 -2
- package/plugins/lisa-cursor/rules/ready-role-filing-reference.mdc +32 -22
- package/plugins/lisa-cursor/rules/security-audit-handling-reference.mdc +9 -6
- package/plugins/lisa-cursor/rules/security-audit-handling.mdc +5 -5
- package/plugins/lisa-cursor/rules/usage-accounting-reference.mdc +29 -1
- package/plugins/lisa-cursor/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa-cursor/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa-cursor/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa-cursor/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa-cursor/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa-cursor/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa-cursor/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa-cursor/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa-cursor/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa-cursor/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa-cursor/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-cursor/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa-cursor/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa-cursor/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa-cursor/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa-cursor/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa-cursor/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa-cursor/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa-cursor/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa-cursor/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/agents/learning-judge.md +5 -5
- package/plugins/lisa-devin/agents/skill-evaluator.md +4 -4
- package/plugins/lisa-devin/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/lisa-devin/hooks/block-no-verify.sh +4 -3
- package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/lisa-devin/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/lisa-devin/rules/eager/base-rules.md +1 -1
- package/plugins/lisa-devin/rules/eager/do-it-now.md +2 -2
- package/plugins/lisa-devin/rules/eager/learnings-ladder.md +1 -1
- package/plugins/lisa-devin/rules/eager/security-audit-handling.md +5 -5
- package/plugins/lisa-devin/rules/reference/automation-runbook-contract.md +37 -22
- package/plugins/lisa-devin/rules/reference/base-rules.md +1 -1
- package/plugins/lisa-devin/rules/reference/config-resolution.md +7 -6
- package/plugins/lisa-devin/rules/reference/dependency-trust-classes.md +28 -18
- package/plugins/lisa-devin/rules/reference/factory-model.md +17 -8
- package/plugins/lisa-devin/rules/reference/intent-routing.md +3 -3
- package/plugins/lisa-devin/rules/reference/learnings-ladder.md +1 -1
- package/plugins/lisa-devin/rules/reference/promotion-contract.md +5 -2
- package/plugins/lisa-devin/rules/reference/ready-role-filing.md +32 -22
- package/plugins/lisa-devin/rules/reference/security-audit-handling.md +9 -6
- package/plugins/lisa-devin/rules/reference/usage-accounting.md +29 -1
- package/plugins/lisa-devin/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/lisa-devin/scripts/human-gate-act.mjs +104 -8
- package/plugins/lisa-devin/scripts/human-gate-lift.mjs +14 -7
- package/plugins/lisa-devin/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/lisa-devin/scripts/ready-queue-order.mjs +9 -3
- package/plugins/lisa-devin/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/lisa-devin/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/lisa-devin/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/lisa-devin/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/lisa-devin/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/lisa-devin/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/lisa-devin/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-devin/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/lisa-devin/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/lisa-devin/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/lisa-devin/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/lisa-devin/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/lisa-devin/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/lisa-devin/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/lisa-devin/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/lisa-devin/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/lisa-devin/skills/lisa-track/SKILL.md +3 -3
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/lisa-devin/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-expo/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-expo-devin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-expo-devin/skills/jira-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-rails/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/lisa-rails-devin/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/agents/learning-judge.md +5 -5
- package/plugins/src/base/agents/skill-evaluator.md +4 -4
- package/plugins/src/base/commands/debrief/apply.md +1 -1
- package/plugins/src/base/commands/learnings/audit.md +2 -2
- package/plugins/src/base/commands/persist-learning.md +1 -1
- package/plugins/src/base/hooks/block-direct-issue-create.sh +10 -5
- package/plugins/src/base/hooks/block-no-verify.agy.sh +1 -1
- package/plugins/src/base/hooks/block-no-verify.sh +4 -3
- package/plugins/src/base/hooks/inject-resolved-config.mjs +236 -14
- package/plugins/src/base/hooks/threshold-ratchet.mjs +4 -2
- package/plugins/src/base/rules/eager/base-rules.md +1 -1
- package/plugins/src/base/rules/eager/do-it-now.md +2 -2
- package/plugins/src/base/rules/eager/learnings-ladder.md +1 -1
- package/plugins/src/base/rules/eager/security-audit-handling.md +5 -5
- package/plugins/src/base/rules/reference/automation-runbook-contract.md +37 -22
- package/plugins/src/base/rules/reference/base-rules.md +1 -1
- package/plugins/src/base/rules/reference/config-resolution.md +7 -6
- package/plugins/src/base/rules/reference/dependency-trust-classes.md +28 -18
- package/plugins/src/base/rules/reference/factory-model.md +17 -8
- package/plugins/src/base/rules/reference/intent-routing.md +3 -3
- package/plugins/src/base/rules/reference/learnings-ladder.md +1 -1
- package/plugins/src/base/rules/reference/promotion-contract.md +5 -2
- package/plugins/src/base/rules/reference/ready-role-filing.md +32 -22
- package/plugins/src/base/rules/reference/security-audit-handling.md +9 -6
- package/plugins/src/base/rules/reference/usage-accounting.md +29 -1
- package/plugins/src/base/scripts/blocker-edge-resolution.mjs +9 -5
- package/plugins/src/base/scripts/human-gate-act.mjs +104 -8
- package/plugins/src/base/scripts/human-gate-lift.mjs +14 -7
- package/plugins/src/base/scripts/intake-blocker-reprobe.mjs +215 -39
- package/plugins/src/base/scripts/ready-queue-order.mjs +9 -3
- package/plugins/src/base/skills/lisa-confluence-to-tracker/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-debrief-apply/SKILL.md +3 -3
- package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +18 -7
- package/plugins/src/base/skills/lisa-exploratory-qa/SKILL.md +23 -12
- package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +14 -9
- package/plugins/src/base/skills/lisa-github-evidence/SKILL.md +7 -3
- package/plugins/src/base/skills/lisa-github-to-tracker/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-improve-harness/SKILL.md +24 -7
- package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +14 -10
- package/plugins/src/base/skills/lisa-jira-evidence/SKILL.md +10 -7
- package/plugins/src/base/skills/lisa-jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/src/base/skills/lisa-jira-journey/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +4 -4
- package/plugins/src/base/skills/lisa-learnings-audit/SKILL.md +64 -32
- package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +9 -9
- package/plugins/src/base/skills/lisa-linear-evidence/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-linear-to-tracker/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +5 -5
- package/plugins/src/base/skills/lisa-monitor/SKILL.md +10 -4
- package/plugins/src/base/skills/lisa-notion-to-tracker/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-persist-learning/SKILL.md +5 -5
- package/plugins/src/base/skills/lisa-project-ideation/SKILL.md +10 -4
- package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +24 -13
- package/plugins/src/base/skills/lisa-session-manager/SKILL.md +19 -2
- package/plugins/src/base/skills/lisa-session-manager/references/runbook-template.md +8 -4
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs +9 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-queue.mjs +6 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +1 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/escalation-overruled.mjs +1 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/human-needed.mjs +16 -5
- package/plugins/src/base/skills/lisa-session-manager/scripts/reconcile.mjs +76 -9
- package/plugins/src/base/skills/lisa-setup-automations/SKILL.md +7 -5
- package/plugins/src/base/skills/lisa-track/SKILL.md +3 -3
- package/plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md +27 -8
- package/plugins/src/base/skills/lisa-usage-accounting/SKILL.md +5 -1
- package/plugins/src/expo/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/src/expo/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/plugins/src/expo/skills/jira-journey/SKILL.md +1 -1
- package/plugins/src/expo/skills/jira-journey/scripts/generate-templates.py +10 -5
- package/plugins/src/rails/skills/jira-evidence/SKILL.md +11 -5
- package/plugins/src/rails/skills/jira-evidence/scripts/post-evidence.sh +21 -2
- package/rails/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
- package/scripts/two-channel-couplings.json +1 -1
- package/typescript/copy-contents/.husky/pre-commit +3 -2
- package/typescript/copy-overwrite/.github/GITHUB_ACTIONS.md +2 -1
- package/typescript/copy-overwrite/.prettierignore +1 -0
- package/typescript/copy-overwrite/scripts/check-threshold-ratchet.mjs +4 -2
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
* (`humanGate.humanOnly`). Anything else is a decision: the agent picks the
|
|
17
17
|
* reasonable default, records it on the item, and files it build-ready.
|
|
18
18
|
*
|
|
19
|
+
* Which acts count depends on `humanGate.mode` (CodySwannGT/lisa#4687). Under
|
|
20
|
+
* the default `access-only` mode an agent performs every act it has access to,
|
|
21
|
+
* so only an act it genuinely lacks access to is a gate: an interactive login
|
|
22
|
+
* or a credential only a person holds, spending money, opening an external
|
|
23
|
+
* account, a legal signature, an account only a person holds, a system the
|
|
24
|
+
* agent cannot reach, or a hold the operator explicitly asked for. `strict`
|
|
25
|
+
* also holds a compliance judgement, naming an accountable person, and Lisa's
|
|
26
|
+
* own policy calls. `humanGate.humanOnly` widens the gate in either mode.
|
|
27
|
+
*
|
|
19
28
|
* Refusal is the default, deliberately. A closed vocabulary of acts can be
|
|
20
29
|
* audited; an open vocabulary of "topics that feel important" is exactly the
|
|
21
30
|
* reading that produced the false gates.
|
|
@@ -29,8 +38,17 @@
|
|
|
29
38
|
* Usage:
|
|
30
39
|
* node human-gate-act.mjs check --reason "<human_gate reason>" \
|
|
31
40
|
* [--config .lisa.config.json] [--local .lisa.config.local.json]
|
|
32
|
-
*
|
|
33
|
-
*
|
|
41
|
+
* node human-gate-act.mjs policy \
|
|
42
|
+
* [--config .lisa.config.json] [--local .lisa.config.local.json]
|
|
43
|
+
* `check` prints a JSON verdict carrying the `mode` it was judged under. Exit 0
|
|
44
|
+
* when the gate is legitimate, 1 when refused, 2 on a usage or config error.
|
|
45
|
+
* `policy` prints the resolved `{ mode, humanOnly }` a sweep passes to
|
|
46
|
+
* `planHumanGateLift` as `humanGateMode` and `humanOnly`; it exits 0.
|
|
47
|
+
* `humanGate.mode` is read case- and whitespace-insensitively. A value that is
|
|
48
|
+
* still not a mode is reported on stderr, never fatal. It resolves to the
|
|
49
|
+
* global file's valid mode when only the local one is wrong; with no valid
|
|
50
|
+
* value anywhere it fails safe, to `strict`: a typo must never quietly loosen
|
|
51
|
+
* the gate. Only an absent mode means `access-only`.
|
|
34
52
|
* @module human-gate-act
|
|
35
53
|
*/
|
|
36
54
|
import { readFileSync, realpathSync } from "node:fs";
|
|
@@ -38,9 +56,12 @@ import { fileURLToPath } from "node:url";
|
|
|
38
56
|
|
|
39
57
|
import {
|
|
40
58
|
DECIDE_AND_RECORD,
|
|
59
|
+
DEFAULT_HUMAN_GATE_MODE,
|
|
41
60
|
HUMAN_GATE_ACTS,
|
|
61
|
+
HUMAN_GATE_MODES,
|
|
42
62
|
classifyHumanGateReason,
|
|
43
63
|
normalizeGateText,
|
|
64
|
+
normalizeHumanGateMode,
|
|
44
65
|
} from "./intake-blocker-reprobe.mjs";
|
|
45
66
|
|
|
46
67
|
// The classifier lives in `intake-blocker-reprobe.mjs` so the hold verdict
|
|
@@ -49,7 +70,9 @@ import {
|
|
|
49
70
|
// and adds the writer-side CLI and config resolution.
|
|
50
71
|
export {
|
|
51
72
|
DECIDE_AND_RECORD,
|
|
73
|
+
DEFAULT_HUMAN_GATE_MODE,
|
|
52
74
|
HUMAN_GATE_ACTS,
|
|
75
|
+
HUMAN_GATE_MODES,
|
|
53
76
|
classifyHumanGateReason,
|
|
54
77
|
normalizeGateText,
|
|
55
78
|
};
|
|
@@ -105,6 +128,66 @@ export function resolveHumanOnly(local, global) {
|
|
|
105
128
|
return Array.isArray(value) ? value : [];
|
|
106
129
|
}
|
|
107
130
|
|
|
131
|
+
/**
|
|
132
|
+
* The effective `humanGate.mode`: a valid local declaration replaces the
|
|
133
|
+
* global one, the same way {@link resolveHumanOnly} does. Values are compared
|
|
134
|
+
* trimmed and lower-cased. An invalid local value falls back to a valid
|
|
135
|
+
* global one, so a typo in a personal override cannot silently hide a
|
|
136
|
+
* committed `strict`. When a value is present but none is valid, the mode
|
|
137
|
+
* fails safe, to `"strict"`; only when no value is declared at all does
|
|
138
|
+
* {@link DEFAULT_HUMAN_GATE_MODE} apply. The first rejected value is returned
|
|
139
|
+
* as `rejected` (its JSON spelling) so the caller can report it.
|
|
140
|
+
* @param {unknown} local - Parsed local config
|
|
141
|
+
* @param {unknown} global - Parsed global config
|
|
142
|
+
* @returns {{ mode: string, rejected?: string }} The mode in force
|
|
143
|
+
*/
|
|
144
|
+
export function resolveHumanGateMode(local, global) {
|
|
145
|
+
const pick = config =>
|
|
146
|
+
config && typeof config === "object" ? config.humanGate?.mode : undefined;
|
|
147
|
+
// Every declaration is judged, so a typo in the committed file is reported
|
|
148
|
+
// even while a valid local value is in force.
|
|
149
|
+
const declared = [pick(local), pick(global)].filter(
|
|
150
|
+
value => value !== undefined
|
|
151
|
+
);
|
|
152
|
+
const valid = declared
|
|
153
|
+
.map(normalizeHumanGateMode)
|
|
154
|
+
.find(mode => HUMAN_GATE_MODES.includes(mode));
|
|
155
|
+
const invalid = declared.find(
|
|
156
|
+
value => !HUMAN_GATE_MODES.includes(normalizeHumanGateMode(value))
|
|
157
|
+
);
|
|
158
|
+
const mode =
|
|
159
|
+
valid ?? (invalid === undefined ? DEFAULT_HUMAN_GATE_MODE : "strict");
|
|
160
|
+
return invalid === undefined
|
|
161
|
+
? { mode }
|
|
162
|
+
: { mode, rejected: JSON.stringify(invalid) };
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* The whole human-gate policy a reader passes on: the mode and the declared
|
|
167
|
+
* human-only classes, each resolved local-then-global.
|
|
168
|
+
* @param {unknown} local - Parsed local config
|
|
169
|
+
* @param {unknown} global - Parsed global config
|
|
170
|
+
* @returns {{ mode: string, humanOnly: unknown[], rejected?: string }} Policy
|
|
171
|
+
*/
|
|
172
|
+
export function resolveHumanGatePolicy(local, global) {
|
|
173
|
+
const { mode, rejected } = resolveHumanGateMode(local, global);
|
|
174
|
+
return {
|
|
175
|
+
mode,
|
|
176
|
+
humanOnly: resolveHumanOnly(local, global),
|
|
177
|
+
...(rejected === undefined ? {} : { rejected }),
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* The stderr line for an invalid `humanGate.mode`.
|
|
183
|
+
* @param {string} rejected - JSON spelling of the declared value
|
|
184
|
+
* @returns {string} One warning line
|
|
185
|
+
*/
|
|
186
|
+
function invalidModeWarning(rejected) {
|
|
187
|
+
const accepted = HUMAN_GATE_MODES.map(value => `"${value}"`).join(" | ");
|
|
188
|
+
return `Invalid humanGate.mode: ${rejected} is not one of ${accepted}; ignored.\n`;
|
|
189
|
+
}
|
|
190
|
+
|
|
108
191
|
/**
|
|
109
192
|
* Parse `--key value` / `--key=value` flags.
|
|
110
193
|
* @param {string[]} argv - Raw arguments
|
|
@@ -148,9 +231,12 @@ export function main(argv, io = {}) {
|
|
|
148
231
|
const missing = ["reason", "config", "local"].filter(
|
|
149
232
|
key => key in flags && (flags[key] === null || flags[key].trim() === "")
|
|
150
233
|
);
|
|
151
|
-
|
|
234
|
+
const usable =
|
|
235
|
+
command === "policy" || (command === "check" && Boolean(flags.reason));
|
|
236
|
+
if (!usable || missing.length > 0) {
|
|
152
237
|
error(
|
|
153
|
-
"usage: human-gate-act.mjs check --reason <text> [--config <path>] [--local <path>]\n"
|
|
238
|
+
"usage: human-gate-act.mjs check --reason <text> [--config <path>] [--local <path>]\n" +
|
|
239
|
+
" human-gate-act.mjs policy [--config <path>] [--local <path>]\n"
|
|
154
240
|
);
|
|
155
241
|
return 2;
|
|
156
242
|
}
|
|
@@ -161,10 +247,20 @@ export function main(argv, io = {}) {
|
|
|
161
247
|
error(`${failed.error}\n`);
|
|
162
248
|
return 2;
|
|
163
249
|
}
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
250
|
+
const { rejected, ...policy } = resolveHumanGatePolicy(
|
|
251
|
+
local.value,
|
|
252
|
+
global.value
|
|
253
|
+
);
|
|
254
|
+
if (rejected !== undefined) {
|
|
255
|
+
error(invalidModeWarning(rejected));
|
|
256
|
+
error(`humanGate.mode in force: "${policy.mode}".\n`);
|
|
257
|
+
}
|
|
258
|
+
if (command === "policy") {
|
|
259
|
+
write(`${JSON.stringify(policy)}\n`);
|
|
260
|
+
return 0;
|
|
261
|
+
}
|
|
262
|
+
const verdict = classifyHumanGateReason(flags.reason, policy);
|
|
263
|
+
write(`${JSON.stringify({ ...verdict, mode: policy.mode })}\n`);
|
|
168
264
|
return verdict.valid ? 0 : 1;
|
|
169
265
|
}
|
|
170
266
|
|
|
@@ -5,15 +5,18 @@
|
|
|
5
5
|
* stalling items, and the operator should never have to comment to release
|
|
6
6
|
* one (CodySwannGT/lisa#4658, item 5). The intake and repair sweeps call
|
|
7
7
|
* {@link planHumanGateLift} on every open item carrying a `[lisa-human-gate]`
|
|
8
|
-
* hold. A hold
|
|
9
|
-
* `human-gate-act.mjs`) is lifted: the sweep posts a visible
|
|
8
|
+
* hold. A hold that is not valid under the project's `humanGate.mode` and
|
|
9
|
+
* `humanGate.humanOnly` (see `human-gate-act.mjs`) is lifted: the sweep posts a visible
|
|
10
10
|
* `[lisa-human-gate-lifted] reason=<slug>` comment saying why, removes the
|
|
11
11
|
* human-needed marker, and moves the item to the build-ready role.
|
|
12
12
|
*
|
|
13
13
|
* This is not a forged human release. A release records a person's answer; a
|
|
14
14
|
* lift records that there was no question a person had to answer. A valid
|
|
15
|
-
* hold — a credential, spend, a
|
|
16
|
-
* its act.
|
|
15
|
+
* hold — a credential, spend, a legal signature — is never lifted and still
|
|
16
|
+
* waits for its act. Pass `humanGateMode` (`humanGate.mode`) alongside
|
|
17
|
+
* `humanOnly`: under `"strict"` a pre-#4687 gate such as naming an accountable
|
|
18
|
+
* person is valid and kept; omitted, the default `access-only` mode lifts it
|
|
19
|
+
* (CodySwannGT/lisa#4687). A label-only hold (access blocked, a blocked verdict) has no
|
|
17
20
|
* declared reason to judge and is never lifted either.
|
|
18
21
|
* @module human-gate-lift
|
|
19
22
|
*/
|
|
@@ -42,8 +45,9 @@ export function formatHumanGateLift(lift = {}) {
|
|
|
42
45
|
return [
|
|
43
46
|
declaration,
|
|
44
47
|
`Hold lifted: ${named} is a decision an agent can make, not an act only a ` +
|
|
45
|
-
"person can perform (a credential, spend, an external account,
|
|
46
|
-
"
|
|
48
|
+
"person can perform (a login or credential, spend, an external account, " +
|
|
49
|
+
"a legal signature, an account only a person holds, or a system the " +
|
|
50
|
+
"agent cannot reach), so this item is back in " +
|
|
47
51
|
"the build queue and whoever builds it decides and records the call; " +
|
|
48
52
|
"the description is unchanged.",
|
|
49
53
|
].join("\n");
|
|
@@ -64,6 +68,7 @@ export function formatHumanGateLift(lift = {}) {
|
|
|
64
68
|
* trustedHumanActorIds?: unknown
|
|
65
69
|
* humanNeededLabel?: unknown
|
|
66
70
|
* humanOnly?: unknown
|
|
71
|
+
* humanGateMode?: unknown
|
|
67
72
|
* readyLabel?: unknown
|
|
68
73
|
* lifecycleLabels?: unknown
|
|
69
74
|
* }} input - Candidate surfaces plus lane vocabulary and project policy
|
|
@@ -75,7 +80,9 @@ export function planHumanGateLift(input = {}) {
|
|
|
75
80
|
addReadyLabel: null,
|
|
76
81
|
});
|
|
77
82
|
const verdict = humanGateVerdict(input);
|
|
78
|
-
const liftable = new Set(
|
|
83
|
+
const liftable = new Set(
|
|
84
|
+
invalidHumanGateHolds(input.body, input.humanOnly, input.humanGateMode)
|
|
85
|
+
);
|
|
79
86
|
const toLift = verdict.outstanding.filter(reason => liftable.has(reason));
|
|
80
87
|
const kept = verdict.outstanding.filter(reason => !toLift.includes(reason));
|
|
81
88
|
const comments = toLift.map(reason => formatHumanGateLift({ reason }));
|
|
@@ -278,30 +278,100 @@ export function humanGateHolds(body) {
|
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* What a `human_gate` must name: an ACT an agent cannot perform
|
|
281
|
-
* (CodySwannGT/lisa#4658).
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
* `human-gate-
|
|
286
|
-
*
|
|
281
|
+
* (CodySwannGT/lisa#4658). An agent performs every act it has access to
|
|
282
|
+
* perform (CodySwannGT/lisa#4687), so a reason is legitimate only when it
|
|
283
|
+
* names one of the access acts below, or a decision class the project
|
|
284
|
+
* declared human-only (`humanGate.humanOnly`). Anything else is a decision the
|
|
285
|
+
* agent makes and records. The writer-side CLI is `human-gate-act.mjs`; the
|
|
286
|
+
* sweep is `human-gate-lift.mjs`. It lives here so the hold verdict can judge
|
|
287
|
+
* a lift without a new dependency edge (the npm updater pins this file's
|
|
288
|
+
* dependency graph).
|
|
287
289
|
*/
|
|
288
290
|
|
|
289
291
|
/**
|
|
290
|
-
* The
|
|
292
|
+
* The closed vocabulary of `humanGate.mode` (CodySwannGT/lisa#4687).
|
|
293
|
+
*
|
|
294
|
+
* `access-only` (the default): a person is needed only for an act the agent
|
|
295
|
+
* genuinely lacks access to. `strict`: the pre-#4687 gates come back, so a
|
|
296
|
+
* compliance judgement, naming an accountable person and Lisa's own policy
|
|
297
|
+
* calls (learnings promotion, harness interventions, automation retirement,
|
|
298
|
+
* exploratory-QA significance, operator prioritization) are held again. The
|
|
299
|
+
* TypeScript config reader keeps the same vocabulary in
|
|
300
|
+
* `src/core/project-config-human-gate.ts`; a test pins the two together.
|
|
301
|
+
*/
|
|
302
|
+
export const HUMAN_GATE_MODES = Object.freeze(["access-only", "strict"]);
|
|
303
|
+
|
|
304
|
+
/** The mode in force when `humanGate.mode` is absent or invalid. */
|
|
305
|
+
export const DEFAULT_HUMAN_GATE_MODE = "access-only";
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* The comparable form of a `humanGate.mode` value: trimmed and lower-cased, so
|
|
309
|
+
* a project that typed `"Strict"` gets strict rather than a silent downgrade
|
|
310
|
+
* (CodySwannGT/lisa#4687 review). A non-string is returned unchanged and so
|
|
311
|
+
* never matches a mode.
|
|
312
|
+
* @param {unknown} mode - A raw `humanGate.mode` value
|
|
313
|
+
* @returns {unknown} The normalized value
|
|
314
|
+
*/
|
|
315
|
+
export function normalizeHumanGateMode(mode) {
|
|
316
|
+
return typeof mode === "string" ? mode.trim().toLowerCase() : mode;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Whether a mode value selects the strict gate, after normalization.
|
|
321
|
+
*
|
|
322
|
+
* Fails safe: only an ABSENT mode (undefined or null) or one that normalizes
|
|
323
|
+
* to `"access-only"` is the default. A mode that is present but invalid — a
|
|
324
|
+
* typo such as `"strcit"` — reads as strict, because a typo must never quietly
|
|
325
|
+
* loosen the gate; the readers report it so the project can fix it.
|
|
326
|
+
* @param {unknown} mode - A `humanGate.mode` value
|
|
327
|
+
* @returns {boolean} True unless the mode is absent or `"access-only"`
|
|
328
|
+
*/
|
|
329
|
+
export function isStrictHumanGateMode(mode) {
|
|
330
|
+
if (mode === undefined || mode === null) return false;
|
|
331
|
+
return normalizeHumanGateMode(mode) !== "access-only";
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* The acts a person must perform. Each `label` is phrased so it completes
|
|
291
336
|
* "Held for a person to …", which is how the writers render the visible line.
|
|
292
337
|
*
|
|
338
|
+
* An entry with `strictOnly: true` is a human gate only under
|
|
339
|
+
* `humanGate.mode: "strict"`; under the default `access-only` mode it is a
|
|
340
|
+
* decision the agent makes and records. Every other entry is an act the agent
|
|
341
|
+
* genuinely lacks access to: a login or credential only a person holds,
|
|
342
|
+
* spending money, opening an account in a person's or the company's name, a
|
|
343
|
+
* legal signature, an account only a person holds, a system the agent cannot
|
|
344
|
+
* reach, and a hold the operator explicitly asked for. One more entry is valid
|
|
345
|
+
* in both modes without being an access gate: a change to a surface the
|
|
346
|
+
* project declared human-authored, which the authorship rule keeps free of
|
|
347
|
+
* automated writes.
|
|
348
|
+
*
|
|
293
349
|
* The patterns run over a normalized reason (lower case, hyphens and
|
|
294
350
|
* underscores read as spaces) so a slug and its prose spelling match alike.
|
|
295
351
|
* They are intentionally narrow: a word that is also an everyday topic
|
|
296
352
|
* ("token", "login", "billing page") is left out, because a pattern that
|
|
297
|
-
* matches a topic re-opens the gate this module closes.
|
|
353
|
+
* matches a topic re-opens the gate this module closes. Order matters: the
|
|
354
|
+
* first match wins, so the access acts come before the strict-only ones and a
|
|
355
|
+
* BAA reads as a legal signature, not as a compliance judgement.
|
|
298
356
|
*/
|
|
299
357
|
export const HUMAN_GATE_ACTS = Object.freeze([
|
|
300
358
|
Object.freeze({
|
|
301
359
|
act: "credential",
|
|
302
|
-
label: "supply a credential only a person holds",
|
|
360
|
+
label: "complete a login or supply a credential only a person holds",
|
|
361
|
+
// A secret is never a topic: this entry is exempt from the topic veto.
|
|
362
|
+
secret: true,
|
|
363
|
+
pattern:
|
|
364
|
+
/\b(credentials?|secrets?|passwords?|passphrases?|api keys?|access keys?|private keys?|deploy keys?|ssh keys?|signing keys?|auth tokens?|2fa|mfa|otp|one time codes?)\b/u,
|
|
365
|
+
}),
|
|
366
|
+
Object.freeze({
|
|
367
|
+
act: "credential",
|
|
368
|
+
label: "complete a login or supply a credential only a person holds",
|
|
369
|
+
// A login provider IS a topic as often as an act ("sso-provider-choice",
|
|
370
|
+
// "sso login button design"), so these words get the topic veto in prose
|
|
371
|
+
// as well as in a slug: a topic word with no act verb beside it refuses.
|
|
372
|
+
proseVeto: true,
|
|
303
373
|
pattern:
|
|
304
|
-
/\b(
|
|
374
|
+
/\b(oauth|sso|single sign on|interactive ([a-z]+ ){0,4}(login|log in|sign in)|console (login|log in|sign in)|(log|sign)(ging)? in(to)?( to)?( the)?( [a-z]+){0,4} (console|portal|app store connect)|app store connect (login|log in|sign in))\b/u,
|
|
305
375
|
}),
|
|
306
376
|
Object.freeze({
|
|
307
377
|
act: "spend",
|
|
@@ -317,15 +387,30 @@ export const HUMAN_GATE_ACTS = Object.freeze([
|
|
|
317
387
|
}),
|
|
318
388
|
Object.freeze({
|
|
319
389
|
act: "legal-signoff",
|
|
320
|
-
|
|
390
|
+
// A legal SIGNATURE only: a contract, BAA, DPA or license accepted on the
|
|
391
|
+
// company's behalf. A compliance judgement is not a signature; it is the
|
|
392
|
+
// strict-only `compliance-signoff` below (CodySwannGT/lisa#4687).
|
|
393
|
+
label: "sign a legal agreement on the company's behalf",
|
|
321
394
|
pattern:
|
|
322
|
-
/\b(baa|business associate agreement|sign (a|an|the) [a-z
|
|
395
|
+
/\b(baa|business associate agreement|dpa|data processing (agreement|addendum)|master services agreement|non disclosure agreement|(sign|signs|signed|signing|countersign\w*|execute\w*) ((a|an|the|our|this) )?([a-z]+ ){0,4}(agreement|contract|baa|dpa|nda|msa|license|licence|terms)|accept\w* ((a|an|the|our|this) )?([a-z]+ ){0,4}(licen[cs]e|terms|agreement)|legal signature|contract signature|licen[cs]e acceptance|(sign|accept|agree|execut|countersign)\w*( [a-z]+){0,6} on behalf of the company)\b/u,
|
|
323
396
|
}),
|
|
324
397
|
Object.freeze({
|
|
325
|
-
act: "
|
|
326
|
-
label: "
|
|
398
|
+
act: "person-only-account",
|
|
399
|
+
label: "act from an account only a person holds",
|
|
400
|
+
// A protected-deployment required reviewer or a ruleset approval that must
|
|
401
|
+
// come from a person: the agent has no such account, so it cannot act.
|
|
327
402
|
pattern:
|
|
328
|
-
/\b(
|
|
403
|
+
/\b((approv\w*|sign\w* off on|act as) (the |a |this )?([a-z]+ ){0,3}(deploy|deployment|release|environment)s?|(deploy|deployment|release|production) approvals?|required reviewers? (must |to |should |has to )?(approv\w*|sign\w* off)|ruleset approvals?|accounts? only (a|the) (person|human|founder|owner|operator) (holds|has)|person only accounts?)\b/u,
|
|
404
|
+
}),
|
|
405
|
+
Object.freeze({
|
|
406
|
+
act: "person-only-account",
|
|
407
|
+
label: "act from an account only a person holds",
|
|
408
|
+
// A bare protected deployment or environment, valid before #4687: its
|
|
409
|
+
// approval comes from a required reviewer, a person. As often a topic
|
|
410
|
+
// ("protected-environment-cdk-setup"), so a topic word with no act verb
|
|
411
|
+
// refuses it, in prose as well as in a slug (history review C).
|
|
412
|
+
proseVeto: true,
|
|
413
|
+
pattern: /\bprotected (deploy|deployment|environment)s?\b/u,
|
|
329
414
|
}),
|
|
330
415
|
Object.freeze({
|
|
331
416
|
act: "unreachable-system",
|
|
@@ -333,15 +418,60 @@ export const HUMAN_GATE_ACTS = Object.freeze([
|
|
|
333
418
|
pattern:
|
|
334
419
|
/\b(admin (rights|access|permissions?|role)|grant admin|physically|invite ([a-z]+ ){0,4}to (the |a |our )?([a-z]+ )?(workspace|org|organization|team|repo|repository|project)|add (the |a |our )?(bot|app|agent|integration) to|workspace admin|physical|hardware|on site|in person|unreachable|cannot reach|can ?not reach|cant reach|no access|outside (the )?agent|grant(s|ed|ing)? ([a-z]+ ){0,3}(access|permissions?|roles?)|give (the )?agent ([a-z]+ ){0,3}access|access (the )?agent (lacks|does not have|doesnt have|cannot get)|agent (lacks|does not have|doesnt have) ([a-z]+ ){0,4}access|tool access|missing access|access grant|provision(ing)? access|phone call)\b/u,
|
|
335
420
|
}),
|
|
421
|
+
Object.freeze({
|
|
422
|
+
act: "operator-hold",
|
|
423
|
+
label: "release a hold the operator explicitly asked for",
|
|
424
|
+
// The operator's own hold: an existing behaviour, valid in every mode.
|
|
425
|
+
// It must name a HOLD: "the customer explicitly asked for dark mode" is
|
|
426
|
+
// a request to build something, not a request to stop (review finding).
|
|
427
|
+
pattern:
|
|
428
|
+
/\b(operator( [a-z]+){0,10} (hold|held|paused?|parked?)|(hold|held|paused?|parked?)( [a-z]+){0,4} (by|for) (the )?operator|(hold|held)( [a-z]+){0,4} (the )?operator (explicitly )?(asked|requested)|explicitly (held|paused|parked)|(asked|requested) by (the )?operator|explicitly (asked|requested) for by (the )?operator)\b/u,
|
|
429
|
+
}),
|
|
430
|
+
Object.freeze({
|
|
431
|
+
act: "operator-hold",
|
|
432
|
+
label: "release a hold the operator explicitly asked for",
|
|
433
|
+
// The legacy slug form (`operator-requested-wait`), valid before #4687.
|
|
434
|
+
// Slug only: in prose "the operator requested a dark mode toggle" names
|
|
435
|
+
// a feature to build, not a hold (history review).
|
|
436
|
+
slugOnly: true,
|
|
437
|
+
pattern: /\boperator requested\b/u,
|
|
438
|
+
}),
|
|
439
|
+
Object.freeze({
|
|
440
|
+
act: "human-authored-surface",
|
|
441
|
+
// Not missing access: the authorship rule. A surface declared
|
|
442
|
+
// human-authored (a host's `.agents/rules/`, `PROJECT_RULES.md`,
|
|
443
|
+
// `AGENTS.md`) receives no automated writes in either mode, so a change
|
|
444
|
+
// to one waits on the person who authors it (CodySwannGT/lisa#4687).
|
|
445
|
+
// Plain words for a non-technical operator; the reason is the authorship
|
|
446
|
+
// rule, not missing access.
|
|
447
|
+
label: "edit a file the project says only people write",
|
|
448
|
+
pattern:
|
|
449
|
+
/\b(declared human authored|human authored (surfaces?|files?|rules?)|project rules( md)?|agents md|agents rules|claude rules)\b/u,
|
|
450
|
+
}),
|
|
451
|
+
Object.freeze({
|
|
452
|
+
act: "compliance-signoff",
|
|
453
|
+
label: "give a compliance sign-off",
|
|
454
|
+
strictOnly: true,
|
|
455
|
+
pattern:
|
|
456
|
+
/\b(legal|lawyer|counsel|compliance|regulatory|hipaa|gdpr|soc ?2|contracts?|terms of service|licen[cs]e agreements?)\b/u,
|
|
457
|
+
}),
|
|
458
|
+
Object.freeze({
|
|
459
|
+
act: "accountable-person",
|
|
460
|
+
label: "name an accountable person",
|
|
461
|
+
strictOnly: true,
|
|
462
|
+
pattern:
|
|
463
|
+
/\b(accountable (person|owner|party)|name (an|the) (owner|approver|accountable)|(owner|approver) who answers|answers for)\b/u,
|
|
464
|
+
}),
|
|
336
465
|
Object.freeze({
|
|
337
466
|
act: "lisa-policy",
|
|
338
467
|
label: "make a call Lisa's own policy reserves for a person",
|
|
339
|
-
|
|
340
|
-
//
|
|
341
|
-
// interventions, automation retirement
|
|
342
|
-
//
|
|
468
|
+
strictOnly: true,
|
|
469
|
+
// Lisa's pre-#4687 human-only calls: exploratory-QA findings, learnings
|
|
470
|
+
// promotion/demotion, harness interventions, automation retirement and
|
|
471
|
+
// operator prioritization. Under `access-only` the agent makes each one
|
|
472
|
+
// and records why; the operator's explicit hold is `operator-hold` above.
|
|
343
473
|
pattern:
|
|
344
|
-
/\b(exploratory (finding|qa)|harness intervention|(promot|demot|retir)\w*\b.{0,80}?\b(knowledge|learnings?)|(knowledge|learnings?)\b.{0,80}?\b(promot|demot|retir)\w*|automation retirement|retire (an |the )?automations?|operator
|
|
474
|
+
/\b(exploratory (finding|qa)|harness intervention|(promot|demot|retir)\w*\b.{0,80}?\b(knowledge|learnings?)|(knowledge|learnings?)\b.{0,80}?\b(promot|demot|retir)\w*|automation retirement|retire (an |the )?([a-z]+ )?automations?|operator prioriti[sz]ation)\b/u,
|
|
345
475
|
}),
|
|
346
476
|
]);
|
|
347
477
|
|
|
@@ -349,21 +479,25 @@ export const HUMAN_GATE_ACTS = Object.freeze([
|
|
|
349
479
|
* Acts whose keyword alone could be a topic. A slug such as
|
|
350
480
|
* `compliance-dashboard-triage` or `oauth-provider-choice` carries an act
|
|
351
481
|
* keyword but names a decision about a topic, so for these acts a topic word
|
|
352
|
-
* with no act verb beside it is refused. Lisa's own policy gates
|
|
353
|
-
* project-declared classes are exempt: they are already
|
|
482
|
+
* with no act verb beside it is refused. Lisa's own policy gates, the
|
|
483
|
+
* operator's hold and project-declared classes are exempt: they are already
|
|
484
|
+
* named decisions.
|
|
354
485
|
*/
|
|
355
486
|
const KEYWORD_ACTS = new Set([
|
|
356
487
|
"credential",
|
|
357
488
|
"spend",
|
|
358
489
|
"external-account",
|
|
359
490
|
"legal-signoff",
|
|
491
|
+
"person-only-account",
|
|
492
|
+
"human-authored-surface",
|
|
493
|
+
"compliance-signoff",
|
|
360
494
|
"accountable-person",
|
|
361
495
|
"unreachable-system",
|
|
362
496
|
]);
|
|
363
497
|
|
|
364
498
|
/** Words that mark a reason as being about a topic, not an act. */
|
|
365
499
|
const TOPIC_WORDS =
|
|
366
|
-
/\b(triage|dispatch|naming|rename|choice|choose|design|copy|colou?r|layout|wording|migration|refactor|classification|classify|cleanup|dashboard|page|button|ui|ux|docs?|documentation|schema|decision|selection|split|labels?|error message|policy|strategy|approach|format|field|template|structure|flag|adoption|list|pagination|conversion|settings|framework|pick|banner|placement|table|flow|storage|rotation|scope|folder|report|logging|tests
|
|
500
|
+
/\b(triage|dispatch|naming|rename|choice|choose|design|copy|colou?r|layout|wording|migration|refactor|classification|classify|cleanup|dashboard|page|button|ui|ux|docs?|documentation|schema|decision|selection|split|labels?|error message|policy|strategy|approach|format|field|template|structure|flag|adoption|list|pagination|conversion|settings|framework|pick|banner|placement|table|flow|storage|rotation|scope|folder|report|logging|tests?|setup|stack|config|configuration|infra|infrastructure)\b/u;
|
|
367
501
|
|
|
368
502
|
/** Verbs that say what a person must actually do. */
|
|
369
503
|
const ACT_VERBS =
|
|
@@ -404,8 +538,10 @@ function normalizeClasses(classes) {
|
|
|
404
538
|
/**
|
|
405
539
|
* Classify a `human_gate` reason.
|
|
406
540
|
* @param {unknown} reason - The reason (slug or prose) a filing gives
|
|
407
|
-
* @param {{ humanOnly?: unknown }} [options] - `humanOnly`:
|
|
408
|
-
* human-only decision classes (`humanGate.humanOnly`)
|
|
541
|
+
* @param {{ humanOnly?: unknown, mode?: unknown }} [options] - `humanOnly`:
|
|
542
|
+
* project-declared human-only decision classes (`humanGate.humanOnly`),
|
|
543
|
+
* which widen the gate in either mode; `mode`: `humanGate.mode`, where only
|
|
544
|
+
* `"strict"` admits the strict-only acts
|
|
409
545
|
* @returns {{ valid: boolean, act: string | null, label: string | null, matched: string | null, remedy: string | null }} Verdict
|
|
410
546
|
*/
|
|
411
547
|
export function classifyHumanGateReason(reason, options = {}) {
|
|
@@ -418,11 +554,18 @@ export function classifyHumanGateReason(reason, options = {}) {
|
|
|
418
554
|
// hold rather than lifting one.
|
|
419
555
|
const slug = !/\s/u.test(String(reason ?? "").trim());
|
|
420
556
|
const topicOnly = slug && TOPIC_WORDS.test(text) && !ACT_VERBS.test(text);
|
|
557
|
+
const strict = isStrictHumanGateMode(options.mode);
|
|
421
558
|
for (const entry of HUMAN_GATE_ACTS) {
|
|
559
|
+
if (entry.strictOnly && !strict) continue;
|
|
560
|
+
if (entry.slugOnly && !slug) continue;
|
|
422
561
|
const match = entry.pattern.exec(text);
|
|
423
|
-
// A secret is never a topic:
|
|
424
|
-
|
|
425
|
-
|
|
562
|
+
// A secret is never a topic: the secret entry always wins. A login
|
|
563
|
+
// word is a topic unless an act verb says otherwise, in prose too.
|
|
564
|
+
const vetoed = entry.secret
|
|
565
|
+
? false
|
|
566
|
+
: entry.proseVeto
|
|
567
|
+
? TOPIC_WORDS.test(text) && !ACT_VERBS.test(text)
|
|
568
|
+
: topicOnly && KEYWORD_ACTS.has(entry.act);
|
|
426
569
|
if (match && !vetoed) {
|
|
427
570
|
return {
|
|
428
571
|
valid: true,
|
|
@@ -486,7 +629,20 @@ const HOLD_TEXT_CAP = 2000;
|
|
|
486
629
|
* deliberately broader than the act patterns.
|
|
487
630
|
*/
|
|
488
631
|
const HOLD_SAFETY_TOKENS =
|
|
489
|
-
/\b(credentials?|passwords?|passphrases?|passcodes?|mfa|2fa|otp|one time codes?|api keys?|keys?|tokens?|secrets?|oauth|sign|signs|signed|signing|signatures?|signoff|sign off|baa|contracts?|agreements?|admin|administrator|access|accounts?|spend\w*|budgets?|payments?|pay|paid|money|purchase|buy|billing|invoice|legal|lawyer|counsel|compliance|regulatory|hipaa|gdpr|soc ?2|physical|hardware|device)\b/u;
|
|
632
|
+
/\b(operator|project rules|agents md|agents rules|claude rules|human authored|credentials?|passwords?|passphrases?|passcodes?|mfa|2fa|otp|one time codes?|api keys?|keys?|tokens?|secrets?|oauth|sign|signs|signed|signing|signatures?|signoff|sign off|baa|contracts?|agreements?|admin|administrator|access|accounts?|spend\w*|budgets?|payments?|pay|paid|money|purchase|buy|billing|invoice|legal|lawyer|counsel|compliance|regulatory|hipaa|gdpr|soc ?2|physical|hardware|device)\b/u;
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* A human-authored destination named anywhere in an item's body, spelled as a
|
|
636
|
+
* path. The authorship rule keeps these surfaces free of automated writes in
|
|
637
|
+
* both modes, so an item that targets one keeps every hold, however its hold
|
|
638
|
+
* is worded: a gardener hold filed under the old "a human decides whether
|
|
639
|
+
* this knowledge is promoted" wording names the policy, not the file, and was
|
|
640
|
+
* lifted under access-only while its body pointed at `PROJECT_RULES.md`
|
|
641
|
+
* (CodySwannGT/lisa#4687 review). Matched on the raw body, so it is linear and
|
|
642
|
+
* reads the whole item rather than the lines beside the marker.
|
|
643
|
+
*/
|
|
644
|
+
const HUMAN_AUTHORED_PATH =
|
|
645
|
+
/(?:^|[^a-z0-9_-])(?:project_rules\.md|agents\.md|\.agents\/rules\b|\.claude\/rules\b)/iu;
|
|
490
646
|
|
|
491
647
|
/**
|
|
492
648
|
* Every line of a body that belongs to a hold: each declaring marker line and
|
|
@@ -542,19 +698,29 @@ function holdRelatedLines(body) {
|
|
|
542
698
|
* the intended trade.
|
|
543
699
|
* @param {unknown} body - The item body
|
|
544
700
|
* @param {unknown} humanOnly - Project-declared human-only decision classes
|
|
701
|
+
* @param {unknown} [mode] - `humanGate.mode`; under `"strict"` a strict-only
|
|
702
|
+
* act (a compliance sign-off, an accountable person, a Lisa policy call)
|
|
703
|
+
* is a valid hold and is never lifted. Omitted, the default `access-only`
|
|
704
|
+
* mode applies, so a reader in a strict project must pass it.
|
|
545
705
|
* @returns {string[]} Reason keys whose hold may be lifted
|
|
546
706
|
*/
|
|
547
|
-
export function invalidHumanGateHolds(body, humanOnly) {
|
|
707
|
+
export function invalidHumanGateHolds(body, humanOnly, mode) {
|
|
548
708
|
const holds = humanGateHolds(body);
|
|
549
709
|
if (holds.length === 0) return [];
|
|
550
710
|
const lines = holdRelatedLines(body);
|
|
551
711
|
const anyLineValid = lines.some(
|
|
552
|
-
line => classifyHumanGateReason(line, { humanOnly }).valid
|
|
712
|
+
line => classifyHumanGateReason(line, { humanOnly, mode }).valid
|
|
553
713
|
);
|
|
554
714
|
const everything = normalizeGateText([...holds, ...lines].join(" "));
|
|
555
|
-
if (
|
|
715
|
+
if (
|
|
716
|
+
anyLineValid ||
|
|
717
|
+
HOLD_SAFETY_TOKENS.test(everything) ||
|
|
718
|
+
HUMAN_AUTHORED_PATH.test(String(body ?? ""))
|
|
719
|
+
) {
|
|
720
|
+
return [];
|
|
721
|
+
}
|
|
556
722
|
return holds.filter(
|
|
557
|
-
reason => !classifyHumanGateReason(reason, { humanOnly }).valid
|
|
723
|
+
reason => !classifyHumanGateReason(reason, { humanOnly, mode }).valid
|
|
558
724
|
);
|
|
559
725
|
}
|
|
560
726
|
|
|
@@ -563,10 +729,11 @@ export function invalidHumanGateHolds(body, humanOnly) {
|
|
|
563
729
|
* @param {unknown} comments - Comments, structured or raw, any author
|
|
564
730
|
* @param {unknown} body - The item body
|
|
565
731
|
* @param {unknown} humanOnly - Project-declared human-only decision classes
|
|
732
|
+
* @param {unknown} [mode] - `humanGate.mode` (see {@link invalidHumanGateHolds})
|
|
566
733
|
* @returns {string[]} Reason keys lifted
|
|
567
734
|
*/
|
|
568
|
-
export function humanGateLifts(comments, body, humanOnly) {
|
|
569
|
-
const invalid = new Set(invalidHumanGateHolds(body, humanOnly));
|
|
735
|
+
export function humanGateLifts(comments, body, humanOnly, mode) {
|
|
736
|
+
const invalid = new Set(invalidHumanGateHolds(body, humanOnly, mode));
|
|
570
737
|
const named = (Array.isArray(comments) ? comments : [])
|
|
571
738
|
.map(entry => (typeof entry === "string" ? entry : (entry?.body ?? "")))
|
|
572
739
|
.flatMap(text =>
|
|
@@ -700,7 +867,7 @@ export function humanGateDischarged(input = {}) {
|
|
|
700
867
|
* no releases, so a held item stays held. Holding a gate that may be stale
|
|
701
868
|
* beats releasing one that is not, and every caller that never passes comments
|
|
702
869
|
* keeps its current behaviour by construction.
|
|
703
|
-
* @param {{ labels?: unknown, body?: unknown, comments?: unknown, trustedHumanActorIds?: unknown, humanNeededLabel?: unknown, humanOnly?: unknown }} input - Candidate surfaces
|
|
870
|
+
* @param {{ labels?: unknown, body?: unknown, comments?: unknown, trustedHumanActorIds?: unknown, humanNeededLabel?: unknown, humanOnly?: unknown, humanGateMode?: unknown }} input - Candidate surfaces
|
|
704
871
|
* @returns {{ held: boolean, reason: string, declared: number, outstanding: string[], released: string[], lifted: string[], labelPresent: boolean }} Held-ness verdict
|
|
705
872
|
*/
|
|
706
873
|
export function humanGateVerdict(input = {}) {
|
|
@@ -720,7 +887,12 @@ export function humanGateVerdict(input = {}) {
|
|
|
720
887
|
// A lift discharges only a declared body hold that is still invalid; it can
|
|
721
888
|
// never discharge a label-only hold (access blocks, blocked verdicts), which
|
|
722
889
|
// is why it is applied here and not in the label-only branch below.
|
|
723
|
-
const lifted = humanGateLifts(
|
|
890
|
+
const lifted = humanGateLifts(
|
|
891
|
+
input.comments,
|
|
892
|
+
input.body,
|
|
893
|
+
input.humanOnly,
|
|
894
|
+
input.humanGateMode
|
|
895
|
+
);
|
|
724
896
|
const liftedSet = new Set(lifted);
|
|
725
897
|
const outstanding = holds.filter(
|
|
726
898
|
reason => !releasedSet.has(reason) && !liftedSet.has(reason)
|
|
@@ -764,7 +936,7 @@ export function humanGateVerdict(input = {}) {
|
|
|
764
936
|
* its discharge is how the gate became one-way in the first place. Pass the
|
|
765
937
|
* item's structured comments and trustedHumanActorIds to honor an authorized
|
|
766
938
|
* release; omit either and the item stays held.
|
|
767
|
-
* @param {{ labels?: unknown, body?: unknown, comments?: unknown, trustedHumanActorIds?: unknown, humanNeededLabel?: unknown, humanOnly?: unknown }} input - Candidate surfaces
|
|
939
|
+
* @param {{ labels?: unknown, body?: unknown, comments?: unknown, trustedHumanActorIds?: unknown, humanNeededLabel?: unknown, humanOnly?: unknown, humanGateMode?: unknown }} input - Candidate surfaces
|
|
768
940
|
* @returns {boolean} True when a person is holding this item
|
|
769
941
|
*/
|
|
770
942
|
export function isHumanGated(input) {
|
|
@@ -818,6 +990,7 @@ function judgeProbe(probe) {
|
|
|
818
990
|
* trustedHumanActorIds?: unknown
|
|
819
991
|
* humanNeededLabel?: unknown
|
|
820
992
|
* humanOnly?: unknown
|
|
993
|
+
* humanGateMode?: unknown
|
|
821
994
|
* statedBlocker?: unknown
|
|
822
995
|
* probe?: { discharged?: unknown, evidence?: unknown } | null
|
|
823
996
|
* }} input
|
|
@@ -929,7 +1102,7 @@ export const HUMAN_GATE_NOTE_MARKER = "<!-- [lisa-human-gate-reconciled] -->";
|
|
|
929
1102
|
* a parser keyed on the structured field would miss those while appearing to
|
|
930
1103
|
* work on every item that happens to have one — reproducing this defect one
|
|
931
1104
|
* layer down.
|
|
932
|
-
* @param {{ labels?: unknown, body?: unknown, comments?: unknown, trustedHumanActorIds?: unknown, humanNeededLabel?: unknown, humanOnly?: unknown }} input - Candidate surfaces
|
|
1105
|
+
* @param {{ labels?: unknown, body?: unknown, comments?: unknown, trustedHumanActorIds?: unknown, humanNeededLabel?: unknown, humanOnly?: unknown, humanGateMode?: unknown }} input - Candidate surfaces
|
|
933
1106
|
* @returns {{ claimable: boolean, reason: string, humanGated: boolean }} Claim verdict
|
|
934
1107
|
*/
|
|
935
1108
|
export function classifyReadyCandidate(input = {}) {
|
|
@@ -961,6 +1134,7 @@ export function classifyReadyCandidate(input = {}) {
|
|
|
961
1134
|
* trustedHumanActorIds?: unknown
|
|
962
1135
|
* humanNeededLabel?: unknown
|
|
963
1136
|
* humanOnly?: unknown
|
|
1137
|
+
* humanGateMode?: unknown
|
|
964
1138
|
* readyLabel?: unknown
|
|
965
1139
|
* alreadyNotified?: unknown
|
|
966
1140
|
* }} input - Candidate surfaces plus the configured lane and marker labels
|
|
@@ -1069,6 +1243,7 @@ const RESUME_INSTRUCTION = [
|
|
|
1069
1243
|
* trustedHumanActorIds?: unknown
|
|
1070
1244
|
* humanNeededLabel?: unknown
|
|
1071
1245
|
* humanOnly?: unknown
|
|
1246
|
+
* humanGateMode?: unknown
|
|
1072
1247
|
* readyLabel?: unknown
|
|
1073
1248
|
* lifecycleLabels?: unknown
|
|
1074
1249
|
* alreadyNotified?: unknown
|
|
@@ -1232,6 +1407,7 @@ export const NORMALIZATION_HOLD_NOTE_MARKER =
|
|
|
1232
1407
|
* trustedHumanActorIds?: unknown
|
|
1233
1408
|
* humanNeededLabel?: unknown
|
|
1234
1409
|
* humanOnly?: unknown
|
|
1410
|
+
* humanGateMode?: unknown
|
|
1235
1411
|
* lifecycleLabels?: unknown
|
|
1236
1412
|
* readyLabel?: unknown
|
|
1237
1413
|
* }} input - Candidate surfaces plus the configured lifecycle vocabulary
|