Nexara Connect docs0.1.0

Memory library and tidy-up

Memory goes stale. A price list from last year, a plan that was replaced, a checklist someone copied twice. Nexara keeps memory like a library: every page has a state, pages built on something that changed get flagged, and one screen shows what to tidy. Nothing is ever deleted; every action is a normal commit you can undo.

Page states

A page is one of three things:

Set the state from the page's State button (next to Move and Archive): Still current, Needs check, or Obsolete. Still current clears the state, records that you checked it today, and resets the "not used" clock.

In the page's frontmatter this is:

status: needs_check
check_reason: Prices changed in October
review_by: "2026-12-01"

and on an obsolete page:

state: archived
archive_reason: superseded
superseded_by: 01J9PRICING2027ID
archive_note: 2027 is the one we quote from

checked_at is written when someone marks a page still current. All of it is plain frontmatter, so a git clone or Obsidian shows the same thing.

Changed-dependency flags

When a page is archived, replaced, or edited substantially (three lines and 30% of the page, or 60 lines), every page that links to it gets a derived flag: Needs check: Supplier terms changed on 1 October 2026. This is the "something I rely on moved, check me" signal. It is computed from the index, not written to the page, and it clears when someone marks the page Still current (or edits it). A dependency you cannot read is never named.

Tidy memory

Library in the sidebar, then Tidy memory (also reached from Home when something looks stale, and from Settings > Workspace tools). Suggestions are grouped:

GroupMeaning
Check date passedA check by date went by.
Needs check after a changeA page it links to was archived, replaced or changed a lot since this page was last confirmed.
Replaced but not archivedThe page points at a replacement (superseded_by) but is still active, so agents may still read it.
Looks like a duplicateSame title (ignoring case and punctuation) or the same text as another page.
Not used in 90 daysNo read by an agent and no edit for 90 days. Pinned pages are exempt.

Actions on each page, or on a selection: Still current, Archive with reason (and a note), Merge into... (marks the page replaced by its pair and archives it; content is not merged automatically), Set check date. Owners see every page; everyone else sees what they can read and can act on what they can write.

Library view

Library shows memory by kind with counts: People, Companies, Projects, Decisions, Preferences, How we work, Imported chats, Other. A page's kind comes from its frontmatter type (person, company, project, decision, preference, process, chat) or, failing that, from the folder names on its path (people/, clients/, decisions/, how-we-work/, imported-chats/...).

Below the counts, Looks like one topic lists groups of 3 to 12 pages that link to each other, share tags or share a title word, and sit in more than one folder. Each suggestion names the folder that already holds most of them and offers to move the rest there; you tick the pages and confirm. Moves are normal page moves (links keep working, Activity shows them). The grouping is deterministic and reads no page text with a model; when EMBEDDINGS is on the same signals are used, so results do not change between servers.

What agents see

The Memory tidy-up skill (Skills, weekly on Monday by default) reads the same suggestions and lands a review page as a proposal, so a person can work through it once a week.

REST

RouteWhat it does
POST /api/v1/nodes/:id/state{status: needs_check | current, reason?, review_by?}. Needs write; others get a proposal.
POST /api/v1/nodes/:id/archivenow accepts replaced_by (a page id) and note.
GET /api/v1/tidy?space=the grouped suggestions the caller can read, with can_act per page.
GET /api/v1/library?space=kinds with counts and pages, plus cluster suggestions.

Every state change writes an audit row (node.state) and, for agents, a receipt in Changes, so it can be undone like any edit.