Remediate Tosca Cloud tests from results
Apply ranked fixes from analysis. Mutating — confirm scope before edits.
Prerequisite: diagnosis from tosca-analyzing-execution-results or user-provided failure detail.
Session checklist
Remediate Cloud tests:
- [ ] Confirm scope and get user approval
- [ ] Resolve artifacts (inventory search → entityIds)
- [ ] Apply fix per remediation recipe
- [ ] Re-run playlist or re-search artifact
- [ ] Report changes, run ID, outcome, confidence
Fast path
- Confirm scope — which test cases / playlist items to fix; get user approval.
- Resolve artifacts —
tosca_inventory_search→ entityIds. - Apply fix — per recipe in references/remediation-recipes.md. Common: playlist item rename (
analyzeTestCaseItems→applyTestCaseItemRenames), API message update, scaffold replacement TC, re-run. - Verify — re-run playlist (
tosca_playlist_run) or re-search artifact. - Report — what changed, new run ID, outcome.
Persistence
Cloud mutations persist via API immediately. No save/check-in step.
Destructive operations
Confirm before: tosca_builder_deleteApiMessage, tosca_playlist_deleteById, folder deletes.
See references/editability-and-persistence.md.