devflow-toolkit 0.3.7__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 -11
- devflow/cli.py +1 -1
- devflow/commands/approve.py +1 -1
- {devflow_toolkit-0.3.7.dist-info → devflow_toolkit-0.3.8.dist-info}/METADATA +13 -11
- {devflow_toolkit-0.3.7.dist-info → devflow_toolkit-0.3.8.dist-info}/RECORD +8 -8
- {devflow_toolkit-0.3.7.dist-info → devflow_toolkit-0.3.8.dist-info}/WHEEL +0 -0
- {devflow_toolkit-0.3.7.dist-info → devflow_toolkit-0.3.8.dist-info}/entry_points.txt +0 -0
- {devflow_toolkit-0.3.7.dist-info → devflow_toolkit-0.3.8.dist-info}/licenses/LICENSE +0 -0
devflow/adapters/claude_code.py
CHANGED
|
@@ -56,14 +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
|
-
|
|
65
|
-
"--allowedTools",
|
|
66
|
-
"AskUserQuestion",
|
|
67
|
+
permission_mode,
|
|
67
68
|
"--settings",
|
|
68
69
|
settings,
|
|
69
70
|
context.prompt,
|
|
@@ -79,7 +80,7 @@ class ClaudeCodeAdapter(HarnessAdapter):
|
|
|
79
80
|
"--output-format",
|
|
80
81
|
"text",
|
|
81
82
|
"--permission-mode",
|
|
82
|
-
|
|
83
|
+
permission_mode,
|
|
83
84
|
"--tools",
|
|
84
85
|
",".join(tools),
|
|
85
86
|
"--settings",
|
|
@@ -118,15 +119,15 @@ class ClaudeCodeAdapter(HarnessAdapter):
|
|
|
118
119
|
if context.permissions.allow_project_read:
|
|
119
120
|
allow.extend(["Read", "Grep", "Glob"])
|
|
120
121
|
|
|
121
|
-
if context.mode == "interactive":
|
|
122
|
-
# Discovery needs to ask the user directly. ``dontAsk`` denies
|
|
123
|
-
# every prompt unless the tool is explicitly allowed.
|
|
124
|
-
allow.append("AskUserQuestion")
|
|
125
|
-
|
|
126
122
|
if context.permissions.allow_source_code_changes:
|
|
127
|
-
allow.extend(["Edit", "Bash"])
|
|
123
|
+
allow.extend(["Edit", "Write", "Bash"])
|
|
128
124
|
elif context.permissions.allow_spec_write:
|
|
129
|
-
allow.
|
|
125
|
+
allow.extend(
|
|
126
|
+
[
|
|
127
|
+
"Edit(.devflow/specs/**)",
|
|
128
|
+
"Write(.devflow/specs/**)",
|
|
129
|
+
]
|
|
130
|
+
)
|
|
130
131
|
|
|
131
132
|
deny.extend(["WebFetch", "WebSearch", "Task"])
|
|
132
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,10 +340,12 @@ 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
|
|
344
|
-
`
|
|
345
|
-
|
|
346
|
-
|
|
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.
|
|
347
349
|
|
|
348
350
|
## Discovery
|
|
349
351
|
|
|
@@ -454,7 +456,7 @@ specification that still lists open questions.
|
|
|
454
456
|
8. If artifacts exist without workflow state, diagnose with
|
|
455
457
|
`devflow doctor <id>` and repair with `devflow recover <id>`.
|
|
456
458
|
|
|
457
|
-
Available commands in `0.3.
|
|
459
|
+
Available commands in `0.3.8`:
|
|
458
460
|
|
|
459
461
|
| Command | Status |
|
|
460
462
|
| --- | --- |
|
|
@@ -642,7 +644,7 @@ devflow approve 001 --stage spec
|
|
|
642
644
|
```
|
|
643
645
|
|
|
644
646
|
Approval is explicit and binds the decision to the current artifact
|
|
645
|
-
digests. For a `0.3.
|
|
647
|
+
digests. For a `0.3.8` change it binds `spec.md`, `discovery.yaml` and,
|
|
646
648
|
when a manifest applies, the architecture manifest digest. Repeating the
|
|
647
649
|
same approval is a no-op. If an artifact changes after validation,
|
|
648
650
|
DevFlow marks it stale and refuses approval until it is regenerated and
|
|
@@ -653,7 +655,7 @@ and names the pending questions and assumptions. Approval also rejects a
|
|
|
653
655
|
specification whose section 7 still lists open questions. Legacy `0.2.0`
|
|
654
656
|
changes without `discovery.yaml` remain approvable with a warning.
|
|
655
657
|
|
|
656
|
-
Only the `spec` stage is available in `0.3.
|
|
658
|
+
Only the `spec` stage is available in `0.3.8`. `--stage plan` and
|
|
657
659
|
`--stage review` are rejected. There are no `plan`, `implement` or
|
|
658
660
|
`review` commands in this release.
|
|
659
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
|