fix: Fix YAML syntax errors and validator prompt formatting

- Fix YAML files with unquoted strings containing quotes
- Export singleton instances in ai/__init__.py
- Fix validator scoring prompt to use replace() instead of format()
  to avoid conflicts with JSON curly braces

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-28 21:13:58 +00:00
parent 11b0ba46fa
commit e32885afc5
19 changed files with 3440 additions and 4186 deletions

View File

@@ -27,7 +27,18 @@
"Bash(tee:*)",
"Bash(systemctl start:*)",
"Bash(systemctl enable:*)",
"Bash(systemctl is-enabled:*)"
"Bash(systemctl is-enabled:*)",
"Bash(for f in dashboard/templates/*.html)",
"Bash(do)",
"Bash(if grep -q \"extends \"\"base.html\"\"\" \"$f\")",
"Bash(then)",
"Bash(echo:*)",
"Bash(else)",
"Bash(fi)",
"Bash(done)",
"Bash(xargs basename:*)",
"Bash(docker-compose down:*)",
"Bash(for:*)"
]
}
}