Agent notes and learnings
  • Nix 44.6%
  • Shell 33%
  • Just 22.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-25 19:30:57 +00:00
patterns feat: add treefmt formatting 2026-08-01 10:55:27 +00:00
projects docs: add learning from grafana-dashboards 2026-08-25 19:30:57 +00:00
scripts refactor: comprehensive context vault restructuring and standardization 2026-05-28 18:11:28 +00:00
.ckignore feat: integrate ck semantic search via nix devshell 2026-07-08 11:22:58 +00:00
.gitignore feat: integrate ck semantic search via nix devshell 2026-07-08 11:22:58 +00:00
AGENTS.md feat: add treefmt formatting 2026-08-01 10:55:27 +00:00
CODEOWNERS Migration: codeowners (#3) 2026-07-29 18:17:28 +00:00
flake.lock feat: add treefmt formatting 2026-08-01 10:55:27 +00:00
flake.nix feat: add treefmt formatting 2026-08-01 10:55:27 +00:00
index.md feat: add treefmt formatting 2026-08-01 10:55:27 +00:00
justfile feat: add treefmt formatting 2026-08-01 10:55:27 +00:00
README.md feat: add treefmt formatting 2026-08-01 10:55:27 +00:00
renovate.json Add renovate.json 2026-07-09 00:00:30 +00:00
treefmt.nix feat: add treefmt formatting 2026-08-01 10:55:27 +00:00

tags category created updated related
documentation
overview
vault-structure
patterns 2026-05-23 2026-08-01
AGENTS.md
index.md

Context Vault

A self-hosted knowledge base for AI learning, patterns, and conversation summaries. Synced across devices via Git.

Structure

context-vault/
├── projects/           # Project-specific learnings and decisions
├── patterns/           # Reusable code patterns and solutions
├── conversations/      # Session summaries and context snapshots
├── scripts/            # Query and search utilities
└── index.md            # Tag and category registry

File Format

All notes use YAML frontmatter for queryable metadata:

---
tags: [example, keywords, tags]
project: project-name
category: architecture|patterns|errors|learnings
created: 2026-05-23
updated: 2026-05-23
related: [other-file.md]
---

# Note Title

Content in markdown format...

Query Tools

Search by tag

./scripts/query-by-tag.sh typescript

Search by project

./scripts/query-by-project.sh project-name
./scripts/search.sh "search term"

Auto-Save Format

After conversations, notes are automatically saved with:

  • Timestamp-based filename: conversations/2026-05-23-project-summary.md
  • YAML metadata: tags, project, category
  • Content:
    • Code patterns discovered
    • Errors + solutions
    • Architecture decisions
    • File references with line numbers (format: path/file.ts:123)
    • Related learnings

Quick Start

  1. Clone/pull this repo to sync
  2. Run just fmt to format repository files
  3. Use query tools to find context
  4. Review and commit changes locally
  5. Push to main branch

Formatting

Run the pinned treefmt-nix configuration through just:

just fmt

This runs nix fmt with formatters for Nix, Markdown, justfiles, and shell scripts. YAML frontmatter is preserved with the mdformat-frontmatter plugin.