mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
2bd52676d9
Adds the bootstrap interview from DESIGN.md Phase 3 as a prose skill, plus the first-run nudge that points users to it. - skills/setup/SKILL.md → /basic-memory:setup: an adaptive ~2-min interview that maps the Claude Code project to a Basic Memory project (pick existing or create), seeds the session/decision/task schemas into it, optionally learns the project's placement conventions (list_directory + sampling, stored in placementConventions), writes the basicMemory settings block, and enables the capture output style. - hooks/session-start.sh: nudges toward /basic-memory:setup on first run (when no basicMemory config block exists). The nudge now survives a failed/empty task query, so a brand-new user with no project yet still sees it; it stops once setup writes the config (config presence is the sentinel — no separate file). - validate_claude_plugin.py: REQUIRED_SKILLS now includes setup. Corrects the Phase 1 schema-seeding finding: writing a schema file's content via write_note (CLI or MCP) indexes it as type: schema AND resolves via schema_validate — the earlier "must use note_type/metadata" conclusion was confounded by the enum YAML bug (since fixed). Verified end-to-end: all three schemas seed, index, and resolve (entity=Session/Decision/Task); nudge verified across all config states; discovery shows Skills (3): setup, remember, status. Updated README, CHANGELOG, and DESIGN Phase 3 status. Passes `just package-check-claude-code` incl. `claude plugin validate . --strict`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>