veritas-kanban
CLAUDE.md836 starsChanged 3 months agoMITView on GitHub
Canonical instructions are in AGENTS.md. Read that file first. This supplement contains Claude-specific lessons and common mistakes caught by previous Claude runs. Do not duplicate AGENTS.md content here. Last updated: 2026-08-30 (v6.1.3 release freshness) Freshness check: Update after mistakes; review monthly. AGENTS.md is now the canonical project instruction file. It supersedes the duplicate context that was previously embedded here. The fields updated from their stale v2.0 values: - pnpm: was 9+ → now ≥ 11.0.0 (pinned pnpm@11.1.1) - Node: was…
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Always follow with validatePathSegment() + ensureWithinBase().
- Distinctive: line 58
After a mistake that a rule would have prevented.
- Distinctive: line 59
After any review catches a systemic pattern worth preserving.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.
Files
CLAUDE.md — Claude-Specific Supplement for Veritas Kanban
Canonical instructions are in
AGENTS.md. Read that file first. This supplement contains Claude-specific lessons and common mistakes caught by previous Claude runs. Do not duplicateAGENTS.mdcontent here.Last updated: 2026-08-30 (v6.1.3 release freshness) Freshness check: Update after mistakes; review monthly.
What changed in v2.1
AGENTS.md is now the canonical project instruction file. It supersedes the duplicate context
that was previously embedded here. The fields updated from their stale v2.0 values:
- pnpm: was
9+→ now≥ 11.0.0(pinnedpnpm@11.1.1) - Node: was
22+→ now≥ 22.22.1 - Providers: managed Buzz, Grok Build, Codex, Claude Code, Copilot CLI,
Hermes, and OpenClaw contracts are documented in
AGENTS.md
Lessons learned (Claude-specific)
Security
- ❌ Forgot global middleware — flagged missing per-route auth that was already in
app.use(). Global middleware is inserver/src/middleware/; check there before adding per-route auth. - ❌ Used
path.join()without validation — allows../traversal. Always follow withvalidatePathSegment()+ensureWithinBase().
Architecture
- ❌ Imported
fsdirectly in service files — breaks storage abstraction. - ❌ Added polling when WebSocket hook existed — use
useRealtimeAgentStatus. - ❌ Frontend interface didn't match server response (
totalAgentsvstotal). Server response is the source of truth; interfaces must match exactly. - ❌ Agent provider guessing — always verify flag names and interfaces against versioned docs before implementing a new provider adapter.
Testing
- ❌ Used wrong schema field in test fixtures (
status: "success"vssuccess: true). Copy fixture shapes from live runtime output or type definitions, not from memory. - ✅
pnpm-lock.yamlis generated by pnpm; never reformat or hand-edit it.
Multi-agent runtime
- Heartbeat timeout: 5 min. Stale-check interval: 1 min.
- Activity source of truth:
status-historyfiles, notactivity.json. - Dashboard optimistic updates: use
onMutate, not refetch-after-mutate.
When to update this file
- After a mistake that a rule would have prevented.
- After any review catches a systemic pattern worth preserving.
- Monthly freshness review.
Structure inspired by Anthropic's CLAUDE.md convention.
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
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.

