@diegovelasquezweb/a11y-engine 0.11.24 → 0.11.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegovelasquezweb/a11y-engine",
3
- "version": "0.11.24",
3
+ "version": "0.11.25",
4
4
  "description": "WCAG 2.2 accessibility audit engine — scanner, analyzer, and report builders",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -249,9 +249,9 @@ async function callClaudeForPatch({ apiKey, model, aiInput }) {
249
249
  const system = [
250
250
  "You are an accessibility fix engine.",
251
251
  "Return JSON only.",
252
- "Apply the fix described in finding.fixDescription and finding.fixCode.",
253
- "Follow all instructions in execution.constraints.must. Avoid all in execution.constraints.must_not.",
254
- "Use search/replace pairs on the provided files. For insertions (no existing element to replace), use the nearest parent element as the search anchor and prepend the new content in replace.",
252
+ "Generate deterministic text replacements for provided files.",
253
+ "Use finding.fixDescription and execution.constraints.must as guidance for what to fix and how.",
254
+ "For insertions (new element that does not yet exist in the file), use the nearest existing parent element as the search anchor. The replace value must include that anchor plus the new content.",
255
255
  "Do not create files. Do not modify paths outside provided filePath values.",
256
256
  "Schema:",
257
257
  "{\"changes\":[{\"filePath\":\"...\",\"search\":\"...\",\"replace\":\"...\"}],\"verifyRule\":\"...\",\"verifyRoute\":\"...\",\"notes\":\"...\"}",