agentleFS
dempseydatadempseydata/hindsight/CLAUDE.md

hindsight

CLAUDE.md0 starsChanged 15 days agoMITView on GitHub

Local observability over Claude Code history for a solo skill-heavy operator: where tokens went, what was done, how the process ran. Read-only, stdlib-only Python over SQLite. Consolidated successor to ccwhere (shipped, superseded) and ccwhy's observability half — see background/ideation/framing.md. - The working record — background/ (ideation, definition, design, tickets, the why) and docs/adr/ — is public by design. Write it knowing that. - Real session-derived data, fixtures drawn from it, unfiltered screenshots, secrets and machine paths never enter git. local-data/…

  • In this repositoryOne other file it gives its agents.

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No local process: the house process applies — ~/Documents/Claude/my-standards/my-process.md, read when needed, not imported.

    line 35
  2. Very specific:

    security-preflight before publishing record: Run it before any push touching eval/, docs/screenshots/ or background/ (docs/variables.md).

    line 39

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Hindsight

Local observability over Claude Code history for a solo skill-heavy operator: where tokens went, what was done, how the process ran. Read-only, stdlib-only Python over SQLite. Consolidated successor to ccwhere (shipped, superseded) and ccwhy's observability half — see background/ideation/framing.md.

Visibility

Born public. This repo is the public repo — there is no private working copy and no export step. Everything committed here is publishable from the first commit:

  • The working record — background/ (ideation, definition, design, tickets, the why) and docs/adr/ — is public by design. Write it knowing that.
  • Real session-derived data, fixtures drawn from it, unfiltered screenshots, secrets and machine paths never enter git. local-data/ is ignored for the first; screenshots are taken from a filtered or synthetic view; issue bodies reference sessions by id, never quoted transcript text from another project. eval/ fixtures are the one sanctioned exception and were reviewed for publication (ticket 087).
  • Toolchain is plugins at user scope plus ~/.claude/skills/. Nothing under .claude/ is tracked here: the process copy and project settings are tooling, kept local.
  • .githooks/pre-commit refuses a commit that matches .githooks/denylist.txt (home paths, key shapes, transcript filenames) or a private-project name listed in ~/.config/git/denylist-private.txt, a file kept outside every repo so the names are never published; the hook warns while it has none. Add to the lists; do not bypass it.

Issues live on this repo and are public. The private working repo this was built in is dempseydata/hindsight-old — closed, kept for its history, never to be flipped.

Phase layout

background/ideation/ → background/definition/ → background/design/ → cli/. Context from earlier phases informs later ones — don't engage on design without reading the definition, don't engage on build without reading the design decisions. background/why.md is the story: why it was built, how, and what was reversed. background/tickets/ is the exported working tracker (88 tickets, closing comments included); GitHub's own numbering on this repo starts afresh, so cite an exported ticket by its file, not #N.

Process

No local process: the house process applies — ~/Documents/Claude/my-standards/my-process.md, read when needed, not imported. Its frontmatter declares the born-public and plugin paths, so the how-view stages hindsight's own files from it (ADR-0032, amended by #98).

Project rules the house process does not carry:

  • What-eval before a what-pass change. Any edit to a what-pass prompt or its model pin runs eval/what_run.py and lands only on ACCEPT (ADR-0016, eval/README.md). The status-narrative prompt has its own set: eval/README.md, top.
  • security-preflight before publishing record. Run it before any push touching eval/, docs/screenshots/ or background/ (docs/variables.md).

Stack conventions

  • The repo root is the plugin root (ADR-0036): .claude-plugin/ manifests, skills/ops (/hindsight:ops, user-invoked only), hooks/hooks.json, deterministic code in cli/. claude plugin validate gates commits; its warning about this root CLAUDE.md is expected. Tests run from cli/: cd cli && python3 -m unittest.
  • Domain vocabulary → CONTEXT.md. Decision rationale → docs/adr/. Reviewability docs (architecture, flows, permissions, variables, cron, automation) → docs/, from /document-app.
  • diagnosing-bugs and improve-codebase-architecture must read CONTEXT.md + docs/adr/ first.
  • design/tokens.css is the styling contract, inlined by cli/serve.py at render time. Change a value there, never in a view. Root DESIGN.md is the shipped design system, re-derived from the built UI (ticket 052) — an output, not an input.

There is no house DESIGN.md; a product's root DESIGN.md, if any, is derived from its shipped UI for Impeccable's drift detection, never a source of truth. The design floor is in the house process (~/Documents/Claude/my-standards/my-process.md) → Design.

Agent skills

Issue tracker

Issues live in GitHub Issues at dempseydata/hindsight (via the gh CLI). See docs/agents/issue-tracker.md.

Triage labels

The five canonical defaults, label strings equal to role names. See docs/agents/triage-labels.md.

Domain docs

Single-context: root CONTEXT.md + docs/adr/. See docs/agents/domain.md.

Design skills

Direction is settled (ADR-0007, ADR-0008) — a new surface still runs the design flow in the house process, with the settled direction as an input. taste-skill:design-taste-frontend (the taste-skill@taste-skill plugin, user scope, nothing copied into the repo) is the taste-skill fallback for a new surface — it draws candidate directions from its own internal library, not a named-variant pick; impeccable fine-tunes only after a direction is chosen.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.