devflow-toolkit 0.3.6__py3-none-any.whl → 0.3.8__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/adapters/claude_code.py +12 -4
- devflow/cli.py +1 -1
- devflow/commands/approve.py +1 -1
- {devflow_toolkit-0.3.6.dist-info → devflow_toolkit-0.3.8.dist-info}/METADATA +14 -7
- {devflow_toolkit-0.3.6.dist-info → devflow_toolkit-0.3.8.dist-info}/RECORD +8 -8
- {devflow_toolkit-0.3.6.dist-info → devflow_toolkit-0.3.8.dist-info}/WHEEL +0 -0
- {devflow_toolkit-0.3.6.dist-info → devflow_toolkit-0.3.8.dist-info}/entry_points.txt +0 -0
- {devflow_toolkit-0.3.6.dist-info → devflow_toolkit-0.3.8.dist-info}/licenses/LICENSE +0 -0
devflow/adapters/claude_code.py
CHANGED
|
@@ -56,12 +56,15 @@ class ClaudeCodeAdapter(HarnessAdapter):
|
|
|
56
56
|
separators=(",", ":"),
|
|
57
57
|
)
|
|
58
58
|
root = context.root
|
|
59
|
+
permission_mode = (
|
|
60
|
+
"manual" if context.mode == "interactive" else "dontAsk"
|
|
61
|
+
)
|
|
59
62
|
|
|
60
63
|
if context.mode == "interactive":
|
|
61
64
|
argv = (
|
|
62
65
|
self.executable,
|
|
63
66
|
"--permission-mode",
|
|
64
|
-
|
|
67
|
+
permission_mode,
|
|
65
68
|
"--settings",
|
|
66
69
|
settings,
|
|
67
70
|
context.prompt,
|
|
@@ -77,7 +80,7 @@ class ClaudeCodeAdapter(HarnessAdapter):
|
|
|
77
80
|
"--output-format",
|
|
78
81
|
"text",
|
|
79
82
|
"--permission-mode",
|
|
80
|
-
|
|
83
|
+
permission_mode,
|
|
81
84
|
"--tools",
|
|
82
85
|
",".join(tools),
|
|
83
86
|
"--settings",
|
|
@@ -117,9 +120,14 @@ class ClaudeCodeAdapter(HarnessAdapter):
|
|
|
117
120
|
allow.extend(["Read", "Grep", "Glob"])
|
|
118
121
|
|
|
119
122
|
if context.permissions.allow_source_code_changes:
|
|
120
|
-
allow.extend(["Edit", "Bash"])
|
|
123
|
+
allow.extend(["Edit", "Write", "Bash"])
|
|
121
124
|
elif context.permissions.allow_spec_write:
|
|
122
|
-
allow.
|
|
125
|
+
allow.extend(
|
|
126
|
+
[
|
|
127
|
+
"Edit(.devflow/specs/**)",
|
|
128
|
+
"Write(.devflow/specs/**)",
|
|
129
|
+
]
|
|
130
|
+
)
|
|
123
131
|
|
|
124
132
|
deny.extend(["WebFetch", "WebSearch", "Task"])
|
|
125
133
|
if not context.permissions.allow_source_code_changes:
|
devflow/cli.py
CHANGED
devflow/commands/approve.py
CHANGED
|
@@ -57,7 +57,7 @@ def _approve(spec_id: str, path: Path, stage: str) -> None:
|
|
|
57
57
|
normalized = stage.strip().lower()
|
|
58
58
|
if normalized != "spec":
|
|
59
59
|
msg = (
|
|
60
|
-
f"Stage '{stage}' is not available in DevFlow 0.3.
|
|
60
|
+
f"Stage '{stage}' is not available in DevFlow 0.3.8. "
|
|
61
61
|
"Only the 'spec' stage can be approved."
|
|
62
62
|
)
|
|
63
63
|
raise UnsupportedStageError(msg)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: devflow-toolkit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.8
|
|
4
4
|
Summary: Specification workflow toolkit for AI-assisted software changes
|
|
5
5
|
Author: DevFlow contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -42,7 +42,7 @@ anyone starts implementing it. DevFlow owns the workflow state; the
|
|
|
42
42
|
selected agent harness is only the execution backend that drafts the
|
|
43
43
|
specification.
|
|
44
44
|
|
|
45
|
-
This is the `0.3.
|
|
45
|
+
This is the `0.3.8` MVP. It implements the **discovery and
|
|
46
46
|
specification stages only**. It supports two specification contexts:
|
|
47
47
|
**Existing Project** (the default) and **Greenfield**. It is not a
|
|
48
48
|
complete SDD platform and does not include planning, implementation or
|
|
@@ -118,7 +118,7 @@ pip install devflow-toolkit
|
|
|
118
118
|
To install a specific built artifact instead:
|
|
119
119
|
|
|
120
120
|
```bash
|
|
121
|
-
pip install devflow_toolkit-0.3.
|
|
121
|
+
pip install devflow_toolkit-0.3.8-py3-none-any.whl
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
Verify the installation:
|
|
@@ -291,7 +291,7 @@ as an architectural constraint when it is present.
|
|
|
291
291
|
|
|
292
292
|
### Harnesses
|
|
293
293
|
|
|
294
|
-
| Harness | Status in 0.3.
|
|
294
|
+
| Harness | Status in 0.3.8 |
|
|
295
295
|
| --- | --- |
|
|
296
296
|
| OpenCode | Verified end-to-end in non-interactive mode |
|
|
297
297
|
| Codex | Integration files are generated, but not verified for this release |
|
|
@@ -340,6 +340,13 @@ not treated as the only permission boundary.
|
|
|
340
340
|
When a harness cannot enforce a restriction technically, DevFlow prints
|
|
341
341
|
a warning instead of claiming that the restriction is guaranteed.
|
|
342
342
|
|
|
343
|
+
For Claude Code, interactive runs use Manual mode
|
|
344
|
+
(`--permission-mode manual`) so Discovery can open the
|
|
345
|
+
`AskUserQuestion` dialog. Reads and writes under `.devflow/specs/` are
|
|
346
|
+
pre-approved, while shell, web and task tools remain denied.
|
|
347
|
+
Non-interactive runs keep the locked `dontAsk` mode and do not allow the
|
|
348
|
+
question tool.
|
|
349
|
+
|
|
343
350
|
## Discovery
|
|
344
351
|
|
|
345
352
|
Discovery is separate from specification. The project context decides
|
|
@@ -449,7 +456,7 @@ specification that still lists open questions.
|
|
|
449
456
|
8. If artifacts exist without workflow state, diagnose with
|
|
450
457
|
`devflow doctor <id>` and repair with `devflow recover <id>`.
|
|
451
458
|
|
|
452
|
-
Available commands in `0.3.
|
|
459
|
+
Available commands in `0.3.8`:
|
|
453
460
|
|
|
454
461
|
| Command | Status |
|
|
455
462
|
| --- | --- |
|
|
@@ -637,7 +644,7 @@ devflow approve 001 --stage spec
|
|
|
637
644
|
```
|
|
638
645
|
|
|
639
646
|
Approval is explicit and binds the decision to the current artifact
|
|
640
|
-
digests. For a `0.3.
|
|
647
|
+
digests. For a `0.3.8` change it binds `spec.md`, `discovery.yaml` and,
|
|
641
648
|
when a manifest applies, the architecture manifest digest. Repeating the
|
|
642
649
|
same approval is a no-op. If an artifact changes after validation,
|
|
643
650
|
DevFlow marks it stale and refuses approval until it is regenerated and
|
|
@@ -648,7 +655,7 @@ and names the pending questions and assumptions. Approval also rejects a
|
|
|
648
655
|
specification whose section 7 still lists open questions. Legacy `0.2.0`
|
|
649
656
|
changes without `discovery.yaml` remain approvable with a warning.
|
|
650
657
|
|
|
651
|
-
Only the `spec` stage is available in `0.3.
|
|
658
|
+
Only the `spec` stage is available in `0.3.8`. `--stage plan` and
|
|
652
659
|
`--stage review` are rejected. There are no `plan`, `implement` or
|
|
653
660
|
`review` commands in this release.
|
|
654
661
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
devflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
devflow/cli.py,sha256=
|
|
2
|
+
devflow/cli.py,sha256=_kWGlgV8GWXP5cv9tIabQZbqVZIhfC_YLPrPt3e5u9M,1168
|
|
3
3
|
devflow/adapters/__init__.py,sha256=WcsjXQTKzHNzMAHx82-sdJQeR3ceHRVqLWTUtRlaraE,867
|
|
4
4
|
devflow/adapters/agents.py,sha256=OZnz7wAJNcIojtgaQIK1iB6QKWGgv2VCmoBp8M9DUKE,1423
|
|
5
5
|
devflow/adapters/base.py,sha256=YggY_IwHExdybl5S9NjwZSlmmcw9Y6z7DhQsl3JLvXs,2055
|
|
6
|
-
devflow/adapters/claude_code.py,sha256=
|
|
6
|
+
devflow/adapters/claude_code.py,sha256=nJ-J4nwlql6751GYoSX8LbR3zPmdMTut7prZ-6ABzE8,3595
|
|
7
7
|
devflow/adapters/codex.py,sha256=ctMQi-qvumkQxCNdiD9d25bDQoxarMl_-9GfBsYxoyQ,3290
|
|
8
8
|
devflow/adapters/detector.py,sha256=92BkNAvWs2Vh8H6xJzMweBDCw6yuYVg7sV4LoSZ8KFo,3291
|
|
9
9
|
devflow/adapters/instructions.py,sha256=ukkPhI2FFZPqERg6PFFyP05BPifrpDHzw082b7D-Teo,10222
|
|
@@ -11,7 +11,7 @@ devflow/adapters/kiro.py,sha256=VxAcwkAdkTbZjDjTJaZfs4kyVHSwR4_Wo3GmFsbmEBU,6754
|
|
|
11
11
|
devflow/adapters/opencode.py,sha256=tAsLApXFSUU2-fPgE8wXtgF7OAOA_qYrVJVeS-GiJ3E,7077
|
|
12
12
|
devflow/adapters/registry.py,sha256=NLd_tf7dAiZUa6gbQFcwPogurZyjbMNbzjjXozAD4xs,1177
|
|
13
13
|
devflow/commands/__init__.py,sha256=yOLtd_4R4xdlMgAzihzIT35oyV_qcz0br-aoLebRj1c,157
|
|
14
|
-
devflow/commands/approve.py,sha256=
|
|
14
|
+
devflow/commands/approve.py,sha256=P-ptdJ4Iue2ryb7iPmHEHs_ydLdrJcYCF4Er4_1Zj4k,2740
|
|
15
15
|
devflow/commands/doctor.py,sha256=vYk2i3OksbGpHEUFsqi7c4w44mAXRmY0OeEdO8h5j_M,4161
|
|
16
16
|
devflow/commands/harness.py,sha256=bm0TQ7abASHfa81JKZV5w6raWN7ezbzfNmUK_n75dsI,3765
|
|
17
17
|
devflow/commands/init.py,sha256=B-rW-etZ-Rptt9YW43YZ5mN_l3gfGczuXW9kpmHDOWQ,15420
|
|
@@ -59,8 +59,8 @@ devflow/prompts/__init__.py,sha256=hdixkEhocz84S3-Vvx7Xmje03VordXE8jUtqGUZMqbs,8
|
|
|
59
59
|
devflow/prompts/discovery.md,sha256=EGxzDYNoH_kOL3pptTkTG89SFB9-7f43Pfew4KrUDqc,6126
|
|
60
60
|
devflow/prompts/spec.greenfield.md,sha256=BEKTN7G0B_P0bAevNeShzb_54dYu6j95_B3YqyhYK40,5154
|
|
61
61
|
devflow/prompts/spec.md,sha256=zXrNA--c8IiQJBMyxidTtLVHUIrn7Ynj6935dyje1SY,3801
|
|
62
|
-
devflow_toolkit-0.3.
|
|
63
|
-
devflow_toolkit-0.3.
|
|
64
|
-
devflow_toolkit-0.3.
|
|
65
|
-
devflow_toolkit-0.3.
|
|
66
|
-
devflow_toolkit-0.3.
|
|
62
|
+
devflow_toolkit-0.3.8.dist-info/METADATA,sha256=MeE8TckImACj_AIglMElu0CZOLkGfFU6_m8ZENpJFx4,28749
|
|
63
|
+
devflow_toolkit-0.3.8.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
64
|
+
devflow_toolkit-0.3.8.dist-info/entry_points.txt,sha256=wPmqE1081vi8s3xf-Wfzfvpl-44IKgwx7OGoLEK3u7o,44
|
|
65
|
+
devflow_toolkit-0.3.8.dist-info/licenses/LICENSE,sha256=Wa04lstC8Goe4b9IYfEYWB2k7nokYBejZl6NdyAl8rA,1077
|
|
66
|
+
devflow_toolkit-0.3.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|