# Explore the Den

The Memory Den explorer lets you browse everything Foxora remembers. The left rail is the Palace — the spatial tree of loci. The right pane is the memories at the place you've selected, each with its full record: durability, confidence, freshness, and the provenance trail that explains why it's there.

## Open the explorer

Go to Agents → Memory Den. The header shows a live count of how much is loaded — total memories and distinct loci — next to a status dot telling you whether the Den service is connected.

## The Palace tree

The left rail is the Palace — the spatial locus tree. Reserved roots (work, life, creative, learning, vault) are always present, and beneath them sit whatever nested loci your memories have created. Each row shows a count: the number of memories at that locus and everything below it.

- Click a folder row to select a locus and list its memories.
- Click the chevron to expand or collapse its children.
- A lock icon marks the vault — access-locked memory.

## Reading a memory

Selecting a locus lists its memories (and its descendants’) in the right pane. Each row is compact but carries the full Den tuple:

- Anchor — the short headline of the memory, with its dotted locus beside it.
- Content — the fact itself, in a line of detail.
- Durability — a tag: Transient, Semester, or Permanent.
- Confidence — κ, a 0–1 score of how sure the Den is.
- Freshness — a colored dot: fresh, stale, or resolved.
- When — a relative timestamp for when it was recorded.

### Fresh, stale, resolved

The Den doesn’t assume a memory stays true forever. As your behavior drifts from what a memory asserts, the Den can flag it stale — a signal to re-check rather than trust blindly. Once it’s re-confirmed or superseded, it becomes resolved. Most memories sit fresh.

## The full record & provenance

Click any memory to open its full record. Beyond the tuple above you’ll see its layer (raw / episodic / semantic / relational), its tags, and — most importantly — its provenance: the P-DAG trail of why the Den believes this.

Provenance nodes point back to the evidence a memory was built from — a conversation, a file, a command, an app, or a capture — each with the source and a reference into it. It’s the audit trail that turns “the agent claimed X” into “the agent learned X from here.”

## Recall across the whole Den

The search box above the explorer runs Recall — it sweeps every locus at once, matching on anchor, content, and tags, regardless of where in the Palace a memory lives. It’s the fastest way to find a fact when you don’t remember which place it’s filed under.

> Place a memory by handMost memories are written by agents as they work, but you can add one yourself with Place memory — useful for seeding a fact you want every agent to know from the start.
