@javierfrancoleal/workflow-master 1.0.0 → 1.1.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.
@@ -144,7 +144,8 @@ the Action Panel or the supervisor backend. When a feedback item arrives:
144
144
  costs, and the exact rule or text to edit. Never change rules without the
145
145
  owner's approval.
146
146
  4. Append the outcome to the supervision log; the loop closes when the next
147
- reports show the improvement working.
147
+ reports show the improvement working. The `usage-auditor` skill reviews
148
+ these loops periodically and proposes deeper fixes.
148
149
 
149
150
  ## Recovery protocol
150
151
 
@@ -162,6 +163,25 @@ When a tool call fails, an action errors, or a mission stalls:
162
163
  5. Log the failure and the recovery in the supervision log; the
163
164
  `autonomy-grader` counts failures in its grades.
164
165
 
166
+ ## Live mirror (supervisor)
167
+
168
+ When a supervisor is reachable (http://127.0.0.1:8787) and a worker tag is
169
+ known, mirror the live workflow state so the worker's screen stays in sync:
170
+
171
+ - The standby agent feeds you the captured conversation (transcripts from
172
+ the worker's device arrive through its prompt).
173
+ - On listening start: `POST /api/live/start` with the worker tag.
174
+ - After decoding: `POST /api/live/summary` with `speakers` — one entry per
175
+ person, each with `name` and `requests` (`text` and `tier`). The worker
176
+ confirms each request on their screen.
177
+ - When the human confirms an order: `POST /api/live/confirm` with the
178
+ `requestId`. The supervisor routes it to the kitchen and the central
179
+ system automatically.
180
+ - On workflow close: `POST /api/live/close`.
181
+
182
+ If the supervisor is unreachable, skip silently — the flow continues
183
+ without the live screen.
184
+
165
185
  ## Closing the workflow
166
186
 
167
187
  After the human's final decision:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@javierfrancoleal/workflow-master",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Agentic-workflow trigger layer: listening mode that captures conversations, decodes the requests, and builds the workflow — automatic actions, proposals, and questions.",
5
5
  "author": "J.Franco",
6
6
  "license": "MIT",