| Nfray | |
| Nstate | |
| CStateManager | Owns a SQLite connection and a typed key/value state table. Database operations serialize on a recursive mutex; the attached FileManager is borrowed, not owned |
| Nconsole | |
| CEntryList | The Console entries the Engine owns and the Renderer shows, keyed by UID. The UID is the one stamped on the message the entry describes, so the Engine, the disk log and the Renderer all refer to the same thing. Every change bumps the entry's revision, which lets the Renderer ignore anything older than what it has. The list is bounded; the oldest entries are forgotten first. Safe to use from any thread |
| CConfirmation | What confirm() changed |
| Nlog | |
| CEngineLogSink | Captures Engine logs before managers exist and forwards them once attached. Construct before startup logging. The attachment must be destroyed before its managers |
| CCaptured | An owned log line captured before the managers were attached |
| CState | Shared callback state, kept alive by in-flight sink snapshots |
| CActiveCall | Releases an in-flight call even if recording throws |
| CRecursionGuard | Restores the thread-local recursion guard |
| CAttachment | Keeps the sink attached to live managers and detaches it on destruction. Declare after the managers so it is destroyed before them |
| CProjectScope | Temporarily tag log lines on the calling thread, then restore its previous tag. Construct and destroy the scope on the same thread |
| CSinkSuppression | Keeps the calling thread's printed lines out of the sink while it lives, then restores the previous setting. Used for lines that are recorded elsewhere under their own identity. Construct and destroy on the same thread |
| CConsoleSuppression | Keeps lines in the persistent log but out of the Console for this thread's scope |
| Nfiles | |
| CFileManager | Owns one working directory, its database name and a nonblocking file lock. Project workspaces additionally have archive paths and packaging operations. Operations run on the calling thread; the class has no internal mutex and callers must serialize access. State managers must detach before saving, closing or destroying this manager |
| CProjectLock | Owns the operating-system handle and path of a project lock file |
| Nwatch | |
| CFileId | Filesystem identity surviving renames: device and inode, or volume and file index |
| CChange | Describes a detected change to the watched root or one of its entries |
| CFileWatcher | Detects folder-tree changes by comparing snapshots and queues them for subscribers. poll() scans on its calling thread; dispatch() invokes handlers on its calling thread. run() is intended for a ThreadManager thread. Scan state and queue state have separate mutexes |
| CEntry | Snapshot metadata for one filesystem entry |
| CSubscriber | Subscription identifier and callbacks copied for dispatch |
| Nipc | |
| CTCPServer | Listens on one TCP port and exchanges frames with the connected clients. All members and handlers run on the network thread (the thread running the io_context); the only exceptions are the constructor/destructor and port(). Shared ownership keeps it alive while async operations are pending |
| CIPCManager | Owns the TCP servers and the threads around them |
| Nmessage | |
| CPrefix | Fixed-size routing prefix at the start of every frame; routers read only this. All integers are big-endian on the wire. Layout: 0 version | 1 destinationKind | 2-5 destinationId | 6 senderKind | 7-10 senderId 11-14 operationId | 15-18 length | 19-22 headerLength | 23-38 uid | 39 category |
| CInData | A parsed incoming message. The payload is a view into the frame, which this keeps alive via shared ownership |
| CFrameOptions | Everything FrameBuilder needs to build one outgoing Engine message |
| CFrameBuilder | Builds outgoing frames sent by the Engine (sender is always the Engine). Stateless; safe to use from any thread |
| Nhistory | |
| CNode | One recorded history action with domain-defined opaque payload |
| CHistoryManager | Accesses project undo/redo trees stored beside state in the project database. Each domain has a head; recording after undo creates a recoverable branch. The referenced state must outlive this manager. Database operations run on the calling thread under the state mutex |
| Nlogs | |
| CEntry | One log line from a process. This store instance assigns arrivedUs as an increasing microsecond timestamp used for sorting and paging |
| CQuery | Filters and cursor for a page of log entries |
| CPage | A page of matching log entries and its exhaustion status |
| CLogStore | Persist and query application and project logs across session SQLite files. Project logs use their working folder's logs directory. Pages span the application and currently open projects |
| CDatabase | Own an SQLite connection and close it on destruction |
| CFolder | Associate a log folder with its live session database |
| Nrouting | |
| CNeighborMonitor | Tracks neighbor liveness and health from what the router hears, and reports state transitions. Not thread safe: all calls and callbacks run on the router (engine message) thread. Never blocks or waits on a neighbor; the clock is injected so time-based rules (3s suspect/degraded, 10s down/unreachable) can be tested. It holds no readiness table itself; the owning router is the source of truth, read through the State callback |
| CQueueHealth | |
| CHealthReport | |
| CNeighbor | |
| COutgoingRouter | The router thread's single source of truth about which neighbors are ready, plus the messages waiting for them. Nothing here is thread safe: only the router thread may touch it. Nothing waits on a neighbor either. A message for a neighbor that is not ready stays in its queue until the neighbor says it is ready, its time to live runs out, or the neighbor is declared down and its queue is discarded |
| CQueueHealth | |
| CEntry | |
| Nthreads | |
| CStopToken | Cooperative cancellation shared by every copy of a token. Copies share one state guarded by an internal mutex, so any thread may use any copy |
| CState | |
| CTaskQueue | A task loop that runs on one thread. Other threads post work to it. Tasks run one at a time in posting order. post() and shutdown() are safe from any thread; run() belongs to the one thread that drains it |
| CThreadManager | Registry of the engine's threads: starts them, names them, asks them to stop and joins them. Every method is safe from any thread; one internal mutex guards the registry and is never held while joining or running thread bodies. The destructor logs the names of threads still running, requests stop on all, and joins them (blocking). Not copyable |
| CEntry | |
| CFrayManager | Owns and coordinates projects, their queues, application work, prompts, and logs. Project work runs on separate project threads; drive manager operations from one controlling thread |
| COpeningDecisionStatus | Latest database-choice action and its result, once it finishes |
| COpeningOrigin | Address of the process that requested a project open |
| COpeningStatus | A queued project open and its result, once finished |
| CProjectLogWorker | Dedicated queue and worker for one project's log writes |
| CEntry | Associates a project and its queue with its managed worker thread |
| CShutdownEntry | Project resources retained while shutdown progresses |
| CPendingPrompt | Retains a prompt request and its eventual response until consumed |
| CCloseTaskGuard | Ensures a queued close clears its closing marker even on early exit |
| CDatabaseChoice | Chooses an existing candidate database or a new database when opening is ambiguous |
| CProjectManager | Owns a project’s files, state stores, watcher and registered threads. Public operations synchronize their own mutable state unless they return a reference or expose queue-owned pendingStep. Opening, closing and file-change handling are intended for the project’s own thread; callers must keep borrowed references valid and coordinate their use |
| CCloseStatus | The latest queued close and its result, once finished |
| CRenameStatus | The latest queued rename and its result, once finished |
| CRenameRequest | Rename arguments captured before the log worker suspends its session |
| CPendingStep | Undo/redo request waiting asynchronously for renderer-supplied revisions; used only on the project queue |
| CProjectMessageResult | Project message status and optional response frame |