Skip to content

Implementation coverage map

This page maps the production repository to the documentation that describes it. It is an audit aid: a subsystem is not considered documented merely because its package name appears somewhere. Its public behavior, persistence boundary, security boundary, configuration, and operational constraints must have an owning page.

Each production subsystem has an owning page for its externally observable behavior and operational boundary. Combined rows indicate implementation files that participate in one feature and are documented together.

SourceResponsibilityDocumentation
cmd/amaquetProcess startup, configuration, listeners, AOF replay, bootstrap token, graceful shutdownInstallation, Configuration, Production deployment
internal/configDefaults, JSON loading/saving, environment overrides, validation, runtime config managerConfiguration, Getting-started configuration
internal/coreSharded keyspace, entry metadata, TTL scheduler, versions, memory accounting, eviction, scans, staged transactionsEngine internals, Keyspace, Capacity
internal/protocolFixed frame encoding/decoding, payload bounds, requests/responses, endpoint URI parsingFraming, Connection URIs, Wire values
internal/server/tcp.goAmaquet connection lifecycle, TLS, request multiplexing, cancellation, authorization, limits, Pub/Sub eventsProtocol overview, Framing, Authentication
internal/server/dispatcher.goCommands, type operations, journaling boundary, deterministic replay arguments, chunked blobsCommands, Type operations, Persistence
internal/server/factory.goDirect wire decoding and CREATE factoriesWire values, Type operations
internal/compression and internal/server/value_compression.goAdaptive codecs, canonical encodings, transparent materializationAdaptive compression
internal/persistenceAMQTAOF1 migration, AMQTAOF2 transactions, replay, checkpoint, compaction, restorePersistence, Backups
internal/admin/state.goOrganization, members, credentials, TOTP, RBAC, API keys, audit, crash-safe stateSecurity, Admin API
internal/admin/http.goAdmin routes, sessions, metrics, and security headersAdmin API, Observability
internal/securityEd25519 identity generation, loading, signing, verification, fingerprintingTLS and identity
internal/typesThe 91 registered value implementations and snapshotsData types, Type operations

The supported entrypoints are the public Go client and the four command-line programs. Container assets package the same server rather than introducing a separate runtime implementation.

SourceUser-facing surfaceDocumentation
pkg/amaquetConcurrent Go client, TLS, protocol negotiation, commands, subscriptions, blobsGo client
cmd/amaquet-cliGeneric command-line client and JSON input modesCLI
cmd/amaquet-keygenEd25519 identity key generationCLI, TLS and identity
cmd/amaquet-restoreVerified offline checkpoint installationCLI, Backups
Dockerfile and Compose filesContainer build, local deployment, TLS production exampleDocker

The type catalog is organized by implementation family. Each family page summarizes the structures, while the operation reference and individual type pages define the wire contract.

Source fileImplemented familiesDetailed pages
scalars.gostrings, integers, exact decimals, UUID, symbols, time valuesScalars
collections.golists, arrays, deque/ring, sets, maps, tuplesCollections
structured.goJSON, opaque encodings, records, matrices, tensorsStructured values
queues.go, streams.goqueues, streams/groups, Pub/Sub, retained topics, event logsQueues and messaging
bits.gobitmaps, bit fields, adaptive Roaring containersBit structures
probabilistic.goHLL, Bloom/Cuckoo filters, CMS, Top-K, t-digestProbabilistic structures
timeseries.gotime series, counter/gauge series, histograms, aggregationTime series
geo.gopoints, boxes, polygons, grid-backed spatial indexGeospatial
vectors.govector metrics, exact search, quantization, HNSWVectors
indexes.goB-tree, hash/radix/trie/inverted/secondary indexes, document fields, adjacencyIndexes and search
sync.go, network.gocounters, leases, locks, barriers, semaphores, token buckets, CIDR, URLGraph, synchronization, and network

These exclusions are part of the current product contract. They prevent deployment or client documentation from implying distributed, relational, or Redis-compatible behavior that the implementation does not provide.

  • Amaquet is single-node and has one logical keyspace. It does not implement clustering, replication, logical databases, SQL, Redis RESP compatibility, or an automatic query planner.
  • Index values are explicit user-managed objects. Writing a document does not automatically update a separate index.
  • AOF recovery covers journaled database mutations. HTTP cookie sessions, live connections, Pub/Sub subscribers, and synchronization ownership are process state and are not restored.
  • admin.json is the control-plane store. It is not part of the user keyspace or the AOF.
  • Engine memory accounting is approximate stored-data accounting, not an RSS hard limit.

python3 docs/scripts/check_docs.py checks the documentation against source-derived inventories. It verifies all registered types, catalog operation counts, test/fuzzer pages, top-level commands, protocol opcodes, configuration fields, environment overrides, admin routes, public Go client methods, sidebar entries, frontmatter, explanatory prose for every section, and local links. The Astro production build additionally checks every generated internal link and asset.