docs(selfhost): document ledger anchoring where operators actually look - #9849
Conversation
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-29 14:08:41 UTC
Review summary Blockers
Nits — 5 non-blocking
Concerns raised — review before merging
📋 Copy for AI agents — paste into your coding agentDecision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Decision record
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
.env.selfhost.example covered providers and telemetry but never mentioned LOOPOVER_LEDGER_ANCHOR_*, despite anchoring being the one capability self-host uniquely can run -- the hosted deployment retired review execution, so its decision_ledger is empty and there is nothing there to anchor. Provisioning it on a live instance surfaced three stumbling blocks this file is the natural place to prevent: it is all-or-nothing (one half set means anchoring silently never runs), the PEM must be single-line with \n escapes or Docker's env_file parsing breaks it, and the Rekor shard rotates annually so the built-in default can only lag -- with no pointer toward the override that fixes it. Closes #9848
141404f to
de83940
Compare
|
Already fixed — that review ran against You're right that it was exactly the pitfall the section warns about: a On the current head: Rewritten as prose across three properly-commented lines rather than embedding an escape sequence in a comment that then has to survive every tool between here and the file. All checks green. |
…ok (#9849) .env.selfhost.example covered providers and telemetry but never mentioned LOOPOVER_LEDGER_ANCHOR_*, despite anchoring being the one capability self-host uniquely can run -- the hosted deployment retired review execution, so its decision_ledger is empty and there is nothing there to anchor. Provisioning it on a live instance surfaced three stumbling blocks this file is the natural place to prevent: it is all-or-nothing (one half set means anchoring silently never runs), the PEM must be single-line with \n escapes or Docker's env_file parsing breaks it, and the Rekor shard rotates annually so the built-in default can only lag -- with no pointer toward the override that fixes it. Closes #9848
Closes #9848
.env.selfhost.examplecovered provider selection and telemetry but never mentionedLOOPOVER_LEDGER_ANCHOR_*— despite anchoring being the one capability a self-host deployment uniquely can run. The hosted deployment retired review execution, so itsdecision_ledgeris empty and there is nothing there to anchor.The variables were documented in
self-hosting-configuration.mdx, but nobody reads a docs table to discover a feature they don't know exists.Written from actually doing it
Provisioning anchoring on a live instance (1,626 ledger rows) hit three things in sequence, each of which this file is the natural place to prevent:
\nescapes. A real multi-line value breaks Docker'senv_fileparsing.pemToByteshandles the escapes, but nothing said so anywhere an operator would look.status: failedand there was no pointer toward the override that fixes it (orb(anchor): the default Rekor shard was never deployed, and the failure it causes does not name the URL #9844, fixed separately).Also states plainly that the ledger is per-instance — only your decisions, never other operators' — since that was the first question asked when turning it on.
Validation
docker-compose-env-example-parityandselfhost-preflightsuites pass (44 tests).selfhost:config-lintclean. Comments-only addition; every line is commented out, so no default behaviour changes.