The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
fix: restore urgent PR CI health
Affaan Mustafa3be24a570497
diff --git a/agents/a11y-architect.md b/agents/a11y-architect.mdindex 7ef2e5175..531d43ff1 100644--- a/agents/a11y-architect.md+++ b/agents/a11y-architect.md@@ -1,6 +1,7 @@---name: a11y-architectdescription: Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI components, establishing design systems, or auditing code for inclusive user experiences.+model: sonnettools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]---diff --git a/scripts/hooks/gateguard-fact-force.js b/scripts/hooks/gateguard-fact-force.jsindex 754fff804..1123f97c0 100644--- a/scripts/hooks/gateguard-fact-force.js+++ b/scripts/hooks/gateguard-fact-force.js@@ -189,7 +189,14 @@ function isChecked(key) {function sanitizePath(filePath) {// Strip control chars (including null), bidi overrides, and newlines- return filePath.replace(/[\x00-\x1f\x7f\u200e\u200f\u202a-\u202e\u2066-\u2069]/g, ' ').trim().slice(0, 500);+ let sanitized = '';+ for (const char of String(filePath || '')) {+ const code = char.codePointAt(0);+ const isAsciiControl = code <= 0x1f || code === 0x7f;+ const isBidiOverride = (code >= 0x200e && code <= 0x200f) || (code >= 0x202a && code <= 0x202e) || (code >= 0x2066 && code <= 0x2069);+ sanitized += (isAsciiControl || isBidiOverride) ? ' ' : char;+ }+ return sanitized.trim().slice(0, 500);}function normalizeForMatch(value) {