@agimon-ai/po-workflow 0.0.0-alpha.123 → 0.0.0-alpha.124
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/README.md +20 -0
- package/dist/{RecoverWorkflowService-DhSyxVdq.mjs → RecoverWorkflowService-C60pnmub.mjs} +634 -398
- package/dist/RecoverWorkflowService-C60pnmub.mjs.map +1 -0
- package/dist/{RecoverWorkflowService-DP1ICYxa.cjs → RecoverWorkflowService-DJ9dzZmJ.cjs} +663 -397
- package/dist/RecoverWorkflowService-DJ9dzZmJ.cjs.map +1 -0
- package/dist/cli.cjs +10 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +10 -2
- package/dist/cli.mjs.map +1 -1
- package/dist/extensions/native.mjs +3 -0
- package/dist/extensions/native.mjs.map +1 -1
- package/dist/extensions/server.cjs +247 -53
- package/dist/extensions/server.cjs.map +1 -1
- package/dist/extensions/server.d.mts.map +1 -1
- package/dist/extensions/server.mjs +247 -53
- package/dist/extensions/server.mjs.map +1 -1
- package/dist/extensions/web.mjs +3 -0
- package/dist/extensions/web.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.mts +5 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{workflowLaunchCommand-Yf3Zq0VR.cjs → workflowLaunchCommand-Cm2_aoJ3.cjs} +15 -5
- package/dist/workflowLaunchCommand-Cm2_aoJ3.cjs.map +1 -0
- package/dist/{workflowLaunchCommand-CRLvhQre.mjs → workflowLaunchCommand-USS3q-Px.mjs} +15 -5
- package/dist/workflowLaunchCommand-USS3q-Px.mjs.map +1 -0
- package/package.json +8 -8
- package/src/prompts/codemode-how-to-workflow/SKILL.md +4 -4
- package/dist/RecoverWorkflowService-DP1ICYxa.cjs.map +0 -1
- package/dist/RecoverWorkflowService-DhSyxVdq.mjs.map +0 -1
- package/dist/workflowLaunchCommand-CRLvhQre.mjs.map +0 -1
- package/dist/workflowLaunchCommand-Yf3Zq0VR.cjs.map +0 -1
package/README.md
CHANGED
|
@@ -159,6 +159,26 @@ does not add to them. The path resolves relative to the declaring YAML and is in
|
|
|
159
159
|
`imports` as a default, like `tools`. A missing or unreadable file fails the step session rather than
|
|
160
160
|
running it without instructions. Shell steps and external Claude/Codex CLI runners ignore it.
|
|
161
161
|
|
|
162
|
+
## Explicit role allocation
|
|
163
|
+
|
|
164
|
+
For a workflow declaring `identity.roles`, first call `workflow.requirements({ workflowPath })`, then
|
|
165
|
+
launch with an exact `assignments` map from every required role to a stable profile reference. Roles
|
|
166
|
+
used together by one job, reachable child or repair triage must select the same reference. Saved teams,
|
|
167
|
+
a launch profile, environment variables and workflow inputs never fill missing assignments.
|
|
168
|
+
|
|
169
|
+
The slash equivalent is `/workflow-launch <workflow> assign.writer=<stable-ref>`. Public tools and
|
|
170
|
+
code mode accept assignments only, never provider bindings or an allocation snapshot. The launch
|
|
171
|
+
freezes the effective definition and provider evidence; retries, child execution, reload, resume and
|
|
172
|
+
recovery revalidate that evidence without reallocating. Legacy role-bound runs without a snapshot
|
|
173
|
+
must be launched fresh or repaired through the existing approved revision-checked repair path.
|
|
174
|
+
|
|
175
|
+
Allocated agent steps require managed in-process execution and a compatible `po-profile` admission
|
|
176
|
+
capability. Help and external agent execution are refused. Roleless phases in an allocated graph run
|
|
177
|
+
with no profile. Standalone CLI/background hosts cannot infer or carry trusted role allocations and
|
|
178
|
+
refuse inadmissible graphs before process registration or delegation. Roleless CLI workflows remain
|
|
179
|
+
supported. Allocations never grant product authority; the provider derives scope from trusted host
|
|
180
|
+
configuration.
|
|
181
|
+
|
|
162
182
|
## Launch and monitor
|
|
163
183
|
|
|
164
184
|
Core tools are:
|