Skip to content

build: add tracked mise.toml so documented tasks work on a fresh clone (#100) - #106

Merged
arimxyer merged 1 commit into
mainfrom
feat/100-mise-tasks
Jun 26, 2026
Merged

build: add tracked mise.toml so documented tasks work on a fresh clone (#100)#106
arimxyer merged 1 commit into
mainfrom
feat/100-mise-tasks

Conversation

@arimxyer

Copy link
Copy Markdown
Collaborator

What

CLAUDE.md instructs contributors and AI agents to drive every build/test/lint operation through mise run … tasks, but mise.toml was gitignored — so the config existed only locally and none of the documented tasks worked on a fresh clone (mise tasks printed nothing; mise run test was a silent no-op). This was the divergence reported in #100.

Changes

  • Un-ignore mise.toml (mirroring the .claude/skills treatment in docs: add pass-cli agent skill and track .claude/skills #101); keep mise.local.toml ignored for machine-local overrides.
  • Add a tracked mise.toml whose tasks shell out to the same go / golangci-lint commands CI runs (.github/workflows/ci.yml):
    fmt, fmt-check, vet, lint, test, test:integration, test:all, build, plus git / gh passthroughs.
  • Gitignore the /pass-cli binary that mise run build (go build -o pass-cli .) drops at the repo root, so it can't be committed by accident.

This is option A from the issue (make reality match the documented contract), chosen because mise is already a required tool in the project's environment and CLAUDE.md is written entirely around mise run.

Verification

mise tasks now lists all documented tasks; locally verified green: mise run build, mise run vet, mise run fmt-check, mise run test, and mise run git status (passthrough). lint matches CI's args (--timeout=3m --build-tags integration).

Closes #100.

🤖 Generated with Claude Code

#100)

CLAUDE.md instructs contributors and agents to drive every build/test/lint
operation through `mise run …`, but `mise.toml` was gitignored — so the config
existed only locally and none of the documented tasks worked on a fresh clone.
`mise tasks` printed nothing and `mise run test` was a silent no-op.

- Un-ignore `mise.toml` (mirroring the `.claude/skills` treatment); keep
  `mise.local.toml` ignored for machine-local overrides.
- Add a `mise.toml` whose tasks shell out to the same `go`/`golangci-lint`
  commands CI runs (see .github/workflows/ci.yml): fmt, fmt-check, vet, lint,
  test, test:integration, test:all, build, plus git/gh passthroughs.
- Gitignore the `/pass-cli` binary that `mise run build` (`go build -o pass-cli .`)
  produces at the repo root, so it can't be committed by accident.

Closes #100.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019sxsM218vNzDbuMZ2nhMzx
@arimxyer
arimxyer merged commit bc37c0c into main Jun 26, 2026
7 checks passed
@arimxyer
arimxyer deleted the feat/100-mise-tasks branch June 26, 2026 22:51
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.

docs: CLAUDE.md references mise tasks but no mise.toml is tracked

1 participant