From 059babebfcb520880d3da0240c9ca9e27e98d858 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Tue, 28 Oct 2025 13:03:32 +1300 Subject: [PATCH] docs(governance): clarify regex patterns are code documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add note to Phase 3 findings that regex patterns in code blocks are PATTERN DEFINITIONS (technical documentation), not prohibited language usage. Prevents confusion when inst_017 detection (correctly) identifies pattern keywords in documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../CULTURAL_SENSITIVITY_PHASE3_FINDINGS_2025-10-28.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/governance/CULTURAL_SENSITIVITY_PHASE3_FINDINGS_2025-10-28.md b/docs/governance/CULTURAL_SENSITIVITY_PHASE3_FINDINGS_2025-10-28.md index 747cc35e..bbf6445a 100644 --- a/docs/governance/CULTURAL_SENSITIVITY_PHASE3_FINDINGS_2025-10-28.md +++ b/docs/governance/CULTURAL_SENSITIVITY_PHASE3_FINDINGS_2025-10-28.md @@ -152,12 +152,14 @@ democracy: { } ``` -**Proposed**: +**Proposed** (NOTE: Code below is PATTERN DEFINITION, not prohibited language usage): ```javascript democracy: { patterns: [ - /(?:requires?|needs?|must\s+have|ensures?|guarantees?)\s+\w+\s+democrac(?:y|tic)/gi, // Prescriptive - /\bdemocratic\s+(?:governance|oversight|control)\s+(?:is|ensures|provides)/gi // Prescriptive structure + // Detects prescriptive framing (requires/needs/must/ensures/guarantees + democracy) + /(?:requires?|needs?|must\s+have|ensures?|guarantees?)\s+\w+\s+democrac(?:y|tic)/gi, + // Detects prescriptive structure (democratic + governance/oversight/control + is/ensures/provides) + /\bdemocratic\s+(?:governance|oversight|control)\s+(?:is|ensures|provides)/gi ], concern: 'Prescriptive democratic framing may have political connotations in autocratic contexts', suggestion: 'Consider "participatory governance", "stakeholder input", or "inclusive decision-making"',