devflow-toolkit 0.3.23__py3-none-any.whl → 0.3.24__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/discovery.py +11 -24
- devflow/core/spec_workflow.py +100 -7
- devflow/core/specification.py +10 -0
- devflow/prompts/__init__.py +23 -7
- devflow/prompts/discovery.md +4 -1
- {devflow_toolkit-0.3.23.dist-info → devflow_toolkit-0.3.24.dist-info}/METADATA +32 -12
- {devflow_toolkit-0.3.23.dist-info → devflow_toolkit-0.3.24.dist-info}/RECORD +10 -10
- {devflow_toolkit-0.3.23.dist-info → devflow_toolkit-0.3.24.dist-info}/WHEEL +0 -0
- {devflow_toolkit-0.3.23.dist-info → devflow_toolkit-0.3.24.dist-info}/entry_points.txt +0 -0
- {devflow_toolkit-0.3.23.dist-info → devflow_toolkit-0.3.24.dist-info}/licenses/LICENSE +0 -0
devflow/core/discovery.py
CHANGED
|
@@ -53,6 +53,9 @@ QUESTION_STATUSES = (
|
|
|
53
53
|
QUESTION_ASSUMED,
|
|
54
54
|
QUESTION_ANSWERED,
|
|
55
55
|
)
|
|
56
|
+
# Agents sometimes write the record status on a question. Both mean the
|
|
57
|
+
# decision is still open.
|
|
58
|
+
QUESTION_PENDING_ALIASES = frozenset({"awaiting_clarification", "open"})
|
|
56
59
|
QUESTION_WRITTEN_STATUSES = (
|
|
57
60
|
QUESTION_PENDING,
|
|
58
61
|
QUESTION_RESOLVED,
|
|
@@ -108,6 +111,7 @@ ASSUMPTION_STATUSES = (ASSUMPTION_PENDING, ASSUMPTION_ACCEPTED)
|
|
|
108
111
|
ASSUMPTION_SOURCES = ("agent_default", "human", "existing_convention")
|
|
109
112
|
|
|
110
113
|
_QUESTION_ID = re.compile(r"^Q\d{1,3}$")
|
|
114
|
+
_RECOMMENDED = re.compile(r"recom+end", re.IGNORECASE)
|
|
111
115
|
_ASSUMPTION_ID = re.compile(r"^A\d{1,3}$")
|
|
112
116
|
|
|
113
117
|
_STOPWORDS = {
|
|
@@ -904,18 +908,8 @@ class DiscoveryManager:
|
|
|
904
908
|
msg = f"Invalid YAML in discovery file: {path}: {detail}"
|
|
905
909
|
raise DiscoveryError(msg) from error
|
|
906
910
|
document = self._parse(data, directory)
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
and (
|
|
910
|
-
document.pending_questions
|
|
911
|
-
or document.pending_assumptions
|
|
912
|
-
)
|
|
913
|
-
):
|
|
914
|
-
msg = (
|
|
915
|
-
"Discovery is marked complete but still has pending "
|
|
916
|
-
"questions or assumptions."
|
|
917
|
-
)
|
|
918
|
-
raise DiscoveryError(msg)
|
|
911
|
+
# Completeness is derived from the decisions, never from the
|
|
912
|
+
# status an agent wrote.
|
|
919
913
|
return replace(document, status=document.derived_status)
|
|
920
914
|
|
|
921
915
|
def write(
|
|
@@ -1241,18 +1235,6 @@ class DiscoveryManager:
|
|
|
1241
1235
|
assumptions=assumptions,
|
|
1242
1236
|
deferred=deferred,
|
|
1243
1237
|
)
|
|
1244
|
-
if (
|
|
1245
|
-
document.status == DISCOVERY_COMPLETE
|
|
1246
|
-
and (
|
|
1247
|
-
document.pending_questions
|
|
1248
|
-
or document.pending_assumptions
|
|
1249
|
-
)
|
|
1250
|
-
):
|
|
1251
|
-
msg = (
|
|
1252
|
-
"Discovery is marked complete but still has pending "
|
|
1253
|
-
"questions or assumptions."
|
|
1254
|
-
)
|
|
1255
|
-
raise DiscoveryError(msg)
|
|
1256
1238
|
return document
|
|
1257
1239
|
|
|
1258
1240
|
def _question(
|
|
@@ -1291,6 +1273,8 @@ class DiscoveryManager:
|
|
|
1291
1273
|
)
|
|
1292
1274
|
raise DiscoveryError(msg)
|
|
1293
1275
|
status = _text(mapping.get("status"), f"{identifier}.status")
|
|
1276
|
+
if status in QUESTION_PENDING_ALIASES:
|
|
1277
|
+
status = QUESTION_PENDING
|
|
1294
1278
|
if status not in QUESTION_STATUSES:
|
|
1295
1279
|
msg = (
|
|
1296
1280
|
f"Invalid status for {identifier}: {status!r}. "
|
|
@@ -1327,6 +1311,9 @@ class DiscoveryManager:
|
|
|
1327
1311
|
f"{identifier}.next_level.why",
|
|
1328
1312
|
),
|
|
1329
1313
|
)
|
|
1314
|
+
# The recommended option is level 1, never the next level.
|
|
1315
|
+
if _RECOMMENDED.search(next_level.option):
|
|
1316
|
+
next_level = None
|
|
1330
1317
|
resolution_source = _optional_text(
|
|
1331
1318
|
mapping.get("resolution_source"),
|
|
1332
1319
|
f"{identifier}.resolution_source",
|
devflow/core/spec_workflow.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from dataclasses import dataclass
|
|
5
|
+
from dataclasses import dataclass, replace
|
|
6
6
|
from pathlib import Path
|
|
7
7
|
|
|
8
8
|
from devflow.core.architecture import (
|
|
@@ -61,6 +61,15 @@ from devflow.prompts import (
|
|
|
61
61
|
)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
class SpecDiscoveryInvalidError(Exception):
|
|
65
|
+
"""Raised when the specification agent leaves discovery.yaml invalid."""
|
|
66
|
+
|
|
67
|
+
def __init__(self, reason: str, warnings: tuple[str, ...] = ()) -> None:
|
|
68
|
+
self.reason = reason
|
|
69
|
+
self.warnings = warnings
|
|
70
|
+
super().__init__(reason)
|
|
71
|
+
|
|
72
|
+
|
|
64
73
|
class SpecOpenQuestionsError(Exception):
|
|
65
74
|
"""Raised when the specification agent leaves decisions unresolved."""
|
|
66
75
|
|
|
@@ -633,6 +642,37 @@ class SpecWorkflow:
|
|
|
633
642
|
discovery_digest=discovery_digest,
|
|
634
643
|
archive=archive_existing,
|
|
635
644
|
)
|
|
645
|
+
except SpecDiscoveryInvalidError as error:
|
|
646
|
+
if prepared.path.is_file():
|
|
647
|
+
ArtifactStore(prepared.root).archive(prepared.path)
|
|
648
|
+
prepared.path.unlink(missing_ok=True)
|
|
649
|
+
warnings.append(
|
|
650
|
+
"the specification agent left discovery.yaml invalid: "
|
|
651
|
+
f"{error.reason}. No specification was written. Run 'devflow "
|
|
652
|
+
f"spec --continue {prepared.spec_id}' to repair it."
|
|
653
|
+
)
|
|
654
|
+
return self._build_result(
|
|
655
|
+
spec=None,
|
|
656
|
+
harness_name=adapter.display_name,
|
|
657
|
+
execution_mode=request.execution_mode,
|
|
658
|
+
warnings=warnings,
|
|
659
|
+
run_warnings=list(error.warnings),
|
|
660
|
+
setup_result=setup_result,
|
|
661
|
+
constitution=constitution,
|
|
662
|
+
project_mode=project_mode,
|
|
663
|
+
architecture=architecture,
|
|
664
|
+
discovery=discovery,
|
|
665
|
+
discovery_digest=discovery_digest,
|
|
666
|
+
discovery_path=discovery_path,
|
|
667
|
+
discovery_source=discovery_source,
|
|
668
|
+
discovery_created=discovery_created,
|
|
669
|
+
blocked=True,
|
|
670
|
+
spec_written=False,
|
|
671
|
+
spec_reused=False,
|
|
672
|
+
continuation=continuation,
|
|
673
|
+
directory=prepared.directory,
|
|
674
|
+
discovery_valid=False,
|
|
675
|
+
)
|
|
636
676
|
except SpecOpenQuestionsError as error:
|
|
637
677
|
if prepared.path.is_file():
|
|
638
678
|
ArtifactStore(prepared.root).archive(prepared.path)
|
|
@@ -694,6 +734,31 @@ class SpecWorkflow:
|
|
|
694
734
|
continuation=continuation,
|
|
695
735
|
directory=prepared.directory,
|
|
696
736
|
)
|
|
737
|
+
current_digest = self._discovery_digest(
|
|
738
|
+
discovery_manager,
|
|
739
|
+
prepared.directory,
|
|
740
|
+
)
|
|
741
|
+
if current_digest and current_digest != discovery_digest:
|
|
742
|
+
discovery = discovery_manager.load(
|
|
743
|
+
prepared.directory,
|
|
744
|
+
required=True,
|
|
745
|
+
)
|
|
746
|
+
discovery_digest = current_digest
|
|
747
|
+
discovery_source = "agent"
|
|
748
|
+
prepared = self.manager.prepare(
|
|
749
|
+
description=description,
|
|
750
|
+
config=config,
|
|
751
|
+
project=project,
|
|
752
|
+
constitution=constitution,
|
|
753
|
+
profiles=profiles,
|
|
754
|
+
project_mode=project_mode,
|
|
755
|
+
architecture=architecture,
|
|
756
|
+
discovery=discovery,
|
|
757
|
+
discovery_digest=discovery_digest,
|
|
758
|
+
directory=prepared.directory,
|
|
759
|
+
spec_id=prepared.spec_id,
|
|
760
|
+
)
|
|
761
|
+
self.manager.materialize_context(prepared)
|
|
697
762
|
return self._build_result(
|
|
698
763
|
spec=spec,
|
|
699
764
|
harness_name=adapter.display_name,
|
|
@@ -1059,8 +1124,35 @@ class SpecWorkflow:
|
|
|
1059
1124
|
run_warnings,
|
|
1060
1125
|
)
|
|
1061
1126
|
if prepared.path.is_file():
|
|
1062
|
-
self._raise_if_returned_to_discovery(
|
|
1127
|
+
current = self._raise_if_returned_to_discovery(
|
|
1128
|
+
prepared,
|
|
1129
|
+
run_warnings,
|
|
1130
|
+
)
|
|
1063
1131
|
content = prepared.path.read_text(encoding="utf-8")
|
|
1132
|
+
current_digest = self._discovery_digest(
|
|
1133
|
+
DiscoveryManager(prepared.root),
|
|
1134
|
+
prepared.directory,
|
|
1135
|
+
)
|
|
1136
|
+
if (
|
|
1137
|
+
current is not None
|
|
1138
|
+
and discovery_digest
|
|
1139
|
+
and current_digest
|
|
1140
|
+
and current_digest != discovery_digest
|
|
1141
|
+
):
|
|
1142
|
+
# Decisions answered by the user during this session are
|
|
1143
|
+
# part of Discovery. DevFlow binds the spec to the new
|
|
1144
|
+
# record, because the agent cannot compute the digest.
|
|
1145
|
+
prepared = replace(
|
|
1146
|
+
prepared,
|
|
1147
|
+
discovery=current,
|
|
1148
|
+
discovery_digest=current_digest,
|
|
1149
|
+
)
|
|
1150
|
+
discovery_digest = current_digest
|
|
1151
|
+
if discovery_digest:
|
|
1152
|
+
content = self.manager.stamp_discovery_digest(
|
|
1153
|
+
content,
|
|
1154
|
+
discovery_digest,
|
|
1155
|
+
)
|
|
1064
1156
|
self._raise_if_open_questions(
|
|
1065
1157
|
content,
|
|
1066
1158
|
discovery_digest,
|
|
@@ -1156,7 +1248,7 @@ class SpecWorkflow:
|
|
|
1156
1248
|
self,
|
|
1157
1249
|
prepared: PreparedSpec,
|
|
1158
1250
|
run_warnings: list[str],
|
|
1159
|
-
) -> None:
|
|
1251
|
+
) -> DiscoveryDocument | None:
|
|
1160
1252
|
"""Stop when the agent recorded new decisions instead of a spec."""
|
|
1161
1253
|
try:
|
|
1162
1254
|
current = DiscoveryManager(prepared.root).load(
|
|
@@ -1164,12 +1256,13 @@ class SpecWorkflow:
|
|
|
1164
1256
|
required=True,
|
|
1165
1257
|
)
|
|
1166
1258
|
except DiscoveryError as error:
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1259
|
+
raise SpecDiscoveryInvalidError(
|
|
1260
|
+
str(error),
|
|
1261
|
+
tuple(run_warnings),
|
|
1262
|
+
) from error
|
|
1171
1263
|
if current is not None and not current.is_complete:
|
|
1172
1264
|
raise SpecOpenQuestionsError((), tuple(run_warnings))
|
|
1265
|
+
return current
|
|
1173
1266
|
|
|
1174
1267
|
def _raise_if_open_questions(
|
|
1175
1268
|
self,
|
devflow/core/specification.py
CHANGED
|
@@ -1087,6 +1087,16 @@ class SpecificationManager:
|
|
|
1087
1087
|
cleaned = cleaned[start:]
|
|
1088
1088
|
return cleaned.strip()
|
|
1089
1089
|
|
|
1090
|
+
def stamp_discovery_digest(self, content: str, digest: str) -> str:
|
|
1091
|
+
"""Write the authoritative Discovery digest into the header row."""
|
|
1092
|
+
return re.sub(
|
|
1093
|
+
r"^(\|\s*Discovery digest\s*\|).*$",
|
|
1094
|
+
lambda match: f"{match.group(1)} `{digest}` |",
|
|
1095
|
+
content,
|
|
1096
|
+
count=1,
|
|
1097
|
+
flags=re.MULTILINE,
|
|
1098
|
+
)
|
|
1099
|
+
|
|
1090
1100
|
def with_next_specs(
|
|
1091
1101
|
self,
|
|
1092
1102
|
content: str,
|
devflow/prompts/__init__.py
CHANGED
|
@@ -17,6 +17,10 @@ PROMPTS_ROOT = Path(__file__).resolve().parent
|
|
|
17
17
|
# normal English/Spanish text uses roughly four characters per token.
|
|
18
18
|
MAX_DECISION_CONTEXT_CHARS = 8_000
|
|
19
19
|
|
|
20
|
+
# Missing decisions the specification agent may ask in its own session
|
|
21
|
+
# before the change has to return to a separate Discovery session.
|
|
22
|
+
MAX_IN_SESSION_DECISIONS = 3
|
|
23
|
+
|
|
20
24
|
|
|
21
25
|
class PromptError(Exception):
|
|
22
26
|
"""Raised when a bundled prompt cannot be loaded."""
|
|
@@ -372,7 +376,9 @@ def _language_note(language: str) -> str:
|
|
|
372
376
|
"`AC-XXX` identifier, field name, path, command, code block and "
|
|
373
377
|
"digest exactly as shown in this prompt. Do not translate or "
|
|
374
378
|
"reformat those tokens. Do not write the specification in English "
|
|
375
|
-
"unless the target language is `en
|
|
379
|
+
"unless the target language is `en`.\n\n"
|
|
380
|
+
"Speak to the user, and write every question you add to the "
|
|
381
|
+
"discovery record, in the same target language."
|
|
376
382
|
)
|
|
377
383
|
|
|
378
384
|
|
|
@@ -468,12 +474,22 @@ def _mode_instructions(
|
|
|
468
474
|
"You are running interactively. Discovery is complete; use its "
|
|
469
475
|
"recorded answers and accepted assumptions as settled decisions. "
|
|
470
476
|
"Before writing, check that every decision the specification "
|
|
471
|
-
"needs is recorded. If
|
|
472
|
-
"
|
|
473
|
-
"
|
|
474
|
-
"
|
|
475
|
-
"
|
|
476
|
-
"
|
|
477
|
+
"needs is recorded. If up to "
|
|
478
|
+
f"{MAX_IN_SESSION_DECISIONS} decisions are missing, ask the user "
|
|
479
|
+
"now in one batch, with the structured question tool when "
|
|
480
|
+
"available: put the recommended level-1 option first, add one "
|
|
481
|
+
"more advanced next-level option with a one-sentence reason, and "
|
|
482
|
+
"never assume a security decision. Record each answer in the "
|
|
483
|
+
"discovery record as a new question with the next `Qn` id, "
|
|
484
|
+
"`status: resolved`, `resolution_source: user`, the chosen option "
|
|
485
|
+
"text as `answer`, `answered_by: user`, `answered_at`, `options` "
|
|
486
|
+
"and `next_level`; DevFlow updates the Discovery digest in the "
|
|
487
|
+
"specification header. If more decisions are missing or the user "
|
|
488
|
+
"does not answer, append them as questions with `status: "
|
|
489
|
+
"pending`, set the root `status` of the record to "
|
|
490
|
+
"`awaiting_clarification`, do not write the specification and "
|
|
491
|
+
"tell the user to exit this session so DevFlow returns to "
|
|
492
|
+
"Discovery. Otherwise write the complete specification to "
|
|
477
493
|
f"`{spec_path}` using the available file tools. Do not finish "
|
|
478
494
|
"until the file exists and contains the "
|
|
479
495
|
"complete document. Then tell the user that the specification is "
|
devflow/prompts/discovery.md
CHANGED
|
@@ -52,7 +52,8 @@ traces that path instead of solving everything at once.
|
|
|
52
52
|
the decision one level further and record it in `next_level`:
|
|
53
53
|
`option` is the exact option text (also listed in `options`) and
|
|
54
54
|
`why` explains in one sentence what it improves and when it is worth
|
|
55
|
-
it.
|
|
55
|
+
it. It is never the recommended level-1 option; DevFlow ignores a
|
|
56
|
+
`next_level` marked as recommended. If the user picks it, record the answer with that exact text. If
|
|
56
57
|
not, DevFlow proposes it as a next specification. Do not ask
|
|
57
58
|
follow-up questions about the next level in this specification.
|
|
58
59
|
4. **Do not go deeper than this level.** When an answer opens a more
|
|
@@ -279,6 +280,8 @@ Valid materialities are `critical`, `functional`, `technical` and
|
|
|
279
280
|
`cosmetic`.
|
|
280
281
|
|
|
281
282
|
Valid question statuses are `pending`, `resolved` and `assumed`.
|
|
283
|
+
`awaiting_clarification` and `complete` belong only to the root
|
|
284
|
+
`status` of the record.
|
|
282
285
|
`answered` is a legacy alias that DevFlow reads as `resolved`; write
|
|
283
286
|
`resolved` in new records. Valid assumption statuses are
|
|
284
287
|
`pending_acceptance` and `accepted`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: devflow-toolkit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.24
|
|
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.3.
|
|
35
|
+
**Current version: `0.3.24`.**
|
|
36
36
|
|
|
37
37
|
DevFlow is a command-line toolkit for leading AI models and coding
|
|
38
38
|
agents through specification-driven changes in real software projects.
|
|
@@ -152,7 +152,7 @@ pip install devflow-toolkit
|
|
|
152
152
|
To install a specific built artifact instead:
|
|
153
153
|
|
|
154
154
|
```bash
|
|
155
|
-
pip install devflow_toolkit-0.3.
|
|
155
|
+
pip install devflow_toolkit-0.3.24-py3-none-any.whl
|
|
156
156
|
```
|
|
157
157
|
|
|
158
158
|
Verify the installation:
|
|
@@ -428,7 +428,7 @@ as an architectural constraint when it is present.
|
|
|
428
428
|
|
|
429
429
|
### Harnesses
|
|
430
430
|
|
|
431
|
-
| Harness | Status in 0.3.
|
|
431
|
+
| Harness | Status in 0.3.24 |
|
|
432
432
|
| --- | --- |
|
|
433
433
|
| OpenCode | Verified end-to-end; interactive Discovery uses the `question` tool |
|
|
434
434
|
| Antigravity | Custom agents and scoped permissions generated; `agy` loading and print mode verified |
|
|
@@ -684,10 +684,28 @@ specification is generated. `devflow approve` rejects a
|
|
|
684
684
|
specification that still lists open questions.
|
|
685
685
|
|
|
686
686
|
In an interactive run the specification agent checks for missing
|
|
687
|
-
decisions **before** writing
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
687
|
+
decisions **before** writing:
|
|
688
|
+
|
|
689
|
+
- **Up to 3 missing decisions:** it asks you in the same session, with
|
|
690
|
+
the same rules as Discovery (recommended level-1 option first, a
|
|
691
|
+
next-level option with its reason, security never assumed). Your
|
|
692
|
+
answers are recorded in `discovery.yaml` as decisions resolved by you,
|
|
693
|
+
and then it writes the spec. DevFlow writes the new Discovery digest
|
|
694
|
+
into the spec header, because the agent cannot compute it.
|
|
695
|
+
- **More than 3, or no answer:** it records them as `pending`, sets the
|
|
696
|
+
record to `awaiting_clarification` and stops without writing
|
|
697
|
+
`spec.md`, so no tokens are spent on a document that would be
|
|
698
|
+
discarded.
|
|
699
|
+
|
|
700
|
+
If the agent leaves `discovery.yaml` invalid, DevFlow writes no
|
|
701
|
+
specification and asks you to run `devflow spec --continue`, which
|
|
702
|
+
repairs the file first. When an agent lists questions in section 7,
|
|
703
|
+
nested bullets stay part of the same question.
|
|
704
|
+
|
|
705
|
+
DevFlow derives completeness from the decisions themselves: a record
|
|
706
|
+
marked `complete` with pending questions is treated as
|
|
707
|
+
`awaiting_clarification`, and a question written with
|
|
708
|
+
`status: awaiting_clarification` is read as `pending`.
|
|
691
709
|
|
|
692
710
|
### Level-based Discovery
|
|
693
711
|
|
|
@@ -712,7 +730,9 @@ everything at once:
|
|
|
712
730
|
```
|
|
713
731
|
|
|
714
732
|
If the user chooses it, the answer uses that exact text. If not,
|
|
715
|
-
DevFlow treats it as a suggestion for a later specification.
|
|
733
|
+
DevFlow treats it as a suggestion for a later specification. The
|
|
734
|
+
recommended option is level 1, so a `next_level` marked as
|
|
735
|
+
recommended is ignored.
|
|
716
736
|
4. **No deeper than this level.** More advanced decisions found along
|
|
717
737
|
the way, and parts of a large request left for later, are recorded in
|
|
718
738
|
`deferred`:
|
|
@@ -748,7 +768,7 @@ for each item; the agent does not write it.
|
|
|
748
768
|
8. If artifacts exist without workflow state, diagnose with
|
|
749
769
|
`devflow doctor <id>` and repair with `devflow recover <id>`.
|
|
750
770
|
|
|
751
|
-
Available commands in `0.3.
|
|
771
|
+
Available commands in `0.3.24`:
|
|
752
772
|
|
|
753
773
|
| Command | Status |
|
|
754
774
|
| --- | --- |
|
|
@@ -981,7 +1001,7 @@ devflow approve 001
|
|
|
981
1001
|
```
|
|
982
1002
|
|
|
983
1003
|
Approval is explicit and binds the decision to the current artifact
|
|
984
|
-
digests. For a `0.3.
|
|
1004
|
+
digests. For a `0.3.24` change it binds `spec.md`, `discovery.yaml` and,
|
|
985
1005
|
when a manifest applies, the architecture manifest digest. Repeating the
|
|
986
1006
|
same approval is a no-op. If an artifact changes after validation,
|
|
987
1007
|
DevFlow marks it stale and refuses approval until it is regenerated and
|
|
@@ -992,7 +1012,7 @@ and names the pending questions and assumptions. Approval also rejects a
|
|
|
992
1012
|
specification whose section 7 still lists open questions. Legacy `0.2.0`
|
|
993
1013
|
changes without `discovery.yaml` remain approvable with a warning.
|
|
994
1014
|
|
|
995
|
-
Only the `spec` stage is available in `0.3.
|
|
1015
|
+
Only the `spec` stage is available in `0.3.24`, so `--stage` is optional
|
|
996
1016
|
and defaults to `spec`. `--stage plan` and `--stage review` are
|
|
997
1017
|
rejected. There are no `plan`, `implement` or
|
|
998
1018
|
`review` commands in this release.
|
|
@@ -26,14 +26,14 @@ devflow/core/architecture.py,sha256=qllllsUVqA76LiSU6z_s4U8dxMcs6ClKXU16HxI3yOI,
|
|
|
26
26
|
devflow/core/clock.py,sha256=KZROv6o51Ln1EzK00ySCxfc7WPZqPlaQhFfjfdc_TMY,1651
|
|
27
27
|
devflow/core/config.py,sha256=VsR2ezH1toydLVyniy-BXtC843vDIstxI2-8vh4VmnU,26455
|
|
28
28
|
devflow/core/constitution.py,sha256=rPLc8Puv9nUMC_GZwzOqvr1B-4urdxAISr655od2IPM,5333
|
|
29
|
-
devflow/core/discovery.py,sha256=
|
|
29
|
+
devflow/core/discovery.py,sha256=EIffENMOrmF3SmdJJAPVJDVAo0kG0SMw8RSW-LWnC10,59943
|
|
30
30
|
devflow/core/file_types.py,sha256=5S5YywOaTESDiln4kP7qyJFEjxHoiF6tSBbwuXNpDDc,566
|
|
31
31
|
devflow/core/ports.py,sha256=6jlqeR40MNaz-IuZIAPimXpRKew-wMUab3KzelcTXsU,4541
|
|
32
32
|
devflow/core/profile_manager.py,sha256=QnnJka2KIKD2tCSWJkGTOUEFMgmQT0Z9Qv173JKWKHw,8937
|
|
33
33
|
devflow/core/project.py,sha256=4OnudghY5N5rCOmafWO5Hk68M7T3-mOV0j0k0dh2luE,16891
|
|
34
34
|
devflow/core/recovery.py,sha256=W2If6Ymb3ISwMN8IVQYCwptDUzhxejlF-P2NvMYyZP0,8818
|
|
35
|
-
devflow/core/spec_workflow.py,sha256=
|
|
36
|
-
devflow/core/specification.py,sha256=
|
|
35
|
+
devflow/core/spec_workflow.py,sha256=Ngma_-7MLsp96gNd2avVC81_SjWTAk4jscsQinmCml4,43961
|
|
36
|
+
devflow/core/specification.py,sha256=JSd-OHuoMWi4yuNblulFEGJ0HYmBNh8R_8MF6tMx-lo,67214
|
|
37
37
|
devflow/core/artifacts/__init__.py,sha256=gt9xahPynoxv75FMq1ZJx91ILTIv4ExuvX1Ymrxwr2c,627
|
|
38
38
|
devflow/core/artifacts/errors.py,sha256=hwZxnLFcUTtEjDWtN6rUCkM69EN19LGVlc6HD-pNZyk,493
|
|
39
39
|
devflow/core/artifacts/models.py,sha256=xJjmY8jUAHxqYN9u1JEu8CbJB-IJg1xb9P-LDaP5_Hw,2049
|
|
@@ -59,12 +59,12 @@ devflow/profiles/django-backend/profile.yaml,sha256=SNj7a3yamdJx-P69GvIJmLkC2svO
|
|
|
59
59
|
devflow/profiles/django-backend/constitution/django-standards.md,sha256=0M-XmxOpEmgIadcaVdf6OVmll8Oec0jEjcJ4C8MfwhQ,2052
|
|
60
60
|
devflow/profiles/fastapi-backend/profile.yaml,sha256=5_b-zWSX0HV-tw_2ntRCSa4DyP3NUqYWmxOh55pXYmc,321
|
|
61
61
|
devflow/profiles/fastapi-backend/constitution/fastapi-standards.md,sha256=iFKib4i_9z4wBQ9thl-uftg5g-CHwvmFWzMtLgA7CBk,1949
|
|
62
|
-
devflow/prompts/__init__.py,sha256=
|
|
62
|
+
devflow/prompts/__init__.py,sha256=DttfMavd0nfmhKkVE46VhpIHkGS-4amYfufABEM20xI,19120
|
|
63
63
|
devflow/prompts/discovery-repair.md,sha256=YfTfrrw5uUZvC_x6X2lrYEDkMNhanhoe0ER3Yc2-rgI,1135
|
|
64
|
-
devflow/prompts/discovery.md,sha256=
|
|
64
|
+
devflow/prompts/discovery.md,sha256=AqHl0jz_uZZSlupQnxoRYzPhAzvkNCxIv34yGV5uBt8,14470
|
|
65
65
|
devflow/prompts/spec.md,sha256=90NI6atLfvCcLKAojcxgEfCJDSt-kbb70KGctu_1tXA,7375
|
|
66
|
-
devflow_toolkit-0.3.
|
|
67
|
-
devflow_toolkit-0.3.
|
|
68
|
-
devflow_toolkit-0.3.
|
|
69
|
-
devflow_toolkit-0.3.
|
|
70
|
-
devflow_toolkit-0.3.
|
|
66
|
+
devflow_toolkit-0.3.24.dist-info/METADATA,sha256=abbM1nIO4KP2e8_XfmSPr7xq0XJsrRXxXxvpwj8H6hM,49731
|
|
67
|
+
devflow_toolkit-0.3.24.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
68
|
+
devflow_toolkit-0.3.24.dist-info/entry_points.txt,sha256=wPmqE1081vi8s3xf-Wfzfvpl-44IKgwx7OGoLEK3u7o,44
|
|
69
|
+
devflow_toolkit-0.3.24.dist-info/licenses/LICENSE,sha256=Wa04lstC8Goe4b9IYfEYWB2k7nokYBejZl6NdyAl8rA,1077
|
|
70
|
+
devflow_toolkit-0.3.24.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|