build: add tracked mise.toml so documented tasks work on a fresh clone (#100) - #106
Merged
Conversation
#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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
CLAUDE.mdinstructs contributors and AI agents to drive every build/test/lint operation throughmise run …tasks, butmise.tomlwas gitignored — so the config existed only locally and none of the documented tasks worked on a fresh clone (mise tasksprinted nothing;mise run testwas a silent no-op). This was the divergence reported in #100.Changes
mise.toml(mirroring the.claude/skillstreatment in docs: add pass-cli agent skill and track .claude/skills #101); keepmise.local.tomlignored for machine-local overrides.mise.tomlwhose tasks shell out to the samego/golangci-lintcommands CI runs (.github/workflows/ci.yml):fmt,fmt-check,vet,lint,test,test:integration,test:all,build, plusgit/ghpassthroughs./pass-clibinary thatmise 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
miseis already a required tool in the project's environment andCLAUDE.mdis written entirely aroundmise run.Verification
mise tasksnow lists all documented tasks; locally verified green:mise run build,mise run vet,mise run fmt-check,mise run test, andmise run git status(passthrough).lintmatches CI's args (--timeout=3m --build-tags integration).Closes #100.
🤖 Generated with Claude Code