@codyswann/lisa 7.1.1 → 7.1.2
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/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +29 -5
- 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-secrets-access/scripts/validate-config.mjs +8 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +10 -7
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/references/runbook-template.md +3 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-session-manager/SKILL.md +3 -3
- package/plugins/lisa/rules/reference/config-resolution.md +1 -1
- package/plugins/lisa/skills/lisa-secrets-access/scripts/validate-config.mjs +8 -5
- package/plugins/lisa/skills/lisa-session-manager/SKILL.md +10 -7
- package/plugins/lisa/skills/lisa-session-manager/references/runbook-template.md +3 -2
- package/plugins/lisa/skills/lisa-setup-session-manager/SKILL.md +3 -3
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/validate-config.mjs +8 -5
- package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +10 -7
- package/plugins/lisa-agy/skills/lisa-session-manager/references/runbook-template.md +3 -2
- package/plugins/lisa-agy/skills/lisa-setup-session-manager/SKILL.md +3 -3
- 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/rules/reference/config-resolution.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/validate-config.mjs +8 -5
- package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +10 -7
- package/plugins/lisa-copilot/skills/lisa-session-manager/references/runbook-template.md +3 -2
- package/plugins/lisa-copilot/skills/lisa-setup-session-manager/SKILL.md +3 -3
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +1 -1
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/validate-config.mjs +8 -5
- package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +10 -7
- package/plugins/lisa-cursor/skills/lisa-session-manager/references/runbook-template.md +3 -2
- package/plugins/lisa-cursor/skills/lisa-setup-session-manager/SKILL.md +3 -3
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/rules/reference/config-resolution.md +1 -1
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/validate-config.mjs +8 -5
- package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +10 -7
- package/plugins/lisa-devin/skills/lisa-session-manager/references/runbook-template.md +3 -2
- package/plugins/lisa-devin/skills/lisa-setup-session-manager/SKILL.md +3 -3
- 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-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/rules/reference/config-resolution.md +1 -1
- package/plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs +8 -5
- package/plugins/src/base/skills/lisa-session-manager/SKILL.md +10 -7
- package/plugins/src/base/skills/lisa-session-manager/references/runbook-template.md +3 -2
- package/plugins/src/base/skills/lisa-setup-session-manager/SKILL.md +3 -3
|
@@ -754,7 +754,7 @@ operator chooses Telegram (`init-config --notify telegram`).
|
|
|
754
754
|
| `sessionManager.trustedAuthorIds` | no | — | Optional list of **stable tracker user ids**, as strings: the GitHub numeric user id (`gh api users/<login> --jq .id`), the Jira `accountId`, or the Linear user id. Not logins or display names: matching compares ids, so a plain login silently matches no one and excludes every item. An entry may name its kind: `id:<v>` is an id, `login:<v>` a GitHub login (matched by the queue and on-item answers; the hold-release check compares ids only and ignores it). A login GitHub frees (after a rename or a deleted account) can be re-registered by someone else, so prefer `id:` for trust. `integration:<service>` trusts items an integration files with no person behind them (Linear's `botActor`, by `subType` such as `sentry`, else its bot `id`, never its self-chosen display name; never an item a person or an outside user filed; it trusts who filed the item, not text an outsider can get into it, such as a quoted error message); GitHub Apps and Jira automation file as an account, so trust them by `id:`. An unknown prefix or an empty value fails validation. When set, the manager takes only items authored by these people or integrations. It is also who may release a human hold, unless `trustedReleaseIds` is set — so removing it removes every hold releaser too. |
|
|
755
755
|
| `sessionManager.trustedReleaseIds` | no | `trustedAuthorIds` | Optional, non-empty list of the **people** who may release a human hold (`blocked-plan`, the orphan sweep) and answer a question on the item. Same entry grammar as `trustedAuthorIds` minus `integration:`, which is refused: an integration is not a person. Unset, it falls back to `trustedAuthorIds`, so existing projects are unaffected; with neither set, no hold is released. |
|
|
756
756
|
| `sessionManager.operatorIds` | no | — | Optional, non-empty list of the people the manager works for, as tracker user ids matched against the **assignee** the same way "me" is: the GitHub **login**, the Jira `accountId`, or the Linear user id, spelled exactly as the tracker API returns it (matching is case-sensitive, so look the OPERATOR up rather than typing from memory: `gh api users/<operator-login> --jq .login` returns the canonical GitHub spelling. Do not use `gh api user`, which returns whoever the credential belongs to — the agent account, when that is the case this key exists for). Dispatch order is assigned to an operator, then to "me" (the tracker credential's identity), then unassigned; items assigned to anyone else are skipped. Set it whenever the tracker credential is not the operator's own (an agent account), or the operator's Ready items are never dispatched. Prefer the kind-keyed form, which the queue, the claim and on-item answers all match the same way: `login:<GitHub login>` matches only a GitHub login, `id:<v>` only an account id (GitHub numeric id, Jira `accountId`, Linear user id). A plain entry keeps its meaning, but a plain all-digit entry is a login to the queue and the claim and a numeric id to on-item answers, so validation warns about it (without failing) and names both forms. An unknown prefix or an empty value fails validation. A Jira accountId holding a colon (`557058:…`, `qm:…`) is still plain. |
|
|
757
|
-
| `sessionManager.backlogPickup` | no | `false` | Opt-in lowest dispatch tier. When the Ready queue is exhausted and capacity remains, the manager considers backlog items (open leaves in no lifecycle role) with the Ready exclusions plus any unfinished blocker; each one that passes the tracker validator (all gates, including the stateless-pickup dry-run) is
|
|
757
|
+
| `sessionManager.backlogPickup` | no | `false` | Opt-in lowest dispatch tier. When the Ready queue is exhausted and capacity remains, the manager considers backlog items (open leaves in no lifecycle role) with the Ready exclusions plus any unfinished blocker; each one that passes the tracker validator (all gates, including the stateless-pickup dry-run) is moved to Ready in one write that keeps any assignee it already has and assigns an unassigned one to the manager ("me"), then read back and dispatched. A failed validation is cached against the item's `updatedAt`, so it is re-judged only after the item changes. Requires `operatorIds`. |
|
|
758
758
|
|
|
759
759
|
- **Non-secret only.** A credential-named field or a token-shaped value anywhere in this block is a
|
|
760
760
|
validation error. With Telegram, where the bot token lives follows the project's `secrets` block
|
|
@@ -1097,9 +1097,11 @@ export function validateSessionManager(block) {
|
|
|
1097
1097
|
|
|
1098
1098
|
/**
|
|
1099
1099
|
* Validate `sessionManager.backlogPickup`: opt-in promotion of validated
|
|
1100
|
-
* backlog items to Ready
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1100
|
+
* backlog items to Ready. A promoted item keeps any assignee it has; an
|
|
1101
|
+
* unassigned one is assigned to the manager ("me"), as every item it takes is
|
|
1102
|
+
* (CodySwannGT/lisa#5029). The pickup still needs an operator: it starts work
|
|
1103
|
+
* nobody marked Ready, so it stays off until the config names the people the
|
|
1104
|
+
* manager works for.
|
|
1103
1105
|
* @param {unknown} value The value, if present.
|
|
1104
1106
|
* @param {unknown} operatorIds `sessionManager.operatorIds`, if present.
|
|
1105
1107
|
* @returns {string[]} Problems found.
|
|
@@ -1116,8 +1118,9 @@ function validateBacklogPickup(value, operatorIds) {
|
|
|
1116
1118
|
operatorIds.some(id => typeof id === "string" && id.trim() !== "");
|
|
1117
1119
|
return value && !hasOperator
|
|
1118
1120
|
? [
|
|
1119
|
-
`sessionManager.backlogPickup needs sessionManager.operatorIds:
|
|
1120
|
-
`
|
|
1121
|
+
`sessionManager.backlogPickup needs sessionManager.operatorIds: it ` +
|
|
1122
|
+
`starts work nobody marked Ready, so it needs the people the ` +
|
|
1123
|
+
`manager works for.`,
|
|
1121
1124
|
]
|
|
1122
1125
|
: [];
|
|
1123
1126
|
}
|
|
@@ -739,18 +739,21 @@ Skip while `capacity` reports `paused`. Otherwise:
|
|
|
739
739
|
grooming is not the operator's inbox.
|
|
740
740
|
3. **Route the repo** as in step 2.2, but never ask: an ambiguous or multi-repo backlog item is
|
|
741
741
|
skipped.
|
|
742
|
-
4. **Promote** in ONE `lisa-tracker-write` update
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
742
|
+
4. **Promote** in ONE `lisa-tracker-write` update that moves the item to the `ready` role and,
|
|
743
|
+
following "Taking an item", never replaces an assignee: an item that step 1 found assigned
|
|
744
|
+
to "me" or an operator keeps that assignee, and the update does not touch it; an
|
|
745
|
+
unassigned item is assigned to "me" (rule 3). Comment
|
|
746
|
+
`[lisa-session-manager] Promoted from backlog: validation passed; assigned to <who>.`, where
|
|
747
|
+
`<who>` is the assignee the item ends with ("me" or the operator it already had). Read it
|
|
748
|
+
back with `lisa-tracker-read` and continue only when the role is `ready` and the assignee
|
|
749
|
+
is exactly the one the update intended: the unchanged existing assignee, or "me" for an
|
|
750
|
+
item that was unassigned. Then `ledger validation-cleared <ref>`.
|
|
748
751
|
5. Continue with steps 2.3 and 2.4 (claim in the child repo, re-read, spawn, handle the exit)
|
|
749
752
|
exactly as for a Ready item, with one change: on exit 0, post
|
|
750
753
|
`[<REF>] promoted from backlog and started in <repo> (<name>)` in place of the plain start
|
|
751
754
|
notice. Every other exit keeps its step 2.4 handling.
|
|
752
755
|
A promotion written and read back counts as a state change for the run outcome; a spawn that
|
|
753
|
-
then fails follows step 2.4's exits (the item stays in Ready
|
|
756
|
+
then fails follows step 2.4's exits (the item stays in Ready with the assignee step 4 left on it).
|
|
754
757
|
|
|
755
758
|
### 3. Report and record
|
|
756
759
|
|
|
@@ -31,8 +31,9 @@ in the ledger and (when configured) items by untrusted authors are skipped. As m
|
|
|
31
31
|
When `sessionManager.backlogPickup` is on and capacity remains after every Ready item, a lowest tier
|
|
32
32
|
follows: backlog items (open leaves in no lifecycle role) in the same order, minus those with an
|
|
33
33
|
unfinished blocker and those that already failed validation and have not changed since. Each one
|
|
34
|
-
must pass the full tracker validation before it is
|
|
35
|
-
|
|
34
|
+
must pass the full tracker validation before it is moved to Ready and dispatched like any other
|
|
35
|
+
item. An item that is already assigned keeps its assignee; an unassigned one is assigned to the
|
|
36
|
+
manager's own tracker identity.
|
|
36
37
|
|
|
37
38
|
## Scope/bounds
|
|
38
39
|
|
|
@@ -105,9 +105,9 @@ writes `$SM`, and pass `--project-root "$ROOT"` (the absolute project root) on e
|
|
|
105
105
|
is exhausted and a worker slot is still free, the manager then looks at backlog items (open
|
|
106
106
|
leaves in no lifecycle role) that nobody else is assigned to, that are not human-held and have
|
|
107
107
|
no unfinished blocker. Each one that passes the full tracker validation, including the
|
|
108
|
-
stateless-pickup check, is
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
stateless-pickup check, is moved to Ready and dispatched. One already assigned to an operator
|
|
109
|
+
keeps that assignee; an unassigned one is assigned to the manager's own tracker identity
|
|
110
|
+
("me"), as every item the manager takes is. Say plainly that this lets the manager start work nobody marked Ready, so it needs
|
|
111
111
|
`operatorIds` and should go with `trustedAuthorIds` on any tracker outsiders can write to.
|
|
112
112
|
6. `node "$SM/session-manager.mjs" validate --project-root "$ROOT"` must print `valid: true`.
|
|
113
113
|
Show the operator every entry of `warnings`, when there is one, in plain words, and offer to
|