@codyswann/lisa 4.99.6 → 4.99.7
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-third-party-review-evidence.mjs +337 -26
- package/dist/cli/doctor-third-party-evidence-seed.d.ts +9 -4
- package/dist/cli/doctor-third-party-evidence-seed.d.ts.map +1 -1
- package/dist/cli/doctor-third-party-evidence-seed.js +66 -21
- package/dist/cli/doctor-third-party-evidence-seed.js.map +1 -1
- package/dist/cli/doctor-third-party-evidence-steps.d.ts +19 -0
- package/dist/cli/doctor-third-party-evidence-steps.d.ts.map +1 -0
- package/dist/cli/doctor-third-party-evidence-steps.js +60 -0
- package/dist/cli/doctor-third-party-evidence-steps.js.map +1 -0
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +12 -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/third-party-evidence-seed.d.ts +10 -1
- package/dist/core/third-party-evidence-seed.d.ts.map +1 -1
- package/dist/core/third-party-evidence-seed.js +72 -5
- package/dist/core/third-party-evidence-seed.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +43 -27
- package/dist/core/upstream-evidence-manifest.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-debrief-apply/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-delivery-effectiveness/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +17 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-github-build-intake/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-validate-issue/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-build-intake/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-learnings-audit/SKILL.md +11 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-build-intake/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-validate-issue/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-persist-learning/SKILL.md +12 -12
- package/plugins/lisa/.codex-plugin/skills/lisa-pull-request-review/SKILL.md +62 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +22 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/answer-record.mjs +28 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-answer-record.mjs +2 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-human.mjs +38 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +8 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/ledger-questions.mjs +6 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-task-decomposition/SKILL.md +2 -2
- package/plugins/lisa/agents/learning-judge.md +7 -5
- package/plugins/lisa/commands/persist-learning.md +1 -1
- package/plugins/lisa/rules/reference/claim-archaeology.md +1 -1
- package/plugins/lisa/rules/reference/rejection-detection.md +1 -1
- package/plugins/lisa/rules/reference/work-item-definition-of-ready.md +5 -2
- package/plugins/lisa/skills/lisa-debrief-apply/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-delivery-effectiveness/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +17 -7
- package/plugins/lisa/skills/lisa-github-build-intake/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-github-validate-issue/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-jira-build-intake/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-learnings-audit/SKILL.md +11 -4
- package/plugins/lisa/skills/lisa-linear-build-intake/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-linear-validate-issue/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-persist-learning/SKILL.md +12 -12
- package/plugins/lisa/skills/lisa-pull-request-review/SKILL.md +62 -6
- package/plugins/lisa/skills/lisa-session-manager/SKILL.md +22 -5
- package/plugins/lisa/skills/lisa-session-manager/scripts/answer-record.mjs +28 -4
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-answer-record.mjs +2 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-human.mjs +38 -4
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +8 -3
- package/plugins/lisa/skills/lisa-session-manager/scripts/ledger-questions.mjs +6 -1
- package/plugins/lisa/skills/lisa-task-decomposition/SKILL.md +2 -2
- package/plugins/lisa-agy/agents/learning-judge.md +7 -5
- package/plugins/lisa-agy/commands/lisa/persist-learning.md +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-debrief-apply/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-delivery-effectiveness/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +17 -7
- package/plugins/lisa-agy/skills/lisa-github-build-intake/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-github-validate-issue/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-jira-build-intake/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-learnings-audit/SKILL.md +11 -4
- package/plugins/lisa-agy/skills/lisa-linear-build-intake/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-linear-validate-issue/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-persist-learning/SKILL.md +12 -12
- package/plugins/lisa-agy/skills/lisa-pull-request-review/SKILL.md +62 -6
- package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +22 -5
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/answer-record.mjs +28 -4
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-answer-record.mjs +2 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-human.mjs +38 -4
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +8 -3
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/ledger-questions.mjs +6 -1
- package/plugins/lisa-agy/skills/lisa-task-decomposition/SKILL.md +2 -2
- 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 +7 -5
- package/plugins/lisa-copilot/commands/lisa/persist-learning.md +1 -1
- package/plugins/lisa-copilot/rules/reference/claim-archaeology.md +1 -1
- package/plugins/lisa-copilot/rules/reference/rejection-detection.md +1 -1
- package/plugins/lisa-copilot/rules/reference/work-item-definition-of-ready.md +5 -2
- package/plugins/lisa-copilot/skills/lisa-debrief-apply/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-delivery-effectiveness/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +17 -7
- package/plugins/lisa-copilot/skills/lisa-github-build-intake/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-github-validate-issue/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-jira-build-intake/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-learnings-audit/SKILL.md +11 -4
- package/plugins/lisa-copilot/skills/lisa-linear-build-intake/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-linear-validate-issue/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-persist-learning/SKILL.md +12 -12
- package/plugins/lisa-copilot/skills/lisa-pull-request-review/SKILL.md +62 -6
- package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +22 -5
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/answer-record.mjs +28 -4
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-answer-record.mjs +2 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-human.mjs +38 -4
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +8 -3
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/ledger-questions.mjs +6 -1
- package/plugins/lisa-copilot/skills/lisa-task-decomposition/SKILL.md +2 -2
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/learning-judge.md +7 -5
- package/plugins/lisa-cursor/commands/lisa/persist-learning.md +1 -1
- package/plugins/lisa-cursor/rules/claim-archaeology-reference.mdc +1 -1
- package/plugins/lisa-cursor/rules/rejection-detection-reference.mdc +1 -1
- package/plugins/lisa-cursor/rules/work-item-definition-of-ready-reference.mdc +5 -2
- package/plugins/lisa-cursor/skills/lisa-debrief-apply/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-delivery-effectiveness/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +17 -7
- package/plugins/lisa-cursor/skills/lisa-github-build-intake/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-github-validate-issue/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-jira-build-intake/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-learnings-audit/SKILL.md +11 -4
- package/plugins/lisa-cursor/skills/lisa-linear-build-intake/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-linear-validate-issue/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-persist-learning/SKILL.md +12 -12
- package/plugins/lisa-cursor/skills/lisa-pull-request-review/SKILL.md +62 -6
- package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +22 -5
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/answer-record.mjs +28 -4
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-answer-record.mjs +2 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-human.mjs +38 -4
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +8 -3
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/ledger-questions.mjs +6 -1
- package/plugins/lisa-cursor/skills/lisa-task-decomposition/SKILL.md +2 -2
- 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 +7 -5
- package/plugins/lisa-devin/rules/reference/claim-archaeology.md +1 -1
- package/plugins/lisa-devin/rules/reference/rejection-detection.md +1 -1
- package/plugins/lisa-devin/rules/reference/work-item-definition-of-ready.md +5 -2
- package/plugins/lisa-devin/skills/lisa-debrief-apply/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-delivery-effectiveness/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +17 -7
- package/plugins/lisa-devin/skills/lisa-github-build-intake/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-github-validate-issue/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-jira-build-intake/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-learnings-audit/SKILL.md +11 -4
- package/plugins/lisa-devin/skills/lisa-linear-build-intake/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-linear-validate-issue/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-persist-learning/SKILL.md +12 -12
- package/plugins/lisa-devin/skills/lisa-pull-request-review/SKILL.md +62 -6
- package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +22 -5
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/answer-record.mjs +28 -4
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-answer-record.mjs +2 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-human.mjs +38 -4
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +8 -3
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/ledger-questions.mjs +6 -1
- package/plugins/lisa-devin/skills/lisa-task-decomposition/SKILL.md +2 -2
- 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 +7 -5
- package/plugins/src/base/commands/persist-learning.md +1 -1
- package/plugins/src/base/rules/reference/claim-archaeology.md +1 -1
- package/plugins/src/base/rules/reference/rejection-detection.md +1 -1
- package/plugins/src/base/rules/reference/work-item-definition-of-ready.md +5 -2
- package/plugins/src/base/skills/lisa-debrief-apply/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-delivery-effectiveness/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +17 -7
- package/plugins/src/base/skills/lisa-github-build-intake/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-github-validate-issue/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-implement/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-jira-build-intake/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-learnings-audit/SKILL.md +11 -4
- package/plugins/src/base/skills/lisa-linear-build-intake/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-linear-validate-issue/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-persist-learning/SKILL.md +12 -12
- package/plugins/src/base/skills/lisa-pull-request-review/SKILL.md +62 -6
- package/plugins/src/base/skills/lisa-session-manager/SKILL.md +22 -5
- package/plugins/src/base/skills/lisa-session-manager/scripts/answer-record.mjs +28 -4
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-answer-record.mjs +2 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-human.mjs +38 -4
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +8 -3
- package/plugins/src/base/skills/lisa-session-manager/scripts/ledger-questions.mjs +6 -1
- package/plugins/src/base/skills/lisa-task-decomposition/SKILL.md +2 -2
- package/typescript/create-only/.github/workflows/third-party-review-evidence.yml +58 -17
|
@@ -62,20 +62,43 @@ function skipReason(status, worker, pending) {
|
|
|
62
62
|
return worker ? "worker-not-finished" : null;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
/**
|
|
66
|
+
* `{requeue: true}` when clearing must also move the item to the `ready`
|
|
67
|
+
* role, else `{}`. A worker's `FAILED` moved the item to the `blocked` role,
|
|
68
|
+
* and the blocked pass keeps an item with no dependency edges, so without
|
|
69
|
+
* this move the "next attempt" that reads the recorded answer is never
|
|
70
|
+
* dispatched (CodySwannGT/lisa#4643). It holds whether the answer still has
|
|
71
|
+
* to be posted or is already on the item. A `DONE` worker's item and a
|
|
72
|
+
* repo-routing answer (carried by its `repo:<name>` stamp) are not moved.
|
|
73
|
+
* @param {string | undefined} status - The ledger item's status
|
|
74
|
+
* @param {{kind?: string, answer?: object | null} | null} pending - The
|
|
75
|
+
* pending question
|
|
76
|
+
* @returns {{requeue?: true}} The flag, only when it applies
|
|
77
|
+
*/
|
|
78
|
+
function requeueOf(status, pending) {
|
|
79
|
+
const due =
|
|
80
|
+
status === "FAILED" &&
|
|
81
|
+
Boolean(pending?.answer) &&
|
|
82
|
+
pending?.kind !== "repo-route";
|
|
83
|
+
return due ? { requeue: true } : {};
|
|
84
|
+
}
|
|
85
|
+
|
|
65
86
|
/**
|
|
66
87
|
* Plan recording a queued answer on the item. Throws when the answer looks
|
|
67
88
|
* like it holds a credential: it would be posted on the item.
|
|
68
89
|
* @param {{ref: string, status?: string, worker?: string | null,
|
|
69
90
|
* pending: object | null}} input - The item's ref, its ledger status and
|
|
70
91
|
* worker, and its pending question
|
|
71
|
-
* @returns {{ref: string, record: false, reason: string} |
|
|
92
|
+
* @returns {{ref: string, record: false, reason: string, requeue?: true} |
|
|
72
93
|
* {ref: string, record: true, source: string, answerAt: string | null,
|
|
73
|
-
* comment: string}} Plan; answerAt is the queued answer's
|
|
74
|
-
* `ledger clear-question --expect-answer-at` checks before
|
|
94
|
+
* comment: string, requeue?: true}} Plan; answerAt is the queued answer's
|
|
95
|
+
* `at`, which `ledger clear-question --expect-answer-at` checks before
|
|
96
|
+
* clearing; `requeue: true` means also move the item to the `ready` role
|
|
75
97
|
*/
|
|
76
98
|
export function planAnswerRecord({ ref, status, worker, pending }) {
|
|
77
99
|
const reason = skipReason(status, worker, pending);
|
|
78
|
-
|
|
100
|
+
const requeue = requeueOf(status, pending);
|
|
101
|
+
if (reason) return { ref, record: false, reason, ...requeue };
|
|
79
102
|
const { source, text, at } = pending.answer;
|
|
80
103
|
const shape = findCredentialShape(text);
|
|
81
104
|
if (shape) {
|
|
@@ -93,5 +116,6 @@ export function planAnswerRecord({ ref, status, worker, pending }) {
|
|
|
93
116
|
`${MANAGER_COMMENT_PREFIX} The operator answered the question above (by ${by}, ${at ?? "time unknown"}):`,
|
|
94
117
|
text
|
|
95
118
|
),
|
|
119
|
+
...requeue,
|
|
96
120
|
};
|
|
97
121
|
}
|
|
@@ -48,7 +48,8 @@ export async function channelAnswer(ctx) {
|
|
|
48
48
|
* credential (nothing is printed, so nothing can be posted).
|
|
49
49
|
* @param {object} ctx - CLI context
|
|
50
50
|
* @returns {Promise<{ json: object }>} `{ref,record:false,reason}` or
|
|
51
|
-
* `{ref,record:true,source,comment}`
|
|
51
|
+
* `{ref,record:true,source,comment}`, either with `requeue: true` when a
|
|
52
|
+
* FAILED worker's item must also move to the `ready` role
|
|
52
53
|
*/
|
|
53
54
|
export async function answerPlan(ctx) {
|
|
54
55
|
const ref = requirePositional(ctx, "ref");
|
|
@@ -181,10 +181,45 @@ const NO_ANSWERERS =
|
|
|
181
181
|
"workers post as. Answer with the answerCommand that status lists, or " +
|
|
182
182
|
"set sessionManager.operatorIds.";
|
|
183
183
|
|
|
184
|
+
/** Why replies are not read while the question's mark is unread. */
|
|
185
|
+
const NOT_MARKED =
|
|
186
|
+
"The pending question has not been marked on the item yet (markedAt is " +
|
|
187
|
+
"null): it was recorded, or its text changed, and its question comment " +
|
|
188
|
+
"has not been posted and read back. Replies are not read until it is, " +
|
|
189
|
+
"or a reply to an earlier question would be taken as this one's answer. " +
|
|
190
|
+
"Finish Mark and move on, then record the new comment with ledger marked " +
|
|
191
|
+
"--comment-id <id>.";
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Why no reply can be read off the item yet, or null when one can. A queued
|
|
195
|
+
* answer is kept. An unmarked question (`markedAt` null) is refused because
|
|
196
|
+
* the answer search anchors on the last recorded question comment, which
|
|
197
|
+
* after a changed question is still the OLD one: reading replies then would
|
|
198
|
+
* queue a reply to the old question as the new one's answer
|
|
199
|
+
* (CodySwannGT/lisa#4643).
|
|
200
|
+
* @param {string} ref - Item ref
|
|
201
|
+
* @param {{answer?: object|null, markedAt?: string|null}} pending - Pending
|
|
202
|
+
* question
|
|
203
|
+
* @returns {object | null} The not-queued result, or null
|
|
204
|
+
*/
|
|
205
|
+
function notReadable(ref, pending) {
|
|
206
|
+
if (pending.answer) return { queued: false, ref, reason: "already-queued" };
|
|
207
|
+
if (!pending.markedAt) {
|
|
208
|
+
return {
|
|
209
|
+
queued: false,
|
|
210
|
+
ref,
|
|
211
|
+
reason: "not-marked",
|
|
212
|
+
explanation: NOT_MARKED,
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
return null;
|
|
216
|
+
}
|
|
217
|
+
|
|
184
218
|
/**
|
|
185
219
|
* `item-answer <ref>` (stdin `{"comments":[...]}`): find the human's answer
|
|
186
220
|
* on the item and queue it. stdout `{queued:false,reason}` when there is none
|
|
187
|
-
* yet,
|
|
221
|
+
* yet, `reason: "not-marked"` (exit 0) while the question's mark has not been
|
|
222
|
+
* read back, or `reason: "no-answerers-configured"` (exit 0) when nobody may
|
|
188
223
|
* answer there. A reply that looks like it holds a credential is skipped and
|
|
189
224
|
* listed in `refused` (with `reason: "credential-refused"` when no later
|
|
190
225
|
* reply answers), so it never wedges the item. Exit 2 when the ref has no
|
|
@@ -207,9 +242,8 @@ export async function itemAnswer(ctx) {
|
|
|
207
242
|
if (!pending) {
|
|
208
243
|
throw new CliError(`${ref} has no pending question in the ledger.`, 2);
|
|
209
244
|
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
245
|
+
const held = notReadable(ref, pending);
|
|
246
|
+
if (held) return { json: held };
|
|
213
247
|
const allowed = allowedAnswerers(config);
|
|
214
248
|
if (allowed.length === 0) {
|
|
215
249
|
return {
|
|
@@ -277,8 +277,11 @@ Per cycle
|
|
|
277
277
|
gh api --paginate repos/<o>/<r>/issues/<n>/comments (user.login,
|
|
278
278
|
user.id). stdout {queued:true,ref,source,author[,refused]} or
|
|
279
279
|
{queued:false,ref,reason:no-question-comment|no-answer-yet|
|
|
280
|
-
already-queued|no-answerers-configured|credential-refused
|
|
281
|
-
[,explanation][,refused,refusedExplanation]}.
|
|
280
|
+
already-queued|not-marked|no-answerers-configured|credential-refused
|
|
281
|
+
[,explanation][,refused,refusedExplanation]}. not-marked (exit 0):
|
|
282
|
+
the question's mark was never read back (markedAt null, as after a
|
|
283
|
+
changed question), so no reply is read; record it with ledger marked
|
|
284
|
+
--comment-id <id> first. no-answerers-configured
|
|
282
285
|
(exit 0): neither list is set, so nothing on the item is read, because
|
|
283
286
|
the tracker identity is the one workers post as; answer with answer.
|
|
284
287
|
A reply that looks like a credential is skipped, never queued, and
|
|
@@ -303,7 +306,9 @@ Per cycle
|
|
|
303
306
|
queued answer's at). A repo-route never records (the repo stamp carries
|
|
304
307
|
it). Otherwise {ref,record:false,reason:no-pending-question|
|
|
305
308
|
no-answer-queued|answered-on-item|worker-not-finished|
|
|
306
|
-
routed-by-repo-stamp}.
|
|
309
|
+
routed-by-repo-stamp}. Either shape adds requeue:true for a FAILED
|
|
310
|
+
worker's item (in the blocked role): move it to the ready role in the
|
|
311
|
+
same update that removes the marker. Exit 2 when the answer it would post looks
|
|
307
312
|
like a credential (nothing printed, nothing to post) or the ledger
|
|
308
313
|
is corrupt.
|
|
309
314
|
record-cycle --outcome <outcome> [--ref <url>]... [--run-id <id>]
|
|
@@ -184,7 +184,12 @@ export function listPendingQuestions(ledger, answerCommand) {
|
|
|
184
184
|
* would let the next cycle run `item-answer` against the old question comment
|
|
185
185
|
* and queue a reply to the old question as the answer to the new one
|
|
186
186
|
* (CodySwannGT/lisa#4570). A queued answer survives only a re-ping of the same
|
|
187
|
-
* text for the same reason: it answered that text.
|
|
187
|
+
* text for the same reason: it answered that text. `managerCommentIds` is
|
|
188
|
+
* kept even when the text changes: those ids also keep the manager's own
|
|
189
|
+
* comments (the old question, its notes) out of the answer candidates, so
|
|
190
|
+
* clearing them would let a manager comment pass for an answer. Instead
|
|
191
|
+
* `item-answer` refuses (`not-marked`) while `markedAt` is null, so the stale
|
|
192
|
+
* last id is never used as the anchor (CodySwannGT/lisa#4643).
|
|
188
193
|
* `kind` defaults to the previous kind, then `worker-question`.
|
|
189
194
|
* @param {string} projectRoot - Absolute project root
|
|
190
195
|
* @param {{ref: string, text: string, telegramMessageId: number|null,
|
|
@@ -14,10 +14,10 @@ Break work into ordered, well-scoped tasks that can be independently implemented
|
|
|
14
14
|
Every time a dispatched worker had to stop for a human, or file a new ticket mid-build, because planning let a gap through, `learning-judge` may have persisted the check planning should have run as a `planning-miss` learning (CodySwannGT/lisa#4569). Those checks only help if planning reads them back. Before decomposing, load them through the learnings contract's **bounded projection** — never by reading the ledger file wholesale:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
node -e 'import("@codyswann/lisa/learnings").then(async m => { const { readFile } = await import("node:fs/promises"); const file = m.resolveProjectLearningsFile(await m.readProjectConfig(process.cwd())); const raw = await readFile(file, "utf8").catch(()
|
|
17
|
+
node -e 'import("@codyswann/lisa/learnings").then(async m => { const { readFile } = await import("node:fs/promises"); const file = m.resolveProjectLearningsFile(await m.readProjectConfig(process.cwd())); const raw = await readFile(file, "utf8").catch(error => { if (error.code === "ENOENT") return null; throw error; }); if (raw === null) return; const planning = m.parseLearningsFile(raw).filter(e => /^Planning \((prd|decomposition|ready-gate|filing)\):/.test(e.rule)); const { entries } = m.projectLearnings(planning); const kept = new Set(entries.map(e => e.id)); const checks = entries.map(e => ({ id: e.id, rule: e.rule, confidence: e.confidence })); const omitted = planning.filter(e => !kept.has(e.id)).map(e => e.id); console.log(JSON.stringify({ checks, omitted })); }).catch(error => console.error(`learned planning checks unavailable: ${error.message}`))' || true
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Run it from the project root. No output means there is no ledger yet: carry on. A malformed
|
|
20
|
+
Run it from the project root. No output means there is no ledger yet (`ENOENT`): carry on. A ledger that exists but cannot be read, or is malformed, prints one warning naming the error and yields nothing: carry on without it. Say in the plan that the checks were not loaded. The projection is taken over the planning checks alone, so other learnings never crowd them out; `omitted` lists, by id, any planning check the budget still left out — name those in the plan as not applied. Never let this step block planning.
|
|
21
21
|
|
|
22
22
|
Each check names the stage that owns it, and binds there:
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.99.
|
|
3
|
+
"version": "4.99.7",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.99.
|
|
3
|
+
"version": "4.99.7",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.99.
|
|
3
|
+
"version": "4.99.7",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.99.
|
|
3
|
+
"version": "4.99.7",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.99.
|
|
3
|
+
"version": "4.99.7",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.99.
|
|
3
|
+
"version": "4.99.7",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.99.
|
|
3
|
+
"version": "4.99.7",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|