ui/dist is committed so go build embeds the dashboard without Node. That needs tools/uidist.sh and task ui:check to prove the bundle is fresh, puts a regenerated bundle in every UI diff, and conflicts on every merge.
Change:
CI runs task ui then task build on every run (gate) and attaches binaries to tagged releases.
Add ui/dist to .gitignore and remove it from the index.
Delete tools/uidist.sh, the ui:check task and its check step.
task build builds the UI first; Go-only builds use -tags no_ui (ui/embed_no_ui.go already exists).
Deployment hosts install release binaries, or need Node to build from source.
Trim the generated-files rule in CLAUDE.md to protobuf and sqlc.
Acceptance criteria
ui/dist is untracked; task check passes without ui:check; a tagged release produces binaries with the dashboard embedded; go build -tags no_ui works without Node.
Imported from beads archie-core-p8u9 · GitHub #1333 · type task · priority P2 · created 2026-10-03
ui/dist is committed so go build embeds the dashboard without Node. That needs tools/uidist.sh and task ui:check to prove the bundle is fresh, puts a regenerated bundle in every UI diff, and conflicts on every merge.
Change:
- CI runs task ui then task build on every run (gate) and attaches binaries to tagged releases.
- Add ui/dist to .gitignore and remove it from the index.
- Delete tools/uidist.sh, the ui:check task and its check step.
- task build builds the UI first; Go-only builds use -tags no_ui (ui/embed_no_ui.go already exists).
- Deployment hosts install release binaries, or need Node to build from source.
- Trim the generated-files rule in CLAUDE.md to protobuf and sqlc.
### Acceptance criteria
ui/dist is untracked; task check passes without ui:check; a tagged release produces binaries with the dashboard embedded; go build -tags no_ui works without Node.
---
_Imported from beads `archie-core-p8u9` · GitHub #1333 · type task · priority P2 · created 2026-10-03_
Triaged: no code change is needed for this. Issue #1507 asks for work that the repository already contains. Every acceptance criterion holds in this checkout, so there is nothing to build.
Checked criterion by criterion:
"ui/dist is untracked" — holds. .gitignore line 28 is /ui/dist/, and the git index has no ui/dist path: searching /data/worktree/.git/index for ui/dist returns no match, while the same search for ui/embed.go matches (as a binary file), so the index is searchable and the absence is real. No ui/dist directory exists in the worktree.
"task check passes without ui:check" — holds. Taskfile.yml has no ui:check task, and a repo-wide search for ui:check or uidist returns nothing. task check runs task ui then check:readonly, which includes build and test.
"task build builds the UI first" — holds. build declares deps: [ui] and lists ui/dist/** in its sources; ui runs pnpm run build in ui/.
"a tagged release produces binaries with the dashboard embedded" — holds. .github/workflows/deploy.yml job dist-zip runs on a tag (needs.plan.outputs.archied_version != ''), installs pnpm/Node 24, builds the dashboard, then builds every binary in release.json into dist/, zips it and publishes it signed through archied release publish. No -tags no_ui on that path, so the dashboard is embedded.
"go build -tags no_ui works without Node" — holds. ui/embed_no_ui.go (//go:build no_ui) sets DistDirFS nil, and internal/webui/server.go:409 serves a 404 "dashboard not built into this binary (no_ui)" instead of failing. promote.yml:36 and canary.yml:33 already build -tags no_ui.
"tools/uidist.sh deleted; CLAUDE.md generated-files rule trimmed" — both hold. tools/ holds only webhook-send.sh, newsgen, proto.sh, canary-rehearse.sh, cloud-setup.sh; CLAUDE.md:108 reads "Generated files (protobuf, sqlc) are regenerated and committed".
CI gate — .github/workflows/quality.yml runs task --concurrency 1 check then git diff --exit-code, so the dashboard is built before any Go build that embeds it.
Residual gap, outside this issue's acceptance criteria: install.sh --from-source was not updated for the new scheme. It requires only git go jq (line 172) and its help text says "needs Go, git and jq" (line 54), then builds every unit in release.json with a plain go build (line 213). internal/webui imports the ui package, so those builds compile //go:embed all:dist and need ui/dist to exist; on a fresh git clone --depth=1 (which is what the script does) it does not, and nothing in the script builds the dashboard or passes -tags no_ui. That matches the issue's own bullet ("Deployment hosts ... need Node to build from source"), which was stated as a consequence but never implemented. I did not run the build (read-only tools, no shell), so the resulting compile failure is inferred from the embed directive and the import chain, not observed.
Recommendation: close#1507 as already implemented, and file the installer path separately — either have --from-source build the dashboard and add node/pnpm to its prerequisite check, or build the units with -tags no_ui and say so in the help text. That is a small, well-understood change; if you would rather fold it into this issue, it would go to implement.
Triaged: no code change is needed for this. Issue #1507 asks for work that the repository already contains. Every acceptance criterion holds in this checkout, so there is nothing to build.
Checked criterion by criterion:
1. "ui/dist is untracked" — holds. `.gitignore` line 28 is `/ui/dist/`, and the git index has no `ui/dist` path: searching `/data/worktree/.git/index` for `ui/dist` returns no match, while the same search for `ui/embed.go` matches (as a binary file), so the index is searchable and the absence is real. No `ui/dist` directory exists in the worktree.
2. "task check passes without ui:check" — holds. `Taskfile.yml` has no `ui:check` task, and a repo-wide search for `ui:check` or `uidist` returns nothing. `task check` runs `task ui` then `check:readonly`, which includes `build` and `test`.
3. "task build builds the UI first" — holds. `build` declares `deps: [ui]` and lists `ui/dist/**` in its sources; `ui` runs `pnpm run build` in `ui/`.
4. "a tagged release produces binaries with the dashboard embedded" — holds. `.github/workflows/deploy.yml` job `dist-zip` runs on a tag (`needs.plan.outputs.archied_version != ''`), installs pnpm/Node 24, builds the dashboard, then builds every binary in `release.json` into `dist/`, zips it and publishes it signed through `archied release publish`. No `-tags no_ui` on that path, so the dashboard is embedded.
5. "go build -tags no_ui works without Node" — holds. `ui/embed_no_ui.go` (`//go:build no_ui`) sets `DistDirFS` nil, and `internal/webui/server.go:409` serves a 404 "dashboard not built into this binary (no_ui)" instead of failing. `promote.yml:36` and `canary.yml:33` already build `-tags no_ui`.
6. "tools/uidist.sh deleted; CLAUDE.md generated-files rule trimmed" — both hold. `tools/` holds only webhook-send.sh, newsgen, proto.sh, canary-rehearse.sh, cloud-setup.sh; `CLAUDE.md:108` reads "Generated files (protobuf, sqlc) are regenerated and committed".
7. CI gate — `.github/workflows/quality.yml` runs `task --concurrency 1 check` then `git diff --exit-code`, so the dashboard is built before any Go build that embeds it.
Residual gap, outside this issue's acceptance criteria: `install.sh --from-source` was not updated for the new scheme. It requires only `git go jq` (line 172) and its help text says "needs Go, git and jq" (line 54), then builds every unit in `release.json` with a plain `go build` (line 213). `internal/webui` imports the `ui` package, so those builds compile `//go:embed all:dist` and need `ui/dist` to exist; on a fresh `git clone --depth=1` (which is what the script does) it does not, and nothing in the script builds the dashboard or passes `-tags no_ui`. That matches the issue's own bullet ("Deployment hosts ... need Node to build from source"), which was stated as a consequence but never implemented. I did not run the build (read-only tools, no shell), so the resulting compile failure is inferred from the embed directive and the import chain, not observed.
Recommendation: close #1507 as already implemented, and file the installer path separately — either have `--from-source` build the dashboard and add node/pnpm to its prerequisite check, or build the units with `-tags no_ui` and say so in the help text. That is a small, well-understood change; if you would rather fold it into this issue, it would go to `implement`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
ui/dist is committed so go build embeds the dashboard without Node. That needs tools/uidist.sh and task ui:check to prove the bundle is fresh, puts a regenerated bundle in every UI diff, and conflicts on every merge.
Change:
Acceptance criteria
ui/dist is untracked; task check passes without ui:check; a tagged release produces binaries with the dashboard embedded; go build -tags no_ui works without Node.
Imported from beads
archie-core-p8u9· GitHub #1333 · type task · priority P2 · created 2026-10-03Triaged: no code change is needed for this. Issue #1507 asks for work that the repository already contains. Every acceptance criterion holds in this checkout, so there is nothing to build.
Checked criterion by criterion:
.gitignoreline 28 is/ui/dist/, and the git index has noui/distpath: searching/data/worktree/.git/indexforui/distreturns no match, while the same search forui/embed.gomatches (as a binary file), so the index is searchable and the absence is real. Noui/distdirectory exists in the worktree.Taskfile.ymlhas noui:checktask, and a repo-wide search forui:checkoruidistreturns nothing.task checkrunstask uithencheck:readonly, which includesbuildandtest.builddeclaresdeps: [ui]and listsui/dist/**in its sources;uirunspnpm run buildinui/..github/workflows/deploy.ymljobdist-zipruns on a tag (needs.plan.outputs.archied_version != ''), installs pnpm/Node 24, builds the dashboard, then builds every binary inrelease.jsonintodist/, zips it and publishes it signed througharchied release publish. No-tags no_uion that path, so the dashboard is embedded.ui/embed_no_ui.go(//go:build no_ui) setsDistDirFSnil, andinternal/webui/server.go:409serves a 404 "dashboard not built into this binary (no_ui)" instead of failing.promote.yml:36andcanary.yml:33already build-tags no_ui.tools/holds only webhook-send.sh, newsgen, proto.sh, canary-rehearse.sh, cloud-setup.sh;CLAUDE.md:108reads "Generated files (protobuf, sqlc) are regenerated and committed"..github/workflows/quality.ymlrunstask --concurrency 1 checkthengit diff --exit-code, so the dashboard is built before any Go build that embeds it.Residual gap, outside this issue's acceptance criteria:
install.sh --from-sourcewas not updated for the new scheme. It requires onlygit go jq(line 172) and its help text says "needs Go, git and jq" (line 54), then builds every unit inrelease.jsonwith a plaingo build(line 213).internal/webuiimports theuipackage, so those builds compile//go:embed all:distand needui/distto exist; on a freshgit clone --depth=1(which is what the script does) it does not, and nothing in the script builds the dashboard or passes-tags no_ui. That matches the issue's own bullet ("Deployment hosts ... need Node to build from source"), which was stated as a consequence but never implemented. I did not run the build (read-only tools, no shell), so the resulting compile failure is inferred from the embed directive and the import chain, not observed.Recommendation: close #1507 as already implemented, and file the installer path separately — either have
--from-sourcebuild the dashboard and add node/pnpm to its prerequisite check, or build the units with-tags no_uiand say so in the help text. That is a small, well-understood change; if you would rather fold it into this issue, it would go toimplement.