Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
anchor
command
Command anchor runs the anchor worker loop.
|
Command anchor runs the anchor worker loop. |
|
api
command
Command api serves the public HTTP API.
|
Command api serves the public HTTP API. |
|
archive
command
Command archive runs the cold archive worker: it moves old event payloads from the Postgres `events.canonical_json` column into the S3-compatible bucket, reclaiming database space while preserving all cryptographic proofs (content_hash stays in place).
|
Command archive runs the cold archive worker: it moves old event payloads from the Postgres `events.canonical_json` column into the S3-compatible bucket, reclaiming database space while preserving all cryptographic proofs (content_hash stays in place). |
|
cartoes-indexer
command
Command cartoes-indexer walks CPGF events and projects them into the cartoes table.
|
Command cartoes-indexer walks CPGF events and projects them into the cartoes table. |
|
ceap-indexer
command
Command ceap-indexer materializes camara-ceap events into the ceap projection table.
|
Command ceap-indexer materializes camara-ceap events into the ceap projection table. |
|
collector
command
Command collector runs scheduled data collection from public Brazilian sources.
|
Command collector runs scheduled data collection from public Brazilian sources. |
|
contratos-indexer
command
Command contratos-indexer walks PNCP events and projects them into the contratos table.
|
Command contratos-indexer walks PNCP events and projects them into the contratos table. |
|
driftd
command
Command driftd runs the drift detector worker.
|
Command driftd runs the drift detector worker. |
|
enteadm
command
Command enteadm is a one-shot CLI that seeds the entes table from IBGE and the curated federal YAML.
|
Command enteadm is a one-shot CLI that seeds the entes table from IBGE and the curated federal YAML. |
|
forenses-runner
command
Command forenses-runner roda todos os detectores periodicamente e persiste os findings na tabela findings, idempotente via dedup_key.
|
Command forenses-runner roda todos os detectores periodicamente e persiste os findings na tabela findings, idempotente via dedup_key. |
|
lai-crawler
command
Command lai-crawler checks LAI compliance for configured public entes.
|
Command lai-crawler checks LAI compliance for configured public entes. |
|
notifier
command
Command notifier dispatches change_events to external channels: RSS (marks-only), Telegram, and Mastodon.
|
Command notifier dispatches change_events to external channels: RSS (marks-only), Telegram, and Mastodon. |
|
verify
command
Command fepublica-verify validates a proof file offline, without requiring access to the Fé Pública server that emitted it.
|
Command fepublica-verify validates a proof file offline, without requiring access to the Fé Pública server that emitted it. |
|
internal
|
|
|
anchor
Package anchor builds Merkle trees for snapshots and submits their roots to one or more OpenTimestamps calendars.
|
Package anchor builds Merkle trees for snapshots and submits their roots to one or more OpenTimestamps calendars. |
|
api
Package api implements the public HTTP API.
|
Package api implements the public HTTP API. |
|
archive
Package archive is a thin wrapper around minio-go for S3-compatible storage.
|
Package archive is a thin wrapper around minio-go for S3-compatible storage. |
|
canonjson
Package canonjson produces a deterministic JSON serialization of arbitrary values.
|
Package canonjson produces a deterministic JSON serialization of arbitrary values. |
|
cartoes
Package cartoes parses Portal da Transparência CPGF JSON into a typed row ready for the cartoes projection table.
|
Package cartoes parses Portal da Transparência CPGF JSON into a typed row ready for the cartoes projection table. |
|
ceap
Package ceap parses CEAP (Câmara) JSON into a typed row.
|
Package ceap parses CEAP (Câmara) JSON into a typed row. |
|
collector
Package collector orchestrates a single collection run: it fetches records from a source, canonicalizes them, hashes them, and persists a snapshot plus events to the store.
|
Package collector orchestrates a single collection run: it fetches records from a source, canonicalizes them, hashes them, and persists a snapshot plus events to the store. |
|
config
Package config loads runtime configuration from environment variables.
|
Package config loads runtime configuration from environment variables. |
|
contratos
Package contratos parses PNCP canonical JSON into a typed contract row ready to be inserted into the contratos projection table.
|
Package contratos parses PNCP canonical JSON into a typed contract row ready to be inserted into the contratos projection table. |
|
drift
Package drift runs the diff detector: it finds pairs of consecutive snapshots of the same source that have not been compared yet, computes the per-record difference, and persists a diff_run plus one change_event per affected record.
|
Package drift runs the diff detector: it finds pairs of consecutive snapshots of the same source that have not been compared yet, computes the per-record difference, and persists a diff_run plus one change_event per affected record. |
|
entes
Package entes loads and manages the list of Brazilian public entities.
|
Package entes loads and manages the list of Brazilian public entities. |
|
feed
Package feed generates Atom and JSON Feed documents from change_events.
|
Package feed generates Atom and JSON Feed documents from change_events. |
|
lai
Package lai runs compliance checks against Brazilian public transparency portals.
|
Package lai runs compliance checks against Brazilian public transparency portals. |
|
logging
Package logging sets up a zerolog logger based on config.
|
Package logging sets up a zerolog logger based on config. |
|
merkle
Package merkle implements a binary SHA-256 Merkle tree with inclusion proofs.
|
Package merkle implements a binary SHA-256 Merkle tree with inclusion proofs. |
|
metrics
Package metrics centralizes Prometheus metrics used across collector, anchor, and API components.
|
Package metrics centralizes Prometheus metrics used across collector, anchor, and API components. |
|
notify
Package notify dispatches change_events to external channels: Telegram, Mastodon, and (internally) the RSS/JSON feeds.
|
Package notify dispatches change_events to external channels: Telegram, Mastodon, and (internally) the RSS/JSON feeds. |
|
ots
Package ots implements a minimal HTTP client for OpenTimestamps calendar servers.
|
Package ots implements a minimal HTTP client for OpenTimestamps calendar servers. |
|
severity
Package severity classifies change events into info/warn/alert levels.
|
Package severity classifies change events into info/warn/alert levels. |
|
store
Forenses queries — heurísticas para detectar padrões suspeitos sobre os dados já materializados (contratos, cartoes, eventos CEIS/CNEP).
|
Forenses queries — heurísticas para detectar padrões suspeitos sobre os dados já materializados (contratos, cartoes, eventos CEIS/CNEP). |
|
transparencia
Package transparencia provides a typed HTTP client for the Brazilian Portal da Transparência public API.
|
Package transparencia provides a typed HTTP client for the Brazilian Portal da Transparência public API. |
|
transparencia/camara
Package camara fetches data from the Câmara dos Deputados public API (dadosabertos.camara.leg.br).
|
Package camara fetches data from the Câmara dos Deputados public API (dadosabertos.camara.leg.br). |
|
transparencia/cartoes
Package cartoes fetches transactions from the CPGF (Cartão de Pagamento do Governo Federal) endpoint of the Portal da Transparência.
|
Package cartoes fetches transactions from the CPGF (Cartão de Pagamento do Governo Federal) endpoint of the Portal da Transparência. |
|
transparencia/ceis
Package ceis fetches records from the CEIS (Cadastro de Empresas Inidôneas e Suspensas) endpoint of the Portal da Transparência.
|
Package ceis fetches records from the CEIS (Cadastro de Empresas Inidôneas e Suspensas) endpoint of the Portal da Transparência. |
|
transparencia/cnep
Package cnep fetches records from the CNEP (Cadastro Nacional de Empresas Punidas) endpoint of the Portal da Transparência.
|
Package cnep fetches records from the CNEP (Cadastro Nacional de Empresas Punidas) endpoint of the Portal da Transparência. |
|
transparencia/pncp
Package pncp fetches records from the Portal Nacional de Contratações Públicas (PNCP), which aggregates all public procurement contracts in Brazil since 2023.
|
Package pncp fetches records from the Portal Nacional de Contratações Públicas (PNCP), which aggregates all public procurement contracts in Brazil since 2023. |
Click to show internal directories.
Click to hide internal directories.