docs(commands): generate blocks for app lifecycle, push, settings, and app state

Merged
TH
8d ago
+165-0

Summary

Adds the generated command block to every hand-written section from ## App install (in-place) through ## Foreground repairs on iOS, so the registry owns each command's summary, synopsis, options, aliases, and capabilities link there. Blocks are marker-only in the source: pnpm generate:command-docs renders them, and the drift guard keeps them in sync.

Commands given a block: install, reinstall, uninstall, install-from-source, push, trigger-app-event, settings, appstate, apps.

## Foreground repairs on iOS documents no command of its own; it is a workflow that reads snapshot, already blocked elsewhere, so it gets none.

No hand-written line was removed. Each bullet in these sections carries a default, limit, reason code, platform caveat, or environment variable the generated table does not state, so all of them were kept. Headings and anchors are unchanged.

Validation

Head 4660b12d44531a8f0b6128ad5ac1e5352316575f, docs-only: runtime tests do not apply, the repo guards do.

  • pnpm install --frozen-lockfile && pnpm build
  • pnpm generate:command-docs, then pnpm check:command-docs (27 passed)
  • pnpm check:doc-prose, pnpm --dir website build, pnpm check:doc-links
  • pnpm check:quick, pnpm format
  • test/repo-guards/command-doc-coverage.test.ts and test/repo-guards/runner-refusal-reason-docs.test.ts pass with no waiver added

CI validates the rest.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.