]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
feat(sandcastle): enrich planner with acceptance criteria and root cause hypothesis
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2026 23:04:27 +0000 (01:04 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2026 23:04:27 +0000 (01:04 +0200)
commit92bffdfdd8472b5182f4e44c1276849b1bdafa12
treeaf28926cf424ce2d58f2bf01ec6c7e9be2c95ce3
parent32e774c7ca15f2ad965cb244c85cd3bb0af9b055
feat(sandcastle): enrich planner with acceptance criteria and root cause hypothesis

The planner now produces structured analysis per issue: issueType,
confidence, rootCauseHypothesis, and acceptanceCriteria. These flow
into the actor prompt (confidence-gated hypothesis + criteria) and the
critic prompt (criteria as verification checklist).

- Confidence controls plan specificity: high → full context, medium/low → criteria only
- All planner-generated fields are sanitized and length-bounded
- Critic evaluates observable outcomes, never plan adherence
- Backward-compatible: missing fields result in empty template variables
.sandcastle/plan-prompt.md
.sandcastle/strategies/implement/actor-prompt.md
.sandcastle/strategies/implement/critic-prompt.md
.sandcastle/strategies/implement/strategy.ts
.sandcastle/task-source.ts
.sandcastle/types.ts