devflow-toolkit 0.4.1__py3-none-any.whl → 0.4.2__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/core/config.py CHANGED
@@ -20,8 +20,6 @@ from devflow.models.project import (
20
20
  CONFIG_RELATIVE_PATH = Path(".devflow") / "config.yaml"
21
21
  DEFAULT_CONSTITUTION_PATH = Path(".devflow") / "constitution"
22
22
  DEFAULT_SPECIFICATIONS_PATH = Path(".devflow") / "specs"
23
- DEFAULT_PLANS_PATH = Path(".devflow") / "plans"
24
- DEFAULT_TEMPLATES_PATH = Path(".devflow") / "templates"
25
23
  DEFAULT_DOCUMENTATION_LANGUAGE = "en"
26
24
  MAX_DISCOVERY_BUDGET = 100
27
25
  # follow_up, maximum and max_rounds written by `devflow init` before
@@ -247,8 +245,6 @@ class DevFlowConfig:
247
245
  technologies: dict[str, list[str]]
248
246
  constitution: ConstitutionSettings
249
247
  specifications_path: Path
250
- plans_path: Path
251
- templates_path: Path
252
248
  documentation_language: str
253
249
  agent: AgentSettings
254
250
  discovery: DiscoverySettings = DiscoverySettings()
@@ -318,11 +314,9 @@ class ConfigManager:
318
314
  data.get("specifications"),
319
315
  "specifications",
320
316
  )
321
- plans = self._mapping(data.get("plans"), "plans")
322
- templates = self._mapping(
323
- data.get("templates", {}),
324
- "templates",
325
- )
317
+ # `plans` and `templates` were written by `devflow init` before
318
+ # 0.4.2. Nothing uses them, so older files keep loading and the keys
319
+ # are ignored.
326
320
  documentation = self._mapping(
327
321
  data.get("documentation", {}),
328
322
  "documentation",
@@ -351,14 +345,6 @@ class ConfigManager:
351
345
  ),
352
346
  "specifications.path",
353
347
  )
354
- plans_path = self._relative_path(
355
- plans.get("path", DEFAULT_PLANS_PATH.as_posix()),
356
- "plans.path",
357
- )
358
- templates_path = self._relative_path(
359
- templates.get("path", DEFAULT_TEMPLATES_PATH.as_posix()),
360
- "templates.path",
361
- )
362
348
 
363
349
  technologies = self._technologies(data.get("technologies", {}))
364
350
 
@@ -417,8 +403,6 @@ class ConfigManager:
417
403
  ),
418
404
  ),
419
405
  specifications_path=specifications_path,
420
- plans_path=plans_path,
421
- templates_path=templates_path,
422
406
  documentation_language=documentation_language,
423
407
  agent=agent_settings,
424
408
  discovery=discovery_settings,
@@ -490,12 +474,6 @@ class ConfigManager:
490
474
  "specifications": {
491
475
  "path": DEFAULT_SPECIFICATIONS_PATH.as_posix(),
492
476
  },
493
- "plans": {
494
- "path": DEFAULT_PLANS_PATH.as_posix(),
495
- },
496
- "templates": {
497
- "path": DEFAULT_TEMPLATES_PATH.as_posix(),
498
- },
499
477
  "documentation": {
500
478
  "language": language,
501
479
  },
@@ -658,8 +636,6 @@ class ConfigManager:
658
636
  for path in (
659
637
  config.constitution.path,
660
638
  config.specifications_path,
661
- config.plans_path,
662
- config.templates_path,
663
639
  ):
664
640
  resolved = path.resolve()
665
641
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: devflow-toolkit
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Specification workflow toolkit for AI-assisted software changes
5
5
  Author: DevFlow contributors
6
6
  License-Expression: MIT
@@ -32,7 +32,7 @@ Description-Content-Type: text/markdown
32
32
 
33
33
  # DevFlow Toolkit
34
34
 
35
- **Current version: `0.4.1`.**
35
+ **Current version: `0.4.2`.**
36
36
 
37
37
  Before any code is written, you and the AI agree on what will be built
38
38
  and approve it as a spec. The agent then implements once, on something
@@ -210,7 +210,7 @@ pip install devflow-toolkit
210
210
  To install a specific built artifact instead:
211
211
 
212
212
  ```bash
213
- pip install devflow_toolkit-0.4.1-py3-none-any.whl
213
+ pip install devflow_toolkit-0.4.2-py3-none-any.whl
214
214
  ```
215
215
 
216
216
  Verify the installation:
@@ -425,10 +425,6 @@ constitution:
425
425
  - django-standards.md
426
426
  specifications:
427
427
  path: .devflow/specs
428
- plans:
429
- path: .devflow/plans
430
- templates:
431
- path: .devflow/templates
432
428
  agent:
433
429
  harness: opencode
434
430
  model: provider/model-name
@@ -515,7 +511,7 @@ as an architectural constraint when it is present.
515
511
 
516
512
  ### Harnesses
517
513
 
518
- | Harness | Status in 0.4.1 |
514
+ | Harness | Status in 0.4.2 |
519
515
  | --- | --- |
520
516
  | OpenCode | Verified end-to-end; interactive Discovery uses the `question` tool |
521
517
  | Antigravity | Custom agents and scoped permissions generated; `agy` loading and print mode verified |
@@ -929,7 +925,7 @@ reference.
929
925
  8. If artifacts exist without workflow state, diagnose with
930
926
  `devflow doctor <id>` and repair with `devflow recover <id>`.
931
927
 
932
- Available commands in `0.4.1`:
928
+ Available commands in `0.4.2`:
933
929
 
934
930
  | Command | Status |
935
931
  | --- | --- |
@@ -1162,7 +1158,7 @@ devflow approve 001
1162
1158
  ```
1163
1159
 
1164
1160
  Approval is explicit and binds the decision to the current artifact
1165
- digests. For a `0.4.1` change it binds `spec.md`, `discovery.yaml` and,
1161
+ digests. For a `0.4.2` change it binds `spec.md`, `discovery.yaml` and,
1166
1162
  when a manifest applies, the architecture manifest digest. Repeating the
1167
1163
  same approval is a no-op. If an artifact changes after validation,
1168
1164
  DevFlow marks it stale and refuses approval until it is regenerated and
@@ -1173,7 +1169,7 @@ and names the pending questions and assumptions. Approval also rejects a
1173
1169
  specification whose section 7 still lists open questions. Legacy `0.2.0`
1174
1170
  changes without `discovery.yaml` remain approvable with a warning.
1175
1171
 
1176
- Only the `spec` stage is available in `0.4.1`, so `--stage` is optional
1172
+ Only the `spec` stage is available in `0.4.2`, so `--stage` is optional
1177
1173
  and defaults to `spec`. `--stage plan` and `--stage review` are
1178
1174
  rejected. There are no `plan`, `implement` or
1179
1175
  `review` commands in this release.
@@ -1256,12 +1252,18 @@ my-project/
1256
1252
  │ ├── spec.md # only when Discovery is complete
1257
1253
  │ ├── workflow.yaml # projection of events.jsonl
1258
1254
  │ ├── events.jsonl # append-only source of truth
1255
+ │ ├── history/ # earlier versions of spec.md
1259
1256
  │ └── .lock # per-change advisory lock
1260
1257
  ├── AGENTS.md
1261
1258
  ├── opencode.json # when OpenCode is selected
1262
1259
  └── .opencode/agents/ # when OpenCode is selected
1263
1260
  ```
1264
1261
 
1262
+ DevFlow creates only `constitution/` and `specs/` inside `.devflow/`.
1263
+ Projects initialized before `0.4.2` may also have empty `plans/` and
1264
+ `templates/` folders and matching keys in `config.yaml`; nothing uses
1265
+ them, so they can be deleted.
1266
+
1265
1267
  All managed files are identifiable: Markdown files contain
1266
1268
  `<!-- devflow:managed -->`, and JSON files contain `"devflowManaged":
1267
1269
  true`. Unmanaged files with the same names are left untouched and
@@ -25,7 +25,7 @@ devflow/commands/status.py,sha256=7psMpY_vFFSOQUia39_0W1-tnCijg1tQLgAX5aMduNo,84
25
25
  devflow/core/__init__.py,sha256=hN7i4-PDaZ7y4P8qRpZl_lJvIiPyQaN1TDGnw2BecYU,427
26
26
  devflow/core/architecture.py,sha256=qllllsUVqA76LiSU6z_s4U8dxMcs6ClKXU16HxI3yOI,13692
27
27
  devflow/core/clock.py,sha256=KZROv6o51Ln1EzK00ySCxfc7WPZqPlaQhFfjfdc_TMY,1651
28
- devflow/core/config.py,sha256=zeMxMAUlvLo06pOUZ6mCh0cQBG21iNfbCom62uYQQzE,27502
28
+ devflow/core/config.py,sha256=0tzIMooUUz7yjywtofhmNbXumyxqcTXfTLSVkmVFSss,26843
29
29
  devflow/core/constitution.py,sha256=rPLc8Puv9nUMC_GZwzOqvr1B-4urdxAISr655od2IPM,5333
30
30
  devflow/core/discovery.py,sha256=rm2-7Eq8APFQ6hetQWXcsJ8KB1yEKVDVVHHwr-XJNLM,66507
31
31
  devflow/core/file_types.py,sha256=5S5YywOaTESDiln4kP7qyJFEjxHoiF6tSBbwuXNpDDc,566
@@ -68,8 +68,8 @@ devflow/prompts/__init__.py,sha256=kTm7xjlvHLgkH9zYV7e51iPlZqRKJqL0ufA67-chcPc,2
68
68
  devflow/prompts/discovery-repair.md,sha256=hpw8pFaUC8OiHK_KTI2nMF45f77CqcFuDYzn9o6X5ao,1240
69
69
  devflow/prompts/discovery.md,sha256=j6xP67cyie6rQ56_DZErdsbTJa-29vK72-Lg0rQdkY4,16595
70
70
  devflow/prompts/spec.md,sha256=5N4tuB_StJYMENAO-WtxXDL1D7B3x0xhHXu9VWoBBEE,8049
71
- devflow_toolkit-0.4.1.dist-info/METADATA,sha256=rNF8UUADaOXtPDYOYgB5ZTUMaA774jkQ7SyDlCRVV4w,57477
72
- devflow_toolkit-0.4.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
73
- devflow_toolkit-0.4.1.dist-info/entry_points.txt,sha256=wPmqE1081vi8s3xf-Wfzfvpl-44IKgwx7OGoLEK3u7o,44
74
- devflow_toolkit-0.4.1.dist-info/licenses/LICENSE,sha256=Wa04lstC8Goe4b9IYfEYWB2k7nokYBejZl6NdyAl8rA,1077
75
- devflow_toolkit-0.4.1.dist-info/RECORD,,
71
+ devflow_toolkit-0.4.2.dist-info/METADATA,sha256=FD4zhv0QJISPuyF9xEoBiibn5TWaOAtfj8MZVsnCo9I,57723
72
+ devflow_toolkit-0.4.2.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
73
+ devflow_toolkit-0.4.2.dist-info/entry_points.txt,sha256=wPmqE1081vi8s3xf-Wfzfvpl-44IKgwx7OGoLEK3u7o,44
74
+ devflow_toolkit-0.4.2.dist-info/licenses/LICENSE,sha256=Wa04lstC8Goe4b9IYfEYWB2k7nokYBejZl6NdyAl8rA,1077
75
+ devflow_toolkit-0.4.2.dist-info/RECORD,,