devflow-cli 10.2.5__py3-none-any.whl → 11.0.0__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_cli/__init__.py +1 -1
- devflow_cli/commands/adaptive.py +28 -34
- devflow_cli/core/adaptive_runner.py +1 -1
- devflow_cli/core/adaptive_workflow.py +1 -1
- devflow_cli/core/automatic_evidence.py +93 -107
- devflow_cli/core/contract_schemas.py +37 -11
- devflow_cli/core/worklog.py +32 -3
- devflow_cli/core/worktree_snapshot.py +0 -17
- devflow_cli/resources/commands/devflow.md +0 -7
- devflow_cli/schemas/{workflow-state-v6.schema.json → workflow-state-v7.schema.json} +3 -3
- {devflow_cli-10.2.5.dist-info → devflow_cli-11.0.0.dist-info}/METADATA +1 -1
- {devflow_cli-10.2.5.dist-info → devflow_cli-11.0.0.dist-info}/RECORD +15 -15
- {devflow_cli-10.2.5.dist-info → devflow_cli-11.0.0.dist-info}/WHEEL +0 -0
- {devflow_cli-10.2.5.dist-info → devflow_cli-11.0.0.dist-info}/entry_points.txt +0 -0
- {devflow_cli-10.2.5.dist-info → devflow_cli-11.0.0.dist-info}/licenses/LICENSE +0 -0
devflow_cli/__init__.py
CHANGED
devflow_cli/commands/adaptive.py
CHANGED
|
@@ -26,6 +26,7 @@ from devflow_cli.core.adaptive_workflow import (
|
|
|
26
26
|
)
|
|
27
27
|
from devflow_cli.core.assessment import read_assessment
|
|
28
28
|
from devflow_cli.core.activity_base import (
|
|
29
|
+
BaseObservationError,
|
|
29
30
|
enter_current_activity,
|
|
30
31
|
feature_path_for,
|
|
31
32
|
)
|
|
@@ -47,6 +48,7 @@ from devflow_cli.core.agent_run_marker import AgentRunningError, ensure_no_agent
|
|
|
47
48
|
from devflow_cli.core import run_progress
|
|
48
49
|
from devflow_cli.core.worktree_snapshot import changed_paths, snapshot_worktree
|
|
49
50
|
from devflow_cli.core.automatic_evidence import (
|
|
51
|
+
REVIEW_EVIDENCE_IDS,
|
|
50
52
|
AutomaticVerificationOutcome,
|
|
51
53
|
ensure_fresh_devflow_evidence,
|
|
52
54
|
run_automatic_verification,
|
|
@@ -55,6 +57,7 @@ from devflow_cli.core.automatic_evidence import (
|
|
|
55
57
|
)
|
|
56
58
|
from devflow_cli.core.worklog import (
|
|
57
59
|
latest_remaining_risks,
|
|
60
|
+
read_diff_inspection,
|
|
58
61
|
safe_refresh_worklog,
|
|
59
62
|
)
|
|
60
63
|
from devflow_cli.core.telemetry import append_record, telemetry_enabled, usage_payload
|
|
@@ -224,6 +227,19 @@ def status(
|
|
|
224
227
|
feature_dir = _feature(feature)
|
|
225
228
|
with workflow_lock(feature_dir):
|
|
226
229
|
state = _state(feature_dir)
|
|
230
|
+
try:
|
|
231
|
+
read_diff_inspection(
|
|
232
|
+
feature_dir / "evidence" / "diff-inspection.json", issue_id=state.issueId
|
|
233
|
+
)
|
|
234
|
+
except LegacySchemaError as exc:
|
|
235
|
+
if json_output:
|
|
236
|
+
_print_execution_json(
|
|
237
|
+
state.issueId, None, False, "legacy-schema", str(exc),
|
|
238
|
+
None, LEGACY_SCHEMA_EXIT_CODE,
|
|
239
|
+
)
|
|
240
|
+
else:
|
|
241
|
+
fail(str(exc))
|
|
242
|
+
raise typer.Exit(LEGACY_SCHEMA_EXIT_CODE) from exc
|
|
227
243
|
payload = _operational_status(feature_dir, state)
|
|
228
244
|
if json_output:
|
|
229
245
|
console.print_json(data=payload)
|
|
@@ -949,9 +965,8 @@ def _verify_recovery(
|
|
|
949
965
|
Approbation manquante : chaque approve-command puis verify. Executable introuvable
|
|
950
966
|
(code 127) : corriger l'environnement puis verify. Echec d'un controle : trois voies,
|
|
951
967
|
le code (reopen implement), la validation (reopen de l'activite qui l'a inscrite) ou
|
|
952
|
-
un echec passager (relancer verify).
|
|
953
|
-
verify --refresh
|
|
954
|
-
--refresh refuse, toutes les commandes verify portent --refresh.
|
|
968
|
+
un echec passager (relancer verify). Apres un verify --refresh refuse, toutes les
|
|
969
|
+
commandes verify portent --refresh.
|
|
955
970
|
"""
|
|
956
971
|
issue = shlex.quote(issue_id)
|
|
957
972
|
verify_command = {
|
|
@@ -988,35 +1003,6 @@ def _verify_recovery(
|
|
|
988
1003
|
"command": f"devflow adaptive status {issue}",
|
|
989
1004
|
"purpose": "consulter l'etat du parcours",
|
|
990
1005
|
}
|
|
991
|
-
if outcome.reason == "diff-inspection-failed" and outcome.committedBase:
|
|
992
|
-
return {
|
|
993
|
-
"kind": "committed-lot",
|
|
994
|
-
"summary": (
|
|
995
|
-
"Lot commite avant done. Commit non pousse : revenir a un arbre non "
|
|
996
|
-
"commite puis relancer verify. Commit deja pousse : terminer hors "
|
|
997
|
-
"Devflow et cloturer par un bilan."
|
|
998
|
-
),
|
|
999
|
-
"validations": [],
|
|
1000
|
-
"commands": [
|
|
1001
|
-
{
|
|
1002
|
-
"command": f"git reset --soft {shlex.quote(outcome.committedBase)}",
|
|
1003
|
-
"purpose": (
|
|
1004
|
-
"commit non pousse : decommiter sans perdre le contenu ; tous les "
|
|
1005
|
-
"commits faits depuis la base le sont, les controler par git log avant"
|
|
1006
|
-
),
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
"command": f"devflow adaptive verify {issue} --refresh",
|
|
1010
|
-
"purpose": "commit non pousse : relancer la verification",
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"command": (
|
|
1014
|
-
f"devflow feedback add --type bilan --issue {issue} --what MOTIF"
|
|
1015
|
-
),
|
|
1016
|
-
"purpose": "commit deja pousse : cloturer le parcours hors Devflow",
|
|
1017
|
-
},
|
|
1018
|
-
],
|
|
1019
|
-
}
|
|
1020
1006
|
if outcome.reason not in CHECK_FAILURE_REASONS:
|
|
1021
1007
|
return {
|
|
1022
1008
|
"kind": "status",
|
|
@@ -1242,8 +1228,16 @@ def _operational_status(
|
|
|
1242
1228
|
blockers = []
|
|
1243
1229
|
stale: set[str] = set()
|
|
1244
1230
|
if state.status != "completed": # aucune gate ne consulte la peremption apres done
|
|
1245
|
-
|
|
1246
|
-
|
|
1231
|
+
try:
|
|
1232
|
+
stale.update(stale_devflow_evidence(feature_dir, state))
|
|
1233
|
+
stale.update(stale_review_evidence(feature_dir, state))
|
|
1234
|
+
except BaseObservationError:
|
|
1235
|
+
# Historique reecrit ou branche changee : aucune preuve controlee n'est fraiche.
|
|
1236
|
+
stale.update(
|
|
1237
|
+
evidence_id for evidence_id, entry in state.evidence.items()
|
|
1238
|
+
if (entry.get("source") == "devflow" and entry.get("worktree"))
|
|
1239
|
+
or evidence_id in REVIEW_EVIDENCE_IDS
|
|
1240
|
+
)
|
|
1247
1241
|
evidence = [
|
|
1248
1242
|
{
|
|
1249
1243
|
"id": evidence_id,
|
|
@@ -816,7 +816,7 @@ def _apply_activity_result(
|
|
|
816
816
|
source=source,
|
|
817
817
|
outcome=item.outcome,
|
|
818
818
|
worktree=(
|
|
819
|
-
review_worktree_fingerprint(feature_dir)
|
|
819
|
+
review_worktree_fingerprint(feature_dir, latest)
|
|
820
820
|
if contract.activity == "review" else ""
|
|
821
821
|
),
|
|
822
822
|
agent=agent,
|
|
@@ -28,7 +28,7 @@ from devflow_cli.core.contract_schemas import (
|
|
|
28
28
|
from devflow_cli.utils.paths import project_root_for_feature
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
ADAPTIVE_STATE_SCHEMA_VERSION =
|
|
31
|
+
ADAPTIVE_STATE_SCHEMA_VERSION = 7
|
|
32
32
|
JUDGMENT_EVIDENCE = frozenset(
|
|
33
33
|
{"implementation-review", "independent-review", "rollback-plan"}
|
|
34
34
|
)
|
|
@@ -24,6 +24,7 @@ from devflow_cli.core.adaptive_workflow import (
|
|
|
24
24
|
write_adaptive_state,
|
|
25
25
|
)
|
|
26
26
|
from devflow_cli.core.activity_base import (
|
|
27
|
+
HEAD_PATTERN,
|
|
27
28
|
ActivityBase,
|
|
28
29
|
BaseObservationError,
|
|
29
30
|
enter_current_activity,
|
|
@@ -42,13 +43,8 @@ from devflow_cli.core.verification import (
|
|
|
42
43
|
run_verifications,
|
|
43
44
|
validate_command_policy,
|
|
44
45
|
)
|
|
45
|
-
from devflow_cli.core.worktree_snapshot import
|
|
46
|
-
|
|
47
|
-
changed_paths,
|
|
48
|
-
snapshot_worktree,
|
|
49
|
-
worktree_fingerprint,
|
|
50
|
-
)
|
|
51
|
-
from devflow_cli.core.worklog import safe_refresh_worklog
|
|
46
|
+
from devflow_cli.core.worktree_snapshot import changed_paths, snapshot_worktree
|
|
47
|
+
from devflow_cli.core.worklog import DIFF_INSPECTION_SCHEMA_VERSION, safe_refresh_worklog
|
|
52
48
|
from devflow_cli.core.traceability import analyze_traceability
|
|
53
49
|
from devflow_cli.core.waivers import apply_validation_waivers
|
|
54
50
|
from devflow_cli.core.waivers import is_protected_validation
|
|
@@ -87,8 +83,6 @@ class AutomaticVerificationOutcome:
|
|
|
87
83
|
nextActivity: str = "verify"
|
|
88
84
|
pendingApprovals: tuple[str, ...] = ()
|
|
89
85
|
failures: tuple[VerificationFailure, ...] = ()
|
|
90
|
-
# Commit de la base d'implement quand le lot a ete commite avant done (KKS-724).
|
|
91
|
-
committedBase: str = ""
|
|
92
86
|
|
|
93
87
|
|
|
94
88
|
def select_validation_commands(
|
|
@@ -303,7 +297,6 @@ def _module_dirs(
|
|
|
303
297
|
STALENESS_GATED_ACTIVITIES = frozenset({"review", "rollback-check", "done"})
|
|
304
298
|
REVIEW_EVIDENCE_IDS = frozenset({"implementation-review", "independent-review"})
|
|
305
299
|
DOCUMENT_INSENSITIVE_EVIDENCE_IDS = frozenset({"test-suite", "requirements-coverage"})
|
|
306
|
-
NON_DOCUMENT_FINGERPRINT_PREFIX = "non-document-v1:"
|
|
307
300
|
|
|
308
301
|
|
|
309
302
|
def is_document_path(path: str) -> bool:
|
|
@@ -338,32 +331,60 @@ def _observed_document_batch(
|
|
|
338
331
|
return observed
|
|
339
332
|
|
|
340
333
|
|
|
341
|
-
def
|
|
342
|
-
|
|
334
|
+
def observed_lot(
|
|
335
|
+
project_root: Path, feature_dir: Path, state: AdaptiveWorkflowState
|
|
336
|
+
) -> dict[str, str]:
|
|
337
|
+
"""Fichiers qui different de la base d'implement, hors dossier de la feature.
|
|
343
338
|
|
|
344
|
-
|
|
345
|
-
|
|
339
|
+
Commites ou non : le lot vient de l'observation depuis la base, jamais du
|
|
340
|
+
resultat d'implement. BaseObservationError (historique reecrit, branche
|
|
341
|
+
changee) et base inobservable sont propagees a l'appelant.
|
|
346
342
|
"""
|
|
347
|
-
|
|
343
|
+
feature_path = _feature_subtree(feature_dir, project_root)
|
|
344
|
+
base = ActivityBase.from_dict(state.implementBase, feature_path=feature_path)
|
|
345
|
+
prefix = feature_path + "/"
|
|
346
|
+
return {
|
|
348
347
|
path: fingerprint
|
|
349
|
-
for path, fingerprint in
|
|
350
|
-
|
|
348
|
+
for path, fingerprint in files_since_base(
|
|
349
|
+
project_root, feature_dir, base, issue_id=state.issueId
|
|
350
|
+
).items()
|
|
351
|
+
if not path.startswith(prefix)
|
|
351
352
|
}
|
|
352
|
-
|
|
353
|
-
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
def lot_fingerprint(base_head: str, lot: dict[str, str], *, documents: bool = True) -> str:
|
|
356
|
+
"""Empreinte du commit de la base et du contenu du lot, sans HEAD.
|
|
357
|
+
|
|
358
|
+
Sans ``documents``, README et Markdown du dossier docs sont ignores.
|
|
359
|
+
"""
|
|
360
|
+
files = (
|
|
361
|
+
lot if documents
|
|
362
|
+
else {path: entry for path, entry in lot.items() if not is_document_path(path)}
|
|
363
|
+
)
|
|
364
|
+
payload = json.dumps({"base": base_head, "files": files}, sort_keys=True)
|
|
365
|
+
return hashlib.sha256(payload.encode("utf-8")).hexdigest()
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
def _evidence_fingerprint(evidence_id: str, base_head: str, lot: dict[str, str]) -> str:
|
|
369
|
+
return lot_fingerprint(
|
|
370
|
+
base_head, lot, documents=evidence_id not in DOCUMENT_INSENSITIVE_EVIDENCE_IDS
|
|
354
371
|
)
|
|
355
372
|
|
|
356
373
|
|
|
357
|
-
def review_worktree_fingerprint(feature_dir: Path) -> str:
|
|
358
|
-
"""Lie une revue au
|
|
374
|
+
def review_worktree_fingerprint(feature_dir: Path, state: AdaptiveWorkflowState) -> str:
|
|
375
|
+
"""Lie une revue au lot depuis la base d'implement et aux artefacts relus.
|
|
376
|
+
|
|
377
|
+
Base inobservable (depot sans git, git absent) : ``git-unavailable``, les
|
|
378
|
+
artefacts restent empreintes. Un historique reecrit ou une branche changee
|
|
379
|
+
est propage, jamais pris pour une empreinte.
|
|
380
|
+
"""
|
|
359
381
|
project_root = project_root_for_feature(feature_dir)
|
|
360
382
|
try:
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
383
|
+
lot = observed_lot(project_root, feature_dir, state)
|
|
384
|
+
external = lot_fingerprint(state.implementBase["head"], lot)
|
|
385
|
+
except BaseObservationError:
|
|
386
|
+
raise
|
|
364
387
|
except (OSError, ValueError):
|
|
365
|
-
# Comme pour les preuves automatiques, un projet sans Git reste
|
|
366
|
-
# utilisable ; les artefacts de feature restent tout de meme empreintes.
|
|
367
388
|
external = "git-unavailable"
|
|
368
389
|
names = {
|
|
369
390
|
"need.md", "assessment.json", "implement-result.json", "review-result.json",
|
|
@@ -393,7 +414,9 @@ def stale_review_evidence(
|
|
|
393
414
|
if not review_ids:
|
|
394
415
|
return []
|
|
395
416
|
try:
|
|
396
|
-
current = review_worktree_fingerprint(feature_dir)
|
|
417
|
+
current = review_worktree_fingerprint(feature_dir, state)
|
|
418
|
+
except BaseObservationError:
|
|
419
|
+
raise
|
|
397
420
|
except (OSError, ValueError):
|
|
398
421
|
return review_ids
|
|
399
422
|
return [
|
|
@@ -405,10 +428,11 @@ def stale_review_evidence(
|
|
|
405
428
|
def stale_devflow_evidence(
|
|
406
429
|
feature_dir: Path, state: AdaptiveWorkflowState
|
|
407
430
|
) -> list[str]:
|
|
408
|
-
"""Preuves devflow dont le
|
|
431
|
+
"""Preuves devflow dont le lot depuis la base d'implement a change.
|
|
409
432
|
|
|
410
|
-
|
|
411
|
-
d'observation ne vaut pas preuve d'un changement.
|
|
433
|
+
Base inobservable (depot sans git, git absent) : aucune preuve perimee,
|
|
434
|
+
l'absence d'observation ne vaut pas preuve d'un changement. Un historique
|
|
435
|
+
reecrit ou une branche changee est propage, jamais pris pour de la fraicheur.
|
|
412
436
|
"""
|
|
413
437
|
recorded = {
|
|
414
438
|
evidence_id: entry["worktree"]
|
|
@@ -419,20 +443,15 @@ def stale_devflow_evidence(
|
|
|
419
443
|
return []
|
|
420
444
|
try:
|
|
421
445
|
project_root = project_root_for_feature(feature_dir)
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
non_document_current = _non_document_fingerprint(snapshot, excluded_dir)
|
|
446
|
+
lot = observed_lot(project_root, feature_dir, state)
|
|
447
|
+
except BaseObservationError:
|
|
448
|
+
raise
|
|
426
449
|
except (OSError, ValueError):
|
|
427
450
|
return []
|
|
451
|
+
base_head = state.implementBase["head"]
|
|
428
452
|
return sorted(
|
|
429
453
|
evidence_id for evidence_id, fingerprint in recorded.items()
|
|
430
|
-
if fingerprint != (
|
|
431
|
-
non_document_current
|
|
432
|
-
if evidence_id in DOCUMENT_INSENSITIVE_EVIDENCE_IDS
|
|
433
|
-
and fingerprint.startswith(NON_DOCUMENT_FINGERPRINT_PREFIX)
|
|
434
|
-
else current
|
|
435
|
-
)
|
|
454
|
+
if fingerprint != _evidence_fingerprint(evidence_id, base_head, lot)
|
|
436
455
|
)
|
|
437
456
|
|
|
438
457
|
|
|
@@ -714,12 +733,12 @@ def run_automatic_verification(
|
|
|
714
733
|
and all(result.succeeded for result in security_results)
|
|
715
734
|
and not security_findings
|
|
716
735
|
)
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
)
|
|
736
|
+
try:
|
|
737
|
+
lot = observed_lot(project_root, feature_dir, state)
|
|
738
|
+
except BaseObservationError as exc:
|
|
739
|
+
return AutomaticVerificationOutcome(False, exc.reason, str(exc))
|
|
740
|
+
base_head = state.implementBase["head"]
|
|
741
|
+
diff_payload = _inspect_diff(project_root, feature_dir, lot, base_head=base_head)
|
|
723
742
|
final_snapshot = snapshot_worktree(project_root)
|
|
724
743
|
try:
|
|
725
744
|
test_mutations = changed_paths(before, final_snapshot)
|
|
@@ -833,14 +852,8 @@ def run_automatic_verification(
|
|
|
833
852
|
)
|
|
834
853
|
if diff_payload["outcome"] != "passed":
|
|
835
854
|
safe_refresh_worklog(feature_dir)
|
|
836
|
-
committed_base = (
|
|
837
|
-
_committed_lot_base(final_snapshot.head, base_head)
|
|
838
|
-
if _missing_from_diff(final_snapshot, diff_files, feature_dir, project_root)
|
|
839
|
-
else ""
|
|
840
|
-
)
|
|
841
855
|
return AutomaticVerificationOutcome(
|
|
842
|
-
False, "diff-inspection-failed", "; ".join(diff_payload["findings"])
|
|
843
|
-
committedBase=committed_base,
|
|
856
|
+
False, "diff-inspection-failed", "; ".join(diff_payload["findings"])
|
|
844
857
|
)
|
|
845
858
|
if state.profile == "deep" and coverage_payload["outcome"] != "passed":
|
|
846
859
|
safe_refresh_worklog(feature_dir)
|
|
@@ -873,22 +886,22 @@ def run_automatic_verification(
|
|
|
873
886
|
latest = read_adaptive_state(state_file)
|
|
874
887
|
if latest is None or latest.currentActivity != state.currentActivity:
|
|
875
888
|
return AutomaticVerificationOutcome(False, "state-changed")
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
889
|
+
# Une preuve n'est jamais liee a un contenu qui n'a pas ete inspecte.
|
|
890
|
+
try:
|
|
891
|
+
recorded_lot = observed_lot(project_root, feature_dir, latest)
|
|
892
|
+
except BaseObservationError as exc:
|
|
893
|
+
return AutomaticVerificationOutcome(False, exc.reason, str(exc))
|
|
894
|
+
if recorded_lot != lot:
|
|
895
|
+
return AutomaticVerificationOutcome(
|
|
896
|
+
False, "worktree-changed", "le lot a change pendant verify"
|
|
897
|
+
)
|
|
898
|
+
worktree = lot_fingerprint(base_head, lot)
|
|
882
899
|
record_evidence(
|
|
883
900
|
latest,
|
|
884
901
|
targeted_id,
|
|
885
902
|
_relative(targeted_file, project_root),
|
|
886
903
|
source="devflow",
|
|
887
|
-
worktree=(
|
|
888
|
-
non_document_worktree
|
|
889
|
-
if targeted_id in DOCUMENT_INSENSITIVE_EVIDENCE_IDS
|
|
890
|
-
else worktree
|
|
891
|
-
),
|
|
904
|
+
worktree=_evidence_fingerprint(targeted_id, base_head, lot),
|
|
892
905
|
)
|
|
893
906
|
if coverage_file is not None:
|
|
894
907
|
record_evidence(
|
|
@@ -896,7 +909,7 @@ def run_automatic_verification(
|
|
|
896
909
|
"requirements-coverage",
|
|
897
910
|
_relative(coverage_file, project_root),
|
|
898
911
|
source="devflow",
|
|
899
|
-
worktree=
|
|
912
|
+
worktree=_evidence_fingerprint("requirements-coverage", base_head, lot),
|
|
900
913
|
)
|
|
901
914
|
if regression_file is not None:
|
|
902
915
|
record_evidence(
|
|
@@ -1018,61 +1031,34 @@ def _test_execution_finding(command: list[str], output: str) -> str | None:
|
|
|
1018
1031
|
return None
|
|
1019
1032
|
|
|
1020
1033
|
|
|
1021
|
-
def _missing_from_diff(
|
|
1022
|
-
snapshot: WorktreeSnapshot, changed_files: list[str], feature_dir: Path,
|
|
1023
|
-
project_root: Path,
|
|
1024
|
-
) -> list[str]:
|
|
1025
|
-
# Les fichiers du dossier de la feature peuvent etre ignores par git : ils ne sont pas
|
|
1026
|
-
# exiges dans le diff courant.
|
|
1027
|
-
feature_prefix = _feature_subtree(feature_dir, project_root) + "/"
|
|
1028
|
-
return sorted(
|
|
1029
|
-
path for path in set(changed_files) - set(snapshot.files)
|
|
1030
|
-
if not path.startswith(feature_prefix)
|
|
1031
|
-
)
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
def _committed_lot_base(head: str, base_head: str) -> str:
|
|
1035
|
-
"""Commit de la base quand HEAD l'a quitte, chaine vide sinon (KKS-724)."""
|
|
1036
|
-
return base_head if base_head and head and head != base_head else ""
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
1034
|
def _inspect_diff(
|
|
1040
|
-
project_root: Path,
|
|
1041
|
-
*, base_head: str = "", issue_id: str = "ISSUE_ID",
|
|
1035
|
+
project_root: Path, feature_dir: Path, lot: dict[str, str], *, base_head: str
|
|
1042
1036
|
) -> dict:
|
|
1037
|
+
"""Inspecte le lot observe depuis la base, commite ou non, hors dossier de la feature."""
|
|
1038
|
+
if not HEAD_PATTERN.fullmatch(base_head):
|
|
1039
|
+
raise ValueError(f"base invalide : head {base_head!r}")
|
|
1043
1040
|
findings: list[str] = []
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
if missing and committed_base:
|
|
1048
|
-
findings.append(
|
|
1049
|
-
"fichiers implementes absents du diff courant : " + ", ".join(missing)
|
|
1050
|
-
+ " ; le lot a ete commite avant done. Commit non pousse : "
|
|
1051
|
-
f"git reset --soft {committed_base} (decommite tout ce qui suit la base : "
|
|
1052
|
-
f"controler git log {committed_base}..HEAD avant), puis "
|
|
1053
|
-
f"devflow adaptive verify {shlex.quote(issue_id)} --refresh. Commit deja pousse : "
|
|
1054
|
-
"terminer hors Devflow et cloturer par devflow feedback add --type bilan"
|
|
1055
|
-
)
|
|
1056
|
-
elif missing:
|
|
1057
|
-
findings.append(
|
|
1058
|
-
"fichiers implementes absents du diff courant : " + ", ".join(missing)
|
|
1059
|
-
)
|
|
1060
|
-
|
|
1041
|
+
changed_files = sorted(lot)
|
|
1042
|
+
pathspec = ["--", ".", f":(exclude){_feature_subtree(feature_dir, project_root)}"]
|
|
1043
|
+
diff_args = ["git", "diff", "--check", *([base_head] if base_head else []), *pathspec]
|
|
1061
1044
|
diff_result = run_verifications(
|
|
1062
|
-
[ValidationCommand("AUTO-DIFF",
|
|
1045
|
+
[ValidationCommand("AUTO-DIFF", diff_args, True, 60)],
|
|
1063
1046
|
project_root,
|
|
1064
1047
|
)[0]
|
|
1065
1048
|
if not diff_result.succeeded:
|
|
1066
1049
|
findings.append(diff_result.stderr.strip() or diff_result.stdout.strip() or "git diff --check a echoue")
|
|
1067
1050
|
|
|
1068
1051
|
forbidden_suffixes = {".pyc", ".tmp", ".log", ".swp"}
|
|
1069
|
-
suspicious =
|
|
1052
|
+
suspicious = [
|
|
1070
1053
|
path for path in changed_files if Path(path).suffix.casefold() in forbidden_suffixes
|
|
1071
|
-
|
|
1054
|
+
]
|
|
1072
1055
|
if suspicious:
|
|
1073
1056
|
findings.append("artefacts temporaires modifies : " + ", ".join(suspicious))
|
|
1074
1057
|
|
|
1075
1058
|
for relative in changed_files:
|
|
1059
|
+
# Une suppression ou un lien symbolique n'est pas lu.
|
|
1060
|
+
if not lot[relative].startswith("file:"):
|
|
1061
|
+
continue
|
|
1076
1062
|
path = project_root / relative
|
|
1077
1063
|
if not path.is_file() or path.stat().st_size > 2_000_000:
|
|
1078
1064
|
continue
|
|
@@ -1084,11 +1070,11 @@ def _inspect_diff(
|
|
|
1084
1070
|
findings.append(f"marqueur de conflit detecte : {relative}")
|
|
1085
1071
|
|
|
1086
1072
|
return {
|
|
1087
|
-
"schemaVersion":
|
|
1073
|
+
"schemaVersion": DIFF_INSPECTION_SCHEMA_VERSION,
|
|
1088
1074
|
"id": "diff-inspection",
|
|
1089
1075
|
"outcome": "passed" if not findings else "failed",
|
|
1090
1076
|
"generatedAt": _now_iso(),
|
|
1091
|
-
"changedFiles":
|
|
1077
|
+
"changedFiles": changed_files,
|
|
1092
1078
|
"findings": findings,
|
|
1093
1079
|
"gitDiffCheck": diff_result.to_dict(),
|
|
1094
1080
|
}
|
|
@@ -15,7 +15,7 @@ from jsonschema.validators import validator_for
|
|
|
15
15
|
SCHEMA_DIRECTORY = Path(__file__).resolve().parent.parent / "schemas"
|
|
16
16
|
PUBLIC_CONTRACT_SCHEMAS = {
|
|
17
17
|
"assessment": "assessment-v4.schema.json",
|
|
18
|
-
"workflow-state": "workflow-state-
|
|
18
|
+
"workflow-state": "workflow-state-v7.schema.json",
|
|
19
19
|
"activity-contract": "activity-contract-v4.schema.json",
|
|
20
20
|
"activity-result": "activity-result-v2.schema.json",
|
|
21
21
|
"reconcile-log": "reconcile-log-v3.schema.json",
|
|
@@ -38,6 +38,7 @@ class LegacySchemaError(ValueError):
|
|
|
38
38
|
*,
|
|
39
39
|
producer: str = "6.x",
|
|
40
40
|
install: str = "uv tool install 'devflow-cli<7'",
|
|
41
|
+
issue_id: str = "ISSUE_ID",
|
|
41
42
|
) -> None:
|
|
42
43
|
self.path = path
|
|
43
44
|
self.version = version
|
|
@@ -47,6 +48,17 @@ class LegacySchemaError(ValueError):
|
|
|
47
48
|
"valide (activityBase absente ou nulle) ; aucune base n'est reconstruite ; "
|
|
48
49
|
"recreez le parcours"
|
|
49
50
|
)
|
|
51
|
+
elif producer == "10.x":
|
|
52
|
+
message = (
|
|
53
|
+
f"{path} : schemaVersion {version} : parcours demarre avec devflow 10.x ; "
|
|
54
|
+
f"terminez-le avec devflow 10.2.5 ({install}) ou recreez-le (retirer "
|
|
55
|
+
f"workflow-state.json puis devflow adaptive start {issue_id}) ; aucune migration"
|
|
56
|
+
)
|
|
57
|
+
elif producer == "diff-inspection":
|
|
58
|
+
message = (
|
|
59
|
+
f"{path} : schemaVersion {version} produit par devflow 10.x, non lisible "
|
|
60
|
+
f"par devflow 11 ; relancer devflow adaptive verify {issue_id} --refresh"
|
|
61
|
+
)
|
|
50
62
|
elif producer == "8.x":
|
|
51
63
|
message = (
|
|
52
64
|
f"{path} : schemaVersion {version} : parcours demarre avec devflow 8.x ; "
|
|
@@ -69,15 +81,23 @@ class LegacySchemaError(ValueError):
|
|
|
69
81
|
|
|
70
82
|
LEGACY_7X_INSTALL = "uv tool install devflow-cli==7.2.0"
|
|
71
83
|
LEGACY_8X_INSTALL = "uv tool install devflow-cli==8.5.1"
|
|
72
|
-
|
|
84
|
+
LEGACY_10X_INSTALL = "uv tool install devflow-cli==10.2.5"
|
|
85
|
+
# Dernier schemaVersion de workflow-state produit par devflow 7.x, puis par 10.x.
|
|
73
86
|
WORKFLOW_STATE_7X_VERSION = 5
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
WORKFLOW_STATE_10X_VERSION = 6
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def legacy_workflow_state_error(
|
|
91
|
+
path: Path, version: int, *, issue_id: str = "ISSUE_ID"
|
|
92
|
+
) -> LegacySchemaError:
|
|
93
|
+
"""Refus de rupture d'un etat adaptatif : schema 5 (7.x), schema 6 (10.x), ou etat sans base."""
|
|
94
|
+
if version == WORKFLOW_STATE_7X_VERSION:
|
|
95
|
+
return LegacySchemaError(path, version, producer="7.x", install=LEGACY_7X_INSTALL)
|
|
96
|
+
if version == WORKFLOW_STATE_10X_VERSION:
|
|
97
|
+
return LegacySchemaError(
|
|
98
|
+
path, version, producer="10.x", install=LEGACY_10X_INSTALL, issue_id=issue_id
|
|
99
|
+
)
|
|
100
|
+
return LegacySchemaError(path, version, producer="no-base")
|
|
81
101
|
|
|
82
102
|
|
|
83
103
|
def check_schema_version(name: str, path: Path, payload: object) -> None:
|
|
@@ -91,8 +111,14 @@ def check_schema_version(name: str, path: Path, payload: object) -> None:
|
|
|
91
111
|
return
|
|
92
112
|
current = contract_schema_version(name)
|
|
93
113
|
if version < current:
|
|
94
|
-
if name == "workflow-state" and version
|
|
95
|
-
|
|
114
|
+
if name == "workflow-state" and version in {
|
|
115
|
+
WORKFLOW_STATE_7X_VERSION, WORKFLOW_STATE_10X_VERSION
|
|
116
|
+
}:
|
|
117
|
+
issue_id = payload.get("issueId")
|
|
118
|
+
raise legacy_workflow_state_error(
|
|
119
|
+
path, version,
|
|
120
|
+
issue_id=issue_id if isinstance(issue_id, str) and issue_id else "ISSUE_ID",
|
|
121
|
+
)
|
|
96
122
|
raise LegacySchemaError(path, version)
|
|
97
123
|
if version > current:
|
|
98
124
|
raise ValueError(
|
devflow_cli/core/worklog.py
CHANGED
|
@@ -10,6 +10,7 @@ from pathlib import Path
|
|
|
10
10
|
from typing import Any
|
|
11
11
|
|
|
12
12
|
from devflow_cli.core.adaptive_workflow import AdaptiveWorkflowState, read_adaptive_state
|
|
13
|
+
from devflow_cli.core.contract_schemas import LegacySchemaError
|
|
13
14
|
from devflow_cli.utils.logging import get_logger
|
|
14
15
|
from devflow_cli.utils.paths import activity_result_file
|
|
15
16
|
|
|
@@ -17,9 +18,33 @@ from devflow_cli.utils.paths import activity_result_file
|
|
|
17
18
|
MANAGED_START = "<!-- devflow:worklog:start -->"
|
|
18
19
|
MANAGED_END = "<!-- devflow:worklog:end -->"
|
|
19
20
|
DEFAULT_MANUAL_NOTES = "\n## Notes manuelles\n\n_Ajoutez ici vos observations._\n"
|
|
21
|
+
# evidence/diff-inspection.json : changedFiles = lot observe depuis la base d'implement.
|
|
22
|
+
DIFF_INSPECTION_SCHEMA_VERSION = 2
|
|
20
23
|
logger = get_logger(__name__)
|
|
21
24
|
|
|
22
25
|
|
|
26
|
+
def read_diff_inspection(path: Path, *, issue_id: str) -> dict[str, Any] | None:
|
|
27
|
+
"""Lit l'inspection du diff ; None si absente. Une version anterieure est refusee.
|
|
28
|
+
|
|
29
|
+
Le fichier n'est jamais reecrit par la lecture.
|
|
30
|
+
"""
|
|
31
|
+
if not path.exists():
|
|
32
|
+
return None
|
|
33
|
+
payload = _read_json(path, required=False)
|
|
34
|
+
version = payload.get("schemaVersion")
|
|
35
|
+
if isinstance(version, int) and not isinstance(version, bool):
|
|
36
|
+
if version < DIFF_INSPECTION_SCHEMA_VERSION:
|
|
37
|
+
raise LegacySchemaError(
|
|
38
|
+
path, version, producer="diff-inspection", issue_id=issue_id
|
|
39
|
+
)
|
|
40
|
+
if version > DIFF_INSPECTION_SCHEMA_VERSION:
|
|
41
|
+
raise ValueError(
|
|
42
|
+
f"{path.name} : schemaVersion {version} non supportee par cette version "
|
|
43
|
+
"de devflow"
|
|
44
|
+
)
|
|
45
|
+
return payload
|
|
46
|
+
|
|
47
|
+
|
|
23
48
|
def refresh_worklog(feature_dir: Path) -> Path:
|
|
24
49
|
"""Reconstruit les sections gerees depuis les artefacts durables."""
|
|
25
50
|
assessment = _read_json(feature_dir / "assessment.json")
|
|
@@ -50,9 +75,13 @@ def refresh_worklog(feature_dir: Path) -> Path:
|
|
|
50
75
|
security = _read_json(
|
|
51
76
|
feature_dir / "evidence" / "security-or-data-check.json", required=False
|
|
52
77
|
)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
78
|
+
try:
|
|
79
|
+
inspection = read_diff_inspection(
|
|
80
|
+
feature_dir / "evidence" / "diff-inspection.json", issue_id=state.issueId
|
|
81
|
+
) or {}
|
|
82
|
+
except ValueError as exc:
|
|
83
|
+
# Le journal reste rafraichi : le refus prend la place du contenu illisible.
|
|
84
|
+
inspection = {"id": "diff-inspection", "outcome": "refuse", "findings": [str(exc)]}
|
|
56
85
|
execution = _read_json(feature_dir / "agent-execution.json", required=False)
|
|
57
86
|
observation_warnings = _observation_warnings(feature_dir, state.activities)
|
|
58
87
|
approvals = _pending_approval_lines(feature_dir, state.issueId)
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import hashlib
|
|
6
|
-
import json
|
|
7
6
|
import os
|
|
8
7
|
import subprocess
|
|
9
8
|
from dataclasses import dataclass
|
|
@@ -67,22 +66,6 @@ def untracked_paths(project_root: Path, feature_dir: Path | None = None) -> list
|
|
|
67
66
|
return sorted(paths)
|
|
68
67
|
|
|
69
68
|
|
|
70
|
-
def worktree_fingerprint(snapshot: WorktreeSnapshot, excluded_dir: str) -> str:
|
|
71
|
-
"""Empreinte de HEAD et des fichiers modifies, hors du sous-arbre exclu.
|
|
72
|
-
|
|
73
|
-
Le dossier de la feature est exclu : les resultats, traces et worklog que
|
|
74
|
-
devflow y ecrit apres une verification ne rendent pas ses preuves perimees.
|
|
75
|
-
"""
|
|
76
|
-
prefix = excluded_dir.rstrip("/") + "/"
|
|
77
|
-
files = {
|
|
78
|
-
path: fingerprint
|
|
79
|
-
for path, fingerprint in snapshot.files.items()
|
|
80
|
-
if not (path + "/").startswith(prefix)
|
|
81
|
-
}
|
|
82
|
-
payload = json.dumps({"head": snapshot.head, "files": files}, sort_keys=True)
|
|
83
|
-
return hashlib.sha256(payload.encode("utf-8")).hexdigest()
|
|
84
|
-
|
|
85
|
-
|
|
86
69
|
def changed_paths(before: WorktreeSnapshot, after: WorktreeSnapshot) -> list[str]:
|
|
87
70
|
"""Retourne les fichiers dont le contenu de travail a change entre deux captures."""
|
|
88
71
|
if before.head != after.head:
|
|
@@ -44,13 +44,6 @@ Devflow : le dire, avec la cause, et traiter la demande hors Devflow.
|
|
|
44
44
|
CLI plante (traceback, commande inconnue), sortir du parcours : terminer
|
|
45
45
|
la feature hors Devflow, clôturer par un `bilan` dont `--what` indique
|
|
46
46
|
l'abandon et sa cause, et indiquer cette cause dans le compte rendu.
|
|
47
|
-
|
|
48
|
-
Ne rien commiter avant la clôture de `done` : un commit rend toutes les
|
|
49
|
-
preuves périmées, et `verify --refresh` ne sait pas inspecter un lot
|
|
50
|
-
commité. Une retouche faite après `verify` (correctif de revue,
|
|
51
|
-
documentation) se valide par `devflow adaptive verify ISSUE_ID --refresh`
|
|
52
|
-
tant que rien n'est commité, puis par une réouverture de `review` si la
|
|
53
|
-
revue est périmée. Commit, push et PR viennent après `done`.
|
|
54
47
|
8. Afficher ensuite `devflow adaptive status ISSUE_ID`.
|
|
55
48
|
|
|
56
49
|
## Retours d'usage
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://devflow.dev/schemas/workflow-state/
|
|
3
|
+
"$id": "https://devflow.dev/schemas/workflow-state/v7",
|
|
4
4
|
"title": "Devflow Workflow State v6 (Devflow V8)",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"required": ["issueId", "profile", "guardrails", "contractChange", "activities", "requiredEvidence", "currentActivity", "completedActivities", "evidence", "status", "schemaVersion", "createdAt", "updatedAt", "activityBase", "implementBase"],
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"outcome": {"enum": ["passed", "failed"]},
|
|
28
28
|
"agent": {"type": "string", "minLength": 1},
|
|
29
29
|
"reviewer": {"type": "string", "minLength": 1},
|
|
30
|
-
"worktree": {"type": "string", "
|
|
30
|
+
"worktree": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
|
31
31
|
"report": {"type": "string"}
|
|
32
32
|
}, "additionalProperties": false
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"status": {"enum": ["active", "completed"]},
|
|
36
|
-
"schemaVersion": {"const":
|
|
36
|
+
"schemaVersion": {"const": 7},
|
|
37
37
|
"createdAt": {"type": "string", "minLength": 1},
|
|
38
38
|
"updatedAt": {"type": "string", "minLength": 1},
|
|
39
39
|
"activityBase": {"oneOf": [{"type": "null"}, {"$ref": "#/$defs/base"}]},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: devflow-cli
|
|
3
|
-
Version:
|
|
3
|
+
Version: 11.0.0
|
|
4
4
|
Summary: Workflow adaptatif pour Claude Code : profils, preuves et contrats d'activité
|
|
5
5
|
Project-URL: Homepage, https://github.com/sopequenoteck/devflow
|
|
6
6
|
Project-URL: Repository, https://github.com/sopequenoteck/devflow
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
devflow_cli/__init__.py,sha256=
|
|
1
|
+
devflow_cli/__init__.py,sha256=LlwV7TmTVwkg4P8OcwktEB7YM4jZ005XMRHIMiMjB1c,871
|
|
2
2
|
devflow_cli/cli.py,sha256=QQktLkHK1cEAj0ZlEuGKYumm3xJUHM-aeC-E2RgfcEY,2136
|
|
3
3
|
devflow_cli/adapters/__init__.py,sha256=z1J7_YJHcgak2a6dTZpOUKKwf-K7UwRqGzS8XY9duC0,299
|
|
4
4
|
devflow_cli/adapters/agents.py,sha256=-9zmNlFmQfP2pOGxA3_SSKij8ScR76J4-sgv4GMBWEI,18530
|
|
5
5
|
devflow_cli/adapters/linear.py,sha256=xHKjMuL3fFJEDBF65pPJ-yWHpXom999UAU2A0C7_QeI,8362
|
|
6
6
|
devflow_cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
devflow_cli/commands/adaptive.py,sha256=
|
|
7
|
+
devflow_cli/commands/adaptive.py,sha256=yz__K67ytT5_3muXfHdO64Po2F_eK6L-l_Kzm3cTqpI,67125
|
|
8
8
|
devflow_cli/commands/assess.py,sha256=V-E3ft41ljCrqp2WLjR1Dqw-JtswcqsK2nD1-euNbNE,5655
|
|
9
9
|
devflow_cli/commands/check.py,sha256=nJOHVFvgT3Nq70g-4QGrSDZVwCSetu6g7snZcfLFf9I,4421
|
|
10
10
|
devflow_cli/commands/docs_sync.py,sha256=Xc0mulpNTjDyeUDumKL7VNG0eumAf3016wEM_dqXpSU,1021
|
|
@@ -17,13 +17,13 @@ devflow_cli/commands/upgrade_cmd.py,sha256=7GYe1T7SWzkDSYW9x1G-Dznw9qwKT2uI1gJUc
|
|
|
17
17
|
devflow_cli/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
devflow_cli/core/activity_base.py,sha256=eEC_YIr5O7WhCglA7xAEPypVzhcdC6f2h9d-SDDecVA,20475
|
|
19
19
|
devflow_cli/core/activity_contracts.py,sha256=wL0Y0OnyTptQtFZ1d4BpPiJA2eCK0-8h9cksYdnUAfU,40278
|
|
20
|
-
devflow_cli/core/adaptive_runner.py,sha256=
|
|
21
|
-
devflow_cli/core/adaptive_workflow.py,sha256=
|
|
20
|
+
devflow_cli/core/adaptive_runner.py,sha256=PuixfWdqpdfIkfUAE10r4S2d1qUZqb5WpA_0P2psvrM,50355
|
|
21
|
+
devflow_cli/core/adaptive_workflow.py,sha256=dCtzURfOSsk_DpdLMwVlGNO4hUXeLH0lUOz29kP64G8,14416
|
|
22
22
|
devflow_cli/core/agent_failure.py,sha256=iX4q249lAHeVdD_ZF1aObmU-FX6sjfYP9dfLSnWGAD0,3771
|
|
23
23
|
devflow_cli/core/agent_run_marker.py,sha256=QW3ScA2ZpqfQdUo5ANTbenDVyY2iHpB_wTaN6VUKlzc,3451
|
|
24
24
|
devflow_cli/core/assessment.py,sha256=ACtJbXq1qZjVfeERjy8Qg6-ioLfSMUBVQm2l-mtGwgI,11522
|
|
25
|
-
devflow_cli/core/automatic_evidence.py,sha256=
|
|
26
|
-
devflow_cli/core/contract_schemas.py,sha256=
|
|
25
|
+
devflow_cli/core/automatic_evidence.py,sha256=wzR6TqPBosoO97bO0z5rqHwuG-dO2GyAWrMN6gum3So,44101
|
|
26
|
+
devflow_cli/core/contract_schemas.py,sha256=CWzaDbJEbe9KjqJG2r-u3KNsAlHnI5NxdA0yf05FRyU,9670
|
|
27
27
|
devflow_cli/core/decisions.py,sha256=tFYKNDaztMvnhLfVGJKIux5zaSjEPx2nwXs5nb2qv4U,6308
|
|
28
28
|
devflow_cli/core/docgen.py,sha256=47JoVDWetkcctgHwJZC67AVebOKgl10VB9hZ3Xr63mo,3908
|
|
29
29
|
devflow_cli/core/feedback.py,sha256=07asmhX1cG4SXkoLlnSjA_UXgYnkFYoxl4u3JmOhpm0,13382
|
|
@@ -43,23 +43,23 @@ devflow_cli/core/validation_approvals.py,sha256=3AHOpnW3BtY3BQrRZr38K7VNYRvbxGNh
|
|
|
43
43
|
devflow_cli/core/validators.py,sha256=HKGG1-td5T8cFx3rbE0iWPtddolk73qsqYreVWVT07g,7081
|
|
44
44
|
devflow_cli/core/verification.py,sha256=3_iGhsXNFCs5cpBUyBCRTsmRsfuBAVa38lRgy-LXXww,20349
|
|
45
45
|
devflow_cli/core/waivers.py,sha256=0w38Osjr69mDT6Lsn0ljkaq6bbggVejuhqiOnYHabs4,5586
|
|
46
|
-
devflow_cli/core/worklog.py,sha256=
|
|
47
|
-
devflow_cli/core/worktree_snapshot.py,sha256=
|
|
46
|
+
devflow_cli/core/worklog.py,sha256=7sNdvvzvEzO4MKAs3tBeGGCdl2K2kyLlu9y756j9SNo,17124
|
|
47
|
+
devflow_cli/core/worktree_snapshot.py,sha256=aHOJlLxcWqlif6dCHGLEAijXXfyAx8qRpvOnd5cpqUY,4579
|
|
48
48
|
devflow_cli/schemas/activity-contract-v4.schema.json,sha256=IeduWDiJ5IV6EL7FDZWnHBjzyUt1uwig2rB-SMbcpOU,2006
|
|
49
49
|
devflow_cli/schemas/activity-result-v2.schema.json,sha256=2yDf6S--mlNWMxE8h8ruwTsM3Tnaa96SJDjluc4ePbI,2772
|
|
50
50
|
devflow_cli/schemas/assessment-v4.schema.json,sha256=byFBaoG_Vu-qS7vERREKThtpQa3dzNtPiFCMyEpWFVQ,2254
|
|
51
51
|
devflow_cli/schemas/reconcile-log-v3.schema.json,sha256=TNxw6xnv3dcwdUDqi0-SAlQnYg3_zDnCxkU6jwTfZRA,2926
|
|
52
|
-
devflow_cli/schemas/workflow-state-
|
|
52
|
+
devflow_cli/schemas/workflow-state-v7.schema.json,sha256=1XjeMHD45zYaJiTRF2qLmdOO0i0KO1Tj9VoxbOE_V3E,3252
|
|
53
53
|
devflow_cli/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
54
|
devflow_cli/utils/console.py,sha256=t7cpyeEluWj4v_O_KFSI59iqXK4GiSXPuxlsr8q5zoQ,771
|
|
55
55
|
devflow_cli/utils/logging.py,sha256=ZL7DYB7rQn_94KKG7A6_IqONddR-XubJ4MhG3bGPKRI,1840
|
|
56
56
|
devflow_cli/utils/paths.py,sha256=CH81dZZTI2vjgl8mck6QcAChxoBpujmKZ0vVKhKmXEY,8176
|
|
57
57
|
devflow_cli/utils/strings.py,sha256=bfFXCwBDnFxshgZOYfy6mtysnjiaWO1wFnqBf7HLg4o,351
|
|
58
|
-
devflow_cli/resources/commands/devflow.md,sha256=
|
|
58
|
+
devflow_cli/resources/commands/devflow.md,sha256=5MjahTVYXAT_zrjEQmM25KH9s6DbRmyI1TdJCxYlrKk,3464
|
|
59
59
|
devflow_cli/resources/commands/devflow.status.md,sha256=tqjQ1IboU99ztG6C4nunBHGJCvMn3qDqx3AoF4SPjCk,338
|
|
60
60
|
devflow_cli/resources/templates/constitution-template.md,sha256=uSzNuwF-xIRx8cHt9gloynRjNgDGmnN5z2Xck6fCOsI,2102
|
|
61
|
-
devflow_cli-
|
|
62
|
-
devflow_cli-
|
|
63
|
-
devflow_cli-
|
|
64
|
-
devflow_cli-
|
|
65
|
-
devflow_cli-
|
|
61
|
+
devflow_cli-11.0.0.dist-info/METADATA,sha256=dNqWKXQPnmJlRqkBW55avFHM5JkYwqN7umfNCXgg03Y,6674
|
|
62
|
+
devflow_cli-11.0.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
63
|
+
devflow_cli-11.0.0.dist-info/entry_points.txt,sha256=GVJ6bMvFpqyO5589iC4nFKeGTpGIW8aKn_QPPpSZ6kU,48
|
|
64
|
+
devflow_cli-11.0.0.dist-info/licenses/LICENSE,sha256=v79PvnmqOdKhQiOa_QcWxng4q8GuGscLOwi7ygUpwpo,1070
|
|
65
|
+
devflow_cli-11.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|