mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
a2f2b753bf
The test guards the argv hand-off in apps/hook/server/index.ts (the entrypoint strips the annotate gate flags, --json among them, before dispatching, so `guide share --json` has to keep printing the JSON record). It was gated on apps/hook/dist/*.html existing, and CI never builds those, so the guard has never run anywhere but a developer's machine after a build:hook. The entrypoint only needs those files to exist because it imports them as text at module load; the guide subcommand never serves them. So the test stands in placeholders for whichever ones are missing and removes exactly those again, leaving a real build untouched. It runs in about 350ms.