Skip to content

docs: correct CLI docs drift (query JSON, install, filenames, create_database, sidebar)#144

Merged
alvarogar4 merged 1 commit into
mainfrom
alvaro/num-7276-docs-drift-corrections
Jun 11, 2026
Merged

docs: correct CLI docs drift (query JSON, install, filenames, create_database, sidebar)#144
alvarogar4 merged 1 commit into
mainfrom
alvaro/num-7276-docs-drift-corrections

Conversation

@alvarogar4

Copy link
Copy Markdown
Member

Summary

Closes five docs↔CLI drift findings from the prod-ready audit (PR H). Documentation-only.

Test plan

  • cd apps/docs && bun run build — clean build, 28 pages, sitemap regenerated, no warnings.
  • Real query --json envelope captured live against the .env.test cluster to confirm the documented shape.
  • No code changes → no changeset.

🤖 Generated with Claude Code

…database, sidebar)

Fixes five documentation-vs-CLI drift findings from the prod-ready audit:

- #16 query --json: replace the fictional {command,schemaVersion,rowCount,rows}
  shape with the real ClickHouse envelope {meta,data,rows,statistics}.
- #32 cli/README install: add @chkit/core (schema files import it).
- #45 migration filenames: docs used sequential 0001_ names; CLI emits
  timestamp-prefixed 20260604104251_name.sql.
- #46 generate --dryrun --json: document and include the leading
  create_database operation so operationCount: 2 matches reality.
- #47 sidebar: codegen.md and query.md both used order 9; renumber.

Docs-only; verified with `bun run build` in apps/docs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alvarogar4 alvarogar4 merged commit ed321da into main Jun 11, 2026
6 checks passed
@alvarogar4 alvarogar4 deleted the alvaro/num-7276-docs-drift-corrections branch June 11, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant