Source Anchors
nockapp-runtime
NockApp runtime
Owns kernel state, task management, action channels, effects, metrics, signal handling, and exit state for a live NockApp.
crates/nockapp/src/nockapp/mod.rs
NockApp, NockApp::new, NockApp::work, NockApp::get_handle
L35-L240
nockchainCommit, nockchainBuild, kernel, nockAppSource
driver-io-action
Driver IO action
Typed action boundary for driver-originated pokes and peeks, including ack/result channels and poke timeouts.
crates/nockapp/src/nockapp/driver.rs
IOAction, NockAppHandle, PokeResult
L29-L119
pokePath, peekPath, pokeTimeout, pokeAck, resultChannel
poke-effect-broadcast
Poke effect broadcast
State-changing runtime handler that applies a poke, sends Ack or Nack, and broadcasts effects on success.
crates/nockapp/src/nockapp/mod.rs
handle_poke, PokeResult::Ack, PokeResult::Nack
L508-L551
pokePath, pokeAck, effectTag, stateRootBefore, stateRootAfter, nockchainCommit
peek-result-boundary
Peek result boundary
Read-only runtime handler that returns optional state from a path without claiming a state transition.
crates/nockapp/src/nockapp/mod.rs
handle_peek, NockApp::peek, NockApp::peek_handle
L286-L302
peekPath, stateRootAtPeek, peekResultHash, endpointMode
private-grpc-boundary
Private gRPC boundary
Private local/admin gRPC boundary for pokes, peeks, and effect-backed callbacks into a NockApp.
crates/nockapp-grpc/src/services/private_nockapp/driver.rs
grpc_server_driver, PrivateGrpcEffect, grpc_listener_driver
L31-L144
grpcEndpoint, endpointMode, pokePath, peekPath, effectTag
public-grpc-boundary
Public Nockchain gRPC boundary
Public-facing Nockchain driver surface that handles wallet transaction effects separately from private NockApp admin calls.
crates/nockapp-grpc/src/services/public_nockchain/v2/driver.rs
PublicNockchainEffect, public_nockchain_server_driver
L14-L109
publicApiEndpoint, walletSendTx, txAccepted, nockchainBuild
event-log-sqlite
Event log SQLite boundary
SQLite event and snapshot boundary for replay ranges, active snapshots, sequence checks, and ready snapshot metadata.
crates/nockapp/src/event_log.rs
EventLog, EventLogEntry, ReadySnapshotRecord
L33-L278
eventLogBoundary, snapshotId, eventNum, replayStartEvent, replayEndEvent
pma-regression-suite
PMA regression suite
Regression tests for PMA metadata, checkpoint bootstrap size, replay boundaries, resize behavior, stale checkpoint refusal, and snapshot restore.
crates/nockapp/tests/pma_regressions
pma_regressions
L1-L11
pmaBoundary, checkpointHash, snapshotId, eventLogBoundary
action-dispatch
Action dispatch
Runtime dispatch point that routes IOAction::Poke to the poke handler and IOAction::Peek to the peek handler.
crates/nockapp/src/nockapp/mod.rs
handle_action, IOAction::Poke, IOAction::Peek
L488-L506
actionKind, pokePath, peekPath, nockchainCommit
wire-repr
Wire representation
Structured source/version/tags boundary for identifying poke/effect wires without using raw nouns as public evidence.
crates/nockapp/src/nockapp/wire.rs
Wire, WireRepr, WireRepr::tags_as_csv
L13-L56
wireSource, wireVersion, wireTags, wireTagsCsv
exported-state-format
Exported state format
Metadata-bearing state export format with magic, version, kernel hash, event number, and jam bytes.
crates/nockapp/src/nockapp/export.rs
ExportedState, ExportedState::encode, ExportedState::decode
L21-L129
exportMagic, exportVersion, kernelHash, eventNum, jamHash
checkpoint-bootstrap
Checkpoint bootstrap
Checkpoint and CHKJAM bootstrap boundary for state loading, snapshot versions, and safe startup context.
crates/nockapp/src/nockapp/save.rs
CheckpointBootstrapReader, SaveableCheckpoint, JAM_MAGIC_BYTES
L17-L152
checkpointHash, checkpointVersion, checkpointHeight, stateJamFingerprint