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.
Files changed (62) hide show
  1. {workflow_coordinator-0.1.0b2/src/workflow_coordinator.egg-info → workflow_coordinator-0.1.0b3}/PKG-INFO +13 -13
  2. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/README.md +12 -12
  3. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/pyproject.toml +1 -1
  4. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/agent_skill/wfc/SKILL.md +42 -18
  5. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/agent_skill/wfc/references/commission.md +96 -32
  6. workflow_coordinator-0.1.0b3/src/workflow_coordinator/agent_skill/wfc/references/setup.md +255 -0
  7. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/agent_skill/wfc/references/stops-and-evidence.md +31 -13
  8. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/commissioning.py +82 -7
  9. workflow_coordinator-0.1.0b3/src/workflow_coordinator/evidence.py +955 -0
  10. workflow_coordinator-0.1.0b3/src/workflow_coordinator/evidence_supervisor.py +240 -0
  11. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/execution_boundary.py +342 -1
  12. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/execution_launcher.py +76 -0
  13. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/archive.py +13 -1
  14. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/audit.py +13 -2
  15. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/config.py +225 -82
  16. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/init.py +8 -3
  17. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/journal.py +36 -133
  18. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/lifecycle.py +551 -27
  19. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/plan.py +43 -16
  20. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/report.py +25 -0
  21. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/request.py +9 -3
  22. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/git_facts.py +89 -1
  23. workflow_coordinator-0.1.0b3/src/workflow_coordinator/hop_journal.py +1862 -0
  24. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/implementation_identity.py +1 -1
  25. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/model.py +65 -1
  26. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/operator.py +336 -35
  27. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/persistence.py +94 -0
  28. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/prompt.py +1 -0
  29. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/reducer.py +250 -11
  30. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/serialization.py +90 -8
  31. workflow_coordinator-0.1.0b3/src/workflow_coordinator/slice4.py +1115 -0
  32. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/vertical.py +210 -38
  33. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3/src/workflow_coordinator.egg-info}/PKG-INFO +13 -13
  34. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator.egg-info/SOURCES.txt +2 -0
  35. workflow_coordinator-0.1.0b2/src/workflow_coordinator/agent_skill/wfc/references/setup.md +0 -200
  36. workflow_coordinator-0.1.0b2/src/workflow_coordinator/evidence.py +0 -514
  37. workflow_coordinator-0.1.0b2/src/workflow_coordinator/slice4.py +0 -431
  38. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/LICENSE +0 -0
  39. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/setup.cfg +0 -0
  40. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/__init__.py +0 -0
  41. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/adapter.py +0 -0
  42. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/claude_adapter.py +0 -0
  43. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/codex_adapter.py +0 -0
  44. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/codex_adapter_smoke.py +0 -0
  45. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/__init__.py +0 -0
  46. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/cli.py +0 -0
  47. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/emit_request.py +0 -0
  48. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/postrun.py +0 -0
  49. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/prepare_checkout.py +0 -0
  50. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/preservation.py +0 -0
  51. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/skill.py +0 -0
  52. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/frontdoor/verify.py +0 -0
  53. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/proof_harness.py +0 -0
  54. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/resources/agent_operating_contract_v6.txt +0 -0
  55. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/resources/roles/reviewer.txt +0 -0
  56. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/resources/roles/simple-self-check.txt +0 -0
  57. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/resources/roles/worker.txt +0 -0
  58. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator/structured_result_schema.py +0 -0
  59. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator.egg-info/dependency_links.txt +0 -0
  60. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator.egg-info/entry_points.txt +0 -0
  61. {workflow_coordinator-0.1.0b2 → workflow_coordinator-0.1.0b3}/src/workflow_coordinator.egg-info/requires.txt +0 -0
  62. {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.0b2
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.0b2/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.0b2/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc): prerequisites and installation, then [Tutorial 1](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/docs/operator_manual/ch09_consumer_quickstart/02_first_run_example.adoc), [Tutorial 2](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/docs/operator_manual/ch09_consumer_quickstart/03_tutorial_program_change.adoc) and [Tutorial 3](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/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.0b2/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.0b2/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.0b2/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.0b2/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc#beta-limitations) and the [release notes](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/docs/release_notes/release_notes.adoc).
72
- - **Developer Guide** -- [setup, test selection and code navigation](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/docs/developer_guide/developer_guide.adoc).
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.0b2 is
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.0b2'`; this paragraph
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.0b2/docs/developer_guide/developer_guide.adoc).
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.0b2/project_memory/README.adoc), whose
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.0b2/docs/README.adoc) is the authoritative
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.0b2/docs/ai_info/_ai_info.adoc) provides the
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.0b2/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.0b2/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc): prerequisites and installation, then [Tutorial 1](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/docs/operator_manual/ch09_consumer_quickstart/02_first_run_example.adoc), [Tutorial 2](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/docs/operator_manual/ch09_consumer_quickstart/03_tutorial_program_change.adoc) and [Tutorial 3](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/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.0b2/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.0b2/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.0b2/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.0b2/docs/operator_manual/ch09_consumer_quickstart/01_quickstart.adoc#beta-limitations) and the [release notes](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/docs/release_notes/release_notes.adoc).
22
- - **Developer Guide** -- [setup, test selection and code navigation](https://github.com/StefanSchade/workflow-coordinator/blob/v0.1.0b2/docs/developer_guide/developer_guide.adoc).
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.0b2 is
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.0b2'`; this paragraph
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.0b2/docs/developer_guide/developer_guide.adoc).
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.0b2/project_memory/README.adoc), whose
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.0b2/docs/README.adoc) is the authoritative
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.0b2/docs/ai_info/_ai_info.adoc) provides the
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,
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "workflow-coordinator"
7
- version = "0.1.0b2"
7
+ version = "0.1.0b3"
8
8
  description = "Bounded repository-native agent workflow coordination."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -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 binding
45
- that differs from the role's committed `default_execution`. `--yes` asserts that
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 their
56
- committed role default: proceed with `--yes`, no further approval turn, report the
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. The scope ceiling in
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 role to a model the human did not approve, also after a stop (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. **The record.** `authority_source` names truthfully who authorized the Commission and
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
- 7. **The reserved go.** When the human keeps the launch decision, prepare everything,
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
- 8. **Own-worktree cleanup.** Not withheld by item 5: once a Run is archived and
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 role default is no ask (item 1).
146
- 5. Check the provider network (`references/setup.md`), then launch in that fresh
147
- checkout, task document and Consumer Request outside the repository:
148
- `wfc run --request ... --yes`.
149
- 6. Monitor with `wfc status` at a sensible interval, reading `CLASSIFICATION`, never the
150
- exit code: legitimate stops like `awaiting_human` exit non-zero too.
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 8), report what remains. On anything else,
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.0b2/docs/operator_manual/ch10_level1_orchestration/01_operating_pattern.adoc).
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.0b2/docs/operator_manual/ch02_commissioning/02_authoring.adoc),
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` or
38
- `robust@v1` (`direct@v1` is withheld). `--persona` is repeatable, one per
39
- required program role. `--durable-artifact PHASE=PATH` is `robust@v1` only.
40
- `--execution-override ROLE.FIELD=VALUE` adjusts one resolved binding field;
41
- `setup.md` holds the precedence and the YAML shape, and the same
42
- one-adapter/`--executable` rule applies at launch.
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
- ## `simple@v1` versus `robust@v1`
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
- review. Choose per package: a small, low-risk package is a reasonable
127
- `simple@v1` candidate; anything whose acceptance should rest on adversarial
128
- review belongs on `robust@v1`.
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 and
138
- within its bounds (at most four Hops per call, in total at most half the
139
- ceiling this Commission admitted) -- *an agent never extends a budget on its
140
- own* (`stops-and-evidence.md`). Plan the ceiling so you never need it.
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 first, in the same order, before any provider
169
- starts, as a mandatory pre-launch baseline probe: every command must already
170
- be committed, exit `0` on today's clean tree, and leave the tree and `HEAD`
171
- unchanged. A non-zero exit, an unresolvable executable, a timeout, or any
172
- tree mutation refuses the whole Run before launch (`refused_probe`), naming
173
- the command, and still consumes this checkout's one lifecycle. A
174
- non-zero-exit refusal prints a bounded, explicitly untrusted tail of the
175
- stdout/stderr it already captured -- still run the commands by hand in the
176
- fresh checkout, with any required environment already prepared, before ever
177
- launching, rather than relying on that tail alone. Diagnosing and correcting
178
- a correctable cause -- a missing declared input, a misplaced scratch
179
- directory -- and repeating the probe in a fresh checkout is ordinary
180
- preparation, not a decision that needs asking first; see
181
- `stops-and-evidence.md` for the full table.
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`.