From db192e5768bc9c0b02bfb0e0357724b0a575eef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=EC=98=81?= Date: Sun, 30 Aug 2026 14:14:17 +0900 Subject: [PATCH] docs: complete the local compile command in AGENTS.md The documented local build dropped both flags the release workflow compiles with (.github/workflows/release.yml:111). Without the __CLI_VERSION__ define, `plannotator --version` falls back to `plannotator dev` (apps/hook/server/cli.ts:128), so a locally built binary carries no identifying version. Also note the macOS bun floor: 1.3.12 loses the linker signature and the compiled binary is SIGKILLed on launch (#541), which is why CI pins bun-version 1.3.14. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Lz3aBzrpHocVFU94YN7QBr --- AGENTS.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 16c342f4a..cc66af85e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -797,9 +797,12 @@ Running only `build:hook` after review-editor changes will copy stale HTML files ```bash bun run --cwd apps/review build && bun run build:hook && \ - bun build apps/hook/server/index.ts --compile --outfile ~/.local/bin/plannotator + bun build apps/hook/server/index.ts --compile --no-compile-autoload-bunfig \ + --define "__CLI_VERSION__=\"0.0.0-dev\"" --outfile ~/.local/bin/plannotator ``` +These are the flags `.github/workflows/release.yml` compiles with; without the `__CLI_VERSION__` define `plannotator --version` falls back to `plannotator dev` and the binary cannot be told apart from any other local build. On macOS build with bun >= 1.3.14 (what CI pins): 1.3.12 loses the linker signature and the compiled binary is SIGKILLed on launch with no error (#541). + Running only `build:opencode` will copy stale HTML files. ## Marketing Site