mirror of
https://github.com/lukaszraczylo/claude-adam.git
synced 2026-06-15 00:41:20 +00:00
78bf0f1e1e
- 8 friction signals via lightweight hook (correction, retry_loop, weak_agent, tool_error_loop, dead_end, edit_churn, build_loop, subagent_dispatch_pattern) - Deterministic confidence rubric with cross-session evidence gate - /reflect skill to dispatch the analyst subagent and walk the queue - Skill overlap detection (prefer skill_edit over skill_new on collision) - Solution synthesis from transcript context for new skill drafts - Soft-delete trash, never hard rm - 18 tests covering all signals
16 lines
457 B
JavaScript
Executable File
16 lines
457 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
import { readdirSync } from "node:fs";
|
|
import { join } from "node:path";
|
|
import { homedir } from "node:os";
|
|
|
|
const PROPOSALS = join(homedir(), ".claude", "adam", "proposals");
|
|
const THRESHOLD = 3;
|
|
|
|
try {
|
|
const files = readdirSync(PROPOSALS).filter(f => f.endsWith(".md"));
|
|
if (files.length >= THRESHOLD) {
|
|
process.stdout.write(`adam: ${files.length} proposals queued. Run /reflect to review.\n`);
|
|
}
|
|
} catch {}
|
|
process.exit(0);
|