devflow-toolkit 0.3.6__py3-none-any.whl → 0.3.7__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.
@@ -62,6 +62,8 @@ class ClaudeCodeAdapter(HarnessAdapter):
62
62
  self.executable,
63
63
  "--permission-mode",
64
64
  "dontAsk",
65
+ "--allowedTools",
66
+ "AskUserQuestion",
65
67
  "--settings",
66
68
  settings,
67
69
  context.prompt,
@@ -116,6 +118,11 @@ class ClaudeCodeAdapter(HarnessAdapter):
116
118
  if context.permissions.allow_project_read:
117
119
  allow.extend(["Read", "Grep", "Glob"])
118
120
 
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
+
119
126
  if context.permissions.allow_source_code_changes:
120
127
  allow.extend(["Edit", "Bash"])
121
128
  elif context.permissions.allow_spec_write:
devflow/cli.py CHANGED
@@ -35,7 +35,7 @@ def version() -> None:
35
35
  try:
36
36
  current_version = package_version("devflow-toolkit")
37
37
  except PackageNotFoundError:
38
- current_version = "0.3.6"
38
+ current_version = "0.3.7"
39
39
  console.print(f"DevFlow v{current_version}")
40
40
 
41
41
 
@@ -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.6. "
60
+ f"Stage '{stage}' is not available in DevFlow 0.3.7. "
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.6
3
+ Version: 0.3.7
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.6` MVP. It implements the **discovery and
45
+ This is the `0.3.7` 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.6-py3-none-any.whl
121
+ pip install devflow_toolkit-0.3.7-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.6 |
294
+ | Harness | Status in 0.3.7 |
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,11 @@ 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 explicitly allow the
344
+ `AskUserQuestion` tool even though the adapter uses `dontAsk` mode, so
345
+ Discovery can ask the user directly. Non-interactive runs do not allow
346
+ the tool.
347
+
343
348
  ## Discovery
344
349
 
345
350
  Discovery is separate from specification. The project context decides
@@ -449,7 +454,7 @@ specification that still lists open questions.
449
454
  8. If artifacts exist without workflow state, diagnose with
450
455
  `devflow doctor <id>` and repair with `devflow recover <id>`.
451
456
 
452
- Available commands in `0.3.6`:
457
+ Available commands in `0.3.7`:
453
458
 
454
459
  | Command | Status |
455
460
  | --- | --- |
@@ -637,7 +642,7 @@ devflow approve 001 --stage spec
637
642
  ```
638
643
 
639
644
  Approval is explicit and binds the decision to the current artifact
640
- digests. For a `0.3.6` change it binds `spec.md`, `discovery.yaml` and,
645
+ digests. For a `0.3.7` change it binds `spec.md`, `discovery.yaml` and,
641
646
  when a manifest applies, the architecture manifest digest. Repeating the
642
647
  same approval is a no-op. If an artifact changes after validation,
643
648
  DevFlow marks it stale and refuses approval until it is regenerated and
@@ -648,7 +653,7 @@ and names the pending questions and assumptions. Approval also rejects a
648
653
  specification whose section 7 still lists open questions. Legacy `0.2.0`
649
654
  changes without `discovery.yaml` remain approvable with a warning.
650
655
 
651
- Only the `spec` stage is available in `0.3.6`. `--stage plan` and
656
+ Only the `spec` stage is available in `0.3.7`. `--stage plan` and
652
657
  `--stage review` are rejected. There are no `plan`, `implement` or
653
658
  `review` commands in this release.
654
659
 
@@ -1,9 +1,9 @@
1
1
  devflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- devflow/cli.py,sha256=HMcolzm_Wewy23BMV-ylZxLMkEQ-dRHwCcnrqVhuf0w,1168
2
+ devflow/cli.py,sha256=-J_7Tnc6wzNiwBnoaz1XrUSUIWLJUBh6kyDMhsopBNE,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=4u-DEF8ptQuAnBf5iSZSqx9zzmLLP4WNlnsrcq6NgZ8,3404
6
+ devflow/adapters/claude_code.py,sha256=V7Hsog9CRPvA50jhBoI3KvTy0xehCt-vUFi7jWhDPc4,3663
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=lH1ncybSBOoXlK_WoK879i2VorFOIjd89ovdx_fYK80,2740
14
+ devflow/commands/approve.py,sha256=W-IYx2RTDZQfqHrVcC40hXyAusD6mKR2IJaSVUR-m-o,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.6.dist-info/METADATA,sha256=vkhgGu4fsiJs8zgm_icGiM8AtYEb4VLkLDQkfviRGm4,28423
63
- devflow_toolkit-0.3.6.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
64
- devflow_toolkit-0.3.6.dist-info/entry_points.txt,sha256=wPmqE1081vi8s3xf-Wfzfvpl-44IKgwx7OGoLEK3u7o,44
65
- devflow_toolkit-0.3.6.dist-info/licenses/LICENSE,sha256=Wa04lstC8Goe4b9IYfEYWB2k7nokYBejZl6NdyAl8rA,1077
66
- devflow_toolkit-0.3.6.dist-info/RECORD,,
62
+ devflow_toolkit-0.3.7.dist-info/METADATA,sha256=baMOOZD-gKXN5ypN49ScJYwP39e9YGrFW5_Nv3QLCXw,28631
63
+ devflow_toolkit-0.3.7.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
64
+ devflow_toolkit-0.3.7.dist-info/entry_points.txt,sha256=wPmqE1081vi8s3xf-Wfzfvpl-44IKgwx7OGoLEK3u7o,44
65
+ devflow_toolkit-0.3.7.dist-info/licenses/LICENSE,sha256=Wa04lstC8Goe4b9IYfEYWB2k7nokYBejZl6NdyAl8rA,1077
66
+ devflow_toolkit-0.3.7.dist-info/RECORD,,