docs(installer): record Phase 0.2 — the sidecar's CLI and settled data paths #84
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/installer-phase-0.2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Documentation half of installer Phase 0.2. Code PR: RunicGateway/link#24.
Phase 0.2 asked for two things — "confirm/settle default data paths" and "a way to read back config non-interactively so the installer does not have to scrape logs for the token." Both landed, and three sections of the plan asserted facts that change as a result, so they are corrected rather than appended to.
installer/PLAN.mdv0.1.1published), 0.2 in review, repo bootstrap merged (installer#1 + #2). 0.3 (bundle CI) is marked next and is now unblocked: both components it composes exist and have releases.--print-configprovisions rather than only reporting, which collapses "set up the sidecar" and "find out its token" into the single call §6 needs;config_created/token_generatedexist — the values alone cannot tell a fresh install from a re-read, and a re-run must not report an existing token as newly minted;cargo runin a working tree.[store].pathnow anchors to the config file's directory, so pinning the config alone puts the database somewhere deterministic. The service definitions still pin both env vars, and the section now says why that is not redundant — deterministic is not the same as where this install wants it, and the config path itself is still CWD-relative by default.--print-configcall. It explicitly never parses the log, which was the alternative and would have made the handoff depend on a log format that is not a contract.--print-configagainst the pinned config path before registering the service, so the service never starts against a config that does not exist yet.doctorrows the CLI answers (--versionfor the installed version and protocol,--print-configfor the paths the installed binary actually resolves, rather than whatinstall.jsonbelieves it was told).web.bindis frequently0.0.0.0and that is not something to hand a website. Plus: the printed token must not reach an installer log or a support bundle.link/INTEGRATION.md§1 said the token "is generated automatically on first run (the sidecar logs it)". That is no longer the supported way to get it. Replaced with the command, its full output, and the mapping onto what Admin → Shard asks for — including the secret-handling note.
AI-assisted contribution
Co-Authored-Bytrailer.