Skip to content

feat(cli): show the cognitive layer in clude status - #397

Merged
sebbsssss merged 2 commits into
mainfrom
claude/llms-txt-equivalent-qrvd64
Jul 14, 2026
Merged

feat(cli): show the cognitive layer in clude status#397
sebbsssss merged 2 commits into
mainfrom
claude/llms-txt-equivalent-qrvd64

Conversation

@sebbsssss

Copy link
Copy Markdown
Owner

What changed

Track 2, item 1 from the DX plan: make the cognitive layer perceptible on the default local path. clude status now reads the SQLite store and reports:

  • memory count + type breakdown (episodic 12 · semantic 8 · ...)
  • memory health: average decay and importance
  • how many memories recall has reinforced, plus the most-reinforced memory and its recall count
  • bond count and queued dream operations, when the tables exist

All read-only queries, defensive against older databases without links/dream_queue tables.

Why

Decay, reinforcement, and bonds run silently. On the zero-key default path — where dream cycles aren't available — users had no evidence the "memory that behaves like memory" pitch was real. Now status shows it living:

✓ 4 memories in local SQLite store
  episodic 1 · procedural 1 · self_model 1 · semantic 1
  health: avg decay 1.00 · avg importance 0.50 · 2 reinforced by recall
  most reinforced: "Friday deploy failed on auth" (recalled 4×)

How to test

  1. pnpm --filter @clude/brain test src/cli/__tests__ — 14/14; tsc --noEmit clean.
  2. Live: seed a sandbox brain over MCP stdio (store 4, recall repeatedly), run clude status — reinforcement counts appear exactly as above (done during development).

Checklist

  • Code compiles (npm run build:sdk)
  • TypeScript strict mode passes (tsc --noEmit)
  • Tested locally — unit tests + live seeded-brain verification
  • Updated documentation (if applicable) — n/a (output-only change)

🤖 Generated with Claude Code

https://claude.ai/code/session_01WwNsqpJeG9ntin2HJsDfsK


Generated by Claude Code

claude added 2 commits July 11, 2026 20:58
… — v3.3.1

- Remove the extract_skill MCP tool: nonfunctional in every mode — the
  hosted endpoint /api/cortex/extract-skill was never implemented and
  @clude/shared/core/skill-extraction doesn't exist in the codebase.
  The server now advertises exactly the 8 tools that work (verified via
  tools/list on the built bundle).
- npm README split: prepack/postpack swap README.npm.md (dev-focused:
  architecture, reproducible benchmarks, quick starts, API, no
  project-story content) into the tarball; repository README unchanged.
  Verified round-trip: tarball README clean, repo README restored.
- Docs fact-sync: README + SKILL.md now document all 8 MCP tools, the
  SQLite-default local mode vs CLUDE_LOCAL JSON store, headless setup
  (CLUDE_SETUP_EMAIL), connect/doctor commands, and shipped TypeScript
  declarations; dead examples/ link replaced with a pointer to
  clude.io/llms-full.txt; stale schema path fixed.
- /install page: sample output matches the real 3.3.x setup flow
  (~/.claude.json path + validation line), 8 tools listed, SDK example
  gains the required summary field.
- Version 3.3.1 in both manifests + changelog.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WwNsqpJeG9ntin2HJsDfsK
Decay, reinforcement, and bonds run silently — users on the default
local path had no way to see that their memory is alive. status now
reports, from the SQLite store: type breakdown, memory health (avg
decay/importance), how many memories recall has reinforced, bond and
queued-dream counts when present, and the most-reinforced memory with
its recall count. Read-only queries, defensive against older databases
missing the links/dream_queue tables.

Verified live: seeded a sandbox brain over MCP stdio, repeated recalls,
status shows "2 reinforced by recall" and "most reinforced: ...
(recalled 4×)".

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WwNsqpJeG9ntin2HJsDfsK
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cluude Ready Ready Preview, Comment Jul 14, 2026 2:00am

Request Review

@sebbsssss
sebbsssss merged commit 4eb6b65 into main Jul 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants