Runtime
Inspect the state ACC has recorded, interpret health and integrity separately, and use the analysis-only governance chains without mistaking their artifacts for operational execution.
Runtime overview
The public runtime surface records observations, exposes persisted state, and builds governed evidence chains around a module and action.
In ACC 1.0.0, acc runtime defaults to the same view asacc runtime report. The runtime router also exposes health, intelligence, governance, evidence, audit, and recovery-analysis commands. Use acc help as the command-by-command catalog; this page explains how those commands relate.
Observation plane
Tick, report, raw, and health commands read or persist runtime observations. A tick is a snapshot of existing health and integrity inputs; it does not run module recovery.
Governance plane
Decisions and their downstream records are immutable, analysis-only artifacts. Even authorization, dispatch, queue, simulation, review, and ledger records keep operational execution disabled in this release.
Lifecycle
A public runtime tick observes two persisted signals, classifies the snapshot, and records it for later inspection.
Step 1
Observe
A runtime tick reads the persisted ACC health and runtime-integrity signals. Missing inputs remain UNKNOWN.
Step 2
Classify
The tick records ACTIVE unless health is FAILED or CRITICAL, or integrity is FAILED or INVALID; those values produce DEGRADED.
Step 3
Persist
The tick is written as a timestamped JSON record, the canonical latest record, and the tick history.
Step 4
Inspect
Report, raw, health, and record-specific read or list commands expose persisted state without authorizing operational execution.
The tick ID is derived from its UTC timestamp. Each tick includes its timestamp, runtime, state, health, integrity, and source. Running acc runtime tick therefore writes runtime state and is not a read-only command.
Execution model
The governed workflow advances through explicit records and identifiers while preserving target, action, integrity, expiry, replay, and operator-decision checks.
observation → decision → governance → plan → approval → guard
→ authorization → one-time consumption → bounded session → controller
→ dispatch intent → queue entry → simulation → audit → review → ledgerEach stage validates its upstream record and writes a new record; *-read retrieves a specific ID and *-latest resolves the latest eligible record for a module. The names describe a trust and audit model, not a production executor. Stores reject records that attempt to set operational execution to true.
The separate acc runtime manage route delegates to the generic runtime command. Do not infer its domain workflow from the state-only governance chain described above; check its scoped usage before invoking it.
Runtime responsibilities
Runtime components own persisted observations and controlled records; the caller remains responsible for choosing inputs and interpreting the result.
State and health
Capture runtime state, expose the latest summary or tick, and evaluate health signals independently from command success.
Analysis and governance
Turn module observations into decisions, governance reviews, plans, approvals, and fail-closed trust-chain records.
Evidence and audit
Hash evidence payloads, persist immutable metadata, correlate records, and maintain verifiable audit and ledger artifacts.
Recovery analysis
Build investigation, RCA, recovery-plan, review, approval-request, and operator-decision records without performing the proposed recovery.
Health and status
Runtime report, tick state, and health are related views with different sources and meanings.
Report and raw state
runtime report renders the persisted orchestrator summary when one exists. Without that summary, it falls back to the latest tick view. runtime rawprints the summary record, or the latest canonical tick JSON when no summary exists.
Health view
runtime health evaluates the latest JSON health signal and prints status, score, risk, and update time. With no signal, it reports UNKNOWN, score0, and risk UNKNOWN.
HEALTHY
Score 90–100 from the latest runtime health signal.
DEGRADED
Score 70–89. The signal is usable, but the runtime is not fully healthy.
WARNING
Score 40–69. Investigate the underlying signal and its risk value.
CRITICAL
Score below 40. A new tick classifies the runtime state as DEGRADED.
UNKNOWN
No health signal was available. This is absence of evidence, not a healthy result.
A successful shell exit means the view or persistence operation completed; it does not turnUNKNOWN, WARNING, or DEGRADED into healthy state. Read the printed status and evidence as well as $?.
Evidence flow
The runtime evidence vault stores validated metadata and SHA-256 hashes, then downstream commands bind multiple records into analysis artifacts.
- Capture binds a module, target, allowed action, evidence type, source, and payload hash.
- The vault rejects missing, invalid, unsafe, or duplicate equivalent evidence.
- Reading and listing expose immutable records by evidence ID or module.
- Correlation requires at least two evidence IDs before investigation and RCA can proceed.
- Recovery planning consumes the RCA and preserves the linked context through review.
The stdin capture form reads the supplied payload but persists only its hash in the evidence record. Keep the original material in its approved system of record; ACC cannot reconstruct it from the hash.
Recovery boundaries
ACC 1.0.0 has two distinct recovery paths: module lifecycle recovery and runtime recovery analysis.
Module recovery
acc modules recover <MODULE> is a state-changing command. It validates registration and dependencies, moves a supported lifecycle state towardACTIVE, records a transaction, resets health to UNKNOWN, and requires a subsequent supervisor probe. It does not restart a service.
Runtime recovery records
Runtime investigation, RCA, plan, review, approval request, and approval decision commands create analysis-only records. An operator decision can record approval, rejection, or deferral, but it never issues authorization or performs recovery execution.
Operational guidance
Begin with persisted views, preserve identifiers, and enter record-producing flows only with reviewed context.
- Use report, raw, health, explicit read or list routes, and ledger verification for inspection.
- Treat tick, capture, correlate, decide, plan, approve, and every create or append command as a write.
- Keep module, target, and action values consistent across a chain; mismatches fail closed.
- Preserve printed IDs and timestamps with the incident or change record that motivated them.
- Do not use an analysis-only approval or authorization record as permission to execute an external action.
- When state is missing or unknown, collect the underlying signal instead of assuming success.
Read-only and governed examples
Separate observation from record creation so the operational effect of each command is explicit.
Read persisted runtime state
acc runtime report
acc runtime raw
acc runtime healthRead existing governed records
acc runtime decision-latest system
acc runtime evidence-list system
acc runtime ledger-verifyRecord one current-state tick
acc runtime tick
acc runtime reportCapture hashed evidence without placing the payload in the command arguments
printf '%s' "$OBSERVATION" | \
acc runtime evidence-capture-stdin system system INVESTIGATE HEALTH_CHECK operatorThe final example writes an immutable evidence record and prints its evidence ID. Use placeholder values only after confirming the intended module, target, allowed action, evidence type, and source against acc help.
Use the command reference
Consult the CLI reference for routing and exit behavior, or return to Getting Started for the shortest verified path.