Skip to content

Latest commit

 

History

History
92 lines (72 loc) · 3.01 KB

File metadata and controls

92 lines (72 loc) · 3.01 KB
title Reference
description Exhaustive technical specs — auto-generated where possible.

Reference

Reference pages are exhaustive and machine-comparable. Half are auto-generated from the source of truth (Cobra command tree, OpenAPI spec, .proto files); the rest are hand-maintained schemas.

The auto-generated pages land via make docs-regen; CI fails on drift between the source of truth and the committed page.


CLI

  • CLI reference — one page per pg_hardstorage subcommand, auto-generated from the Cobra command tree. 216 pages today.

REST API

Plugins

How to write a plugin against the pg_hardstorage interfaces.

Schemas and catalogues

Hand-written for v1.0; will be auto-generated as the reflectors land (see DOC_PLAN.md "Auto-generation map").

  • Exit codes — the 0-10 contract and the namespace → exit-code mapping.
  • Error codes — catalogue of structured error codes, grouped by domain.
  • KEKRef schemeslocal:, aws-kms://, gcp-kms://, azure-kv://, vault-transit://, pkcs11://.
  • Storage URL schemesfile://, s3://, azblob://, gcs://, sftp://, scp://.
  • Build flavours — default, FIPS, PKCS#11, Firecracker.
  • Manifest schema — on-disk backup manifest fields and canonicalisation rule.
  • Output event schemaEvent, Result, and Error wire format.
  • Skill schema — LLM skill YAML format and tool allowlist.
  • Metric catalogue — Prometheus metric names; implementation pending (see SPEC drift).

Runbooks

Runbooks for the seven named disaster scenarios + control-plane setup.


Coming in later doc passes

These reference pages will land as the auto-generators wire up (the DOC_PLAN.md "Auto-generation map" tracks what's outstanding):

  • gRPC reference (auto-generated from proto/**/*.proto via protoc-gen-doc)
  • Configuration schema (auto-generated from internal/config.Schema() reflection)
  • Audit-event schema (struct-reflection emitter)
  • Kubernetes CRDs (auto-generated from api/crd/)
  • Filesystem layout, compatibility matrix