internal/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT

Directories

Path Synopsis
Package appevidence holds M3's exit evidence 2 and 3 (docs/plans/0005-m3-desktop-app.md, Phase 7): integration tests that run the built app (FROSTNOTES_APP) under X, press its keys with xdotool, and write its open note from outside.
Package appevidence holds M3's exit evidence 2 and 3 (docs/plans/0005-m3-desktop-app.md, Phase 7): integration tests that run the built app (FROSTNOTES_APP) under X, press its keys with xdotool, and write its open note from outside.
Package blobhttp serves vault files' contents by their hash over HTTP (ADR-0023): GET and HEAD <prefix><sha256>.<ext>, with the content type the extension names, a policy that keeps the bytes passive, immutable caching and one Range per request (docs/specs/rpc-protocol.md, Transports).
Package blobhttp serves vault files' contents by their hash over HTTP (ADR-0023): GET and HEAD <prefix><sha256>.<ext>, with the content type the extension names, a policy that keeps the bytes passive, immutable caching and one Range per request (docs/specs/rpc-protocol.md, Transports).
Package blobs stores immutable file contents by SHA-256 under <dir>/<first two hex digits>/<id> (docs/design/vault.md).
Package blobs stores immutable file contents by SHA-256 under <dir>/<first two hex digits>/<id> (docs/design/vault.md).
Package blobxfer moves file contents between a device and its hub over HTTP, named by their SHA-256 (ADR-0018, docs/specs/sync-protocol.md#blobs): the hub's handler for /sync/blobs/{hash}, and the device's client.
Package blobxfer moves file contents between a device and its hub over HTTP, named by their SHA-256 (ADR-0018, docs/specs/sync-protocol.md#blobs): the hub's handler for /sync/blobs/{hash}, and the device's client.
Package config resolves where notesd keeps its files (docs/design/overview.md#operational-notes).
Package config resolves where notesd keeps its files (docs/design/overview.md#operational-notes).
Package dbustest runs a private D-Bus daemon for tests of code that talks to session services (the Secret Service, notifications).
Package dbustest runs a private D-Bus daemon for tests of code that talks to session services (the Secret Service, notifications).
Package devgw serves notesd's RPC over a WebSocket on loopback, so the UI can be developed in an ordinary browser against a real notesd (docs/specs/rpc-protocol.md, Transports).
Package devgw serves notesd's RPC over a WebSocket on loopback, so the UI can be developed in an ordinary browser against a real notesd (docs/specs/rpc-protocol.md, Transports).
Package engine implements the notesd API domains over the store and the vaults' actors (docs/design/overview.md).
Package engine implements the notesd API domains over the store and the vaults' actors (docs/design/overview.md).
Package events fans committed events out to subscribed connections and replays the durable log for subscribers that resume (docs/specs/rpc-protocol.md).
Package events fans committed events out to subscribed connections and replays the durable log for subscribers that resume (docs/specs/rpc-protocol.md).
Package evidence runs real notesd processes for the milestones' exit evidence (make m2-evidence, m3-evidence and m4-evidence; plans 0004, 0005 and 0006): each with its own data directory, private socket folder, vault folder and file secrets, a hub on loopback or behind lodge's development build, all stopped when the test ends.
Package evidence runs real notesd processes for the milestones' exit evidence (make m2-evidence, m3-evidence and m4-evidence; plans 0004, 0005 and 0006): each with its own data directory, private socket folder, vault folder and file secrets, a hub on loopback or behind lodge's development build, all stopped when the test ends.
Package hub is notesd's hub role (ADR-0005, ADR-0016, docs/specs/sync-protocol.md): the HTTP endpoints devices sync through (pairing, the /sync WebSocket, blobs), the token check that guards them, the log domain devices call, and the hub domain for the hub's own local clients.
Package hub is notesd's hub role (ADR-0005, ADR-0016, docs/specs/sync-protocol.md): the HTTP endpoints devices sync through (pairing, the /sync WebSocket, blobs), the token check that guards them, the log domain devices call, and the hub domain for the hub's own local clients.
Package lodgeapp serves notesd as lodge's notes app (docs/specs/lodge-app.md, ADR-0026) over lodge/kit, which owns the app socket, its peer check and the Lodge-* headers: /health, /api as caller session, /content/blobs/ for lodge-content, /mcp for agents with lodge's tokens, and the hub's device routes under /device/.
Package lodgeapp serves notesd as lodge's notes app (docs/specs/lodge-app.md, ADR-0026) over lodge/kit, which owns the app socket, its peer check and the Lodge-* headers: /health, /api as caller session, /content/blobs/ for lodge-content, /mcp for agents with lodge's tokens, and the hub's device routes under /device/.
Package markdown parses notes (docs/design/vault.md#parse).
Package markdown parses notes (docs/design/vault.md#parse).
Package mcpserver serves a vault to agents over the Model Context Protocol (ADR-0012), with the tools docs/specs/mcp.md specifies: over stdio for notesctl mcp, and over Streamable HTTP behind lodge's /mcp (Handler).
Package mcpserver serves a vault to agents over the Model Context Protocol (ADR-0012), with the tools docs/specs/mcp.md specifies: over stdio for notesctl mcp, and over Streamable HTTP behind lodge's /mcp (Handler).
Package merge merges three versions of a text file (ADR-0005, docs/design/sync.md#merge): the base both sides started from, the head (the hub's current version, or the version on disk for a local merge) and the incoming version.
Package merge merges three versions of a text file (ADR-0005, docs/design/sync.md#merge): the base both sides started from, the head (the hub's current version, or the version on disk for a local merge) and the incoming version.
Package moment formats dates with moment.js tokens, as Obsidian's daily notes and templates write them (docs/design/vault.md#daily-notes).
Package moment formats dates with moment.js tokens, as Obsidian's daily notes and templates write them (docs/design/vault.md#daily-notes).
Package packagecheck tests notes' /usr layout (frostyard/core ADR-0058): packaging/lodge/stage.sh stages only under usr/, with the units, the sysusers.d entry and the manifest that a sysext carries.
Package packagecheck tests notes' /usr layout (frostyard/core ADR-0058): packaging/lodge/stage.sh stages only under usr/, with the units, the sysusers.d entry and the manifest that a sysext carries.
Package render renders a note to HTML for the reading view and embeds (ADR-0007; docs/specs/render.md): goldmark over the tree the index reads, with Obsidian's syntax drawn as the spec pins it, then sanitized.
Package render renders a note to HTML for the reading view and embeds (ADR-0007; docs/specs/render.md): goldmark over the tree the index reads, with Obsidian's syntax drawn as the spec pins it, then sanitized.
Package repocheck holds tests that keep repository-wide rules that no compiler checks.
Package repocheck holds tests that keep repository-wide rules that no compiler checks.
Package rpcserver serves the notesd API on lodge's kit (github.com/frostyard/lodge/kit/jsonrpc): rpc.hello, events.subscribe and a caller identity per connection.
Package rpcserver serves the notesd API on lodge's kit (github.com/frostyard/lodge/kit/jsonrpc): rpc.hello, events.subscribe and a caller identity per connection.
Package rpctest runs a real notesd API server (store, blobs, broker, vaults, engine and rpcserver) on a temporary socket, for tests of clients such as notesctl.
Package rpctest runs a real notesd API server (store, blobs, broker, vaults, engine and rpcserver) on a temporary socket, for tests of clients such as notesctl.
Package secrets keeps device tokens out of the database and the vault (ADR-0016, docs/specs/sync-protocol.md): the Secret Service over D-Bus, and a plain File for development and CI.
Package secrets keeps device tokens out of the database and the vault (ADR-0016, docs/specs/sync-protocol.md): the Secret Service over D-Bus, and a plain File for development and CI.
Package store is notesd's SQLite database: migrations, the single writer, the durable event log and the queries (docs/design/vault.md).
Package store is notesd's SQLite database: migrations, the single writer, the durable event log and the queries (docs/design/vault.md).
Package syncer is a device's side of sync (ADR-0005, ADR-0017, docs/specs/sync-protocol.md): pairing with hubs, and for each synced vault a loop that pushes what differs from the agreed state, applies the hub's answers, and pulls and applies the heads the hub announces.
Package syncer is a device's side of sync (ADR-0005, ADR-0017, docs/specs/sync-protocol.md): pairing with hubs, and for each synced vault a loop that pushes what differs from the agreed state, applies the hub's answers, and pulls and applies the heads the hub announces.
Package synctest is sync's seeded simulation (ADR-0020, docs/design/sync.md#testing): a hub and devices, each a whole notesd from rpctest over its own data directory and vault, syncing over loopback through links the simulation cuts and heals, while a seeded plan of steps edits, creates, moves, deletes, crashes and restarts.
Package synctest is sync's seeded simulation (ADR-0020, docs/design/sync.md#testing): a hub and devices, each a whole notesd from rpctest over its own data directory and vault, syncing over loopback through links the simulation cuts and heals, while a seeded plan of steps edits, creates, moves, deletes, crashes and restarts.
Package templates expands the variables of Obsidian's templates and daily-note templates (docs/design/vault.md#daily-notes).
Package templates expands the variables of Obsidian's templates and daily-note templates (docs/design/vault.md#daily-notes).
Package vault scans, watches and writes vault directories (docs/design/vault.md).
Package vault scans, watches and writes vault directories (docs/design/vault.md).
Package vaultgen generates deterministic, fictional markdown vaults and link manifests.
Package vaultgen generates deterministic, fictional markdown vaults and link manifests.
Package webevidence records M4's exit evidence 1 and 2 on loopback (docs/plans/0006-m4-notes-inside-lodge.md, make m4-evidence): notes' web build inside lodge's development build, driven in Firefox ESR through geckodriver with plain WebDriver calls at a desktop size and at 390 × 844, and a phone edit timed to the desktop app's editor under Xvfb.
Package webevidence records M4's exit evidence 1 and 2 on loopback (docs/plans/0006-m4-notes-inside-lodge.md, make m4-evidence): notes' web build inside lodge's development build, driven in Firefox ESR through geckodriver with plain WebDriver calls at a desktop size and at 390 × 844, and a phone edit timed to the desktop app's editor under Xvfb.
Package workflowcheck holds the tests that keep the GitHub Actions workflows within frostyard/core ADR-0021: external actions pinned to a full commit SHA, permissions declared at the top, and checkouts that do not keep the token.
Package workflowcheck holds the tests that keep the GitHub Actions workflows within frostyard/core ADR-0021: external actions pinned to a full commit SHA, permissions declared at the top, and checkouts that do not keep the token.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL