@codyswann/lisa 4.98.2 → 4.99.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/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 +46 -9
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +7 -6
- 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-session-manager/SKILL.md +50 -13
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/references/runbook-template.md +4 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/answer-record.mjs +97 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-answer-record.mjs +71 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-cycle.mjs +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-human.mjs +3 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +30 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/human-needed.mjs +26 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/ledger-questions.mjs +16 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/session-manager.mjs +7 -1
- package/plugins/lisa/skills/lisa-session-manager/SKILL.md +50 -13
- package/plugins/lisa/skills/lisa-session-manager/references/runbook-template.md +4 -2
- package/plugins/lisa/skills/lisa-session-manager/scripts/answer-record.mjs +97 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-answer-record.mjs +71 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-cycle.mjs +1 -0
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-human.mjs +3 -2
- package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +30 -4
- package/plugins/lisa/skills/lisa-session-manager/scripts/human-needed.mjs +26 -1
- package/plugins/lisa/skills/lisa-session-manager/scripts/ledger-questions.mjs +16 -3
- package/plugins/lisa/skills/lisa-session-manager/scripts/session-manager.mjs +7 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +50 -13
- package/plugins/lisa-agy/skills/lisa-session-manager/references/runbook-template.md +4 -2
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/answer-record.mjs +97 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-answer-record.mjs +71 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-cycle.mjs +1 -0
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-human.mjs +3 -2
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +30 -4
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/human-needed.mjs +26 -1
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/ledger-questions.mjs +16 -3
- package/plugins/lisa-agy/skills/lisa-session-manager/scripts/session-manager.mjs +7 -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/skills/lisa-session-manager/SKILL.md +50 -13
- package/plugins/lisa-copilot/skills/lisa-session-manager/references/runbook-template.md +4 -2
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/answer-record.mjs +97 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-answer-record.mjs +71 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-cycle.mjs +1 -0
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-human.mjs +3 -2
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +30 -4
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/human-needed.mjs +26 -1
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/ledger-questions.mjs +16 -3
- package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/session-manager.mjs +7 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +50 -13
- package/plugins/lisa-cursor/skills/lisa-session-manager/references/runbook-template.md +4 -2
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/answer-record.mjs +97 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-answer-record.mjs +71 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-cycle.mjs +1 -0
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-human.mjs +3 -2
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +30 -4
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/human-needed.mjs +26 -1
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/ledger-questions.mjs +16 -3
- package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/session-manager.mjs +7 -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/skills/lisa-session-manager/SKILL.md +50 -13
- package/plugins/lisa-devin/skills/lisa-session-manager/references/runbook-template.md +4 -2
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/answer-record.mjs +97 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-answer-record.mjs +71 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-cycle.mjs +1 -0
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-human.mjs +3 -2
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +30 -4
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/human-needed.mjs +26 -1
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/ledger-questions.mjs +16 -3
- package/plugins/lisa-devin/skills/lisa-session-manager/scripts/session-manager.mjs +7 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/skills/lisa-session-manager/SKILL.md +50 -13
- package/plugins/src/base/skills/lisa-session-manager/references/runbook-template.md +4 -2
- package/plugins/src/base/skills/lisa-session-manager/scripts/answer-record.mjs +97 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-answer-record.mjs +71 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs +1 -0
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-human.mjs +3 -2
- package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +30 -4
- package/plugins/src/base/skills/lisa-session-manager/scripts/human-needed.mjs +26 -1
- package/plugins/src/base/skills/lisa-session-manager/scripts/ledger-questions.mjs +16 -3
- package/plugins/src/base/skills/lisa-session-manager/scripts/session-manager.mjs +7 -1
- package/scripts/check-shell-guard-refusal-coverage.mjs +23 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.99.0",
|
|
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.
|
|
3
|
+
"version": "4.99.0",
|
|
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.
|
|
3
|
+
"version": "4.99.0",
|
|
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.
|
|
3
|
+
"version": "4.99.0",
|
|
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.
|
|
3
|
+
"version": "4.99.0",
|
|
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.
|
|
3
|
+
"version": "4.99.0",
|
|
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.
|
|
3
|
+
"version": "4.99.0",
|
|
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"
|
|
@@ -247,19 +247,46 @@ leave the ledger as it is (`markedAt` stays null), carry on with the cycle and e
|
|
|
247
247
|
- `worker-question` or `decision` with a worker that has not finished: `SendMessage` it to the
|
|
248
248
|
worker when `classify <ref>` shows it live, else `resume <ref>` with the answer on STDIN.
|
|
249
249
|
- `repo-route`: stamp `repo:<name>` through `lisa-tracker-write`; the next dispatch routes it.
|
|
250
|
-
- `exhausted`: no worker is left to resume.
|
|
251
|
-
move the item to the `ready` role, and clear with `--reset-attempts` in
|
|
252
|
-
dispatch starts a fresh attempt that reads the answer on the item.
|
|
253
|
-
- `decision` with no worker yet: nothing to deliver
|
|
250
|
+
- `exhausted`: no worker is left to resume. Record the answer on the item (below). In the
|
|
251
|
+
step 2 update, also move the item to the `ready` role, and clear with `--reset-attempts` in
|
|
252
|
+
step 3, so the next dispatch starts a fresh attempt that reads the answer on the item.
|
|
253
|
+
- `decision` with no worker yet: nothing to deliver. Record the answer on the item (below); the
|
|
254
|
+
next worker reads it there.
|
|
254
255
|
- `worker-question` or `decision` whose worker already reported `DONE` or `FAILED` (the
|
|
255
256
|
question outlives the worker in the ledger, so its marker can still be removed): do not
|
|
256
|
-
resume the finished worker.
|
|
257
|
-
`resume` refuses a finished worker (exit 2), and `spawn` refuses a ref while its
|
|
258
|
-
pending, so finish this clearing first.
|
|
257
|
+
resume the finished worker. Record the answer on the item (below); the next attempt reads it
|
|
258
|
+
there. `resume` refuses a finished worker (exit 2), and `spawn` refuses a ref while its
|
|
259
|
+
question is pending, so finish this clearing first.
|
|
260
|
+
|
|
261
|
+
**Record the answer on the item** (a finished worker, an `exhausted` item, or a `decision` no
|
|
262
|
+
worker has picked up): the next attempt
|
|
263
|
+
can only read an answer that is on the item, and an answer given with `answer` or on Telegram
|
|
264
|
+
is only in the ledger, which step 3 empties. Run `answer-plan <ref>`. When it returns
|
|
265
|
+
`record: true`: Before posting, read the item's comments with `lisa-tracker-read`; when a
|
|
266
|
+
comment whose body is exactly the plan's `comment` is already there (an earlier cycle posted
|
|
267
|
+
it and then stopped), do not post it again, and take that comment as the read-back.
|
|
268
|
+
Otherwise post its `comment` exactly as given through `lisa-tracker-write` and read it
|
|
269
|
+
back with `lisa-tracker-read`; only then go on to step 2. `record: false` with `reason`
|
|
270
|
+
`answered-on-item` (the answer is already on the item) needs nothing posted. If the post or the
|
|
271
|
+
read-back fails, stop here: leave the marker and the question pending (do not run step 3),
|
|
272
|
+
carry on with the cycle and end it `recovery-required`; the next cycle's "Waiting on a human"
|
|
273
|
+
step tries again. Exit 2 means the queued answer looks like it holds a credential: post
|
|
274
|
+
nothing, keep the question pending, and ask the operator to answer again without it (a new
|
|
275
|
+
`answer` replaces the queued one).
|
|
259
276
|
2. **Remove the manager's own marker** (the `marker` the ledger recorded, nothing else) through
|
|
260
277
|
`lisa-tracker-write`, with a short comment: `[lisa-session-manager] Answer delivered; removed the
|
|
261
|
-
hold.`
|
|
262
|
-
|
|
278
|
+
hold.` when a worker received the answer (`SendMessage` or `resume`), else
|
|
279
|
+
`[lisa-session-manager] Answer recorded on the item; removed the hold.` Read it back with
|
|
280
|
+
`lisa-tracker-read`.
|
|
281
|
+
3. `ledger clear-question <ref>` (`--reset-attempts` for an `exhausted` item). After "Record the
|
|
282
|
+
answer on the item" posted (or found) a comment, run it as
|
|
283
|
+
`ledger clear-question <ref> --expect-answer-at <answerAt>`, with `answerAt` from that
|
|
284
|
+
`answer-plan`: the operator may have replaced the answer since (a new `answer` or Telegram
|
|
285
|
+
reply replaces the queued one), and a plain clear would delete the replacement unseen. On
|
|
286
|
+
exit 2 from `ledger clear-question` (the answer changed since it was planned), keep the hold:
|
|
287
|
+
do not clear (the pending question keeps the item out of dispatch even once the marker is
|
|
288
|
+
removed), and run "Record the answer on the item" again for the replacement, then this step
|
|
289
|
+
with its new `answerAt`; the next cycle's "Waiting on a human" step may do it.
|
|
263
290
|
|
|
264
291
|
## Handling messages (any time, not only during a cycle)
|
|
265
292
|
|
|
@@ -280,8 +307,18 @@ leave the ledger as it is (`markedAt` stays null), carry on with the cycle and e
|
|
|
280
307
|
Telegram plugin (0.0.7) does not, so never guess one.
|
|
281
308
|
- `answer`: follow "Clearing" in "Mark and move on" with `message` as the answer (`SendMessage`
|
|
282
309
|
to a live worker, `resume <ref>` for one that was idle-stopped or is gone without finishing,
|
|
283
|
-
|
|
284
|
-
|
|
310
|
+
the `repo:<name>` stamp for a repo-routing question), then acknowledge on Telegram.
|
|
311
|
+
**Only when no worker will receive it** — `ledger get <ref>` shows the worker reported `DONE`
|
|
312
|
+
or `FAILED`, the question is `exhausted`, or no worker was started for it (a `decision`, say;
|
|
313
|
+
never a repo-route) — first queue it in the ledger with `channel-answer <ref>` (`body` on
|
|
314
|
+
STDIN, source `channel`), so "Record the answer on the item" can post it. A live or resumable
|
|
315
|
+
worker gets its answer exactly as before, without `channel-answer`. Exit 2 from
|
|
316
|
+
`channel-answer` delivers nothing and has two causes, told apart by its stderr: one that says
|
|
317
|
+
the answer looks like it holds a credential (reply on Telegram that it was refused and should
|
|
318
|
+
be sent again without the secret), or one that says the ref has no pending question or no
|
|
319
|
+
ledger item (reply that the question was already answered or nothing is pending for it).
|
|
320
|
+
When the answer was recorded on the item, say so in the acknowledgement: it was posted on the
|
|
321
|
+
item, where anyone who can read the item can see it.
|
|
285
322
|
- `ambiguous`: ask which ref it is for, listing `candidates`, each with the label to start the
|
|
286
323
|
answer with (`Answer with: #12 <your answer>`).
|
|
287
324
|
- `invalid-command`: a mistyped command (`cap 40`, `stop A B`). Deliver it to no worker. Reply on
|
|
@@ -534,10 +571,10 @@ session `start` creates), every cycle ends in **exactly one** of the six outcome
|
|
|
534
571
|
| This cycle | Run outcome |
|
|
535
572
|
|---|---|
|
|
536
573
|
| No dispatch, no state change, no question relayed or newly pending. The summary still states the denominator: "swept N ready, 0 dispatchable; R running/C cap". | `nothing-needed` |
|
|
537
|
-
| At least one of: a worker spawned and seen live in `status`; a Blocked→Ready release written and read back; an answer delivered and its marker removed (`SendMessage` acknowledged, or `resume` returned a session id); a stalled item retried. | `change-proved` |
|
|
574
|
+
| At least one of: a worker spawned and seen live in `status`; a Blocked→Ready release written and read back; an answer delivered and its marker removed (`SendMessage` acknowledged, or `resume` returned a session id), or recorded on the item and read back before its marker was removed; a stalled item retried. | `change-proved` |
|
|
538
575
|
| An item was marked human-needed ("Mark and move on": marker and question comment written and read back), in any of the four cases, including an `exhausted` item moved to the `blocked` role, or a marked item whose question comment was re-posted after `item-answer` reported `no-question-comment`; or a worker `FAILED` moved the item to the `blocked` role with its reason comment, both read back. The summary names each ref and where to answer it. | `candidate-proposed` |
|
|
539
576
|
| No item was newly marked, but a pending question was re-sent on Telegram (`requestion`) and awaits the operator, and nothing else changed. | `approval-requested` |
|
|
540
|
-
| The tracker, a configured Telegram or `claude` was unreachable; Telegram is configured but was unavailable or unpaired (a question stayed pending with no Telegram message id); a human-needed mark could not be written or read back, or no marker is configured; a worker `FAILED`'s move to the `blocked` role could not be written or read back; a spawn failed after the claim (the item went back to Ready); the capacity probe failed. | `recovery-required` |
|
|
577
|
+
| The tracker, a configured Telegram or `claude` was unreachable; Telegram is configured but was unavailable or unpaired (a question stayed pending with no Telegram message id); a human-needed mark could not be written or read back, or no marker is configured; an answer for a finished worker, an `exhausted` item or a `decision` no worker has picked up could not be posted on the item or read back (its question stays pending); a worker `FAILED`'s move to the `blocked` role could not be written or read back; a spawn failed after the claim (the item went back to Ready); the capacity probe failed. | `recovery-required` |
|
|
541
578
|
| The retirement condition holds. | `policy-obsolete` |
|
|
542
579
|
|
|
543
580
|
`candidate-proposed` is the outcome for marking an item human-needed. The contract's section "A run
|
|
@@ -41,7 +41,8 @@ than `capacity` allows.
|
|
|
41
41
|
|
|
42
42
|
A worker counts as started only when it is visible as a live session. A Blocked→Ready release counts
|
|
43
43
|
only after the item is read back in the `ready` role. An answer counts only once it was delivered to
|
|
44
|
-
the worker
|
|
44
|
+
the worker, or, when no worker will receive it (the worker finished, or the item was exhausted),
|
|
45
|
+
once it was posted on the item and read back there.
|
|
45
46
|
|
|
46
47
|
## Autonomous-vs-approval boundary
|
|
47
48
|
|
|
@@ -61,7 +62,8 @@ The operator answers with the CLI `answer` command that `status` lists, on Teleg
|
|
|
61
62
|
item (a reply from an operator or trusted author, matched on stable tracker ids, each
|
|
62
63
|
`login:` / `id:` entry by its own kind; with neither
|
|
63
64
|
`operatorIds` nor `trustedAuthorIds` set, replies on the item are not read); the next cycle
|
|
64
|
-
delivers the answer,
|
|
65
|
+
delivers the answer (or, for a finished worker or an exhausted item, records it on the item for the
|
|
66
|
+
next attempt and reads it back), removes the marker and clears the question. No question is ever asked in the
|
|
65
67
|
manager's terminal. When the manager itself cannot proceed it records `recovery-required` with a one-line
|
|
66
68
|
reason. Having no notification channel is not such a reason; a configured Telegram that is broken
|
|
67
69
|
or unpaired is.
|