# Global State — Index

Last updated: YYYY-MM-DD

## Preferences

### Working style
- [Communication tone — e.g. "direct, no filler, skip pleasantries"]
- [Draft preference — e.g. "draft all external comms to me first; flag what to leave OUT"]
- [Review step — e.g. "I review important comms with [name] before sending — always include that step"]

### Technical preferences
- [Tool/language defaults — e.g. "always TypeScript strict mode"]
- [Commit style — e.g. "imperative mood, explain why not what"]
- [Build/deploy habits — e.g. "never touch production before local repro"]

### Team context
<!--
This section is where the real leverage lives. Record relationship dynamics so the AI
handles people correctly without being re-briefed every session. Examples:

- "Sarah (Design): prefers async feedback via Figma, not Slack. 24h heads-up for scope changes."
- "Jordan (co-founder): peer, not a report. Keep informed; Jordan manages their own workload."
- "Engineering team: mostly PST, decisions async in Notion."
-->
- [Name (role): key dynamic, communication preference, anything the AI should know]

### Decision frameworks
<!--
Record how you actually think about recurring decision types. Examples:

- "Pricing questions: always segment paid vs. free before drawing conclusions."
- "Build vs. buy: default buy for non-core infra unless vendor creates lock-in risk."
- "Vendor disputes: frame in writing first, negotiate specifics live."
-->
- [Decision type: your default approach or framework]

## Active Projects
<!-- AUTO-GENERATED by `wayfind status --write`. Do not edit manually. -->

| Project | Repo | Updated | Status | Next |
|---------|------|---------|--------|------|

## Manual Projects
<!-- Non-repo items (admin, vendor tasks, etc.). Edit freely — not auto-generated. -->

| Project | Status | Next |
|---------|--------|------|

## Memory Files (load on demand)

Load these from `~/.claude/memory/` when the session topic matches:

| File | When to load | Summary |
|------|-------------|---------|
| `example-topic.md` | Keywords that trigger loading | One-line summary of what's inside |

## State Files (per-repo)

| Location | Covers |
|----------|--------|
| `~/.claude/state.md` | Admin work, non-repo tasks |
| `~/repos/org/repo/.claude/state.md` | What this repo is about |

## Session Protocol

**Start:**
1. Read this file + the repo's `.claude/state.md`
2. Check Memory Files table — load any that match this session's topic
3. Summarize current state, then ask: **"What's the goal for this session? What does success look like?"**

**Mid-session drift check:** If work diverges from the stated goal, flag it gently and ask whether to stay the course or pivot.

**End (on "stop" / "done" / "pause" / "tomorrow"):**
1. Update the repo's `.claude/state.md`
2. Do NOT update this file's Active Projects table — it is rebuilt automatically by `wayfind status`.
3. Create/update topic memory files for any significant new cross-repo context
4. Append to `~/.claude/memory/journal/YYYY-MM-DD.md`
5. Confirm: **"State saved. Say 'let's continue' next time."**
