Files
obelisk/references/recap/pattern1-cover.md
T
tommy0103 b7506ee765 feat(app): add Settings view, configurable claude dir, and recap docs refactor
Introduce a Settings view for configuring the Claude data directory
  (with WSL auto-detection on Windows), sidebar project grouping module,
  and an empty-state onboarding screen for SessionList. Refactor
  recap-patterns.md into per-card reference files under references/recap/
  with separate retrieval and writing guides. Remove the legacy panel.html.
  On the data layer: incremental indexing via changedPaths, per-session
  live-update IPC (obelisk:session-updated), and session dirty-tracking
  in the renderer.
2026-06-15 01:44:32 +08:00

1.7 KiB

Card 1 Cover Retrieval

Goal: choose the recap's dominant claim, persona, activity shape, and compact footer. The cover is not a topic inventory; it is one glanceable claim about what the period felt like.

Use the period from overview.md. Start from overview({ limit: 6 }), then look at in-period sessions, summaries, memories, and any obvious project scope. If the user asked for a project, keep that scope; otherwise prefer the current project only when the evidence makes it the clear center.

Prefer helpers first. If you need custom SQL for activity, token/message counts, or source-session scope, read references/schema.md before writing the SQL.

Retrieve:

  • dominant claim: one thing that defined the period, supported by raw evidence;
  • persona: which archetype best matches the user's attention;
  • source sessions and memories used by this cover claim;
  • activity: weekly day intensities or monthly day intensities when supported;
  • footer: compact public metric such as sessions, messages, or tokens.

Avoid:

  • a claim that lists three topics;
  • an archetype chosen from the recap-generation session itself;
  • footer caveats like excluded projects, exact SQL filters, or long session names;
  • making the cover a workflow metric when the week was really about a decision.

Read this card's writing file immediately after the cover evidence is stable: references/recap/writing1-cover.md. Then update the JSON fields period, source, metrics, persona, and the first cards[] entry. Do not read pattern2-thinking.md until this JSON update is done.

Stop when the cover has one evidence-backed dominant claim, one chosen persona, one metric scope, and at least one evidence anchor.