open-codev-workflow 0.1.0__py3-none-any.whl

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 (47) hide show
  1. codev_workflow/__init__.py +5 -0
  2. codev_workflow/__main__.py +4 -0
  3. codev_workflow/bundle/.agents/skills/build-change/SKILL.md +96 -0
  4. codev_workflow/bundle/.agents/skills/build-change/agents/openai.yaml +4 -0
  5. codev_workflow/bundle/.agents/skills/build-change/assets/implementation-plan.template.md +51 -0
  6. codev_workflow/bundle/.agents/skills/define-product/SKILL.md +79 -0
  7. codev_workflow/bundle/.agents/skills/define-product/agents/openai.yaml +4 -0
  8. codev_workflow/bundle/.agents/skills/define-product/assets/brief.template.md +50 -0
  9. codev_workflow/bundle/.agents/skills/design-solution/SKILL.md +75 -0
  10. codev_workflow/bundle/.agents/skills/design-solution/agents/openai.yaml +4 -0
  11. codev_workflow/bundle/.agents/skills/design-solution/assets/decision.template.md +26 -0
  12. codev_workflow/bundle/.agents/skills/design-solution/assets/design.template.md +76 -0
  13. codev_workflow/bundle/.agents/skills/launch-product/SKILL.md +66 -0
  14. codev_workflow/bundle/.agents/skills/launch-product/agents/openai.yaml +4 -0
  15. codev_workflow/bundle/.agents/skills/launch-product/assets/launch-plan.template.md +48 -0
  16. codev_workflow/bundle/.agents/skills/plan-delivery/SKILL.md +140 -0
  17. codev_workflow/bundle/.agents/skills/plan-delivery/agents/openai.yaml +4 -0
  18. codev_workflow/bundle/.agents/skills/plan-delivery/assets/delivery-plan.template.md +41 -0
  19. codev_workflow/bundle/.agents/skills/review-change/SKILL.md +48 -0
  20. codev_workflow/bundle/.agents/skills/review-change/agents/openai.yaml +4 -0
  21. codev_workflow/bundle/.agents/skills/specify-project/SKILL.md +205 -0
  22. codev_workflow/bundle/.agents/skills/specify-project/agents/openai.yaml +4 -0
  23. codev_workflow/bundle/.agents/skills/specify-project/assets/specification.template.md +151 -0
  24. codev_workflow/bundle/.agents/skills/specify-project/references/interview-coverage.md +303 -0
  25. codev_workflow/bundle/.agents/skills/specify-project/scripts/validate_specification.py +143 -0
  26. codev_workflow/bundle/.opencode/agents/builder.md +54 -0
  27. codev_workflow/bundle/.opencode/agents/orchestrator.md +72 -0
  28. codev_workflow/bundle/.opencode/agents/reviewer.md +35 -0
  29. codev_workflow/bundle/AGENTS.md +23 -0
  30. codev_workflow/bundle/docs/AI-WORKFLOW-PROMPTS.md +318 -0
  31. codev_workflow/bundle/docs/WORKFLOW-COOKBOOK.md +419 -0
  32. codev_workflow/bundle/docs/WORKFLOW-HUMAN.md +212 -0
  33. codev_workflow/bundle/docs/for-ai/WORKFLOW-AGENTS.md +171 -0
  34. codev_workflow/bundle/docs/handbooks/IDEA-TO-PRODUCTION-HANDBOOK.md +1190 -0
  35. codev_workflow/bundle/docs/handbooks/LANGUAGE-AGNOSTIC-PROJECT-HANDBOOK.md +745 -0
  36. codev_workflow/bundle/docs/handbooks/PYTHON-PROJECT-HANDBOOK.md +960 -0
  37. codev_workflow/bundle/evals/development-workflow/scenarios.json +132 -0
  38. codev_workflow/bundle/scripts/evaluate-development-workflow.py +352 -0
  39. codev_workflow/bundle/scripts/validate-development-workflow.py +213 -0
  40. codev_workflow/cli.py +140 -0
  41. codev_workflow/installer.py +891 -0
  42. open_codev_workflow-0.1.0.dist-info/METADATA +150 -0
  43. open_codev_workflow-0.1.0.dist-info/RECORD +47 -0
  44. open_codev_workflow-0.1.0.dist-info/WHEEL +5 -0
  45. open_codev_workflow-0.1.0.dist-info/entry_points.txt +2 -0
  46. open_codev_workflow-0.1.0.dist-info/licenses/LICENSE +28 -0
  47. open_codev_workflow-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,150 @@
1
+ Metadata-Version: 2.4
2
+ Name: open-codev-workflow
3
+ Version: 0.1.0
4
+ Summary: Human-guided AI software delivery for real repositories.
5
+ Author: Martin Urban
6
+ License-Expression: BSD-3-Clause
7
+ Project-URL: Homepage, https://github.com/urban233/CoDev
8
+ Project-URL: Repository, https://github.com/urban233/CoDev
9
+ Project-URL: Issues, https://github.com/urban233/CoDev/issues
10
+ Keywords: ai,developer-tools,software-delivery,codex,opencode
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Topic :: Software Development :: Quality Assurance
20
+ Requires-Python: >=3.11
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Provides-Extra: dev
24
+ Requires-Dist: build>=1.2.2; extra == "dev"
25
+ Requires-Dist: mypy>=1.15; extra == "dev"
26
+ Requires-Dist: ruff>=0.11; extra == "dev"
27
+ Requires-Dist: twine>=6.1; extra == "dev"
28
+ Dynamic: license-file
29
+
30
+ <p align="center">
31
+ <img src="assets/codev-mark.svg" width="96" height="96" alt="CoDev mark">
32
+ </p>
33
+
34
+ <h1 align="center">CoDev</h1>
35
+
36
+ <p align="center"><strong>Human-guided AI software delivery.</strong></p>
37
+
38
+ ![Active Feature Development](https://img.shields.io/badge/Project_State-Active_Feature_Development-brightgreen?style=flat-square)
39
+ ![AI-driven](https://img.shields.io/badge/AI_Use-AI--driven-orange?style=flat-square)
40
+
41
+ CoDev installs a small, production-minded collaboration system into any Git
42
+ repository. It helps a developer and AI move through four understandable steps:
43
+ **Understand, Build, Review, and Ship**. It supports bounded three-agent
44
+ execution without turning product development into an unattended coding loop.
45
+
46
+ ## Why CoDev
47
+
48
+ - One workflow for solo developers and multi-developer teams.
49
+ - Repository-grounded plans instead of invented APIs or architecture.
50
+ - A bounded builder and an independent, read-only reviewer.
51
+ - Human authority over material decisions, merge, deployment, and rollout.
52
+ - Versioned, conflict-aware installation across existing repositories.
53
+ - No runtime dependency in the software being built.
54
+
55
+ ## Quick start
56
+
57
+ CoDev is a Python 3.11+ command-line tool. Target repositories may use any
58
+ language or build system. Install it with an isolated tool manager; `pipx` and
59
+ `uv tool` are the two supported, primary installation methods. Neither adds
60
+ CoDev or its dependencies to a target repository.
61
+
62
+ ### Install from PyPI
63
+
64
+ ```shell
65
+ pipx install open-codev-workflow
66
+ # or
67
+ uv tool install open-codev-workflow
68
+ ```
69
+
70
+ ### Install from a wheel
71
+
72
+ For private, air-gapped, or pre-release distribution, install the supplied
73
+ wheel directly instead of publishing it to a package index:
74
+
75
+ ```shell
76
+ pipx install ./dist/open_codev_workflow-0.1.0-py3-none-any.whl
77
+ # or
78
+ uv tool install ./dist/open_codev_workflow-0.1.0-py3-none-any.whl
79
+ ```
80
+
81
+ Store the wheel with its SHA-256 checksum in a controlled artifact location.
82
+ The development workflow for building a wheel is documented below.
83
+
84
+ ### Initialize a repository
85
+
86
+ ```shell
87
+ codev init --target ../my-project --platform all
88
+ codev check --target ../my-project
89
+ ```
90
+
91
+ To preview or apply a later bundle update:
92
+
93
+ ```shell
94
+ codev diff --target ../my-project
95
+ codev update --target ../my-project
96
+ codev remove --target ../my-project --dry-run
97
+ ```
98
+
99
+ `init`, `diff`, and `update` preflight the entire operation. A locally modified
100
+ managed file becomes a visible conflict; CoDev never silently replaces it.
101
+
102
+ ## What gets installed
103
+
104
+ ```text
105
+ my-project/
106
+ ├── AGENTS.md # a managed policy block; local text survives
107
+ ├── .agents/skills/ # seven lifecycle skills
108
+ ├── .opencode/agents/ # orchestrator, builder, reviewer
109
+ ├── .opencode/opencode.json # safely merged; existing agent settings survive
110
+ ├── docs/ # workflow, prompts, handbooks, cookbook
111
+ ├── evals/development-workflow/ # behavioral scenarios
112
+ ├── scripts/ # deterministic validators
113
+ └── .codev/lock.json # installed version and source hashes
114
+ ```
115
+
116
+ Use `--platform codex` to omit the OpenCode adapter. Use `--platform opencode`
117
+ or `--platform all` for the three-agent OpenCode topology. Core skills and
118
+ human/AI workflow references are installed for every platform.
119
+
120
+ ## Design principles
121
+
122
+ 1. **Local at use time.** Agents read ordinary files in the target repository.
123
+ 2. **Central at maintenance time.** This repository is the canonical source.
124
+ 3. **Human at authority boundaries.** Automation supplies evidence, not approval.
125
+ 4. **Small by default.** Deeper design and delivery planning appear only when
126
+ risk or coordination requires them.
127
+ 5. **Safe to adopt.** Existing instructions and OpenCode settings are preserved.
128
+
129
+ Read [Architecture](docs/architecture.md) for the distribution model,
130
+ [Adoption](docs/adoption.md) for rollout guidance, and
131
+ [Brand](docs/brand.md) for the visual and writing system.
132
+
133
+ ## Development
134
+
135
+ ```shell
136
+ python -m unittest discover -s tests -v
137
+ python -m compileall -q src tests
138
+ python -m codev_workflow --version
139
+ ```
140
+
141
+ Optional development checks:
142
+
143
+ ```shell
144
+ ruff check .
145
+ ruff format --check .
146
+ mypy
147
+ python -m build
148
+ ```
149
+
150
+ CoDev is licensed under BSD-3-Clause.
@@ -0,0 +1,47 @@
1
+ codev_workflow/__init__.py,sha256=Iwo_c7O5HriBcYlyKnWHnN-Z0EgPz0f7fOuPI7KEqqw,98
2
+ codev_workflow/__main__.py,sha256=io_XM2JI9xppJBg52k3_ddSKBR0QAy8AGPhUutQN4aI,93
3
+ codev_workflow/cli.py,sha256=4PTINiHWkvbb5i8ip2EkHlF8neiE5JEXEQsNxniT-Yk,4870
4
+ codev_workflow/installer.py,sha256=pgUa81tttPsbRC7L7P4rSinRDISeTn2Ka877ACc4p3I,33533
5
+ codev_workflow/bundle/AGENTS.md,sha256=uT53XItylNrG61MMq5vLT-XY93f9PxNpBIEdKRVSSx4,1250
6
+ codev_workflow/bundle/.agents/skills/build-change/SKILL.md,sha256=Npb0WE_wrQdB4Fk6qD4jDmr51X6j-ou48m8S6cT5WjA,4605
7
+ codev_workflow/bundle/.agents/skills/build-change/agents/openai.yaml,sha256=DiuTfyVJVh4PNjvs1F4cynPuG29dncbYo-te9-jbcxU,215
8
+ codev_workflow/bundle/.agents/skills/build-change/assets/implementation-plan.template.md,sha256=MWnS3NTlxvY-liBaDxqWL4bLuqtsXqEg-DEgQhHjCBM,1431
9
+ codev_workflow/bundle/.agents/skills/define-product/SKILL.md,sha256=P7s4Lf2vwd4WxztBun-ghWZk18HT2WjdSAd_bhJBjr8,3391
10
+ codev_workflow/bundle/.agents/skills/define-product/agents/openai.yaml,sha256=MHdkH-9M3huIYYZ1UtNyJ3Iaaku79ekcB5aK1pE7puc,226
11
+ codev_workflow/bundle/.agents/skills/define-product/assets/brief.template.md,sha256=iHw_IzQy_YtyDViAxBdV3TzNCwPK2GgShtzFU3MIDxc,932
12
+ codev_workflow/bundle/.agents/skills/design-solution/SKILL.md,sha256=wJSG4F-XMfst3T73VRnxx-DbuWJ6OTJZwbgUX1YVCTo,3244
13
+ codev_workflow/bundle/.agents/skills/design-solution/agents/openai.yaml,sha256=XFCMSvVmW3pFUGUyxydAfKKUnjTX7-udhXYSr0JPi28,225
14
+ codev_workflow/bundle/.agents/skills/design-solution/assets/decision.template.md,sha256=irXXLtocGNMz33I9-Gayfpy1p6Spd74BiKm88dOZMj0,417
15
+ codev_workflow/bundle/.agents/skills/design-solution/assets/design.template.md,sha256=5TlUoNTr2ZD4vRLvZHKLGjg3xqzMrWXMCHzs-gmGu2Q,1703
16
+ codev_workflow/bundle/.agents/skills/launch-product/SKILL.md,sha256=aU4z2r_jKxO5gEgCXKST2cYYIk16krO5GvAmAugFDEA,2934
17
+ codev_workflow/bundle/.agents/skills/launch-product/agents/openai.yaml,sha256=tsnjrfppEJdpRpeSumvaEm5LDDtMFYJv7Q0-jaBVKxU,208
18
+ codev_workflow/bundle/.agents/skills/launch-product/assets/launch-plan.template.md,sha256=k6Suyr5l3r7MRKNm9n0BBNp74QlZmNqOketEUp-aItw,1554
19
+ codev_workflow/bundle/.agents/skills/plan-delivery/SKILL.md,sha256=0cbDhEh1O10UDrUlZtKvUbGK4tovtnLodYBvMlVsfO8,6576
20
+ codev_workflow/bundle/.agents/skills/plan-delivery/agents/openai.yaml,sha256=hTEAE1SFAgqSAK5o7YMWHAiPWZ1xIkWXZX_84i4iTPA,232
21
+ codev_workflow/bundle/.agents/skills/plan-delivery/assets/delivery-plan.template.md,sha256=ICfExIqtRAg9Ec66XriU1EOWzYTB6yiH-o3tY5KDxgc,1290
22
+ codev_workflow/bundle/.agents/skills/review-change/SKILL.md,sha256=Vh_Dg_0rhlKHx7zTzoTMYcOHdeqqhDAel-s74occXK8,2233
23
+ codev_workflow/bundle/.agents/skills/review-change/agents/openai.yaml,sha256=se4dUxUhyKLEY0HwGW9UZjof9-kgc6hoFT-5SxF3KWA,227
24
+ codev_workflow/bundle/.agents/skills/specify-project/SKILL.md,sha256=Af3R4x8EEnOq-Jh387FeHiuWMlo-KXqsvGIg4bUiioU,8866
25
+ codev_workflow/bundle/.agents/skills/specify-project/agents/openai.yaml,sha256=3YGYv676_WfZnd7QIWOuo7ONuh7ehGxg7FNpAhw5RQA,234
26
+ codev_workflow/bundle/.agents/skills/specify-project/assets/specification.template.md,sha256=nFs8X916Ws52-iESfVK-Y2wCCX2JX2wvU8luUi59K9o,5034
27
+ codev_workflow/bundle/.agents/skills/specify-project/references/interview-coverage.md,sha256=1L9Xjl8gxymrfug60A9N7-_6rsPvahyTCDhhEyop_gU,12516
28
+ codev_workflow/bundle/.agents/skills/specify-project/scripts/validate_specification.py,sha256=T1vBAYTemFgj4qDTbgezpkU4Ja1in3QI1JfYrpRR1Pg,4758
29
+ codev_workflow/bundle/.opencode/agents/builder.md,sha256=jj2sCK7_hGr5WNaMk9SzBwLu7yXoqYSLUaiILZEHPOs,2189
30
+ codev_workflow/bundle/.opencode/agents/orchestrator.md,sha256=fUG_3zNGJTQvb597ItODYYJ30OPOaPwC2zma81560oA,3439
31
+ codev_workflow/bundle/.opencode/agents/reviewer.md,sha256=92M-h0EyNsy4GoBQmAGdz8xwiEdu5HF-58yaV-tH-q8,1358
32
+ codev_workflow/bundle/docs/AI-WORKFLOW-PROMPTS.md,sha256=vVuCqDkW-j_bdsUeYLAsfdeW_RVUK50a89kwtrKaRpU,13886
33
+ codev_workflow/bundle/docs/WORKFLOW-COOKBOOK.md,sha256=ZWpZysKQv9Z9iP_qAwlVRoHuHkb2k-AV1pz1oJWvmxc,15669
34
+ codev_workflow/bundle/docs/WORKFLOW-HUMAN.md,sha256=SDpJNj0hxTVD5O5tShTFrVHzAD64uNCNnhiB9BOgRew,10639
35
+ codev_workflow/bundle/docs/for-ai/WORKFLOW-AGENTS.md,sha256=sw1MNOS4eqOmkaeLa9t_rxaZS84ZFCRO_PVlondgpYs,8205
36
+ codev_workflow/bundle/docs/handbooks/IDEA-TO-PRODUCTION-HANDBOOK.md,sha256=GbmNA3S-C8QMFSJGbQ_CcOmx-JJkWRiux1zYONqSy04,49181
37
+ codev_workflow/bundle/docs/handbooks/LANGUAGE-AGNOSTIC-PROJECT-HANDBOOK.md,sha256=Jye_StkpwMpZGuZt7TFKP0C0PirQrpcBYIL8_YEghd4,32913
38
+ codev_workflow/bundle/docs/handbooks/PYTHON-PROJECT-HANDBOOK.md,sha256=2HZfsye-Do7RbuPTeKyK8UNGBDAQwwkCd8_Xyi9X3vI,36029
39
+ codev_workflow/bundle/evals/development-workflow/scenarios.json,sha256=tL0Nw7nQyRBV-eYfaQk-5IF_8Y9jzguZyyfuuEU5GyM,8084
40
+ codev_workflow/bundle/scripts/evaluate-development-workflow.py,sha256=3Aauqbi510MDBX-CZ5o-GJqk42kP_P9IdYVdMcMzt5g,13194
41
+ codev_workflow/bundle/scripts/validate-development-workflow.py,sha256=en7va5UzOkJAeqt9F0lvzL8eLLUM3D6BhpVNIChly5o,7545
42
+ open_codev_workflow-0.1.0.dist-info/licenses/LICENSE,sha256=tbbgq3zoPzC4QVAOepEOAy7mcj2nSbyf7WgMJmR3qEI,1499
43
+ open_codev_workflow-0.1.0.dist-info/METADATA,sha256=B4BP5VJtr6u3f5hC1sjUSqFBW3l9zxrg00zELhSiZ-I,5435
44
+ open_codev_workflow-0.1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
45
+ open_codev_workflow-0.1.0.dist-info/entry_points.txt,sha256=bbpicC-dSP6EWtoKnHsNu_7iUMhxahq173EzO9oK0to,50
46
+ open_codev_workflow-0.1.0.dist-info/top_level.txt,sha256=_dtpI7lmCYLfIK8XGfWa52editeKChUOEvA54imC1Vc,15
47
+ open_codev_workflow-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (83.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ codev = codev_workflow.cli:main
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Martin Urban
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1 @@
1
+ codev_workflow