Skip to content

chore: finish ark→qualify rename (closes #34) - #37

Merged
scttfrdmn merged 1 commit into
mainfrom
chore/finish-qualify-rename
Jun 8, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
chore/finish-qualify-rename

Conversation

@scttfrdmn

Copy link
Copy Markdown
Collaborator

Closes #34.

Finishes the project rename by moving the two command directories that still carried the old name, so they agree with the binaries the build already emits.

Renames

Before After
cmd/ark-agent cmd/qualify-agent
cmd/ark-backend cmd/qualify-backend

Swept every reference pointing at those paths/binaries:

  • Makefile — build, run-*, and release-build targets + dist/ artifact names (incl. the CLI's dist/ark-* → dist/qualify-*)
  • Dockerfile.agent / Dockerfile.backend — build paths
  • README.md / CONTRIBUTING.md — package layout tables

Also in this PR

  • 🐛 Fix: internal/agent/daemon looked up ark-agent on PATH and next to the executable, but the build emits qualify-agent — daemon-managed agent startup could never find the binary. Now looks up qualify-agent. (Latent bug surfaced by the rename.)
  • 🧹 Removed a stray ~10 MB ark-backend binary committed to the repo root; added the root-built binary names to .gitignore so it can't recur.
  • ⬆️ Bumped Go directive 1.26.0 → 1.26.4 (patched stdlib, clears the GO-2026-* advisories — consistent with attest#101 / ground#11).
  • Folded in pending gofmt alignment in handlers_training.go and license/models.go that was sitting uncommitted in the working tree.

Deliberately left alone

Verification (local, go1.26.4)

make build   -> bin/qualify, bin/qualify-agent, bin/qualify-backend
go vet ./... -> ok
gofmt        -> clean
go test ./...-> ok (cmd/qualify-backend test pkg now resolves under new path)

Note: this PR renames directories tracked by git as renames (R), so history is preserved.

Renames the two command directories whose names still carried the old
project name, so they agree with the binaries the build already emits:

  cmd/ark-agent   -> cmd/qualify-agent
  cmd/ark-backend -> cmd/qualify-backend

Swept the references that point at those paths/binaries:
- Makefile build + release-cross targets and dist/ artifact names
- Dockerfile.agent / Dockerfile.backend build paths
- README.md and CONTRIBUTING.md layout tables

Also in this change:
- fix: agent daemon looked up 'ark-agent' on PATH / next to the
  executable, but the build emits 'qualify-agent' — daemon-managed
  startup could never find it. Now looks up 'qualify-agent'.
- remove: a stray ~10 MB ark-backend binary committed to the repo root;
  gitignore the root-built binary names so it can't recur.
- bump: go directive 1.26.0 -> 1.26.4 (patched stdlib, clears GO-2026-*).
- fold in pending gofmt alignment in handlers_training.go and
  license/models.go that was sitting uncommitted in the working tree.

Left as-is: historical CHANGELOG entries (they describe past states) and
ROADMAP.md, which uses the old 'ark <verb>' command vocabulary throughout
and needs a separate docs pass, not a path rename.

Verified: go build ./..., make build (qualify/-agent/-backend), go vet,
gofmt, go test ./... all pass.
@scttfrdmn
scttfrdmn merged commit 9cc4132 into main Jun 8, 2026
4 of 5 checks passed
@scttfrdmn
scttfrdmn deleted the chore/finish-qualify-rename branch June 8, 2026 20:00
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.

Rename cmd/ark-agent → cmd/qualify-agent and cmd/ark-backend → cmd/qualify-backend

1 participant