devflow-toolkit 0.3.27__py3-none-any.whl → 0.3.28__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.
- {devflow_toolkit-0.3.27.dist-info → devflow_toolkit-0.3.28.dist-info}/METADATA +71 -13
- {devflow_toolkit-0.3.27.dist-info → devflow_toolkit-0.3.28.dist-info}/RECORD +5 -5
- {devflow_toolkit-0.3.27.dist-info → devflow_toolkit-0.3.28.dist-info}/WHEEL +0 -0
- {devflow_toolkit-0.3.27.dist-info → devflow_toolkit-0.3.28.dist-info}/entry_points.txt +0 -0
- {devflow_toolkit-0.3.27.dist-info → devflow_toolkit-0.3.28.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: devflow-toolkit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.28
|
|
4
4
|
Summary: Specification workflow toolkit for AI-assisted software changes
|
|
5
5
|
Author: DevFlow contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -32,17 +32,75 @@ Description-Content-Type: text/markdown
|
|
|
32
32
|
|
|
33
33
|
# DevFlow Toolkit
|
|
34
34
|
|
|
35
|
-
**Current version: `0.3.
|
|
35
|
+
**Current version: `0.3.28`.**
|
|
36
|
+
|
|
37
|
+
Before any code is written, you and the AI agree on what will be built
|
|
38
|
+
and approve it as a spec. The agent then implements once, on something
|
|
39
|
+
clear, instead of trying, failing and redoing. Questions are cheap;
|
|
40
|
+
redoing code is expensive.
|
|
41
|
+
|
|
42
|
+
**The expensive part of an agent is not writing, it is correcting.**
|
|
43
|
+
Give it something ambiguous and it explores the whole repository, writes
|
|
44
|
+
code and tests, you reject it, and it starts again with an ever larger
|
|
45
|
+
context. Every round costs more than the last, and it is paid in output
|
|
46
|
+
tokens, which cost several times more than input tokens.
|
|
47
|
+
|
|
48
|
+
**DevFlow trades code rounds for question rounds.**
|
|
49
|
+
|
|
50
|
+
- **Discovery asks first.** Authentication, permissions, validation,
|
|
51
|
+
what stays out of scope. These rounds are cheap: mostly reading, no
|
|
52
|
+
code.
|
|
53
|
+
- **Validation spends no tokens.** DevFlow checks that Discovery is
|
|
54
|
+
complete and that the spec has the right shape with local Python
|
|
55
|
+
code.
|
|
56
|
+
- **The approved spec guides the agent.** It says which files to touch,
|
|
57
|
+
which requirements to meet (`FR`) and how to prove it is done (`AC`).
|
|
58
|
+
The agent explores less, stays in scope and writes nothing nobody
|
|
59
|
+
asked for.
|
|
60
|
+
- **Each phase reads only what it needs.** Code style rules are loaded
|
|
61
|
+
when implementing, not while specifying.
|
|
62
|
+
- **Context is never lost.** Everything stays in your repository, in a
|
|
63
|
+
few files under `.devflow/`. Switch sessions or agents and there is
|
|
64
|
+
nothing to explain again.
|
|
65
|
+
|
|
66
|
+
The goal is not to generate code faster, but to decide better before
|
|
67
|
+
generating it. Thinking is cheap; redoing code is expensive.
|
|
68
|
+
|
|
69
|
+
## Install
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
pip install devflow-toolkit
|
|
73
|
+
devflow version
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
You also need an AI agent installed on your machine, for example
|
|
77
|
+
[OpenCode](https://opencode.ai) or Claude Code.
|
|
78
|
+
|
|
79
|
+
## The flow
|
|
80
|
+
|
|
81
|
+
```text
|
|
82
|
+
devflow init once per project
|
|
83
|
+
│
|
|
84
|
+
devflow spec "your change" Discovery: the agent asks, you answer
|
|
85
|
+
│
|
|
86
|
+
devflow spec --continue 001 repeat until the spec is written
|
|
87
|
+
│
|
|
88
|
+
devflow approve 001 you approve the spec
|
|
89
|
+
│
|
|
90
|
+
"Implement .devflow/specs/001-…/spec.md" ask your agent to build it
|
|
91
|
+
|
|
92
|
+
Need to change an approved spec? devflow reopen 001
|
|
93
|
+
Not sure what comes next? devflow status 001
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
The rest of this page is the full reference: every command, option,
|
|
97
|
+
file and rule.
|
|
98
|
+
|
|
99
|
+
## What DevFlow covers
|
|
36
100
|
|
|
37
101
|
DevFlow is a command-line toolkit for leading AI models and coding
|
|
38
102
|
agents through specification-driven changes in real software projects.
|
|
39
103
|
|
|
40
|
-
The goal is simple: keep models and agents inside a process defined by
|
|
41
|
-
people. AI can write code quickly, but without clear limits it can also
|
|
42
|
-
produce unnecessary code, duplicate logic, invent scope or build things
|
|
43
|
-
nobody asked for. DevFlow exists to prevent that. The team decides what
|
|
44
|
-
will be built, why and under which rules **before** an agent writes code.
|
|
45
|
-
|
|
46
104
|
Discovery is the centre of that process. It is not a one-shot chat or a
|
|
47
105
|
form to fill in; it is a joint exploration between the human team and the
|
|
48
106
|
AI model. Both review the project, ask questions, challenge assumptions
|
|
@@ -152,7 +210,7 @@ pip install devflow-toolkit
|
|
|
152
210
|
To install a specific built artifact instead:
|
|
153
211
|
|
|
154
212
|
```bash
|
|
155
|
-
pip install devflow_toolkit-0.3.
|
|
213
|
+
pip install devflow_toolkit-0.3.28-py3-none-any.whl
|
|
156
214
|
```
|
|
157
215
|
|
|
158
216
|
Verify the installation:
|
|
@@ -457,7 +515,7 @@ as an architectural constraint when it is present.
|
|
|
457
515
|
|
|
458
516
|
### Harnesses
|
|
459
517
|
|
|
460
|
-
| Harness | Status in 0.3.
|
|
518
|
+
| Harness | Status in 0.3.28 |
|
|
461
519
|
| --- | --- |
|
|
462
520
|
| OpenCode | Verified end-to-end; interactive Discovery uses the `question` tool |
|
|
463
521
|
| Antigravity | Custom agents and scoped permissions generated; `agy` loading and print mode verified |
|
|
@@ -818,7 +876,7 @@ for each item; the agent does not write it.
|
|
|
818
876
|
8. If artifacts exist without workflow state, diagnose with
|
|
819
877
|
`devflow doctor <id>` and repair with `devflow recover <id>`.
|
|
820
878
|
|
|
821
|
-
Available commands in `0.3.
|
|
879
|
+
Available commands in `0.3.28`:
|
|
822
880
|
|
|
823
881
|
| Command | Status |
|
|
824
882
|
| --- | --- |
|
|
@@ -1051,7 +1109,7 @@ devflow approve 001
|
|
|
1051
1109
|
```
|
|
1052
1110
|
|
|
1053
1111
|
Approval is explicit and binds the decision to the current artifact
|
|
1054
|
-
digests. For a `0.3.
|
|
1112
|
+
digests. For a `0.3.28` change it binds `spec.md`, `discovery.yaml` and,
|
|
1055
1113
|
when a manifest applies, the architecture manifest digest. Repeating the
|
|
1056
1114
|
same approval is a no-op. If an artifact changes after validation,
|
|
1057
1115
|
DevFlow marks it stale and refuses approval until it is regenerated and
|
|
@@ -1062,7 +1120,7 @@ and names the pending questions and assumptions. Approval also rejects a
|
|
|
1062
1120
|
specification whose section 7 still lists open questions. Legacy `0.2.0`
|
|
1063
1121
|
changes without `discovery.yaml` remain approvable with a warning.
|
|
1064
1122
|
|
|
1065
|
-
Only the `spec` stage is available in `0.3.
|
|
1123
|
+
Only the `spec` stage is available in `0.3.28`, so `--stage` is optional
|
|
1066
1124
|
and defaults to `spec`. `--stage plan` and `--stage review` are
|
|
1067
1125
|
rejected. There are no `plan`, `implement` or
|
|
1068
1126
|
`review` commands in this release.
|
|
@@ -67,8 +67,8 @@ devflow/prompts/__init__.py,sha256=DttfMavd0nfmhKkVE46VhpIHkGS-4amYfufABEM20xI,1
|
|
|
67
67
|
devflow/prompts/discovery-repair.md,sha256=hpw8pFaUC8OiHK_KTI2nMF45f77CqcFuDYzn9o6X5ao,1240
|
|
68
68
|
devflow/prompts/discovery.md,sha256=QDwfcjmb76yJH4DKMyoZ4QRtrdkDwljrWr3gn2MYCn8,14920
|
|
69
69
|
devflow/prompts/spec.md,sha256=Kze_ZvE5yn0tfncvr98Nw6GQLEZlJmcZFWDNUpLMnlc,7689
|
|
70
|
-
devflow_toolkit-0.3.
|
|
71
|
-
devflow_toolkit-0.3.
|
|
72
|
-
devflow_toolkit-0.3.
|
|
73
|
-
devflow_toolkit-0.3.
|
|
74
|
-
devflow_toolkit-0.3.
|
|
70
|
+
devflow_toolkit-0.3.28.dist-info/METADATA,sha256=R78t2XrXxUh0-lKvALghxTcVr_SvX3iBPmxg-BUNego,55027
|
|
71
|
+
devflow_toolkit-0.3.28.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
72
|
+
devflow_toolkit-0.3.28.dist-info/entry_points.txt,sha256=wPmqE1081vi8s3xf-Wfzfvpl-44IKgwx7OGoLEK3u7o,44
|
|
73
|
+
devflow_toolkit-0.3.28.dist-info/licenses/LICENSE,sha256=Wa04lstC8Goe4b9IYfEYWB2k7nokYBejZl6NdyAl8rA,1077
|
|
74
|
+
devflow_toolkit-0.3.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|