Skip to content

Glossary

TermMeaning
SpaceThe container a post belongs to; a tree with visibility, icon, ordering, and enable state
VisibilityRead policy: public (guests), login, or level; the strictest policy along the ancestor chain wins
GateA rule engine that decides allow / deny / require_review / rate_limit from conditions
Gate domainThe capability a rule applies to (posting, comments, links); unmatched requests use the domain default
TL0Level 0, the starting level for new accounts and guests (historically Trust Level 0)
XPExperience derived from behaviour: Σ(metric × rule) + streak bonuses + manual adjustments; deleting content reclaims it
Level retentionLevels are evaluated over a rolling window, so inactive users can drop; promotion and demotion walk one level at a time
Manual adjustmentAn admin add/subtract of XP with a reason; it participates in aggregation and survives recomputation
Moderation modeoff / async (default) / external / manual, deciding the initial state of new content
Graduated enforcementMachine credentials writing high-risk content (JS/HTML) are forced into drafts for human approval
Rotation/auth/refresh issues a new sid and revokes the old one immediately; single use
Server-side sessionThe credential is a row in user_sessions; validity equals row existence
Read-through cacheCheck KV first, fall back to the database on a miss and backfill
EnvelopeThe standard response shape { code, msg, data }
Protocol endpointAn endpoint that skips the envelope (OAuth / OIDC / MCP) to keep its RFC shape
ScopeThe permission range on an API key — a ceiling, intersected with the owner’s role permissions
DepsThe explicit dependency list; handlers consume handler.Deps, wired in server/wiring.go
WiringThe layer that injects constructed services into handler dependencies
Event busNATS core pub/sub; services publish events, the notification service subscribes
JetStream KVNATS persistent KV used for session cache, rate-limit windows, settings cache, and OAuth state
SSEServer-Sent Events, used for notifications and generic realtime; idle streams get a 15s keepalive comment
MCPModel Context Protocol; the site acts as a server for AI clients and as a client for external services
MotionA community proposal with voting and a resolution
WatchFollowing a topic to be notified about replies and likes
TrashWhere soft-deleted content waits for restore; not a hard delete
RevisionA historical version of a post or comment that can be viewed and restored
Audit logA record of admin actions and MCP calls: actor, action, target, timestamp
BackupA database export plus upload inventory, from the admin panel or CLI; NATS data is rebuildable and not part of it