From cf3600ffe977aa504113d2ee5f8eacede05dd071 Mon Sep 17 00:00:00 2001 From: Spencer Date: Thu, 26 Mar 2026 20:26:43 -0500 Subject: [PATCH] chore: sync memory 2026-03-26 --- .claude/commands/freelance.md | 48 ++++++++++++++++++++++++++++ .claude/commands/personal.md | 53 ++++++++++++++++--------------- .gitattributes | 3 ++ CLAUDE.md | 3 +- memory/cog-meta/reflect-cursor.md | 5 +++ memory/domains.yml | 13 ++++++-- memory/freelance/action-items.md | 4 +++ memory/freelance/dev-log.md | 2 ++ memory/freelance/entities.md | 4 +++ memory/freelance/hot-memory.md | 4 +++ memory/freelance/observations.md | 4 +++ memory/freelance/projects.md | 2 ++ package-lock.json | 6 ++++ 13 files changed, 121 insertions(+), 30 deletions(-) create mode 100644 .claude/commands/freelance.md create mode 100644 .gitattributes create mode 100644 memory/cog-meta/reflect-cursor.md create mode 100644 memory/freelance/action-items.md create mode 100644 memory/freelance/dev-log.md create mode 100644 memory/freelance/entities.md create mode 100644 memory/freelance/hot-memory.md create mode 100644 memory/freelance/observations.md create mode 100644 memory/freelance/projects.md create mode 100644 package-lock.json diff --git a/.claude/commands/freelance.md b/.claude/commands/freelance.md new file mode 100644 index 0000000..96d0725 --- /dev/null +++ b/.claude/commands/freelance.md @@ -0,0 +1,48 @@ + + + +Use this skill when the user discusses Shopify Expert & Frontend Web Developer — contractor topics. Trigger if the conversation involves: +- work +- client +- shopify +- frontend +- freelance +- project +- invoice +- contract +- development +Do NOT trigger for topics belonging to other domains. + +## Domain + +Shopify Expert & Frontend Web Developer — contractor + +## Memory Files + +Always read on activation: +- `memory/freelance/hot-memory.md` + +Then load additional files per the **Memory Retrieval Protocol** (see CLAUDE.md) based on the query: +- Status/task query → `memory/freelance/action-items.md` +- Entity/people query → `memory/freelance/entities.md` +- Project query → `memory/freelance/projects.md` (if exists) +- Technical query → `memory/freelance/dev-log.md` (if exists) +- Update/observation → target file only +- Complex query → hot-memory first, then drill into referenced files + +Available warm files: hot-memory, action-items, entities, projects, dev-log, observations + +Historical data: read `memory/glacier/index.md`, filter by domain=freelance + +## Routing + +When the user shares information or asks to save something: +- Task/todo → `memory/freelance/action-items.md` +- Person/entity → `memory/freelance/entities.md` +- Project/technical → `memory/freelance/projects.md` +- Update/log → `memory/freelance/observations.md` +- Status/overview → `memory/freelance/hot-memory.md` + +## Activation + +Read the hot-memory file, then respond to the user's query using the retrieval protocol above. diff --git a/.claude/commands/personal.md b/.claude/commands/personal.md index 4688349..c1b39de 100644 --- a/.claude/commands/personal.md +++ b/.claude/commands/personal.md @@ -1,14 +1,20 @@ -Use this skill when the user discusses personal life topics. Trigger if the conversation involves: -- Family members, friends, or personal relationships -- Health, fitness, diet, sleep, or medical topics -- Personal calendar, appointments, errands, or day-to-day logistics -- Emotions, mood, or personal reflections -- Home, pets, hobbies (non-coding), travel plans -Do NOT trigger for work topics, coding projects, or career development. + + + +Use this skill when the user discusses Day-to-day personal life topics. Trigger if the conversation involves: +- personal +- life +- day +- todo +- errand +- home +- money +- finance +Do NOT trigger for topics belonging to other domains. ## Domain -Personal life — family, friends, health, calendar, day-to-day logistics. +Day-to-day personal life ## Memory Files @@ -16,31 +22,26 @@ Always read on activation: - `memory/personal/hot-memory.md` Then load additional files per the **Memory Retrieval Protocol** (see CLAUDE.md) based on the query: -- Status query → `memory/personal/calendar.md` or `memory/personal/action-items.md` -- Entity query → `memory/personal/entities.md` -- Health query → `memory/personal/health.md` +- Status/task query → `memory/personal/action-items.md` +- Entity/people query → `memory/personal/entities.md` +- Project query → `memory/personal/projects.md` (if exists) +- Technical query → `memory/personal/dev-log.md` (if exists) - Update/observation → target file only - Complex query → hot-memory first, then drill into referenced files -Available warm files: `observations.md`, `calendar.md`, `health.md`, `entities.md`, `action-items.md` +Available warm files: hot-memory, action-items, entities, observations Historical data: read `memory/glacier/index.md`, filter by domain=personal -## Behaviors +## Routing -- When reading memory files, follow [[wiki-links]] if the linked topic is relevant -- Track family and friend updates in `entities.md` -- Log schedule changes to `calendar.md` -- Note health observations in `health.md` -- Add time-sensitive items to `hot-memory.md` -- Append notable events to `observations.md` - -## Artifact Formats - -**Observation**: `- YYYY-MM-DD: ` -**Action item**: `- [ ] (added YYYY-MM-DD)` -**Entity entry**: `- **Name** — relationship (context:
)` +When the user shares information or asks to save something: +- Task/todo → `memory/personal/action-items.md` +- Person/entity → `memory/personal/entities.md` +- Project/technical → `memory/personal/projects.md` +- Update/log → `memory/personal/observations.md` +- Status/overview → `memory/personal/hot-memory.md` ## Activation -Read hot-memory, classify the query per the Memory Retrieval Protocol, load the minimum files needed, and respond. +Read the hot-memory file, then respond to the user's query using the retrieval protocol above. diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..126a530 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# Append-only memory files — use union merge to avoid conflicts +memory/**/observations.md merge=union +memory/cog-meta/self-observations.md merge=union diff --git a/CLAUDE.md b/CLAUDE.md index c59b6b1..68f99e2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -19,7 +19,8 @@ Each skill loads its own memory files — see `.claude/commands/*.md` for detail | Skill | Domain | Trigger | | -------------------- | ----------------------------------------- | ----------------------------------------------------------------------------- | -| `/personal` | Family, health, calendar, day-to-day | Personal life topics | +| `/personal` | Day-to-day personal life | personal, life, errand, home, finance | +| `/freelance` | Shopify Expert & Frontend contractor | work, client, shopify, freelance, invoice | | `/explainer` | Writing, explanation, drafting | "Write about...", "explain this", drafting | | `/humanizer` | Rewrite AI text in human voice | "humanize this", "make it sound natural" | | `/reflect` | Self-improvement, pattern mining | "reflect", "what have you learned", "how can you improve" | diff --git a/memory/cog-meta/reflect-cursor.md b/memory/cog-meta/reflect-cursor.md new file mode 100644 index 0000000..41074d7 --- /dev/null +++ b/memory/cog-meta/reflect-cursor.md @@ -0,0 +1,5 @@ +# Reflect Cursor + + +session_path: ~/.claude/projects/-home-artanis--cog +last_processed: never diff --git a/memory/domains.yml b/memory/domains.yml index 52729ba..d74bfec 100644 --- a/memory/domains.yml +++ b/memory/domains.yml @@ -6,9 +6,16 @@ domains: - id: personal path: personal type: personal - label: "Family, health, calendar, day-to-day" - triggers: [family, health, kids, calendar, personal, home, car, finance] - files: [hot-memory, action-items, entities, observations, habits, health, calendar] + label: "Day-to-day personal life" + triggers: [personal, life, day, todo, errand, home, money, finance] + files: [hot-memory, action-items, entities, observations] + + - id: freelance + path: freelance + type: work + label: "Shopify Expert & Frontend Web Developer — contractor" + triggers: [work, client, shopify, frontend, freelance, project, invoice, contract, development] + files: [hot-memory, action-items, entities, projects, dev-log, observations] - id: cog-meta path: cog-meta diff --git a/memory/freelance/action-items.md b/memory/freelance/action-items.md new file mode 100644 index 0000000..1db36e9 --- /dev/null +++ b/memory/freelance/action-items.md @@ -0,0 +1,4 @@ +# Freelance — Action Items + + + diff --git a/memory/freelance/dev-log.md b/memory/freelance/dev-log.md new file mode 100644 index 0000000..0fbc1a2 --- /dev/null +++ b/memory/freelance/dev-log.md @@ -0,0 +1,2 @@ +# Freelance — Dev Log + diff --git a/memory/freelance/entities.md b/memory/freelance/entities.md new file mode 100644 index 0000000..d5f5591 --- /dev/null +++ b/memory/freelance/entities.md @@ -0,0 +1,4 @@ +# Freelance — Entities + + + diff --git a/memory/freelance/hot-memory.md b/memory/freelance/hot-memory.md new file mode 100644 index 0000000..c17293d --- /dev/null +++ b/memory/freelance/hot-memory.md @@ -0,0 +1,4 @@ +# Freelance — Hot Memory + + + diff --git a/memory/freelance/observations.md b/memory/freelance/observations.md new file mode 100644 index 0000000..388c897 --- /dev/null +++ b/memory/freelance/observations.md @@ -0,0 +1,4 @@ +# Freelance — Observations + + + diff --git a/memory/freelance/projects.md b/memory/freelance/projects.md new file mode 100644 index 0000000..b300181 --- /dev/null +++ b/memory/freelance/projects.md @@ -0,0 +1,2 @@ +# Freelance — Projects + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..7af73ba --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": ".cog", + "lockfileVersion": 3, + "requires": true, + "packages": {} +}