feat: initial cog release — cognitive architecture for Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcio Puga
2026-03-18 19:47:44 +11:00
committed by Marcio Puga
commit 1dd881975b
30 changed files with 1862 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
# Cog — Improvements
<!-- L0: Feature ideas, wishlists, and repair notes -->
<!-- Edit in place by section. -->
## Ideas
## Implemented

View File

@@ -0,0 +1,4 @@
# Cog — Learned Patterns
<!-- L0: Distilled interaction and workflow rules from experience -->
<!-- Edit in place. Distill self-observations into actionable patterns. Timeless rules only. HARD LIMIT: 110 lines / 7.5KB. -->

View File

@@ -0,0 +1,14 @@
# Scenario Calibration
<!-- L0: Prediction accuracy tracker for decision scenarios -->
<!-- Updated by /reflect when scenarios resolve. -->
## Resolved Scenarios
| Scenario | Created | Resolved | Predicted Branch | Actual Branch | Accuracy | Lesson |
|----------|---------|----------|-----------------|---------------|----------|--------|
## Metrics
- Total resolved: 0
- Accuracy rate: —

View File

View File

@@ -0,0 +1,4 @@
# Cog — Self-Observations
<!-- L0: What worked and didn't in interactions — append-only -->
<!-- Append-only. Format: - YYYY-MM-DD [tag]: observation -->

20
memory/domains.yml Normal file
View File

@@ -0,0 +1,20 @@
# Cog Domain Manifest — generated by /setup
# Single source of truth for all memory domains.
# To modify: run /setup again. Don't edit this file manually.
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]
- id: cog-meta
path: cog-meta
type: system
label: "Cog self-knowledge, pipeline health, architecture"
triggers: [cog, meta, evolve, pipeline, memory system, architecture]
files: [self-observations, patterns, improvements, scenario-calibration, foresight-nudge]
# Run /setup to add more domains conversationally.

6
memory/glacier/index.md Normal file
View File

@@ -0,0 +1,6 @@
# Glacier Index
<!-- Auto-generated by housekeeping. Do not edit. -->
<!-- Last updated: — -->
| File | Domain | Type | Tags | Date Range | Entries | Summary |
|------|--------|------|------|------------|---------|---------|

5
memory/hot-memory.md Normal file
View File

@@ -0,0 +1,5 @@
# Hot Memory
<!-- L0: Cross-domain strategic context — identity, active priorities -->
<!-- Rewrite freely. Keep under 50 lines. -->
<!-- Run /setup to populate this with your domains and priorities. -->

7
memory/link-index.md Normal file
View File

@@ -0,0 +1,7 @@
# Memory Link Index
<!-- Auto-generated by housekeeping. Do not edit. -->
<!-- Last updated: — -->
<!-- Format: target file → files that link to it. Paths relative to memory/, no .md extension. -->
| Target | Linked from |
|--------|-------------|

View File

@@ -0,0 +1,8 @@
# Personal — Action Items
<!-- L0: Open and completed tasks -->
<!-- Format: - [ ] task | due:YYYY-MM-DD | pri:high/medium/low | added:YYYY-MM-DD -->
## Open
## Completed

View File

@@ -0,0 +1,4 @@
# Personal — Entities
<!-- L0: People, places, and things -->
<!-- Edit in place by ### Name header. -->

View File

@@ -0,0 +1,4 @@
# Personal — Hot Memory
<!-- L0: Current state and top-of-mind for personal life -->
<!-- Rewrite freely. Keep under 50 lines. -->

View File

@@ -0,0 +1,4 @@
# Personal — Observations
<!-- L0: Timestamped observations and events -->
<!-- Append-only. Format: - YYYY-MM-DD [tags]: observation -->