Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T23:36:46Z
- 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-01-07 23:36:46 +00:00
1 parent 0f0191836a
commit 867b19ff66
1 file changed
+6 -1
@@ -601,7 +601,10 @@ export class WorkerDaemon extends EventEmitter {
return map;
}
private async runAuditWorker(): Promise<unknown> {
/**
* Local audit worker (fallback when headless unavailable)
*/
private async runAuditWorkerLocal(): Promise<unknown> {
// Basic security checks
const auditFile = join(this.projectRoot, '.claude-flow', 'metrics', 'security-audit.json');
const metricsDir = join(this.projectRoot, '.claude-flow', 'metrics');
@@ -612,6 +615,7 @@ export class WorkerDaemon extends EventEmitter {
const audit = {
timestamp: new Date().toISOString(),
mode: 'local',
checks: {
envFilesProtected: !existsSync(join(this.projectRoot, '.env.local')),
gitIgnoreExists: existsSync(join(this.projectRoot, '.gitignore')),
@@ -619,6 +623,7 @@ export class WorkerDaemon extends EventEmitter {
},
riskLevel: 'low',
recommendations: [],
note: 'Install Claude Code CLI for AI-powered security analysis',
};
writeFileSync(auditFile, JSON.stringify(audit, null, 2));