cclaw-cli 0.51.28 → 0.51.30
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/cli.d.ts +6 -1
- package/dist/cli.js +117 -64
- package/dist/codex-feature-flag.d.ts +1 -1
- package/dist/codex-feature-flag.js +1 -1
- package/dist/config.js +3 -0
- package/dist/content/cancel-command.d.ts +2 -0
- package/dist/content/cancel-command.js +25 -0
- package/dist/content/closeout-guidance.js +3 -3
- package/dist/content/core-agents.js +5 -5
- package/dist/content/harness-doc.js +1 -1
- package/dist/content/hooks.js +32 -9
- package/dist/content/ideate-command.js +12 -7
- package/dist/content/meta-skill.js +7 -9
- package/dist/content/next-command.d.ts +2 -2
- package/dist/content/next-command.js +31 -27
- package/dist/content/node-hooks.js +24 -8
- package/dist/content/opencode-plugin.js +1 -1
- package/dist/content/session-hooks.js +1 -1
- package/dist/content/stage-command.js +1 -1
- package/dist/content/stage-common-guidance.js +4 -4
- package/dist/content/stages/plan.js +2 -2
- package/dist/content/stages/review.js +1 -1
- package/dist/content/stages/tdd.js +1 -1
- package/dist/content/start-command.d.ts +2 -2
- package/dist/content/start-command.js +18 -15
- package/dist/content/status-command.js +9 -8
- package/dist/content/subagents.js +1 -1
- package/dist/content/templates.d.ts +1 -1
- package/dist/content/templates.js +2 -2
- package/dist/content/track-render-context.d.ts +1 -0
- package/dist/content/track-render-context.js +2 -0
- package/dist/doctor-registry.d.ts +2 -0
- package/dist/doctor-registry.js +37 -10
- package/dist/doctor.d.ts +2 -1
- package/dist/doctor.js +184 -8
- package/dist/flow-state.d.ts +1 -1
- package/dist/flow-state.js +1 -1
- package/dist/fs-utils.js +6 -0
- package/dist/harness-adapters.d.ts +2 -2
- package/dist/harness-adapters.js +21 -94
- package/dist/harness-selection.d.ts +31 -0
- package/dist/harness-selection.js +214 -0
- package/dist/install.d.ts +4 -1
- package/dist/install.js +47 -10
- package/dist/internal/advance-stage.js +7 -7
- package/dist/managed-resources.d.ts +53 -0
- package/dist/managed-resources.js +289 -0
- package/dist/policy.js +1 -1
- package/dist/run-archive.d.ts +8 -0
- package/dist/run-archive.js +23 -9
- package/dist/run-persistence.js +1 -1
- package/dist/runs.d.ts +1 -1
- package/dist/runs.js +1 -1
- package/dist/tdd-cycle.js +10 -10
- package/dist/tdd-verification-evidence.js +4 -4
- package/dist/track-heuristics.d.ts +2 -0
- package/dist/track-heuristics.js +11 -3
- package/package.json +1 -1
package/dist/track-heuristics.js
CHANGED
|
@@ -111,15 +111,23 @@ export function resolveTrackFromPrompt(prompt, config) {
|
|
|
111
111
|
if (matched.length > 0) {
|
|
112
112
|
return {
|
|
113
113
|
track,
|
|
114
|
-
reason: `matched ${track} heuristic`,
|
|
115
|
-
matchedTokens: matched
|
|
114
|
+
reason: `matched ${track} heuristic (${matched.join(", ")})`,
|
|
115
|
+
matchedTokens: matched,
|
|
116
|
+
confidence: matched.length > 1 ? "high" : "medium",
|
|
117
|
+
overrideGuidance: track === "quick"
|
|
118
|
+
? "Use medium/standard instead when product framing, architecture, schema, migration, security, or unclear scope appears; quick skips ceremony, not safety."
|
|
119
|
+
: track === "medium"
|
|
120
|
+
? "Use standard if architecture, data model, security boundary, or migration risk is uncertain."
|
|
121
|
+
: "Use medium or quick only when the blast radius and architecture are already known."
|
|
116
122
|
};
|
|
117
123
|
}
|
|
118
124
|
}
|
|
119
125
|
return {
|
|
120
126
|
track: fallback,
|
|
121
127
|
reason: `no explicit match, fallback=${fallback}`,
|
|
122
|
-
matchedTokens: []
|
|
128
|
+
matchedTokens: [],
|
|
129
|
+
confidence: "low",
|
|
130
|
+
overrideGuidance: "Confirm or override before state is written; choose quick only for known low-blast-radius work, medium for known architecture with product framing, standard for uncertainty."
|
|
123
131
|
};
|
|
124
132
|
}
|
|
125
133
|
export const TRACK_HEURISTICS_DEFAULTS = {
|