cclaw-cli 0.48.0 → 0.48.2
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.d.ts +2 -2
- package/dist/artifact-linter.js +4 -10
- package/dist/constants.d.ts +6 -0
- package/dist/constants.js +11 -0
- package/dist/content/core-agents.d.ts +53 -1
- package/dist/content/core-agents.js +6 -0
- package/dist/content/observe.js +22 -1
- package/dist/content/opencode-plugin.js +5 -1
- package/dist/content/stage-schema.js +2 -0
- package/dist/content/stages/ship.js +2 -5
- package/dist/content/templates.js +13 -15
- package/dist/content/utility-skills.d.ts +7 -1
- package/dist/content/utility-skills.js +5 -0
- package/dist/delegation.d.ts +15 -1
- package/dist/delegation.js +24 -8
- package/dist/doctor.js +101 -18
- package/dist/feature-system.d.ts +11 -4
- package/dist/feature-system.js +52 -8
- package/dist/flow-state.d.ts +3 -1
- package/dist/flow-state.js +34 -3
- package/dist/fs-utils.d.ts +9 -0
- package/dist/fs-utils.js +46 -3
- package/dist/gate-evidence.d.ts +2 -0
- package/dist/gate-evidence.js +13 -4
- package/dist/gitignore.js +6 -3
- package/dist/harness-adapters.js +11 -1
- package/dist/install.js +41 -5
- package/dist/internal/advance-stage.js +45 -8
- package/dist/knowledge-store.js +2 -2
- package/dist/retro-gate.js +23 -14
- package/dist/run-archive.js +164 -93
- package/dist/run-persistence.d.ts +8 -1
- package/dist/run-persistence.js +13 -5
- package/dist/tdd-cycle.js +6 -1
- package/package.json +1 -1
package/dist/tdd-cycle.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export function parseTddCycleLog(text) {
|
|
2
2
|
const out = [];
|
|
3
|
-
|
|
3
|
+
// Strip a leading UTF-8 BOM on the whole blob so the first line parses
|
|
4
|
+
// cleanly; `trim()` handles BOM on subsequent lines through the same
|
|
5
|
+
// codepath (empty/whitespace-only lines are skipped).
|
|
6
|
+
const normalized = text.charCodeAt(0) === 0xfeff ? text.slice(1) : text;
|
|
7
|
+
for (const raw of normalized.split(/\r?\n/)) {
|
|
4
8
|
const line = raw.trim();
|
|
5
9
|
if (!line)
|
|
6
10
|
continue;
|
|
@@ -100,6 +104,7 @@ export function validateTddCycleOrder(entries, options = {}) {
|
|
|
100
104
|
}
|
|
101
105
|
if (state !== "green_done") {
|
|
102
106
|
issues.push(`slice ${slice}: refactor logged before green`);
|
|
107
|
+
continue;
|
|
103
108
|
}
|
|
104
109
|
state = "need_red";
|
|
105
110
|
}
|