Skip to content

Commit 0f658b2

Browse files
committed
docs: LP-STUB markers + intent-based section detection + wrapper-aware hook analyzer
Users running --fix will see LP-STUB markers in their CLAUDE.md — now documented so they know to replace the boilerplate (or run /lp-enhance) to clear the flag. Also notes that intent detection accepts heading aliases / body keywords and that the memory hook can delegate to a .sh wrapper.
1 parent 78090ec commit 0f658b2

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

docs/content/docs/doctor.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ claude-launchpad doctor
5656
</Accordion>
5757
<Accordion title="CLAUDE.md">
5858
- Missing sections: Stack, Commands, Architecture, Off-Limits, Session Start, Backlog, Stop-and-Swarm, Memory & Learnings
59+
- Section detection is intent-based: a heading like `## Sprint Planning`, `## Workflow`, or `## Security Notes` satisfies the matching intent even without the canonical name. Doctor looks at heading aliases first, body keywords second.
5960
- Attribution migration (includeCoAuthoredBy → attribution object)
6061
</Accordion>
6162
<Accordion title="Files">
@@ -74,6 +75,10 @@ claude-launchpad doctor
7475
After `--fix`, use `/lp-enhance` inside Claude Code to restructure your CLAUDE.md. The fixer appends sections mechanically - the skill rewrites them into clean, project-specific content.
7576
</Callout>
7677

78+
<Callout type="info">
79+
**LP-STUB markers.** Sections injected by `--fix` are wrapped in `<!-- LP-STUB: ai-recommended -->` markers. Doctor treats a stub-wrapped section as unsatisfied, so the flag keeps showing until you replace the boilerplate with your own content (or delete the markers). Running `/lp-enhance` rewrites the section and removes the markers in one pass.
80+
</Callout>
81+
7782
## When to re-run
7883

7984
Doctor isn't a one-time setup tool. It's a health check. Re-run it when:

docs/content/docs/memory.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Running `claude-launchpad memory` without flags uses a smart default:
5151
## What it installs
5252

5353
- SQLite database at `~/.agentic-memory/` (shared across projects, scoped per project internally)
54-
- SessionStart hook that injects relevant memories at session start
54+
- SessionStart hook that injects relevant memories at session start. The hook command can delegate to a wrapper `.sh` script inside your project — doctor reads one level of wrapper body, so `bash .claude/session-start.sh` that internally runs `claude-launchpad memory context` passes the check.
5555
- SessionStart pull hook and SessionEnd push hook (when sync is configured) for automatic cross-device sync
5656
- 7 MCP tools for storing, searching, and managing memories
5757
- Memory guidance section in CLAUDE.md (or `.claude/CLAUDE.md` for local placement)

0 commit comments

Comments
 (0)