chore: snapshot pre-v0.2.0 WIP (pathfinder/reflex/metrics/skills improvements)

Baseline for the v0.2.0 self-learning iteration. All 205 tests pass on this
state. Subsequent commits in this branch layer the knowledge base,
post-mortem coach, and persona narration on top.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 13:05:12 +03:00
co-authored by Claude Opus 4.7
parent 3ee2ab886e
commit 86e5294bb8
30 changed files with 1023 additions and 130 deletions
+4 -1
View File
@@ -42,11 +42,14 @@ function extractHeaderComment(src) {
function skillFilePath(id) {
const slug = id.replace(/\./g, "-");
const tail = id.split(".").slice(1).join("-");
const candidates = [
path.join(__dirname, "skills", `${slug}.js`),
path.join(__dirname, "skills", `${slug.replace(/-/g, "_")}.js`),
tail ? path.join(__dirname, "skills", `${tail}.js`) : null,
tail ? path.join(__dirname, "skills", `${tail.replace(/-/g, "_")}.js`) : null,
];
for (const p of candidates) if (fs.existsSync(p)) return p;
for (const p of candidates) if (p && fs.existsSync(p)) return p;
return null;
}