Command line#
Verb |
Does |
|---|---|
|
start the writer if it is down, print |
|
the writer alone |
|
up or down; counts by kind, the pin, the index and dense state |
|
the port, the URL, the daemon binary |
|
one lesson |
|
one standing preference |
|
ranked claims: score, kind, id, text |
|
claims whose review clock has run out, soonest first |
|
the link graph’s clusters, largest first: size and first claim |
|
the claims the link graph turns on, highest first: a weighted PageRank over the links |
|
the memories a cue activates: activation, seed mark, id, text; |
|
these claims fired together; their links gain weight, their other links lose a little |
|
mark a review recalled, or lapsed |
|
read or set the pinned set; an empty name clears it |
|
deed accessions the live claims cite |
|
live-now claims, or those live at |
|
the live claims citing one accession |
|
claims to |
A workspace argument defaults to PACKSET_WORKSPACE, else the git remote of
the working directory, else default.
HTTP#
The writer listens on 127.0.0.1 only. Bodies are JSON.
Method and path |
Does |
|---|---|
|
|
|
counts, pin, index and dense state |
|
names with live counts |
|
store one claim; returns the stored record, or the live duplicate |
|
live claims, or those live at |
|
one record, whatever its state |
|
merge fields into one live claim |
|
tombstone; |
|
|
|
ranked hits, the engine, the stage |
|
the link graph’s communities, largest first |
|
the claims the link graph turns on, highest first, with their scores |
|
the cluster a cue activates: top hits as seeds, two hops along the links; |
|
|
|
the replacement rule over the live set in written order; |
|
accessions the live claims cite |
|
claims citing one accession |
|
the pinned set |
|
a set’s three cards |
|
the cards and the atoms as one document |
|
the seat card, the workspace card |
|
hold one body for the next turn |
|
proposals a person accepts into claims |
A refusal is a 4xx with error as one line: the reason a claim was not
stored, quoted back.
The atom#
Schema inside.atom/v1. Fields the writer reads:
Field |
Meaning |
|---|---|
|
one of |
|
|
|
the claim: at most two sentences of at most twenty-five words |
|
required |
|
optional; a checked name |
|
names the claim is about; an entity shaped like an accession must be one |
|
written, and the window it was true; |
|
the ids a contrary claim closed: an explicit id, a correction sharing an entity, a rewrite (token Jaccard 0.6), or the same opening words with a new object |
|
the review clock: |
|
peers by entity overlap, at most eight, chosen by relative-neighbourhood pruning; |
|
weight per link in (0, 1], absent meaning 0.5; moved by |
|
a |
|
a |
Fields the writer does not model round-trip untouched.
The review clock#
A new claim is due after one day. grade with recalled grows stability
by how overdue the claim was; lapsed halves it and raises difficulty. The
retrievability at t days since the last review with stability S is
R = (1 + 19/81 * t/S)^(-1/2), so R(S) = 0.9. PACKSET_DECAY=fsrs scales
a search score by R, floored at 0.25; cards are never scaled.
Environment#
Variable |
Read by |
Meaning |
|---|---|---|
|
clients |
the writer; |
|
|
the port; default 8761 |
|
|
the pack home; default |
|
clients |
the workspace when none is given |
|
writer |
the panel |
|
writer |
query encoders kept side by side, default 2; each holds one model in memory |
|
writer |
|
|
writer |
the encoder binary; else beside the writer, else on |
|
encoder |
where models live; default |
|
writer, encoder |
the second stage on every search, and its model |
Crates#
Crate |
Carries |
|---|---|
|
the atom, the prose limit, BM25+, the scan, the panel, decay, review clock |
|
|
|
the HTTP client every tool uses |
|
|
|
the read-only Model Context Protocol (MCP) surface |
|
dense, late, sparse and cross-encoder models as one child process |