intentdna 1.6.0 → 1.6.1
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.
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "intentdna",
|
|
11
11
|
"description": "Declarative policy layer for AI agent behavior with plugin-managed hook runtime for Claude Code.",
|
|
12
|
-
"version": "1.6.
|
|
12
|
+
"version": "1.6.1",
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "Samuel"
|
|
15
15
|
},
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
]
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
|
-
"version": "1.6.
|
|
28
|
+
"version": "1.6.1"
|
|
29
29
|
}
|
|
@@ -134,6 +134,7 @@ context_files:
|
|
|
134
134
|
- ".dna/specs/diagnosis-{{ARGUMENTS}}.md"
|
|
135
135
|
surgeon:
|
|
136
136
|
- ".dna/specs/diagnosis-{{ARGUMENTS}}.md"
|
|
137
|
+
- ".dna/specs/diagnosis-{{ARGUMENTS}}.review.json"
|
|
137
138
|
fix_reviewer:
|
|
138
139
|
- "docs/behavior/{{ARGUMENTS}}.md"
|
|
139
140
|
- ".dna/specs/diagnosis-{{ARGUMENTS}}.md"
|
|
@@ -465,13 +466,20 @@ workflows:
|
|
|
465
466
|
prompt: |
|
|
466
467
|
This invocation is one fix round.
|
|
467
468
|
|
|
468
|
-
Before editing,
|
|
469
|
-
- If it
|
|
470
|
-
-
|
|
471
|
-
-
|
|
472
|
-
- If it does not exist, treat this as round 1.
|
|
469
|
+
Before editing, read .dna/specs/diagnosis-$ARGUMENTS.review.json.
|
|
470
|
+
- If it is missing, invalid, or verdict is not APPROVE, stop immediately; do not edit.
|
|
471
|
+
- Manual fix invocations must obey this same gate.
|
|
472
|
+
- If verdict is REQUEST_REANALYSIS, run diagnosis reanalysis first instead of fixing.
|
|
473
473
|
|
|
474
|
-
Read context + diagnosis spec
|
|
474
|
+
Read context + diagnosis spec only after the diagnosis review gate passes.
|
|
475
|
+
|
|
476
|
+
Progress artifacts:
|
|
477
|
+
- .dna/fix-progress/$ARGUMENTS.json is the machine-readable source of truth for controller scheduling.
|
|
478
|
+
- If JSON exists and provenance matches this module, use its next_round_focus/verdict for the current round.
|
|
479
|
+
- .dna/fix-progress/$ARGUMENTS.md is human-readable legacy/manual context only; read it for Failed approaches / Do not repeat and evidence, but never use it as the controller verdict or source of truth.
|
|
480
|
+
- If .md exists without .json, treat it as legacy context only; do not infer PASS/CONTINUE/BLOCKED from it.
|
|
481
|
+
- If progress records REQUEST_CHANGES or BLOCKED_BY_REVIEW, address those review issues before starting unrelated diagnosis items.
|
|
482
|
+
- If neither progress artifact exists, treat this as round 1.
|
|
475
483
|
|
|
476
484
|
Count diagnosis classifications before editing. If UNIMPLEMENTED count is greater than 100, this round is implementation-first: fix UNIMPLEMENTED items by priority only, and leave TEST_BUG / BUG / INFRA / REMOVED for later rounds unless they block implementation.
|
|
477
485
|
|
|
@@ -493,6 +501,9 @@ workflows:
|
|
|
493
501
|
- type: file
|
|
494
502
|
path: ".dna/specs/diagnosis-$ARGUMENTS.md"
|
|
495
503
|
description: "Diagnosis spec"
|
|
504
|
+
- type: file
|
|
505
|
+
path: ".dna/specs/diagnosis-$ARGUMENTS.review.json"
|
|
506
|
+
description: "Approved diagnosis review gate"
|
|
496
507
|
produces:
|
|
497
508
|
- type: git_commit
|
|
498
509
|
description: "Fix commit"
|