Skip to content
Agentmart
Submit a tool

uclaw-memory-graph-freeze

Use whenever you're tempted to write to memory_graph or are working on memory persistence, knowledge graph, entity storage, or "save this for later" features.

Skill by novolei

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/novolei-uclaw-memory-graph-freeze

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use whenever you're tempted to write to memory_graph or are working on memory persistence, knowledge graph, entity storage, or "save this for later" features. Trigger phrases include "memory_graph", "knowledge graph", "Steward", "entity graph", "memory write", "memory persist", "store fact", "remember user", "long-term memory", "gbrain", "Dream Cycle", "EntityPage". Loads the freeze rationale (ADR 2026-05-20-gbrain-primary-freeze), the gbrain redirect, and the exempt-path list.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/uclaw-memory-graph-freeze

What's inside

Skill name
uclaw-memory-graph-freeze
Description
Use whenever you're tempted to write to memory_graph or are working on memory persistence, knowledge graph, entity storage, or "save this for later" features. Trigger phrases include "memory_graph", "knowledge graph", "Steward", "entity graph", "memory write", "memory persist", "store fact", "remember user", "long-term memory", "gbrain", "Dream Cycle", "EntityPage". Loads the freeze rationale (ADR 2026-05-20-gbrain-primary-freeze), the gbrain redirect, and the exempt-path list.
License
Apache-2.0
Instructions
75 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • files: referenced but missing: scripts/git-hooks/checks/check-memory-graph-freeze.sh

Files (1)

  • SKILL.md

SKILL.md (first lines)

# uClaw — Memory Graph is FROZEN

**Per ADR `docs/adr/2026-05-20-gbrain-primary-freeze-l2-cognitive.md`**:
`memory_graph::write|insert|update|delete*` calls are frozen.
**gbrain is the primary long-term knowledge layer.** Path C-2 (Bun + gbrain
as MCP subprocess) is the runtime; Memory OS Cognitive Layer Phase 8.1
(V43 migration) shipped empty + paused.

## Why frozen

Two overlapping systems were going to fragment the truth: `memory_graph`
(local SQLite Steward-style) and `gbrain` (entity graph + dream cycle).
Two systems = two sources of truth = drift. ADR §11.2 picked gbrain
because: better entity resolution, has the Entity Graph + Dream Cycle
pipeline, designed for triangulation + drift detection (L3 §4.12).
`memory_graph` retains its rows for backward compat (reads still work),
but **writes are off**.

## What's blocked

`.claude/hooks/check-memory-graph.sh` (in-session) +
`scripts/git-hooks/checks/check-memory-graph-freeze.sh` (commit-time) both
block any new code adding:

```
memory_graph::write*
memory_graph::insert*
memory_graph::update*
memory_graph::delete*
```

inside `src-tauri/src/*.rs` — **except** files under
`src-tauri/src/memory_graph/` itself (the implementation has to write to
its own internal tables for backward-compat reads to function).

## What's allowed

- `memory_graph::read*`, `memory_graph::query*`, `memory_graph::get*` — all reads
- Migrations that touch the `memory_*` tables (you'll be coordinating with
  the DRI anyway because it's a schema change)
- ADR / docs / comments that reference `memory_graph::write*` as a string
  literal (the hook is restricted to `.rs` files, so doc files are fine)

## What to do instead

For new "store this knowledge" code paths:

1. **EntityPage store** (via `memory_graph` EntityPage API or `bucket_seal`) — the replacement for gbrain writes after Step 2d teardown.
2. **For per-turn cost / metrics that aren't "knowledge"** — those go to
   `cost_records` (V13) or `agent_messages` metrics columns (V15), NOT
   `memory_graph`. The hook only blocks `memory_graph::write/insert/etc`,
   not normal table writes.
3. **For user-stated facts ("user lives in Tokyo")** — gbrain Entity Graph
   is the destination. Path: `gbrain → openhuman facets → user_profile_facets`
   (V39, stability-graded).
4. **For ephemeral "remember for this session"** — agent_messages or the
   in-memory session state. Not persistence.

## If you genuinely need a write

The hook exempts `src-tauri/src/memory_graph/*`. If you're modifying the
internal implementation for a real reason (data healing migration, repair
job, deprecation sweep), you're fine inside that path.

**Outside that path, get DRI approval first.** Don't `--no-verify` your
way past the git hook. The freeze is a strategic call; the hooks just
enforce it.

## See also

- `docs/adr/2026-05-20-gbrain-primary-freeze-l2-cognitive.md` — the freeze ADR
- `docs/adr/2026-05-20-uclaw-agent-platform-north-star.md` §11.2 — the broader memory architecture
- CLAUDE.md (or CONTEXT.md) *Active migration registry* — V43 (paused) and V44+ (RETAINED, in progress)

From novolei/uclaw-new, Apache-2.0.

More from novolei/uclaw-new

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jun 3, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from novolei

Cite this page

uclaw-memory-graph-freeze skill. Agent Mart. https://agentmart.dev/skills/novolei-uclaw-memory-graph-freeze (last updated 2026-10-24)