mirror of
https://github.com/safishamsi/graphify.git
synced 2026-07-14 11:27:10 +00:00
6d9617a44f
Make the self-improving loop "just work" once graphify is installed: - Skill: the query reference now tells the agent to read graphify-out/reflections/LESSONS.md at the start of graph work (start from preferred sources, skip known dead ends, see prior corrections) and to record --outcome useful|dead_end|corrected (+ --correction) on save-result. - Hooks: the post-commit and post-checkout rebuild bodies now auto-run reflect after _rebuild_code — best-effort, only when graphify-out/memory/ holds saved outcomes, and never fails the hook — so LESSONS.md refreshes on every rebuild without a manual `graphify reflect`. Regenerated the per-host references/query.md and re-blessed expected/; all five skillgen guards pass (check, audit-coverage, schema-singleton, monolith-roundtrip, always-on-roundtrip). Verified end-to-end: install hook, save-result --outcome, commit a code change -> hook rebuilds and writes LESSONS.md with the outcome. Full suite 2383 passed; ruff clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>