Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: feature/codex-integration
- Timestamp: 2026-02-07T16:37:31Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-02-07 16:37:31 +00:00
1 parent 10b993a8a3
commit 7d657a4d3e
1 file changed
+6 -6
@@ -497,9 +497,9 @@ function extractBehavioralRules(content: string): string[] {
// Look for Behavioral Rules section
const behavioralMatch = content.match(/##\s*Behavioral\s*Rules[^\n]*\n([\s\S]*?)(?=\n##|\n#\s|$)/i);
if (behavioralMatch) {
const lines = behavioralMatch[1].split('\n');
for (const line of lines) {
if (behavioralMatch && behavioralMatch[1]) {
const ruleLines = behavioralMatch[1].split('\n');
for (const line of ruleLines) {
const trimmed = line.trim();
if (trimmed.startsWith('- ')) {
rules.push(trimmed.substring(2));
@@ -511,9 +511,9 @@ function extractBehavioralRules(content: string): string[] {
// Also look for Security Rules
const securityMatch = content.match(/##\s*Security\s*Rules?[^\n]*\n([\s\S]*?)(?=\n##|\n#\s|$)/i);
if (securityMatch) {
const lines = securityMatch[1].split('\n');
for (const line of lines) {
if (securityMatch && securityMatch[1]) {
const securityLines = securityMatch[1].split('\n');
for (const line of securityLines) {
const trimmed = line.trim();
if (trimmed.startsWith('- ')) {
rules.push(trimmed.substring(2));