cclaw-cli 4.0.0 → 5.0.0
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.
- package/dist/artifact-linter/brainstorm.js +40 -2
- package/dist/artifact-linter/design.js +2 -2
- package/dist/artifact-linter/review-army.d.ts +25 -0
- package/dist/artifact-linter/review-army.js +155 -0
- package/dist/artifact-linter/review.js +13 -0
- package/dist/artifact-linter/scope.js +9 -17
- package/dist/artifact-linter/shared.d.ts +65 -19
- package/dist/artifact-linter/shared.js +188 -96
- package/dist/artifact-linter.d.ts +1 -1
- package/dist/artifact-linter.js +1 -1
- package/dist/content/core-agents.js +6 -1
- package/dist/content/idea.js +14 -2
- package/dist/content/skills-elicitation.js +7 -4
- package/dist/content/stage-schema.js +10 -0
- package/dist/content/stages/_lint-metadata/index.js +1 -2
- package/dist/content/stages/brainstorm.js +4 -1
- package/dist/content/stages/design.js +12 -11
- package/dist/content/stages/review.js +21 -21
- package/dist/content/stages/scope.js +19 -17
- package/dist/content/stages/spec.js +3 -3
- package/dist/content/stages/tdd.js +1 -0
- package/dist/content/templates.d.ts +2 -2
- package/dist/content/templates.js +42 -32
- package/dist/flow-state.d.ts +12 -0
- package/dist/gate-evidence.d.ts +12 -0
- package/dist/gate-evidence.js +4 -1
- package/dist/harness-adapters.js +1 -1
- package/dist/internal/advance-stage/parsers.d.ts +8 -0
- package/dist/internal/advance-stage/parsers.js +27 -1
- package/dist/internal/advance-stage/start-flow.js +13 -0
- package/dist/run-persistence.js +14 -2
- package/package.json +1 -1
package/dist/run-persistence.js
CHANGED
|
@@ -246,13 +246,25 @@ function sanitizeInteractionHints(value) {
|
|
|
246
246
|
const skipQuestions = typed.skipQuestions === true ? true : undefined;
|
|
247
247
|
const sourceStage = isFlowStage(typed.sourceStage) ? typed.sourceStage : undefined;
|
|
248
248
|
const recordedAt = typeof typed.recordedAt === "string" ? typed.recordedAt : undefined;
|
|
249
|
-
|
|
249
|
+
const fromIdeaArtifact = typeof typed.fromIdeaArtifact === "string" && typed.fromIdeaArtifact.trim().length > 0
|
|
250
|
+
? typed.fromIdeaArtifact.trim()
|
|
251
|
+
: undefined;
|
|
252
|
+
const fromIdeaCandidateId = typeof typed.fromIdeaCandidateId === "string" && typed.fromIdeaCandidateId.trim().length > 0
|
|
253
|
+
? typed.fromIdeaCandidateId.trim()
|
|
254
|
+
: undefined;
|
|
255
|
+
if (skipQuestions !== true &&
|
|
256
|
+
!sourceStage &&
|
|
257
|
+
!recordedAt &&
|
|
258
|
+
!fromIdeaArtifact &&
|
|
259
|
+
!fromIdeaCandidateId) {
|
|
250
260
|
continue;
|
|
251
261
|
}
|
|
252
262
|
out[stage] = {
|
|
253
263
|
...(skipQuestions ? { skipQuestions } : {}),
|
|
254
264
|
...(sourceStage ? { sourceStage } : {}),
|
|
255
|
-
...(recordedAt ? { recordedAt } : {})
|
|
265
|
+
...(recordedAt ? { recordedAt } : {}),
|
|
266
|
+
...(fromIdeaArtifact ? { fromIdeaArtifact } : {}),
|
|
267
|
+
...(fromIdeaCandidateId ? { fromIdeaCandidateId } : {})
|
|
256
268
|
};
|
|
257
269
|
}
|
|
258
270
|
return out;
|