specromancy-engine 0.1.3__tar.gz → 0.1.4__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 (106) hide show
  1. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/MANIFEST.in +1 -4
  2. {specromancy_engine-0.1.3/src/specromancy_engine.egg-info → specromancy_engine-0.1.4}/PKG-INFO +24 -26
  3. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/README.md +9 -11
  4. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/README.md +3 -3
  5. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/guides/authoring-pipelines.md +62 -27
  6. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/guides/distribution-verification.md +26 -13
  7. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/guides/harnesses.md +35 -16
  8. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/guides/installation.md +10 -10
  9. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/reference/architecture.md +25 -34
  10. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/reference/cli.md +34 -19
  11. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/reference/contracts.md +163 -100
  12. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/reference/harness-compatibility.md +15 -12
  13. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/examples/release-documentation/README.md +11 -8
  14. specromancy_engine-0.1.4/examples/release-documentation/workflow/adapters.toml +2 -0
  15. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/examples/release-documentation/workflow/pipelines/release-documentation.toml +7 -3
  16. {specromancy_engine-0.1.3/examples/release-documentation/.agents → specromancy_engine-0.1.4/examples/release-documentation/workflow}/skills/draft-release-notes/SKILL.md +1 -1
  17. {specromancy_engine-0.1.3/examples/release-documentation/.agents → specromancy_engine-0.1.4/examples/release-documentation/workflow}/skills/review-release-notes/SKILL.md +1 -1
  18. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/pyproject.toml +2 -2
  19. specromancy_engine-0.1.4/src/specromancy_engine/_adapters/adapter_config.py +46 -0
  20. specromancy_engine-0.1.4/src/specromancy_engine/_adapters/adapter_contracts.py +114 -0
  21. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_adapters/adapter_ownership.py +105 -88
  22. specromancy_engine-0.1.4/src/specromancy_engine/_adapters/adapter_rendering.py +166 -0
  23. specromancy_engine-0.1.4/src/specromancy_engine/_adapters/adapter_sources.py +188 -0
  24. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_cli/cli_commands.py +11 -1
  25. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_config/config_fields.py +33 -34
  26. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_config/config_loader.py +26 -56
  27. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_config/config_models.py +3 -13
  28. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_config/config_phase_parser.py +46 -116
  29. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_config/config_serialization.py +3 -1
  30. specromancy_engine-0.1.4/src/specromancy_engine/_config/skill_sources.py +150 -0
  31. specromancy_engine-0.1.4/src/specromancy_engine/_engine/approval_service.py +326 -0
  32. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_engine/approvals.py +126 -48
  33. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_engine/provenance.py +23 -0
  34. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_engine/responses.py +2 -2
  35. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_engine/validation_service.py +20 -14
  36. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_runs/run_records.py +18 -8
  37. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_runs/run_validation.py +3 -6
  38. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/actions.py +17 -2
  39. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/adapters.py +21 -17
  40. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/artifacts.py +0 -4
  41. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/cli.py +8 -13
  42. specromancy_engine-0.1.4/src/specromancy_engine/config.py +13 -0
  43. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/contracts.py +1 -0
  44. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/engine.py +35 -90
  45. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/exit_codes.py +0 -15
  46. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/git.py +0 -4
  47. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/hashing.py +0 -11
  48. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/locking.py +0 -3
  49. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/registry.py +63 -15
  50. specromancy_engine-0.1.4/src/specromancy_engine/resources/adapters/command-claude.md +8 -0
  51. specromancy_engine-0.1.4/src/specromancy_engine/resources/adapters/command-copilot.md +10 -0
  52. specromancy_engine-0.1.4/src/specromancy_engine/resources/adapters/command-opencode.md +7 -0
  53. specromancy_engine-0.1.4/src/specromancy_engine/resources/adapters/instructions.md +4 -0
  54. specromancy_engine-0.1.4/src/specromancy_engine/resources/adapters/launch.md +16 -0
  55. specromancy_engine-0.1.4/src/specromancy_engine/resources/adapters/orchestrator.md +33 -0
  56. specromancy_engine-0.1.4/src/specromancy_engine/resources/adapters/phase.md +11 -0
  57. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/run_store.py +36 -72
  58. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/schema_validation.py +3 -3
  59. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/schemas/pipeline.schema.json +16 -13
  60. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/schemas/run.schema.json +10 -3
  61. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/status.py +36 -12
  62. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/validation.py +1 -9
  63. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4/src/specromancy_engine.egg-info}/PKG-INFO +24 -26
  64. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine.egg-info/SOURCES.txt +13 -4
  65. specromancy_engine-0.1.3/examples/release-documentation/.agents/skills/pipeline/SKILL.md +0 -44
  66. specromancy_engine-0.1.3/src/specromancy_engine/_adapters/adapter_contracts.py +0 -81
  67. specromancy_engine-0.1.3/src/specromancy_engine/_adapters/adapter_rendering.py +0 -218
  68. specromancy_engine-0.1.3/src/specromancy_engine/_adapters/adapter_sources.py +0 -140
  69. specromancy_engine-0.1.3/src/specromancy_engine/_engine/approval_service.py +0 -278
  70. specromancy_engine-0.1.3/src/specromancy_engine/config.py +0 -63
  71. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/LICENSE +0 -0
  72. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/build_readme.py +0 -0
  73. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/docs/guides/releasing.md +0 -0
  74. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/examples/release-documentation/.gitignore +0 -0
  75. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/examples/release-documentation/sample-changes.md +0 -0
  76. /specromancy_engine-0.1.3/examples/release-documentation/AGENTS.md → /specromancy_engine-0.1.4/examples/release-documentation/workflow/instructions.md +0 -0
  77. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/examples/release-documentation/workflow/pipelines.toml +0 -0
  78. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/examples/release-documentation/workflow/templates/release-notes.md +0 -0
  79. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/examples/release-documentation/workflow/templates/review.md +0 -0
  80. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/setup.cfg +0 -0
  81. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/setup.py +0 -0
  82. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/__init__.py +0 -0
  83. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/__main__.py +0 -0
  84. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_adapters/__init__.py +0 -0
  85. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_cli/__init__.py +0 -0
  86. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_cli/pipeline_selection.py +0 -0
  87. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_config/__init__.py +0 -0
  88. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_config/config_errors.py +0 -0
  89. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_engine/__init__.py +0 -0
  90. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_engine/command_decisions.py +0 -0
  91. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_engine/engine_errors.py +0 -0
  92. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_runs/__init__.py +0 -0
  93. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_runs/run_errors.py +0 -0
  94. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_runs/run_identity.py +0 -0
  95. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_runs/run_persistence.py +0 -0
  96. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_runs/visit_preparation.py +0 -0
  97. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_runs/visit_transitions.py +0 -0
  98. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/_version.py +0 -0
  99. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/commands.py +0 -0
  100. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/errors.py +0 -0
  101. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/graph.py +0 -0
  102. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/schemas/event.schema.json +0 -0
  103. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine/schemas/pipelines.schema.json +0 -0
  104. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine.egg-info/dependency_links.txt +0 -0
  105. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine.egg-info/entry_points.txt +0 -0
  106. {specromancy_engine-0.1.3 → specromancy_engine-0.1.4}/src/specromancy_engine.egg-info/top_level.txt +0 -0
@@ -3,19 +3,16 @@ global-exclude *
3
3
  include pyproject.toml MANIFEST.in README.md LICENSE setup.py build_readme.py
4
4
  recursive-include src/specromancy_engine *.py
5
5
  include src/specromancy_engine/schemas/*.json
6
+ include src/specromancy_engine/resources/adapters/*.md
6
7
  include src/specromancy_engine.egg-info/PKG-INFO
7
8
  include src/specromancy_engine.egg-info/SOURCES.txt
8
9
  include src/specromancy_engine.egg-info/dependency_links.txt
9
10
  include src/specromancy_engine.egg-info/entry_points.txt
10
11
  include src/specromancy_engine.egg-info/top_level.txt
11
12
  include examples/release-documentation/README.md
12
- include examples/release-documentation/AGENTS.md
13
13
  include examples/release-documentation/.gitignore
14
14
  include examples/release-documentation/sample-changes.md
15
15
  recursive-include examples/release-documentation/workflow *.toml *.md
16
- include examples/release-documentation/.agents/skills/pipeline/SKILL.md
17
- include examples/release-documentation/.agents/skills/draft-release-notes/SKILL.md
18
- include examples/release-documentation/.agents/skills/review-release-notes/SKILL.md
19
16
  include docs/README.md
20
17
  recursive-include docs/guides *.md
21
18
  recursive-include docs/reference *.md
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: specromancy-engine
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Harness-agnostic agentic pipeline framework
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://github.com/PavelGolitsyn/specromancy-engine
7
- Project-URL: Documentation, https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/README.md
7
+ Project-URL: Documentation, https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/README.md
8
8
  Project-URL: Issues, https://github.com/PavelGolitsyn/specromancy-engine/issues
9
9
  Requires-Python: >=3.11
10
10
  Description-Content-Type: text/markdown
@@ -65,10 +65,9 @@ use its exact output path, skill, mutation policy, and final validation command.
65
65
  Runtime data is written only under ignored `.specromancy/runs/` storage.
66
66
 
67
67
  The `specromancy-engine` package provides the `specromancy` console
68
- command and `python -m specromancy_engine`. The checkout wrappers
69
- `bin/specromancy` and `adapters/generate.py` also work without installation as
70
- producer-checkout conveniences. Consumers install the dependency; they do not
71
- copy engine source or launchers into their projects.
68
+ command and `python -m specromancy_engine`. The checkout launcher
69
+ `bin/specromancy` also works without installation. Consumer projects use the
70
+ installed package.
72
71
  Python consumers import `specromancy_engine`. Run and event formats use schema
73
72
  version 1. See the [public contracts][contracts] for supported
74
73
  interfaces, persistence, and ownership rules.
@@ -81,11 +80,10 @@ Adapters generate a `specromancy-<id>` launch skill for each registration.
81
80
  The editable graphs and shared artifact templates live in [`workflow/`][workflow-directory].
82
81
  These top-level resources configure this repository's own development workflow;
83
82
  they are not automatically installed consumer defaults.
84
- Phase procedures live in [`.agents/skills/`][skills-directory] for native harness
85
- discovery, and repository-wide agent constraints live in [`AGENTS.md`][agent-instructions].
86
- The Python package under `src/specromancy_engine/` is the generic engine, not a workflow
87
- customization surface. Start with the
88
- [`workflow/README.md`][workflow-guide] customization map.
83
+ Author phase procedures in [`workflow/skills/`][skills-directory] and repository
84
+ constraints in [`workflow/instructions.md`][agent-instructions]. Choose your harnesses in `workflow/adapters.toml`, then run
85
+ `specromancy adapters generate` to create their discovery files.
86
+ See the [workflow customization map][workflow-guide] for the authoring layout.
89
87
 
90
88
  ## Documentation
91
89
 
@@ -105,18 +103,18 @@ pipeline versions, provide remote storage or distributed locking, authenticate
105
103
  approvers, or implement parallel graph joins. See the architecture document for
106
104
  the complete limitations and safety boundary.
107
105
 
108
- [installation]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/guides/installation.md
109
- [consumer-example]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/examples/release-documentation/README.md
110
- [contracts]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/reference/contracts.md
111
- [workflow-directory]: https://github.com/PavelGolitsyn/specromancy-engine/tree/v0.1.3/workflow
112
- [skills-directory]: https://github.com/PavelGolitsyn/specromancy-engine/tree/v0.1.3/.agents/skills
113
- [agent-instructions]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/AGENTS.md
114
- [workflow-guide]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/workflow/README.md
115
- [documentation]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/README.md
116
- [distribution-verification]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/guides/distribution-verification.md
117
- [releasing]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/guides/releasing.md
118
- [architecture]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/reference/architecture.md
119
- [cli]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/reference/cli.md
120
- [pipeline-authoring]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/guides/authoring-pipelines.md
121
- [harnesses]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/guides/harnesses.md
122
- [history]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.3/docs/implementation-history/README.md
106
+ [installation]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/guides/installation.md
107
+ [consumer-example]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/examples/release-documentation/README.md
108
+ [contracts]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/reference/contracts.md
109
+ [workflow-directory]: https://github.com/PavelGolitsyn/specromancy-engine/tree/v0.1.4/workflow
110
+ [skills-directory]: https://github.com/PavelGolitsyn/specromancy-engine/tree/v0.1.4/workflow/skills
111
+ [agent-instructions]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/workflow/instructions.md
112
+ [workflow-guide]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/workflow/README.md
113
+ [documentation]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/README.md
114
+ [distribution-verification]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/guides/distribution-verification.md
115
+ [releasing]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/guides/releasing.md
116
+ [architecture]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/reference/architecture.md
117
+ [cli]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/reference/cli.md
118
+ [pipeline-authoring]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/guides/authoring-pipelines.md
119
+ [harnesses]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/guides/harnesses.md
120
+ [history]: https://github.com/PavelGolitsyn/specromancy-engine/blob/v0.1.4/docs/implementation-history/README.md
@@ -49,10 +49,9 @@ use its exact output path, skill, mutation policy, and final validation command.
49
49
  Runtime data is written only under ignored `.specromancy/runs/` storage.
50
50
 
51
51
  The `specromancy-engine` package provides the `specromancy` console
52
- command and `python -m specromancy_engine`. The checkout wrappers
53
- `bin/specromancy` and `adapters/generate.py` also work without installation as
54
- producer-checkout conveniences. Consumers install the dependency; they do not
55
- copy engine source or launchers into their projects.
52
+ command and `python -m specromancy_engine`. The checkout launcher
53
+ `bin/specromancy` also works without installation. Consumer projects use the
54
+ installed package.
56
55
  Python consumers import `specromancy_engine`. Run and event formats use schema
57
56
  version 1. See the [public contracts][contracts] for supported
58
57
  interfaces, persistence, and ownership rules.
@@ -65,11 +64,10 @@ Adapters generate a `specromancy-<id>` launch skill for each registration.
65
64
  The editable graphs and shared artifact templates live in [`workflow/`][workflow-directory].
66
65
  These top-level resources configure this repository's own development workflow;
67
66
  they are not automatically installed consumer defaults.
68
- Phase procedures live in [`.agents/skills/`][skills-directory] for native harness
69
- discovery, and repository-wide agent constraints live in [`AGENTS.md`][agent-instructions].
70
- The Python package under `src/specromancy_engine/` is the generic engine, not a workflow
71
- customization surface. Start with the
72
- [`workflow/README.md`][workflow-guide] customization map.
67
+ Author phase procedures in [`workflow/skills/`][skills-directory] and repository
68
+ constraints in [`workflow/instructions.md`][agent-instructions]. Choose your harnesses in `workflow/adapters.toml`, then run
69
+ `specromancy adapters generate` to create their discovery files.
70
+ See the [workflow customization map][workflow-guide] for the authoring layout.
73
71
 
74
72
  ## Documentation
75
73
 
@@ -93,8 +91,8 @@ the complete limitations and safety boundary.
93
91
  [consumer-example]: examples/release-documentation/README.md
94
92
  [contracts]: docs/reference/contracts.md
95
93
  [workflow-directory]: workflow/
96
- [skills-directory]: .agents/skills/
97
- [agent-instructions]: AGENTS.md
94
+ [skills-directory]: workflow/skills/
95
+ [agent-instructions]: workflow/instructions.md
98
96
  [workflow-guide]: workflow/README.md
99
97
  [documentation]: docs/README.md
100
98
  [distribution-verification]: docs/guides/distribution-verification.md
@@ -29,9 +29,9 @@ use the references and guides above for current behavior.
29
29
  | `src/specromancy_engine/_cli/` | Private command metadata and pipeline selection |
30
30
  | `src/specromancy_engine/schemas/` | Published JSON schemas |
31
31
  | `bin/` | Executable launcher |
32
- | `workflow/` | This repository's configured development registry, graphs, and templates |
33
- | `.agents/skills/` | This repository's canonical procedures and manifest-owned launch skills |
34
- | `adapters/` | Generation entry point and generated-file ownership manifest |
32
+ | `workflow/` | This repository's instructions, registered development graphs, phase procedures, and templates |
33
+ | `AGENTS.md`, `.agents/skills/` | Manifest-owned repository instructions, phase wrappers and launch skills |
34
+ | `adapters/manifest.json` | Generated-file ownership manifest |
35
35
  | `.claude/`, `.github/`, `.opencode/` | Harness discovery files owned by the adapter manifest |
36
36
  | `tests/engine/` | Engine unit/contract tests, evaluations, and test-owned fixtures |
37
37
  | `tests/shipped_configuration/` | Validation of the shipped workflow and generated adapters |
@@ -21,13 +21,11 @@ Installation supplies the engine and its four published schemas; author the
21
21
  registry, graph, skills, templates, and validator schemas in the consumer project.
22
22
  Nothing is implicitly loaded from the engine's source checkout or home directory.
23
23
 
24
- Adapter generation also requires the project-owned generic
25
- `.agents/skills/pipeline/SKILL.md`. Explicitly copy the
26
- [reusable procedure](../../.agents/skills/pipeline/SKILL.md) to that path in the
27
- consumer; review existing content before replacing it. Installation does not
28
- create it. The procedure resolves phases from persisted CLI packets and needs
29
- no example phase names. See [Harness usage](harnesses.md) for command environment
30
- setup, including GUI harnesses.
24
+ Write repository-wide instructions in `workflow/instructions.md`. The generator
25
+ combines them with packaged harness templates, including the generic orchestrator.
26
+ Keep the project's harness choice in `workflow/adapters.toml`. The registry and
27
+ graphs retain their own identities when the selected harnesses change.
28
+ See [Harness usage](harnesses.md#choose-the-projects-harnesses) for setup and commands.
31
29
 
32
30
  Pipeline files use TOML so Python 3.11 can load them without a dependency. A
33
31
  pipeline declares schema version, identity, start phase, terminal outcomes,
@@ -39,12 +37,12 @@ transitions.
39
37
 
40
38
  To add a phase:
41
39
 
42
- 1. add `.agents/skills/<name>/SKILL.md` with portable frontmatter;
43
- 2. add any output template under the pipeline's directory;
44
- 3. add `[[phases]]` with a unique lowercase identifier;
40
+ 1. Write the procedure in `workflow/skills/<name>/SKILL.md` with portable frontmatter.
41
+ 2. Add any output template under `workflow/`.
42
+ 3. Add `[[phases]]` with a unique lowercase identifier, the `skill` name and its `skill_source`.
45
43
  4. route an existing transition to it and give it at least one transition;
46
44
  5. make every symbolic input available on every incoming route;
47
- 6. regenerate adapters and run tests.
45
+ 6. Validate the graph and run its tests. The runtime can execute it before generating any adapters.
48
46
 
49
47
  Delete a phase by removing all inbound transitions first, then its phase table,
50
48
  skill, and unused template. Reordering table text alone does not change graph
@@ -85,29 +83,56 @@ pause = true
85
83
  The source visit completes and the target visit is prepared atomically, but the
86
84
  run remains `paused` until `specromancy resume RUN_ID` releases it. Pauses are
87
85
  independent from approvals and are rejected on terminal transitions. Omitting
88
- `pause`, or setting it to `false`, preserves ordinary transition behavior and
89
- the canonical hash of an otherwise unchanged version-1 pipeline.
86
+ `pause`, or setting it to `false`, has the same transition behavior and canonical hash.
90
87
 
91
88
  ## Skills and templates
92
89
 
93
- `skill = "inspect"` resolves to `.agents/skills/inspect/SKILL.md` at the
94
- repository root. Canonical skill frontmatter is limited to portable Agent
95
- Skills fields (`name`, `description`, `license`, `compatibility`, and optional
96
- `metadata`). Keep vendor models, tool allowlists, and slash-command syntax in
97
- generated harness surfaces, never canonical skills.
90
+ Declare the skill identifier and its repository-relative procedure in each new phase:
91
+
92
+ ```toml
93
+ [[phases]]
94
+ id = "inspect-changes"
95
+ skill = "inspect"
96
+ skill_source = "workflow/skills/inspect/SKILL.md"
97
+ # Add inputs, output, mutation policy, validator, gates and transitions here.
98
+ ```
99
+
100
+ Start that UTF-8 Markdown file with portable frontmatter:
101
+
102
+ ```markdown
103
+ ---
104
+ name: inspect
105
+ description: Inspect the changes listed in the request.
106
+ ---
107
+ ```
108
+
109
+ `name` must equal `skill`. Several phases may reuse the same identifier and
110
+ source. Across registered graphs each identifier has one declared source and each resolved
111
+ file has one identifier. Resolve supporting references relative to the canonical
112
+ procedure file. Reserve `pipeline` and `specromancy-*` for orchestration and launch skills.
113
+ The reader accepts single-line string values for `name`, `description`, and
114
+ optional `license` and `compatibility`. Optional `metadata` holds a flat mapping
115
+ of string values indented two spaces. Quote values containing YAML punctuation
116
+ such as a colon followed by a space.
117
+
118
+ The procedure, template and validator files must all resolve
119
+ under the repository's actual `workflow/` directory. The directory itself must
120
+ not be a symlink. Descendant links can target files elsewhere inside it. Use
121
+ forward slashes and omit parent segments in `skill_source`. The CLI returns
122
+ the canonical procedure in `action.skill` and checks its bytes on continuation.
98
123
 
99
124
  `output_template` is relative to the pipeline file. `../templates/result.md`
100
125
  can reference shared `workflow/templates/`; multiple graphs may use the same
101
- canonical skill or template. The resolved file must remain inside the repository.
126
+ canonical skill or template.
102
127
  The `.agents/skills/specromancy-*` namespace holds generated launch skills and
103
- is not a phase-procedure customization surface. A Markdown validator can
104
- declare `required_headings` and `heading_occurrence`; a JSON validator may use
128
+ is not a phase-procedure customization surface. For Markdown validation,
129
+ `required_headings` and `heading_occurrence` are optional phase fields. A JSON validator may use
105
130
  the documented project-owned schema subset. Templates should contain every
106
131
  required heading exactly once and meaningful placeholder content that a valid
107
132
  artifact must replace.
108
133
 
109
- JSON validator `path` (or `schema`) resolves relative to the pipeline file and
110
- must stay inside the consumer root, including after symlink resolution. The
134
+ JSON validator `path` resolves relative to the pipeline file and
135
+ follows the same containment rule as the template. The
111
136
  `load_json_schema(path)` API still reads these project-owned files and rejects
112
137
  unsupported keywords. The four published engine schemas are a separate package
113
138
  resource contract, not artifact validators for that subset; see
@@ -154,15 +179,20 @@ separate pipeline and store for each consumer; no new builder API is required.
154
179
 
155
180
  ## Approvals and stops
156
181
 
157
- Declare stable kebab-case reason codes:
182
+ In pipeline schema version 2, every phase declares both approval lists. Use
183
+ empty arrays when a phase has no reasons of that kind. Each reason must occur
184
+ in only one list per phase.
158
185
 
159
186
  ```toml
160
- approval_conditions = ["external-side-effect", "material-scope-change"]
187
+ transition_approval_conditions = ["material-scope-change"]
188
+ action_approval_conditions = ["external-side-effect"]
161
189
  stop_conditions = ["insufficient-information"]
162
190
  ```
163
191
 
164
192
  The phase skill explains when each code applies. It must call
165
193
  `request-approval` or `block` rather than merely mentioning a concern in prose.
194
+ Request action permission before doing the described work. Request transition
195
+ approval when the output is ready for validation and the selected transition.
166
196
  Changing or adding a reason changes the pipeline hash.
167
197
 
168
198
  ## Mutation policies
@@ -198,9 +228,10 @@ redirections are not interpreted.
198
228
 
199
229
  ## Regeneration and active runs
200
230
 
201
- After changing `AGENTS.md`, a canonical skill, the registry, a pipeline or its
231
+ After changing `workflow/adapters.toml`, `workflow/instructions.md`, a canonical skill, the registry, a pipeline or its
202
232
  referenced templates/schemas, or CLI help
203
- metadata, run:
233
+ metadata, regenerate and check. A body edit can change only manifest provenance.
234
+ A frontmatter or source-path edit can also change the wrapper bytes. Run:
204
235
 
205
236
  ```bash
206
237
  specromancy adapters generate
@@ -208,6 +239,10 @@ specromancy adapters generate --check
208
239
  python -m unittest discover
209
240
  ```
210
241
 
242
+ Selection and regeneration write ordinary repository files. Make these edits
243
+ before starting a read-only visit. An active visit's original mutation policy
244
+ and allowlist still apply during validation and approval.
245
+
211
246
  A run stores its pipeline hash. Any pipeline change causes `resume`, `phase`,
212
247
  and transition commands to reject that run with `pipeline-hash-mismatch`.
213
248
  Approval records also become stale. The engine deliberately has no active-run
@@ -100,7 +100,7 @@ The converter does not check remote availability.
100
100
  ## Verifier contract
101
101
 
102
102
  `tools/verify_distribution.py --wheel PATH --sdist PATH [--log NEW_PATH]` is a
103
- standard-library orchestration script. Missing artifacts, schemas, Git, or build
103
+ standard-library orchestration script. Missing artifacts, required package resources, Git, or build
104
104
  tooling are failures, never skips. It exits 0 only when both installed artifacts
105
105
  pass. The optional log path must not exist; otherwise a persistent temporary log
106
106
  is created. The printed log path survives both success and failure, including
@@ -110,14 +110,16 @@ finishes. Keep the original artifact set and the log for release review.
110
110
 
111
111
  The verifier inspects exact wheel paths, runtime bytes, and metadata, including
112
112
  version, Python requirement, license, generated README and project URLs, entry
113
- point, and empty runtime dependencies. It enumerates every runtime module and all four schemas. Wheel
114
- contents are limited to `specromancy_engine` source/schema data and normal
115
- `.dist-info` metadata. Tests, producer/consumer configurations, skills, wrappers,
116
- run data, caches, environments, and unrelated projects fail the archive boundary.
113
+ point, and empty runtime dependencies. It enumerates every runtime module, all
114
+ four schemas, and the seven generic Markdown templates in
115
+ `specromancy_engine/resources/adapters/`. It compares each template's bytes
116
+ with the checkout in the sdist, the direct wheel, and the rebuilt wheel.
117
+ The wheel allowlist excludes producer and consumer workflow policy, generated
118
+ harness files, tests, run data, caches, and unrelated projects.
117
119
 
118
120
  `MANIFEST.in` defines a deliberate sdist allowlist: build metadata and README
119
- helpers, runtime source and schemas, README, license, the complete release-documentation example
120
- (including hidden skills and ignore rules), and current guides and reference
121
+ helpers, runtime source, schemas, adapter templates, README, license, the complete release-documentation example
122
+ (including workflow instructions, declared skills, templates, and ignore rules), and current guides and reference
121
123
  documentation. Setuptools adds normal sdist metadata. Tests, historical documents,
122
124
  producer workflows, generated adapters, and developer tools are not included.
123
125
  The sdist is a consumer/build artifact, not a full developer checkout. Some
@@ -132,17 +134,28 @@ wheel there without a source-checkout import fallback or network installation.
132
134
  Each wheel gets its own fresh venv and exact-path `pip install --no-index
133
135
  --no-deps`. The runner uses `python -I -B`, clears inherited Python/Git/Pip
134
136
  configuration, disables user sites, and runs outside the producer checkout. It
135
- checks every imported module's installed origin, version agreement, missing
136
- legacy namespace, schemas, and both CLI entry points before exposing only the
137
+ checks every imported module's installed origin, version agreement,
138
+ schemas, installed template hashes, and both CLI entry points before exposing only the
137
139
  copied test bundle to imports. The rebuilt wheel uses the **sdist's** example and
138
140
  installation guide in its consumer tests.
139
141
 
142
+ Both consumers start with the example's authored files. The gate verifies that
143
+ a missing installed template leaves the consumer untouched, then restores the
144
+ template and runs generation with the unselected Copilot command template absent.
145
+ Each installation then restores the Copilot template and runs check. The gate
146
+ verifies file hashes and ownership for the example's Claude and OpenCode
147
+ selection and compares the complete manifests from the two installations. The retained log includes the common manifest with its
148
+ canonical input and generated output hashes.
149
+
140
150
  The copied suite covers explicit/discovered consumer roots, two-project
141
151
  isolation, custom pipeline completion, public API calls, immutable outputs,
142
- read-only enforcement, and adapter invocation. Original compatibility records
143
- are replayed without refreshing their expected bytes or hashes, including old
144
- approvals and exactly-once recovery. Adapter tests verify upgrades from original
145
- owned files, collision protection, and repeated generation with identical bytes.
152
+ read-only enforcement, and adapter invocation. The suite replays stored approvals and checks
153
+ exactly-once recovery. Adapter tests verify collision protection and repeated
154
+ generation with identical bytes. Installed CLI tests also cover registry
155
+ redirects before TOML parsing and reconstruction after removing root instructions and
156
+ shared skills. Wrapper tests execute the rendered CLI arguments and resolve
157
+ procedure references from the canonical file. Live harness sessions require
158
+ separate verification.
146
159
  There is no claim that archive bytes are reproducible across timestamps or hosts;
147
160
  the gate checks contents and metadata instead.
148
161
 
@@ -17,15 +17,30 @@ and the [consumer example](../../examples/release-documentation/README.md) for
17
17
  a complete run. The engine does not launch an LLM, provision credentials,
18
18
  generate prose, or publish artifacts; the host agent performs the requested work.
19
19
 
20
- The consumer must supply `AGENTS.md`, its registry, graphs, and canonical skills.
21
- In particular, installation does not create `.agents/skills/pipeline/SKILL.md`;
22
- adapter generation requires that project-owned procedure. Explicitly copy the
23
- generic [pipeline procedure](../../.agents/skills/pipeline/SKILL.md) to that same
24
- path in the consumer, reviewing any existing file before replacing it. It has
25
- no built-in phase names or order. Add the consumer's own phase skills and
26
- resources as described in [Authoring pipelines](authoring-pipelines.md).
20
+ Supply `workflow/instructions.md`, the registry, and graphs declaring each
21
+ phase's `skill_source` and dependencies under `workflow/`. Installation supplies
22
+ the templates and orchestration procedure and creates no repository files.
23
+ Phase wrappers load the canonical procedure identified by the graph.
24
+ See [Authoring pipelines](authoring-pipelines.md).
25
+
26
+ ## Choose the project's harnesses
27
+
28
+ Save the project's choice in `workflow/adapters.toml`. During agent-assisted setup,
29
+ reuse a valid saved choice. If the user has supplied one, save it. Otherwise ask
30
+ which harnesses to support. The supported identifiers are `claude`, `codex`,
31
+ `copilot`, `hermes`, and `opencode`. This example enables Claude and OpenCode.
32
+
33
+ ```toml
34
+ schema_version = 1
35
+ harnesses = ["claude", "opencode"]
36
+ ```
37
+
38
+ Generation and check read the same file without prompting. Missing or invalid
39
+ configuration stops both commands before any files change. Use `harnesses = []`
40
+ to remove eligible owned outputs and retain an empty manifest. The CLI only
41
+ reads this configuration.
27
42
 
28
- Generate or verify adapters with:
43
+ Generate the selected files and verify them with the same saved choice.
29
44
 
30
45
  ```bash
31
46
  specromancy adapters generate
@@ -40,9 +55,14 @@ Keep the manifest alongside its generated outputs. Check mode writes nothing
40
55
  and returns 11 for drift. Generation replaces current manifest-owned outputs,
41
56
  including locally edited ones, and removes only unchanged owned stale outputs.
42
57
  It refuses unowned destinations, unsafe paths, and modified stale outputs.
58
+ Deselecting a harness removes its unchanged exclusive files. Shared instructions
59
+ and skills remain while any selected harness needs them. Files belonging only
60
+ to unselected harnesses are ignored unless the previous manifest owns them.
61
+ Changing selection or regenerating during a visit can fail its mutation policy,
62
+ including at approval time.
43
63
 
44
64
  On a conflict, inspect the reported paths and preserve their content first.
45
- Merge intentional instructions into `AGENTS.md` or canonical skills before
65
+ Merge intentional instructions into `workflow/instructions.md` or canonical skills before
46
66
  regeneration. For an unowned destination, explicitly relocate the user file
47
67
  outside the managed adapter locations after preserving its purpose; generation
48
68
  does not silently adopt it. For a modified stale output, preserve the edits and
@@ -58,7 +78,7 @@ overwrite option. See the [adapter contract](../reference/contracts.md#filesyste
58
78
  - Invocation: ask Codex to use `specromancy-<id>` with a request, or `pipeline` with
59
79
  an explicit registered pipeline ID, or provide
60
80
  `RUN_ID` to the phase skill named by `status`.
61
- - Generated files: shared `.agents/skills/specromancy-<id>/SKILL.md` launch skills.
81
+ - Generated files: root instructions, shared phase wrappers, and generic and per-pipeline launch skills.
62
82
  - Prerequisites: open the repository as a trusted writable workspace and allow
63
83
  only the commands needed by the configured validation.
64
84
  - Limitation: availability and presentation of skill invocation depend on the
@@ -71,8 +91,7 @@ overwrite option. See the [adapter contract](../reference/contracts.md#filesyste
71
91
  - Invocation: `/specromancy:init PIPELINE_ID DESCRIPTION`,
72
92
  `/specromancy:status RUN_ID`, `/specromancy:resume RUN_ID`, or
73
93
  `/specromancy:phase RUN_ID PHASE`.
74
- - Generated files: the Claude instruction mirror, canonical and per-pipeline
75
- skill mirrors, and four thin commands listed in `adapters/manifest.json`.
94
+ - Generated files: the Claude instructions, phase wrappers and launch skills, and four thin commands listed in `adapters/manifest.json`.
76
95
  - Prerequisites: trust the repository and approve shell/filesystem access
77
96
  required by the phase and validation commands.
78
97
  - Limitation: command wrappers only invoke the CLI and hand off to canonical
@@ -85,7 +104,7 @@ overwrite option. See the [adapter contract](../reference/contracts.md#filesyste
85
104
  - Invocation: select a `specromancy-init`, `-status`, `-resume`, or `-phase`
86
105
  prompt and supply its argument hint (`PIPELINE_ID DESCRIPTION` for init).
87
106
  Generated `specromancy-<id>` skills in `.agents/skills/` also bind the pipeline ID.
88
- - Generated files: one instruction mirror and four prompt files.
107
+ - Generated files: Copilot instructions, shared skills, and four prompt files.
89
108
  - Prerequisites: use an agent-capable surface with repository and terminal
90
109
  permissions.
91
110
  - Limitation: Copilot prompt availability varies by editor. The prompts are the
@@ -99,7 +118,7 @@ overwrite option. See the [adapter contract](../reference/contracts.md#filesyste
99
118
  - Invocation: use the matching `specromancy-init`, `-status`, `-resume`, or
100
119
  `-phase` custom command with its positional arguments (`PIPELINE_ID DESCRIPTION` for
101
120
  init), or a generated `specromancy-<id>` skill discovered in `.agents/skills/`.
102
- - Generated files: four thin command files.
121
+ - Generated files: root instructions, shared skills, and four thin command files.
103
122
  - Prerequisites: trust the project and grant terminal/filesystem access needed
104
123
  by the current action packet.
105
124
  - Limitation: the generated command convention is OpenCode-specific and does
@@ -108,10 +127,10 @@ overwrite option. See the [adapter contract](../reference/contracts.md#filesyste
108
127
  ## Hermes
109
128
 
110
129
  - Discovery: `AGENTS.md` and `.agents/skills/*/SKILL.md` directly.
111
- - Invocation: invoke `specromancy-<id>` for a new run, or the canonical `pipeline` skill
130
+ - Invocation: invoke `specromancy-<id>` for a new run, or the generated `pipeline` skill
112
131
  with an explicit registered ID, or the
113
132
  current phase skill with `RUN_ID` after `status`.
114
- - Generated files: shared `.agents/skills/specromancy-<id>/SKILL.md` launch skills.
133
+ - Generated files: root instructions, shared phase wrappers, and generic and per-pipeline launch skills.
115
134
  - Prerequisites: run `hermes skills trust` in the repository and review the
116
135
  project skills before accepting them.
117
136
  - Limitation: project-skill trust is user-managed. Specromancy does not modify
@@ -44,9 +44,7 @@ in `pyproject.toml`; these are build dependencies, not engine runtime dependenci
44
44
  consumer. The consumer needs no engine source or editable install. The
45
45
  [distribution verification guide](distribution-verification.md) documents the
46
46
  repeatable wheel and sdist gates and links their executed evidence.
47
- Verify the wheel hash against its build evidence before installation. `bin/specromancy` and
48
- `adapters/generate.py` are producer-checkout conveniences; do not copy them or
49
- the engine source into each consumer project.
47
+ Verify the wheel hash against its build evidence before installation.
50
48
 
51
49
  ## Install a local wheel
52
50
 
@@ -127,17 +125,18 @@ executes both phases through completion using the CLI and a deterministic agent.
127
125
  ## Supply consumer configuration explicitly
128
126
 
129
127
  Copy the complete [release-documentation example](../../examples/release-documentation/README.md)
130
- into a new directory, including hidden `.agents/` and `.gitignore`, or author
128
+ into a new directory, including `.gitignore`, or author
131
129
  the following resources in your existing project:
132
130
 
133
131
  | Resource | Your responsibility |
134
132
  | --- | --- |
135
- | `AGENTS.md` | Preserve existing user instructions; merge applicable constraints |
133
+ | `workflow/adapters.toml` | Save the harnesses this project uses before generating or checking adapters |
134
+ | `workflow/instructions.md` | Preserve and merge the repository instructions here |
136
135
  | `workflow/pipelines.toml` | Merge an explicit unique registration; there is no default |
137
136
  | `workflow/pipelines/<id>.toml` | Own phases, policies, outcomes, and input selectors |
138
137
  | `workflow/templates/` | Supply every template referenced by your graph |
139
- | `.agents/skills/pipeline/SKILL.md` | Explicitly copy/review the generic orchestrator |
140
- | `.agents/skills/<phase-skill>/SKILL.md` | Own the phase procedures and portable frontmatter |
138
+ | Referenced validator schemas | Place graph-relative dependencies under `workflow/` |
139
+ | `workflow/skills/<skill>/SKILL.md` | Declare each procedure with `skill_source` and match its frontmatter name to `skill` |
141
140
  | `.gitignore` | Ignore `.specromancy/`, local environments, and development outputs |
142
141
 
143
142
  Use a real Git repository for this example. Specify `--root /absolute/consumer`
@@ -155,9 +154,10 @@ with its generated files. Resolve conflicts using the
155
154
  existing instructions before regeneration. Do not manufacture ownership by
156
155
  editing the manifest.
157
156
 
158
- The producer's top-level `workflow/` and `.agents/skills/` configure development
159
- of this repository. They remain in place and are not customer defaults. The
160
- example's own corresponding directories configure release documentation.
157
+ The package supplies the harness templates and generic orchestrator. The example
158
+ selects Claude and OpenCode. Edit its `workflow/adapters.toml` for your project,
159
+ or set `harnesses = []` for CLI-only use. Runs and pipeline configuration
160
+ validation work without this file. Adapter generation and check require it.
161
161
 
162
162
  ## Contributor environment
163
163