Skip to content

8.12 - Docs attribute three boot guards to the wrong file #166

Description

@determined-001

Complexity: Trivial - 100 Points · type:docs

Milestone: M6 - Ops & rigor

Band lever: none

Context
docs/MAINNET.md:11 and docs/RUNBOOK.md:52 describe the boot-time guards that
refuse to start with a missing or unsafe DEFAULT_SELLER_WALLET,
SERVER_SIGNING_SECRET or JWT_SECRET, and cite apps/api/src/env.ts.

Problem
All three guards live in apps/api/src/services/container.ts (around :385,
:488 and :511), not in env.ts. The guards fire correctly, so this is an
accuracy problem rather than a functional one — but it sends whoever is
verifying or changing a safety check to a file that does not contain it, which
is exactly the wrong outcome for a document read under pressure.

What needs to be done

  1. Correct the citations in both documents to container.ts, with line hints.
  2. While there, verify the rest of the file:line references in both documents
    still resolve, and fix any that have drifted.

Key files

  • docs/MAINNET.md:11
  • docs/RUNBOOK.md:52
  • apps/api/src/services/container.ts:385, :488, :511 — where the guards are

Done when

  • Both documents cite the file that actually holds each guard.
  • Every file:line reference in both documents resolves to what it claims.

Tracked in ISSUES.md — issue 8.12.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveDrips Wave Program - opt an issue in by applying this labelarea:opsCI, Docker, metrics, backups, uptimecomplexity:trivial100 pointsgood-first-issueSelf-contained, well-scoped, safe for newcomerstype:docs

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions