Document codedb hook setup#344
Conversation
Benchmark Regression ReportThresholds: 10.00% and 50,000 ns absolute delta
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1e2c094fc9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| printf " ${D}codex${N} enable [features].codex_hooks in ~/.codex/config.toml\n" | ||
| printf " ${D}codex paths${N} ~/.codex/hooks.json or <repo>/.codex/hooks.json\n" | ||
| printf " ${D}claude paths${N} ~/.claude/settings.json or <repo>/.claude/settings.json\n" | ||
| printf " ${D}examples${N} https://github.com/justrach/codedb/blob/release/0.2.579/docs/hooks-labs.md\n" |
There was a problem hiding this comment.
Build hook-doc URL from the installed version
The installer computes version dynamically, but this note hard-codes release/0.2.579 for the hook examples. As soon as users install a newer release, the printed URL can become stale (or disappear), so the setup guidance no longer matches the binary they just installed. Please derive this link from $version (or use a stable docs URL); the same hard-coded line is mirrored in the website installer copies.
Useful? React with 👍 / 👎.
Summary
codedb_remoteusesapi.wiki.codesas the only remote backend and updates the MCP tool description accordingly.docs/hooks-labs.mdwith Codex and Claude Code hook setup examples, including a guard for unbounded remote tree calls.codedb mcpcommand and where Codex/Claude hook configs live; mirrors the copy into website source and tracked dist files.Validation
bash -n install/install.sh && bash -n website/app/install_script.sh && bash -n website/dist/install.shzig build testzig buildtools/listsmoke confirmed the updatedcodedb_remotedescriptioncodedb_remotesmoke againsttigerbeetle/tigerbeetlereturned the compact tree summary fromapi.wiki.codesNote:
zig build serve -- --prerenderinsidewebsite/is currently blocked by the website build script under local Zig 0.16 API changes, so the tracked dist copy was updated directly for this text-only change.