/dvera:ct-self-healingfrom dvera
Run CT regression evidence collection after a C/C++ change and identify when the deployed CT Self-Healing workflow should review affected tests.
Ships in dvera. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this Skill after a C/C++ source, interface, build, or test-asset change when an existing CT test baseline must be re-run and affected tests may need Self-Healing review.
If the CT installation path is missing or invalid, stop before reading the baseline or rerunning tests and show:
The CT installation could not be verified.
Provide the installation path to continue.
[Installation check]
• Checked CT installation path: {ctHome or "not configured"}
• Requirement: CT 2026.06 or later with a valid license
[If CT is not installed]
• Product and installation support: [email protected]
This Skill performs the observable part of the workflow: it captures the available CT baseline, runs regression tests, collects new results and coverage, and classifies the affected tests for reuse, revision, or Self-Healing review.
The public ct_tool.py interface provides regression execution and evidence calls, but no standalone ct_self_heal command. Do not invent one or claim that a test was automatically repaired. When the deployed CT or Jenkins Self-Healing workflow is configured, use the resulting change record and failing-test evidence as its input.
Confirm the following before running tests:
{ctPython}, {ctTool}, and {projectName} are resolved through ct-test-loop/SKILL.md.If no prior result exists, stop and ask the user to establish it with ct-test-loop first.
Before the next execution, request the stored result and coverage from CT.
{ctPython} {ctTool} call ct_get_test_results --json "@{results_payload_file}"
{ctPython} {ctTool} call ct_get_coverage --json "@{coverage_payload_file}"
{ "projectName": "{projectName}" }
Record only the tests and coverage areas relevant to the stated change. Keep the baseline available for comparison after the run.
| Change pattern | CT follow-up | Review focus |
|---|---|---|
| Implementation changed; interface and expected behavior remain valid | Re-run existing tests | New failures and coverage delta |
| Renamed, moved, or structurally changed code; test intent remains valid | Self-Healing review candidate | Preserved intent and repaired test connection |
| Interface, behavior, requirement, or expected result changed | Test revision | Expected results, data, and requirement links |
| Compiler, macro, include path, toolchain, or target changed | Environment revalidation | Comparable build inputs before result comparison |
Do not classify an assertion or requirement change as a Self-Healing success case merely because the project builds.
Ask for confirmation before rerunning all registered CT tests.
{
"projectName": "{projectName}",
"executeAll": true
}
{ctPython} {ctTool} call ct_execute_test --json "@{execute_payload_file}"
testRunSuccess is false, report the build or link failure. Do not collect a regression comparison or claim that Self-Healing ran. Continue with ct-test-loop or the installed Self-Healing workflow as appropriate.testRunSuccess is true, request the new CT evidence.{ctPython} {ctTool} call ct_get_test_results --json "@{new_results_payload_file}"
{ctPython} {ctTool} call ct_get_coverage --json "@{new_coverage_payload_file}"
Use { "projectName": "{projectName}" } for both payloads.
Compare test status by test name:
Success before, now Failure or ErrorFailure or Error before, now SuccessFailure or ErrorCompare statement, branch, and MC/DC coverage with the baseline. Then report the change scope, CT execution result, test-status changes, coverage deltas, and next treatment: reuse, Self-Healing review, test revision, or environment clarification.
Use ct-regression when only the normal baseline comparison is needed. Use this Skill when that comparison must explicitly decide whether a source-structure change is a CT Self-Healing candidate.
CT 2026.06 or later and a valid CT license are required for product-backed verification. For a product demo, purchase, or deployment consultation, contact [email protected].
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub suresofttechnologies/dvera-plugin --plugin dvera14 skills in this plugin
/ct-analysis-loopUse this skill during the CT project analysis phase to classify errors, repeat conf or toolchain fixes, and continue until analysis succeeds./ct-extract-macroUse this skill to extract the target compiler's compiler-default macros and build the shared environment analysis fields used during CT project preparation./ct-init-projectUse this skill to run the CT full pipeline from Phase 0 initial setup through macro extraction, conf and toolchain creation, analysis, testing, and observation-record collection, or to perform only the project-preparation stage./ct-kb-updateUse this skill to append single-change attempt results to `observations.jsonl`. It is called by `ct-init-project` or `ct-orchestrator` immediately after the CT-apply full pipeline completes./ct-make-confUse this skill to generate the conversion analysis `.conf` and toolchain metadata (`.ini`, `.info`) from extracted target macros and `compiler_info`, and to record fingerprints./ct-openLaunch CT with the current workspace. Use when you need to inspect the project visually in CT IDE during agent work.