diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-06 21:59:52 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-06 21:59:52 -0500 |
| commit | d81b23ad6b6e437dfe3c338a00a4be39bc555146 (patch) | |
| tree | 2d4b0d7890fd1fc70d81282b81fed2808c28a106 /.ai/workflows/first-session.org | |
| parent | 201377f57430ef28d02e703a2191434bbee55c75 (diff) | |
| download | rulesets-d81b23ad6b6e437dfe3c338a00a4be39bc555146.tar.gz rulesets-d81b23ad6b6e437dfe3c338a00a4be39bc555146.zip | |
chore(ai): initialize project notes and Claude tooling surfaces
Replace the seed notes.org with project-specific context (layout, install modes, task tracker location, recent inflection point). Bring in the synced template surfaces (protocols, workflows, scripts, references, retrospectives, someday-maybe) as tracked content for this content/documentation project.
Diffstat (limited to '.ai/workflows/first-session.org')
| -rw-r--r-- | .ai/workflows/first-session.org | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/.ai/workflows/first-session.org b/.ai/workflows/first-session.org new file mode 100644 index 0000000..60118a2 --- /dev/null +++ b/.ai/workflows/first-session.org @@ -0,0 +1,87 @@ +#+TITLE: First Session Workflow +#+AUTHOR: Craig Jennings & Claude + +Run this workflow on the first Claude Code session for a new +project. It establishes the git/.ai policy, orients Claude to the +project, and initializes =.ai/notes.org=. + +* When to Run + +When any of these are true: +- =.ai/notes.org= contains the "If this is the first session" pointer +- =.ai/sessions/= doesn't exist or is empty (no prior session records) +- User says "this is a new project" or "let's set this project up" + +If unsure, ask. + +* The Workflow + +** Step 1: Determine git / =.ai= policy + +Ask: +- Is this project in a git repository? +- What are the remote repositories (if any)? +- Is this a *code project* (Emacs package, library, software project) + or a *content/documentation project* (personal planning, business, + reference)? + +Based on the answer: + +*** Code project +- Add =/.ai/= to =.gitignore= — session tooling is private, not part + of the codebase +- Examples: org-msg, chime.el, wttrin, or any future Emacs + packages/libraries +- =.ai/= contains session notes and Claude tooling; stays local-only +- A project-level =docs/= (if ever created) is still tracked — real + user-facing docs go there, not in =.ai/= + +*** Content / documentation project +- Commit =.ai/= normally — the project history IS the project +- Examples: personal projects, business planning, documentation, + reference collections +- =.ai/= holds session context and reference material that's part of + the project's evolution + +** Step 2: Understand the project + +Ask: +- What is this project about? +- What are the goals? +- Any background, constraints, or people involved? +- Anything that's already tried / ruled out? + +Take clarifying questions as they arise. Don't try to finish this +step before moving on — understanding deepens across the first few +sessions. + +** Step 3: Brainstorm how to help + +- Discuss approaches and strategies +- Identify immediate next steps +- Agree on a first concrete task (or that the first session is just + orientation) + +** Step 4: Document what was learned + +- Fill in the *Project-Specific Context* section of =.ai/notes.org= + with the project overview, goals, and any key facts from Step 2 +- Add project-specific references or files to =.ai/= as needed +- If the project has a task file (=todo.org= at root), note its + location in notes.org + +** Step 5: Clean up + +- Remove the "If this is the first session" pointer from + =.ai/notes.org= (it's done its job) +- The first session's record will be archived automatically via + wrap-it-up.org at session end — the session-context.org file + becomes =.ai/sessions/YYYY-MM-DD-HH-MM-description.org=. No + additional notes.org transcription needed. + +* Rationale + +First-session setup is a one-time event per project but it's +procedural, so it belongs in workflows/ rather than embedded in the +notes.org seed. The seed notes.org points here on first session; +subsequent sessions should never touch this workflow. |
