@sjawhar/pi-legion-envoy 5.3.4 → 5.3.5
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/legion.js +1 -1
- package/dist/skills/legion-worker/SKILL.md +10 -4
- package/package.json +1 -1
package/dist/legion.js
CHANGED
|
@@ -16142,7 +16142,7 @@ import { logger } from "@oh-my-pi/pi-utils";
|
|
|
16142
16142
|
// package.json
|
|
16143
16143
|
var package_default = {
|
|
16144
16144
|
name: "@sjawhar/pi-legion-envoy",
|
|
16145
|
-
version: "5.3.
|
|
16145
|
+
version: "5.3.5",
|
|
16146
16146
|
type: "module",
|
|
16147
16147
|
omp: {
|
|
16148
16148
|
extensions: [
|
|
@@ -611,16 +611,22 @@ do:
|
|
|
611
611
|
reported. The issue has moved to a newer run since your task was given, so the work you just
|
|
612
612
|
reported belongs to a run that is over. Nothing you can repeat changes that: stop, push nothing
|
|
613
613
|
further, and tell the architect what you completed and that its run has been superseded. A task
|
|
614
|
-
for the current run arrives in this same session if the phase still needs you.
|
|
614
|
+
for the current run arrives in this same session if the phase still needs you. The same answer
|
|
615
|
+
comes when your turn started before the daemon recorded the current run's task as yours, so it
|
|
616
|
+
still holds you to the earlier run: that task is sent again. When a task arrives, do what it
|
|
617
|
+
asks; if the work it asks for is already committed, call `handoff_complete` again, and never redo
|
|
618
|
+
the work or write a second handoff.
|
|
615
619
|
- `HANDOFF_NOT_CURRENT_PHASE` — names your role, the issue, and the phase it is in now. The issue
|
|
616
620
|
has left your phase; report to the architect rather than completing again.
|
|
617
621
|
- `HANDOFF_NO_RUN` — names neither: it says this claim has taken no task, so the daemon cannot
|
|
618
622
|
tell which run you are reporting. Your pane is completing outside any assignment. Say so to the
|
|
619
623
|
architect; do not re-run the phase.
|
|
620
624
|
- `HANDOFF_ALREADY_RECORDED` — names your role, the phase, the review round and the commit. This
|
|
621
|
-
exact call was received before, and its first answer stands
|
|
622
|
-
|
|
623
|
-
|
|
625
|
+
exact call was received before, and its first answer stands: accepted, or a refusal the daemon
|
|
626
|
+
records with the call — `HANDOFF_STALE_GENERATION`, `HANDOFF_NOT_CURRENT_PHASE`,
|
|
627
|
+
`READY_REQUIRED` or `HANDOFF_NOT_NEW`. `HANDOFF_NO_RUN` is never that first answer, since it is
|
|
628
|
+
given before anything is recorded. Sending it again changes nothing; if you did not see that
|
|
629
|
+
first answer, tell the architect so and quote this one.
|
|
624
630
|
|
|
625
631
|
Quote the answer verbatim in what you tell the architect: with the run and phase it names, the
|
|
626
632
|
difference between "my work is lost" and "my work belongs to the previous run" is visible.
|