internal/

directory
v0.0.0-...-b8a15ae Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: Apache-2.0

Directories

Path Synopsis
Package arch has no production code; it hosts the tests that enforce the module's architectural rules.
Package arch has no production code; it hosts the tests that enforce the module's architectural rules.
Package cli is the command line: the command tree, the global flags, the output modes and the exit codes every command answers with.
Package cli is the command line: the command tree, the global flags, the output modes and the exit codes every command answers with.
Package clock defines the Clock interface and its fake, so time is injectable in tests.
Package clock defines the Clock interface and its fake, so time is injectable in tests.
Package cronx turns a schedule definition into concrete fire times.
Package cronx turns a schedule definition into concrete fire times.
Package daemon is the long lived process behind paceq serve: one process, one state directory, and a fixed family of loops that share a database.
Package daemon is the long lived process behind paceq serve: one process, one state directory, and a fixed family of loops that share a database.
Package diag is one diagnostic and the way it reaches a person: a code, a position in a file, an excerpt with a caret under the offending column, a cause and at least one next step.
Package diag is one diagnostic and the way it reaches a person: a code, a position in a file, an excerpt with a caret under the offending column, a cause and at least one next step.
Package doctor holds the health checks behind the doctor command: what is wrong with an installation, and what the operator can run about it.
Package doctor holds the health checks behind the doctor command: what is wrong with an installation, and what the operator can run about it.
Package engine orchestrates runs and steps: claiming work, holding leases and driving state transitions.
Package engine orchestrates runs and steps: claiming work, holding leases and driving state transitions.
Package explain is the only read path into run history and the reasoning behind each decision.
Package explain is the only read path into run history and the reasoning behind each decision.
Package faults names the points where the crash harness (#75) kills this process.
Package faults names the points where the crash harness (#75) kills this process.
Package id generates time-sortable identifiers that order lexicographically by creation time.
Package id generates time-sortable identifiers that order lexicographically by creation time.
Package leases runs the leader and follower loop around one role lease.
Package leases runs the leader and follower loop around one role lease.
Package logsink writes step logs as NDJSON files on disk and reads them back.
Package logsink writes step logs as NDJSON files on disk and reads them back.
Package model holds the run and step state machines as pure functions.
Package model holds the run and step state machines as pure functions.
Package notify is the in-process non-blocking broadcast bus that wakes loops without polling latency.
Package notify is the in-process non-blocking broadcast bus that wakes loops without polling latency.
obs
Package obs configures structured logging, exposes metrics and implements the doctor checks.
Package obs configures structured logging, exposes metrics and implements the doctor checks.
sdnotify
Package sdnotify is a hand-written sd_notify protocol implementation.
Package sdnotify is a hand-written sd_notify protocol implementation.
Package reason is the catalogue of reason codes: one closed, stable string enum that says why every decision, trigger, run and step ended the way it did.
Package reason is the catalogue of reason codes: one closed, stable string enum that says why every decision, trigger, run and step ended the way it did.
gen command
Command gen writes docs/reference/reason-codes.md from the reason catalogue.
Command gen writes docs/reference/reason-codes.md from the reason catalogue.
Package runner executes a single step as an operating system process, owning process groups, signals and log pipes.
Package runner executes a single step as an operating system process, owning process groups, signals and log pipes.
Package scheduler materialises schedule ticks into triggers and performs catch-up after downtime.
Package scheduler materialises schedule ticks into triggers and performs catch-up after downtime.
Package sensor holds the evaluator runtime: the part of the daemon that finds due sensors, runs each one as an isolated subprocess against the frozen public contract, and hands a pure Result on to the commit layer.
Package sensor holds the evaluator runtime: the part of the daemon that finds due sensors, runs each one as an isolated subprocess against the frozen public contract, and hands a pure Result on to the commit layer.
Package spec is the job definition: YAML in, canonical JSON out.
Package spec is the job definition: YAML in, canonical JSON out.
Package store owns the SQLite database: connection pools, PRAGMAs, migrations and every SQL query in the project.
Package store owns the SQLite database: connection pools, PRAGMAs, migrations and every SQL query in the project.
Package testutil builds throwaway databases, fixtures and helper binaries for tests.
Package testutil builds throwaway databases, fixtures and helper binaries for tests.

Jump to

Keyboard shortcuts

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