Commit graph

9 commits

Author SHA256 Message Date
CTO
2e44147a71 services: add attest-reconciler Go service (periodic worker re-signs per_diem_rates rows without rate_change_attestation_ref via Signer+TLog, 11/11 go tests pass, go vet clean)
All checks were successful
validate / JSON Schema (ajv) (push) Successful in 19s
validate / Go (vet + test) (push) Successful in 19s
validate / Rego (opa fmt + opa test) (push) Successful in 14s
- services/attest-reconciler/ as its own go.mod (admin-api internal/ is not importable; shared code gets extracted when a 3rd consumer appears).
- Scheduler accepts "@every <dur>" or a bare Go duration; context-cancellation stops the loop cleanly.
- Store client defines PendingRateStore + Postgres skeleton for SELECT ... WHERE rate_change_attestation_ref IS NULL.
- Orchestrator + HTTPSigner + tlog.HTTPSubmitter mirror admin-api byte-for-byte so the TLog idempotency key collides on resubmits (kein Doppelsignieren).
- Prometheus text-format /metrics endpoint, dependency-free: attest_reconciler_dirty_rows_total, _reconciliation_attempts_total, _reconciliation_failures_total, _idempotent_noop_total.
- Tests with fake store + fake signer + fake submitter cover: happy path, already-attested rows are NOT re-signed, TLog idempotency across ticks, TLog-down failure path, pre-cancelled ctx.
- Top-level README reflects the new service; CI auto-discovers services/*/go.mod so no workflow change needed.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-25 18:06:36 +00:00
CTO Agent
eeaceb07ed ci+readme: add Go CI job (golang:1.23-trixie, vet + test for every services/**/go.mod); README reflects db/, admin-api, go-test commands
Some checks failed
validate / Rego (opa fmt + opa test) (push) Successful in 13s
validate / Go (vet + test) (push) Failing after 1s
validate / JSON Schema (ajv) (push) Successful in 20s
2026-10-25 17:28:32 +00:00
CTO Agent
3f466dfae8 services: add per-diem-calculator Go skeleton (deterministic compute core + 5 unit tests, HTTP wire stubbed); README reflects new layout
All checks were successful
validate / Rego (opa fmt + opa test) (push) Successful in 11s
validate / JSON Schema (ajv) (push) Successful in 18s
2026-10-25 17:07:55 +00:00
CTO Agent
baa8b61021 docs(README): link policies/ and CI workflow; add local validation snippets
Some checks failed
validate / JSON Schema (ajv) (push) Failing after 29s
validate / Rego (opa fmt + opa test) (push) Failing after 26s
2026-10-25 15:28:50 +00:00
CTO Agent
71259de4c8 docs(README): link schemas/ and docs/adr/ in repo layout and entry points 2026-10-25 15:11:47 +00:00
CTO Agent
7205fa2e98 docs(README): reflect sink generalization — ERP is one of many possible sinks 2026-10-25 14:12:11 +00:00
CTO Agent
7de9cbc6ec docs: README points to V1.1 as active architecture, V1.0 archived 2026-10-25 11:02:33 +00:00
CTO Agent
872d75b5ec docs: initial README for ProofedMesh architecture base 2026-10-25 10:15:34 +00:00
a99e57718a Initial commit 2026-10-25 10:13:26 +00:00