Directories
¶
| Path | Synopsis |
|---|---|
|
Package authz is hearth's permission runtime: a grant holds capabilities, each on a path, and a check answers whether a caller may do 1 thing to 1 object.
|
Package authz is hearth's permission runtime: a grant holds capabilities, each on a path, and a check answers whether a caller may do 1 thing to 1 object. |
|
cmd
|
|
|
hearth
command
Command hearth generates and checks what an app on hearth publishes from its Protobuf service: its manifest.
|
Command hearth generates and checks what an app on hearth publishes from its Protobuf service: its manifest. |
|
protoc-gen-hearth-authz
command
Command protoc-gen-hearth-authz writes an app's permission checks from the Protobuf options of its service.
|
Command protoc-gen-hearth-authz writes an app's permission checks from the Protobuf options of its service. |
|
protoc-gen-hearth-events
command
Command protoc-gen-hearth-events writes an app's event publishers from the Protobuf options of its event messages.
|
Command protoc-gen-hearth-events writes an app's event publishers from the Protobuf options of its event messages. |
|
protoc-gen-hearth-manifest
command
Command protoc-gen-hearth-manifest writes an app's manifest.json from the Protobuf options of its service.
|
Command protoc-gen-hearth-manifest writes an app's manifest.json from the Protobuf options of its service. |
|
protoc-gen-hearth-mcp
command
Command protoc-gen-hearth-mcp writes an app's MCP tools from the Protobuf options of its service.
|
Command protoc-gen-hearth-mcp writes an app's MCP tools from the Protobuf options of its service. |
|
Package events is hearth's event runtime: 1 event is a CloudEvents 1.0 envelope with no data, its author is the caller of the change's context, and its topic names the app, the object, the verb and the segments of the object's path.
|
Package events is hearth's event runtime: 1 event is a CloudEvents 1.0 envelope with no data, its author is the caller of the change's context, and its topic names the app, the object, the verb and the segments of the object's path. |
|
broker
Package broker is hearth's transport to the broker that lodge embeds: it publishes each event to the NATS server, through lodge's Unix socket, and waits for JetStream's acknowledgement before it returns (lodge ADR-0022).
|
Package broker is hearth's transport to the broker that lodge embeds: it publishes each event to the NATS server, through lodge's Unix socket, and waits for JetStream's acknowledgement before it returns (lodge ADR-0022). |
|
inproc
Package inproc is hearth's in-process event transport: 1 bus delivers each event to the subscribers of the same process, on the goroutine that published it, and it drops an event that it has already delivered.
|
Package inproc is hearth's in-process event transport: 1 bus delivers each event to the subscribers of the same process, on the goroutine that published it, and it drops an event that it has already delivered. |
|
outbox
Package outbox is hearth's transactional outbox: an app writes each event in the transaction that makes the change, and a relay publishes the events in order, after the transaction has committed.
|
Package outbox is hearth's transactional outbox: an app writes each event in the transaction that makes the change, and a relay publishes the events in order, after the transaction has committed. |
|
gen
|
|
|
internal
|
|
|
cmd/corrections-base
command
Command corrections-base checks the corrections inbox against the base of a pull request: no record file is deleted or renamed since then, and no record changes in a field other than an empty promoted_to that is now filled (frostyard/core ADR-0081, row B2 of its repository baseline).
|
Command corrections-base checks the corrections inbox against the base of a pull request: no record file is deleted or renamed since then, and no record changes in a field other than an empty promoted_to that is now filled (frostyard/core ADR-0081, row B2 of its repository baseline). |
|
e2e
Package e2e is hearth's end-to-end demo app: an in-memory note service on the generated permission checks and MCP tools of testdata/e2e/proto/frostyard/demo/v1/demo.proto.
|
Package e2e is hearth's end-to-end demo app: an in-memory note service on the generated permission checks and MCP tools of testdata/e2e/proto/frostyard/demo/v1/demo.proto. |
|
model
Package model builds an app's model from the Protobuf files that a hearth plugin is asked to generate, and checks every rule of docs/specs/options.md.
|
Package model builds an app's model from the Protobuf files that a hearth plugin is asked to generate, and checks every rule of docs/specs/options.md. |
|
natstest
Package natstest runs an embedded NATS server, with JetStream, for the tests of hearth's event transports.
|
Package natstest runs an embedded NATS server, with JetStream, for the tests of hearth's event transports. |
|
protoschema
Package protoschema builds the JSON Schema of the proto3 JSON form of 1 message, for the input and output schema of a generated MCP tool.
|
Package protoschema builds the JSON Schema of the proto3 JSON form of 1 message, for the input and output schema of a generated MCP tool. |
|
repocheck
Package repocheck holds tests that keep repository-wide rules that no compiler checks: the documentation rules of AGENTS.md (every relative link resolves, every doc is indexed), the repository boundary (no private host names or addresses), and hearth's import boundary (hearth imports no lodge, frostyard app or Pocket code, in Go or in Protobuf).
|
Package repocheck holds tests that keep repository-wide rules that no compiler checks: the documentation rules of AGENTS.md (every relative link resolves, every doc is indexed), the repository boundary (no private host names or addresses), and hearth's import boundary (hearth imports no lodge, frostyard app or Pocket code, in Go or in Protobuf). |
|
workflowcheck
Package workflowcheck holds the tests that keep the repository's own files in line with frostyard/core: the GitHub Actions workflows within ADR-0021 (external actions pinned to a full commit SHA, permissions declared at the top, and checkouts that do not keep the token), the files of the repository baseline (ADR-0071, rows B1, B2, B6 and B13), and the buf configuration of ADR-0085 (no remote plugin, and every module dependency pinned by digest).
|
Package workflowcheck holds the tests that keep the repository's own files in line with frostyard/core: the GitHub Actions workflows within ADR-0021 (external actions pinned to a full commit SHA, permissions declared at the top, and checkouts that do not keep the token), the files of the repository baseline (ADR-0071, rows B1, B2, B6 and B13), and the buf configuration of ADR-0085 (no remote plugin, and every module dependency pinned by digest). |
|
Package lodge is an app's adapter to lodge, the hub of frostyard's first-party apps.
|
Package lodge is an app's adapter to lodge, the hub of frostyard's first-party apps. |
|
Package manifest holds hearth's app manifest: the types of format major 1, the canonical JSON encoding, and the compatibility rules that `hearth manifest diff` applies.
|
Package manifest holds hearth's app manifest: the types of format major 1, the canonical JSON encoding, and the compatibility rules that `hearth manifest diff` applies. |
|
Package mcpserver serves an app's generated MCP tools over the Go MCP SDK (github.com/modelcontextprotocol/go-sdk).
|
Package mcpserver serves an app's generated MCP tools over the Go MCP SDK (github.com/modelcontextprotocol/go-sdk). |
|
Package schema holds the JSON Schema of hearth's app manifest, format major 1, and the validation that a manifest passes before an app or lodge reads it.
|
Package schema holds the JSON Schema of hearth's app manifest, format major 1, and the validation that a manifest passes before an app or lodge reads it. |
Click to show internal directories.
Click to hide internal directories.