workflow-coordinator 0.1.0b2__tar.gz → 0.1.0b3__tar.gz
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.
- {workflow_coordinator-0.1.0b2/src/workflow_coordinator.egg-info → workflow_coordinator-0.1.0b3}/PKG-INFO +13 -13
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/README.md +12 -12
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/pyproject.toml +1 -1
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/agent_skill/wfc/SKILL.md +42 -18
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/agent_skill/wfc/references/commission.md +96 -32
- workflow_coordinator-0.1.0b3/src/workflow_coordinator/agent_skill/wfc/references/setup.md +255 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/agent_skill/wfc/references/stops-and-evidence.md +31 -13
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/commissioning.py +82 -7
- workflow_coordinator-0.1.0b3/src/workflow_coordinator/evidence.py +955 -0
- workflow_coordinator-0.1.0b3/src/workflow_coordinator/evidence_supervisor.py +240 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/execution_boundary.py +342 -1
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/execution_launcher.py +76 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/archive.py +13 -1
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/audit.py +13 -2
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/config.py +225 -82
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/init.py +8 -3
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/journal.py +36 -133
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/lifecycle.py +551 -27
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/plan.py +43 -16
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/report.py +25 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/request.py +9 -3
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/git_facts.py +89 -1
- workflow_coordinator-0.1.0b3/src/workflow_coordinator/hop_journal.py +1862 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/implementation_identity.py +1 -1
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/model.py +65 -1
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/operator.py +336 -35
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/persistence.py +94 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/prompt.py +1 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/reducer.py +250 -11
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/serialization.py +90 -8
- workflow_coordinator-0.1.0b3/src/workflow_coordinator/slice4.py +1115 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/vertical.py +210 -38
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3/src/workflow_coordinator.egg-info}/PKG-INFO +13 -13
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator.egg-info/SOURCES.txt +2 -0
- workflow_coordinator-0.1.0b2/src/workflow_coordinator/agent_skill/wfc/references/setup.md +0 -200
- workflow_coordinator-0.1.0b2/src/workflow_coordinator/evidence.py +0 -514
- workflow_coordinator-0.1.0b2/src/workflow_coordinator/slice4.py +0 -431
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/LICENSE +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/setup.cfg +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/__init__.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/adapter.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/claude_adapter.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/codex_adapter.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/codex_adapter_smoke.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/__init__.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/cli.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/emit_request.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/postrun.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/prepare_checkout.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/preservation.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/skill.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/verify.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/proof_harness.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/resources/agent_operating_contract_v6.txt +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/resources/roles/reviewer.txt +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/resources/roles/simple-self-check.txt +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/resources/roles/worker.txt +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/structured_result_schema.py +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator.egg-info/dependency_links.txt +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator.egg-info/entry_points.txt +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator.egg-info/requires.txt +0 -0
- {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: workflow-coordinator
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0b3
|
|
4
4
|
Summary: Bounded repository-native agent workflow coordination.
|
|
5
5
|
Author: Stefan Schade
|
|
6
6
|
License: MIT License
|
|
@@ -64,16 +64,16 @@ workflows with explicit Git, evidence, authority, and human-stop boundaries.
|
|
|
64
64
|
|
|
65
65
|
## Where to start
|
|
66
66
|
|
|
67
|
-
- **See what WFC does** -- [the consumer overview](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
68
|
-
- **Run it yourself** -- [consumer quickstart](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
69
|
-
- **Let a coding agent operate it** -- [the Level-1 operating pattern](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
70
|
-
- **Operator Manual** -- [the full manual](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
71
|
-
- **Limitations / Release Notes** -- this Beta's [honest limitations](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
72
|
-
- **Developer Guide** -- [setup, test selection and code navigation](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
67
|
+
- **See what WFC does** -- [the consumer overview](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/00_overview.adoc): the demo workspace map and three tutorials of rising difficulty, each rehearsed offline before its live command pattern.
|
|
68
|
+
- **Run it yourself** -- [consumer quickstart](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc): prerequisites and installation, then [Tutorial 1](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/02_first_run_example.adoc), [Tutorial 2](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/03_tutorial_program_change.adoc) and [Tutorial 3](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/04_tutorial_stops.adoc).
|
|
69
|
+
- **Let a coding agent operate it** -- [the Level-1 operating pattern](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch10_level1_orchestration/_chapter.adoc): using an external Claude Code session to decompose a goal into bounded Commissions that WFC executes; [installing the agent skill](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc#quickstart-skill) gives such a session an explicit, invokable entry point.
|
|
70
|
+
- **Operator Manual** -- [the full manual](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/operator_manual.adoc): all ten chapters, including failure modes and recovery.
|
|
71
|
+
- **Limitations / Release Notes** -- this Beta's [honest limitations](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc#beta-limitations) and the [release notes](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/release_notes/release_notes.adoc).
|
|
72
|
+
- **Developer Guide** -- [setup, test selection and code navigation](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/developer_guide/developer_guide.adoc).
|
|
73
73
|
|
|
74
|
-
The supported package requires Python 3.10 or newer. Once 0.1.
|
|
74
|
+
The supported package requires Python 3.10 or newer. Once 0.1.0b3 is
|
|
75
75
|
published to PyPI, install the exact pre-release with
|
|
76
|
-
`python3 -m pip install 'workflow-coordinator==0.1.
|
|
76
|
+
`python3 -m pip install 'workflow-coordinator==0.1.0b3'`; this paragraph
|
|
77
77
|
describes that installable state without claiming the package has been
|
|
78
78
|
published yet. From a source checkout, install with
|
|
79
79
|
`python3 -m pip install .` instead -- the form developers of this
|
|
@@ -81,7 +81,7 @@ repository use. Either way, inspect the operator with `wfc --help`. Real
|
|
|
81
81
|
provider execution always requires separate consumer authority and is never
|
|
82
82
|
implied by installation.
|
|
83
83
|
|
|
84
|
-
For detailed setup, test selection and code navigation, see the [Developer Guide](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
84
|
+
For detailed setup, test selection and code navigation, see the [Developer Guide](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/developer_guide/developer_guide.adoc).
|
|
85
85
|
For development, install `python3 -m pip install '.[dev]'`. The small Makefile
|
|
86
86
|
provides `make test`, `make lint`, `make format-check`, `make check`,
|
|
87
87
|
`make coverage`, `make coverage-html`, and `make build`. Set `PYTHON` to the
|
|
@@ -93,7 +93,7 @@ unit tests. Use `make snapshot` (or `make snapshot-multi`) to create compact,
|
|
|
93
93
|
line-numbered WFC-prefixed repository snapshots in `build/snapshots/`; the output
|
|
94
94
|
includes a table of contents and a repository tree.
|
|
95
95
|
|
|
96
|
-
Project Memory lives in [`project_memory/`](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
96
|
+
Project Memory lives in [`project_memory/`](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/project_memory/README.adoc), whose
|
|
97
97
|
canonical JSON tables are authoritative. `make memory-export` renders them as an
|
|
98
98
|
ODS workbook; after editing it, `make memory-import` validates the converted
|
|
99
99
|
workbook and writes it back into the canonical JSON as ordinary working-tree
|
|
@@ -103,10 +103,10 @@ Memory promotion protocol. `make memory-roundtrip-check` is the independent
|
|
|
103
103
|
transformation invariant and writes neither canonical JSON nor the workbook;
|
|
104
104
|
`make memory-setup` installs the pinned maintainer-only spreadsheet tooling.
|
|
105
105
|
|
|
106
|
-
The [standalone authority index](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
106
|
+
The [standalone authority index](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/README.adoc) is the authoritative
|
|
107
107
|
classification of current documentation, executable surfaces, provenance,
|
|
108
108
|
history, and planning evidence. Start there before maintaining or operating the
|
|
109
|
-
project. The compact [task router](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
109
|
+
project. The compact [task router](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/ai_info/_ai_info.adoc) provides the
|
|
110
110
|
normal current-reading path for a specific task.
|
|
111
111
|
|
|
112
112
|
The installed `wfc --version --json` reports the executing package version,
|
|
@@ -14,16 +14,16 @@ workflows with explicit Git, evidence, authority, and human-stop boundaries.
|
|
|
14
14
|
|
|
15
15
|
## Where to start
|
|
16
16
|
|
|
17
|
-
- **See what WFC does** -- [the consumer overview](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
18
|
-
- **Run it yourself** -- [consumer quickstart](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
19
|
-
- **Let a coding agent operate it** -- [the Level-1 operating pattern](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
20
|
-
- **Operator Manual** -- [the full manual](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
21
|
-
- **Limitations / Release Notes** -- this Beta's [honest limitations](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
22
|
-
- **Developer Guide** -- [setup, test selection and code navigation](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
17
|
+
- **See what WFC does** -- [the consumer overview](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/00_overview.adoc): the demo workspace map and three tutorials of rising difficulty, each rehearsed offline before its live command pattern.
|
|
18
|
+
- **Run it yourself** -- [consumer quickstart](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc): prerequisites and installation, then [Tutorial 1](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/02_first_run_example.adoc), [Tutorial 2](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/03_tutorial_program_change.adoc) and [Tutorial 3](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/04_tutorial_stops.adoc).
|
|
19
|
+
- **Let a coding agent operate it** -- [the Level-1 operating pattern](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch10_level1_orchestration/_chapter.adoc): using an external Claude Code session to decompose a goal into bounded Commissions that WFC executes; [installing the agent skill](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc#quickstart-skill) gives such a session an explicit, invokable entry point.
|
|
20
|
+
- **Operator Manual** -- [the full manual](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/operator_manual.adoc): all ten chapters, including failure modes and recovery.
|
|
21
|
+
- **Limitations / Release Notes** -- this Beta's [honest limitations](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc#beta-limitations) and the [release notes](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/release_notes/release_notes.adoc).
|
|
22
|
+
- **Developer Guide** -- [setup, test selection and code navigation](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/developer_guide/developer_guide.adoc).
|
|
23
23
|
|
|
24
|
-
The supported package requires Python 3.10 or newer. Once 0.1.
|
|
24
|
+
The supported package requires Python 3.10 or newer. Once 0.1.0b3 is
|
|
25
25
|
published to PyPI, install the exact pre-release with
|
|
26
|
-
`python3 -m pip install 'workflow-coordinator==0.1.
|
|
26
|
+
`python3 -m pip install 'workflow-coordinator==0.1.0b3'`; this paragraph
|
|
27
27
|
describes that installable state without claiming the package has been
|
|
28
28
|
published yet. From a source checkout, install with
|
|
29
29
|
`python3 -m pip install .` instead -- the form developers of this
|
|
@@ -31,7 +31,7 @@ repository use. Either way, inspect the operator with `wfc --help`. Real
|
|
|
31
31
|
provider execution always requires separate consumer authority and is never
|
|
32
32
|
implied by installation.
|
|
33
33
|
|
|
34
|
-
For detailed setup, test selection and code navigation, see the [Developer Guide](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
34
|
+
For detailed setup, test selection and code navigation, see the [Developer Guide](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/developer_guide/developer_guide.adoc).
|
|
35
35
|
For development, install `python3 -m pip install '.[dev]'`. The small Makefile
|
|
36
36
|
provides `make test`, `make lint`, `make format-check`, `make check`,
|
|
37
37
|
`make coverage`, `make coverage-html`, and `make build`. Set `PYTHON` to the
|
|
@@ -43,7 +43,7 @@ unit tests. Use `make snapshot` (or `make snapshot-multi`) to create compact,
|
|
|
43
43
|
line-numbered WFC-prefixed repository snapshots in `build/snapshots/`; the output
|
|
44
44
|
includes a table of contents and a repository tree.
|
|
45
45
|
|
|
46
|
-
Project Memory lives in [`project_memory/`](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
46
|
+
Project Memory lives in [`project_memory/`](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/project_memory/README.adoc), whose
|
|
47
47
|
canonical JSON tables are authoritative. `make memory-export` renders them as an
|
|
48
48
|
ODS workbook; after editing it, `make memory-import` validates the converted
|
|
49
49
|
workbook and writes it back into the canonical JSON as ordinary working-tree
|
|
@@ -53,10 +53,10 @@ Memory promotion protocol. `make memory-roundtrip-check` is the independent
|
|
|
53
53
|
transformation invariant and writes neither canonical JSON nor the workbook;
|
|
54
54
|
`make memory-setup` installs the pinned maintainer-only spreadsheet tooling.
|
|
55
55
|
|
|
56
|
-
The [standalone authority index](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
56
|
+
The [standalone authority index](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/README.adoc) is the authoritative
|
|
57
57
|
classification of current documentation, executable surfaces, provenance,
|
|
58
58
|
history, and planning evidence. Start there before maintaining or operating the
|
|
59
|
-
project. The compact [task router](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
59
|
+
project. The compact [task router](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/ai_info/_ai_info.adoc) provides the
|
|
60
60
|
normal current-reading path for a specific task.
|
|
61
61
|
|
|
62
62
|
The installed `wfc --version --json` reports the executing package version,
|
|
@@ -35,15 +35,22 @@ where already authorized (`completed` alone authorizes none), cleanup of your ow
|
|
|
35
35
|
resources, a report of what remains. Technical preparation and continuation inside that
|
|
36
36
|
delegation are yours; every undelegated decision is the human's.
|
|
37
37
|
|
|
38
|
+
**Above both is the human.** Level 1 neither holds nor replaces an approval the human
|
|
39
|
+
must give: a commit, a `--yes` or an `authority_source` line records a decision, never
|
|
40
|
+
makes one. Inside a Run, Level 0 projects each Worker or Reviewer Hop its own bounded
|
|
41
|
+
authority -- scope, actions, routes, Finding rights -- which that Hop cannot widen: it
|
|
42
|
+
reports a `CommitIntent`, the Coordinator commits. Governance a Run reads is not
|
|
43
|
+
governance it may write (`references/commission.md`).
|
|
44
|
+
|
|
38
45
|
## Authorization
|
|
39
46
|
|
|
40
47
|
WFC's authority model as rules, neither looser nor stricter than implemented and
|
|
41
48
|
practised. This skill adds no approval step and no delegation object, file or flag of its
|
|
42
49
|
own to grant one.
|
|
43
50
|
|
|
44
|
-
1. **Authority facts.** The human decides scope, program, Hop budget and any
|
|
45
|
-
that differs from the
|
|
46
|
-
authorization; it never verifies the human gave it.
|
|
51
|
+
1. **Authority facts.** The human decides scope, program, Hop budget and any execution
|
|
52
|
+
binding that differs from the committed `default_execution`/`phase_execution`.
|
|
53
|
+
`--yes` asserts that authorization; it never verifies the human gave it.
|
|
47
54
|
2. **Initial authorization.** A decision covers exactly the facts it *states*: an
|
|
48
55
|
instruction stating only the task decides none of scope, program and Hop budget and
|
|
49
56
|
covers no launch. A value you derive or default to -- from the task, `wfc plan` or
|
|
@@ -52,25 +59,40 @@ own to grant one.
|
|
|
52
59
|
undecided facts only.
|
|
53
60
|
3. **Existing delegation.** A decision already made (task instruction, standing
|
|
54
61
|
instruction, approved decomposition) covers a launch whose scope, program and Hop
|
|
55
|
-
budget lie inside the facts it states, whose bindings are approved or match
|
|
56
|
-
committed
|
|
62
|
+
budget lie inside the facts it states, whose bindings are approved or match the
|
|
63
|
+
committed per-phase default: proceed with `--yes`, no further approval turn, report the
|
|
57
64
|
digests and what was launched. It covers every launch inside it and persists across
|
|
58
65
|
technical execution attempts, not only the first.
|
|
59
|
-
4. **Narrow reading.** Ambiguity is not delegation: ask.
|
|
66
|
+
4. **Narrow reading.** Ambiguity is not delegation: ask. Before asking, name which of
|
|
67
|
+
four things the undecided fact actually is: an actual limit item 5 never delegates, a
|
|
68
|
+
decision the human already gave (item 3), Level 1's own proposal or interpretation
|
|
69
|
+
(item 2), or a requirement this skill itself states (Preflight, `## Never`); ask only
|
|
70
|
+
when none of the first three already resolves it. The scope ceiling in
|
|
60
71
|
`.wfc/config.yaml` bounds a Commission; it does not approve one.
|
|
61
72
|
5. **Never delegated by a launch.** Each is a stop-and-ask, however routine it looks:
|
|
62
73
|
judging a stop's disposition; widening scope, authority, program or Hop budget, or
|
|
63
|
-
binding a
|
|
74
|
+
binding a phase to a model the human did not approve, also after a stop (a
|
|
64
75
|
budget-stopped Run's own `wfc extend-budget` included: it needs the maintainer's
|
|
65
76
|
explicit instruction in the current session); a push, tag, publication or
|
|
66
77
|
configuration change; a Runtime promotion or any change of the installed WFC version;
|
|
67
78
|
installing or reinstalling this skill; discarding a branch, worktree, stash or
|
|
68
79
|
preserved ref this session did not itself create for this task.
|
|
69
|
-
6. **
|
|
80
|
+
6. **A launch grants nothing by itself; an instruction already given is not re-asked.**
|
|
81
|
+
Starting, resuming or completing a Run never itself authorizes an item-5 act -- each
|
|
82
|
+
still needs the human's own explicit instruction. That instruction can already exist
|
|
83
|
+
-- a standing instruction, an approved decomposition, or this session's own earlier
|
|
84
|
+
words covering the later act, such as a necessary follow-up step an authorized task
|
|
85
|
+
already requires or an extension a stated delegation already covers -- and then needs
|
|
86
|
+
no second ask when the later act actually falls inside what was said. Trace such
|
|
87
|
+
consequences when the task is accepted and raise every genuinely undecided one
|
|
88
|
+
together, not one at a time as each is reached. An item-5 act the human never actually
|
|
89
|
+
addressed stays a new ask, however strongly the broader goal seems to need it: Level
|
|
90
|
+
1's own judgement that it is probably wanted is never the human's decision.
|
|
91
|
+
7. **The record.** `authority_source` names truthfully who authorized the Commission and
|
|
70
92
|
by which instruction.
|
|
71
|
-
|
|
93
|
+
8. **The reserved go.** When the human keeps the launch decision, prepare everything,
|
|
72
94
|
hand over the exact `wfc run` command and wait for the instruction to launch.
|
|
73
|
-
|
|
95
|
+
9. **Own-worktree cleanup.** Not withheld by item 5: once a Run is archived and
|
|
74
96
|
integrated or otherwise dispositioned, remove the worktree and scratch directory this
|
|
75
97
|
session itself created for it, without a further ask.
|
|
76
98
|
|
|
@@ -142,16 +164,18 @@ decision.
|
|
|
142
164
|
standing instruction, an approved decomposition -- that state scope, program and Hop
|
|
143
165
|
budget. Any they do not state is undecided: ask once, for all of them together (item
|
|
144
166
|
2). All three stated: launch with no further approval turn (item 3); a binding at its
|
|
145
|
-
committed
|
|
146
|
-
5.
|
|
147
|
-
checkout, task
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
exit code: legitimate stops like
|
|
167
|
+
committed per-phase default is no ask (item 1).
|
|
168
|
+
5. Before the first `wfc run`, complete *Launch readiness* in `references/commission.md`.
|
|
169
|
+
From that checkout, with task and request outside: `wfc run --request REQUEST --executable PROVIDER --yes`.
|
|
170
|
+
6. Monitor with `wfc status` at a sensible interval -- about 15 minutes by default,
|
|
171
|
+
adjustable to what the human asks, never a one-minute poll that spends context on no
|
|
172
|
+
new fact -- reading `CLASSIFICATION`, never the exit code: legitimate stops like
|
|
173
|
+
`awaiting_human` exit non-zero too. A monitor or this session can stop before the Run
|
|
174
|
+
does; on return, re-read `wfc status` instead of assuming either is still active.
|
|
151
175
|
7. On `completed`, render with `wfc report`, verify independently against the declared
|
|
152
176
|
scope and the review verdict, and check the Evidence was archived -- never archive it
|
|
153
177
|
again. Integrate only where the delegation covers it, remove this Run's own worktree
|
|
154
|
-
and scratch directory (Authorization item
|
|
178
|
+
and scratch directory (Authorization item 9), report what remains. On anything else,
|
|
155
179
|
`references/stops-and-evidence.md`: act on your own wherever its table says so; bring
|
|
156
180
|
the human only a stop that genuinely needs a new authorization decision.
|
|
157
181
|
|
|
@@ -191,4 +215,4 @@ they do not describe, the CLI and this skill are right and the page is merely ol
|
|
|
191
215
|
Never read a pinned page as documenting a newer function, or claim it does.
|
|
192
216
|
|
|
193
217
|
The wider pattern, as released with v0.1.0b1:
|
|
194
|
-
[the Level-1 operating pattern](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
218
|
+
[the Level-1 operating pattern](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch10_level1_orchestration/01_operating_pattern.adoc).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Commission authoring
|
|
2
2
|
|
|
3
3
|
Distils Operator Manual chapter 2,
|
|
4
|
-
[Commission authoring](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.
|
|
4
|
+
[Commission authoring](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b3/docs/operator_manual/ch02_commissioning/02_authoring.adoc),
|
|
5
5
|
as released with v0.1.0b1.
|
|
6
6
|
|
|
7
7
|
## Task document
|
|
@@ -15,6 +15,18 @@ Consumer Request's `guidance.path` from Git history at a pinned commit, never
|
|
|
15
15
|
from the working tree, so the guidance file must already exist and be
|
|
16
16
|
committed before planning.
|
|
17
17
|
|
|
18
|
+
Every versioned input is read from Git, not the working tree: `wfc run`
|
|
19
|
+
commits the compiled bundle, then re-reads the Consumer Request, the Consumer
|
|
20
|
+
Config, every compiled file (work item, profile, policy, components, task)
|
|
21
|
+
and the guidance at that Commission commit -- the guidance also at its own
|
|
22
|
+
pinned `source_commit` -- and refuses unless all of them match.
|
|
23
|
+
The Consumer Config must therefore be committed there: an untracked or
|
|
24
|
+
ignored working-tree copy (under `tmp/`, say) passes authorization, then
|
|
25
|
+
fails post-commit verification as `inconsistent`, lifecycle already spent.
|
|
26
|
+
Neither the task document nor the emitted request is yours to commit: both
|
|
27
|
+
are authored outside the repository (`wfc run --request`), and the bundle
|
|
28
|
+
`wfc run` commits carries their compiled form.
|
|
29
|
+
|
|
18
30
|
## `wfc plan` preview
|
|
19
31
|
|
|
20
32
|
Entirely read-only: no project command, provider, Commission write or Git
|
|
@@ -34,12 +46,12 @@ wfc plan task.md --repository . \
|
|
|
34
46
|
```
|
|
35
47
|
|
|
36
48
|
`--scope` is repeatable: a bounded, file-exact (or deliberately
|
|
37
|
-
directory-scoped) mutation boundary. `--program` is `simple@v1`
|
|
38
|
-
`robust@
|
|
39
|
-
required program role. `--durable-artifact PHASE=PATH` is `robust@v1` only.
|
|
40
|
-
`--execution-
|
|
41
|
-
|
|
42
|
-
one-adapter/`--executable` rule
|
|
49
|
+
directory-scoped) mutation boundary. `--program` is `simple@v1`, `robust@v1`
|
|
50
|
+
or `robust@v2` (`direct@v1` is withheld). `--persona` is repeatable, one per
|
|
51
|
+
required program role. `--durable-artifact PHASE=PATH` is `robust@v1`/`robust@v2` only.
|
|
52
|
+
`--execution-default FIELD=VALUE` (Run-wide) and `--execution-override
|
|
53
|
+
PHASE.FIELD=VALUE` (one phase) adjust a binding field; `setup.md` holds
|
|
54
|
+
precedence and shape, with the same one-adapter/`--executable` rule at launch.
|
|
43
55
|
|
|
44
56
|
The evidence flags declare an **ordered sequence of named commands**:
|
|
45
57
|
`--evidence-command NAME` opens a gate, and the `--evidence-argv TOKEN`
|
|
@@ -106,7 +118,10 @@ of its own.
|
|
|
106
118
|
combined with any of them it stops the Run mechanically before task-check
|
|
107
119
|
and review, and the candidate then needs salvage and a successor. Say in
|
|
108
120
|
the task text that a stale or out-of-scope statement the work uncovers is
|
|
109
|
-
reported as a note in a `completed` result.
|
|
121
|
+
reported as a note in a `completed` result. Stating this is necessary
|
|
122
|
+
preparation, not a proven remedy -- a Worker may still combine them; expect
|
|
123
|
+
the stop and work it through `stops-and-evidence.md`'s recovery table
|
|
124
|
+
rather than treat repeating the instruction as having fixed it.
|
|
110
125
|
|
|
111
126
|
## Scope and the scope ceiling
|
|
112
127
|
|
|
@@ -116,16 +131,35 @@ individually, never implied by a sibling directory. A Commission that moves
|
|
|
116
131
|
or deletes many files must list every directory or file holding a link into
|
|
117
132
|
the moved paths -- an unlisted consumer stops the Run after the work is
|
|
118
133
|
done. Derive that list mechanically: search the repository for the statement
|
|
119
|
-
or path the work retires, before launching.
|
|
134
|
+
or path the work retires, before launching. The same tracing applies to a
|
|
135
|
+
behaviour change that is not a move or delete: search for every caller and
|
|
136
|
+
coupled test the change affects, not only a retired phrase or path, before
|
|
137
|
+
fixing the scope.
|
|
138
|
+
|
|
139
|
+
Governance is readable, never writable, from inside a Run: the bundle, the
|
|
140
|
+
policy and the guidance file are in every Hop's checkout, but compilation
|
|
141
|
+
refuses a scope path at or inside the governance directory or the guidance
|
|
142
|
+
path, and admission refuses a phase whose authorized scope overlaps the
|
|
143
|
+
policy's governance paths. Changing governance is the maintainer's own commit.
|
|
120
144
|
|
|
121
|
-
##
|
|
145
|
+
## Program and model choices
|
|
122
146
|
|
|
123
147
|
`simple@v1`: a sole Worker self-checks and the Coordinator runs the evidence
|
|
124
148
|
sequence; no independent review/correction loop. `robust@v1`: fresh
|
|
125
|
-
independent review and, when warranted, correction and renewed broad
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
149
|
+
independent review and, when warranted, correction and renewed broad review.
|
|
150
|
+
`robust@v2`: like `robust@v1`, but `implement` and `correct` each also run
|
|
151
|
+
the evidence sequence; a failure there routes into a bounded,
|
|
152
|
+
Coordinator-reserved repair Hop of the same phase (never a route you request,
|
|
153
|
+
and charged against the Hop budget like any Hop -- size it for that) before
|
|
154
|
+
any reviewer runs, and a check that could not answer (a timeout or a signal,
|
|
155
|
+
not a clean failure) leaves the Hop pending for an explicit `wfc resume`
|
|
156
|
+
rather than stopping it (`stops-and-evidence.md`). Prefer `robust@v2` once
|
|
157
|
+
the repository's own deterministic gates are a signal the Worker should meet
|
|
158
|
+
before the reviewer, not only after it. For small, low-risk tasks, consider
|
|
159
|
+
`simple@v1` and inexpensive models as a starting point. Justify proposing
|
|
160
|
+
`robust@v1`/`robust@v2` or expensive frontier models by the task's risk,
|
|
161
|
+
complexity or assurance needs. Keep the human-authorized program and model
|
|
162
|
+
bindings unless the human authorizes a change.
|
|
129
163
|
|
|
130
164
|
## Hop budget
|
|
131
165
|
|
|
@@ -134,10 +168,11 @@ estimate of expected Run length -- the single most commonly misapplied
|
|
|
134
168
|
piece of operator judgment. A too-tight ceiling converts healthy
|
|
135
169
|
review/correction convergence into an unnecessary `awaiting_human_budget`
|
|
136
170
|
stop. Such a Run can be continued in place with `wfc extend-budget`, but
|
|
137
|
-
only on the maintainer's explicit instruction in the current session
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
171
|
+
only on the maintainer's explicit instruction in the current session --
|
|
172
|
+
already given counts, a launch never substitutes for it -- and within its
|
|
173
|
+
bounds (at most four Hops per call, in total at most half the ceiling this
|
|
174
|
+
Commission admitted) -- *an agent never extends a budget on its own*
|
|
175
|
+
(`stops-and-evidence.md`). Plan the ceiling so you never need it.
|
|
141
176
|
|
|
142
177
|
Budget from convergence actually observed in this repository -- its own
|
|
143
178
|
operator notes are where such figures belong -- not from the expected count,
|
|
@@ -146,6 +181,23 @@ retire-heavy change that removes a mechanism, its tests and the statements
|
|
|
146
181
|
about it across documents). A figure measured once in one repository is an
|
|
147
182
|
observation, not a rule for the next.
|
|
148
183
|
|
|
184
|
+
## Qualifying a new environment
|
|
185
|
+
|
|
186
|
+
Boundary and environment are stable, versioned repository facts -- `boundary:`
|
|
187
|
+
and the committed hook change only by the maintainer's own commit -- while
|
|
188
|
+
scope, program and Hop budget are each Commission's own human-authorized
|
|
189
|
+
grant. Widening either needs express authorization; there is no resources or
|
|
190
|
+
mounts DSL to declare a grant in. Under `bubblewrap` a Hop's writable paths
|
|
191
|
+
are derived from its authorized scope alone; under `direct` nothing is
|
|
192
|
+
confined and the post-Hop scope check is what holds the work inside it.
|
|
193
|
+
|
|
194
|
+
For a first setup, or after a material boundary or toolchain change,
|
|
195
|
+
*consider proposing* -- a recommendation, never an admission step -- one
|
|
196
|
+
bounded `simple@v1` Commission whose work is a real provider invocation
|
|
197
|
+
attempting the operations the maintainer picked as representative, recording
|
|
198
|
+
what each needed and under what conditions. It qualifies only what it tried:
|
|
199
|
+
no perfect isolation, no automatic qualification of an untried stack.
|
|
200
|
+
|
|
149
201
|
## The evidence commands and their baseline probe
|
|
150
202
|
|
|
151
203
|
A Commission declares an **ordered sequence of named trusted commands**, each
|
|
@@ -165,17 +217,29 @@ wrapper script) is still admitted as the degenerate one-element sequence, but
|
|
|
165
217
|
it is no longer the rule: it reports one exit code for every gate and cannot
|
|
166
218
|
fail fast at the cheap one.
|
|
167
219
|
|
|
168
|
-
The identical sequence runs
|
|
169
|
-
starts
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
`
|
|
220
|
+
The identical sequence runs as a mandatory baseline probe before any provider
|
|
221
|
+
starts. Every command must already be committed. A failed, missing or timed-out
|
|
222
|
+
command, or a tree mutation, yields `refused_probe` and consumes the lifecycle.
|
|
223
|
+
A non-zero exit prints a bounded, untrusted stdout/stderr tail. Correcting a
|
|
224
|
+
missing input or misplaced scratch directory and retrying in a fresh checkout
|
|
225
|
+
is ordinary preparation. See `stops-and-evidence.md` for the full table.
|
|
226
|
+
|
|
227
|
+
## Launch readiness
|
|
228
|
+
|
|
229
|
+
Before the first `wfc run` in each checkout, check every prerequisite you can without consuming its
|
|
230
|
+
lifecycle. Use the actual launch shell, permissions and environment. Use the same absolute installed
|
|
231
|
+
`wfc` for status, preview and launch. Resolve failures under existing authorization before launching.
|
|
232
|
+
|
|
233
|
+
1. In the checkout root, source `launch-env.sh`. Check `PATH`, writable external `TMPDIR`,
|
|
234
|
+
hook inputs, `git status --porcelain` (empty), *Git identity and filters* in `setup.md`,
|
|
235
|
+
and `wfc status --repository .` (`no_lifecycle`).
|
|
236
|
+
2. Check `--version --json` against the Runtime used for the authorized preview. Repeat `wfc plan`
|
|
237
|
+
with the request inputs and launch overrides here. Match the authorized envelope digest and
|
|
238
|
+
effective adapter, model and reasoning by phase.
|
|
239
|
+
3. Explicitly match `--executable` to the effective adapter (`codex` for `codex_cli`, `claude` for
|
|
240
|
+
`claude_cli`). Verify wrappers target that CLI. Resolve the name with `command -v PROVIDER` or
|
|
241
|
+
check the explicit path with `test -f "PROVIDER_PATH" && test -x "PROVIDER_PATH"`. Run its
|
|
242
|
+
`--version`, confirm existing authentication without inspecting credentials, and follow *Tool network* in `setup.md`.
|
|
243
|
+
4. Resolve the declared evidence tools. Run each exact argv in plan order. Require exit `0`,
|
|
244
|
+
unchanged `HEAD` and a still-clean tree.
|
|
245
|
+
5. If enabled, complete *Bubblewrap readiness* in `setup.md`.
|