Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
api
command
Command api serves the public Arnakoff HTTP API.
|
Command api serves the public Arnakoff HTTP API. |
|
eval
command
Command eval measures signal quality against the labelled corpus.
|
Command eval measures signal quality against the labelled corpus. |
|
mcp
command
Command mcp serves Arnakoff signals over the Model Context Protocol.
|
Command mcp serves Arnakoff signals over the Model Context Protocol. |
|
sync
command
Command sync downloads the upstream sources and stores validated snapshots.
|
Command sync downloads the upstream sources and stores validated snapshots. |
|
internal
|
|
|
adapter
Package adapter groups the implementations of the app ports: upstream sources, on-demand registries, storage, and the inbound HTTP and MCP servers (ADR 0002).
|
Package adapter groups the implementations of the app ports: upstream sources, on-demand registries, storage, and the inbound HTTP and MCP servers (ADR 0002). |
|
adapter/source/amf
Package amf is the connector of the AMF blacklist: the CSV file the Autorité des marchés financiers publishes daily on data.gouv.fr under the Licence Ouverte 2.0 (docs/sources.md).
|
Package amf is the connector of the AMF blacklist: the CSV file the Autorité des marchés financiers publishes daily on data.gouv.fr under the Licence Ouverte 2.0 (docs/sources.md). |
|
adapter/store
Package store keeps the last valid snapshot of each source on disk, shared by the sync and API processes and kept across restarts.
|
Package store keeps the last valid snapshot of each source on disk, shared by the sync and API processes and kept across restarts. |
|
app
Package app holds the use cases of Arnakoff and the ports they consume.
|
Package app holds the use cases of Arnakoff and the ports they consume. |
|
domain
Package domain holds the entities, value objects and signal rules of Arnakoff.
|
Package domain holds the entities, value objects and signal rules of Arnakoff. |
|
platform
Package platform holds cross-cutting technical helpers: the outbound HTTP client, the redacting logger, the configuration and the in-memory cache (ADR 0002).
|
Package platform holds cross-cutting technical helpers: the outbound HTTP client, the redacting logger, the configuration and the in-memory cache (ADR 0002). |
|
platform/cache
Package cache keeps registry answers in memory for a while, so a burst of checks on the same identifier calls an upstream once (ADR 0002).
|
Package cache keeps registry answers in memory for a while, so a burst of checks on the same identifier calls an upstream once (ADR 0002). |
|
platform/config
Package config reads the configuration of every command from environment variables into one typed Config, validated as a whole at startup so a command stops before doing anything with a value it cannot use (ADR 0002).
|
Package config reads the configuration of every command from environment variables into one typed Config, validated as a whole at startup so a command stops before doing anything with a value it cannot use (ADR 0002). |
|
platform/defaults
Package defaults fills the zero fields of a configuration struct with their default value, so every Config in platform follows the same rule: zero means default, negative is invalid.
|
Package defaults fills the zero fields of a configuration struct with their default value, so every Config in platform follows the same rule: zero means default, negative is invalid. |
|
platform/httpclient
Package httpclient is the only way out to the network: every source and registry fetches through a Client (ADR 0002).
|
Package httpclient is the only way out to the network: every source and registry fetches through a Client (ADR 0002). |
|
platform/logging
Package logging builds the structured logger every command writes with: log/slog lines in JSON, personal data masked, the request identifier of the context added (ADR 0002).
|
Package logging builds the structured logger every command writes with: log/slog lines in JSON, personal data masked, the request identifier of the context added (ADR 0002). |
|
platform/startup
Package startup is what every command does before its own work: load the typed configuration, build the redacting logger from it and make that logger the log/slog default, so no line written by the command or a library bypasses the masking of personal data (ADR 0002).
|
Package startup is what every command does before its own work: load the typed configuration, build the redacting logger from it and make that logger the log/slog default, so no line written by the command or a library bypasses the masking of personal data (ADR 0002). |
Click to show internal directories.
Click to hide internal directories.