All checks were successful
check / check (push) Successful in 4s
Adds .prettierrc and .prettierignore, a single script/prettier entrypoint shared by fmt and fmt-check so the two cannot drift, and prettier 3.9.6 pinned by yarn.lock integrity hash. Markdown formatting is now gated in the authoritative Docker build via a new mdfmt stage, since the golangci-lint image has no node. REPO_POLICIES.md is ignored so local tooling cannot drift it from upstream. Removes the || true that made the previous prettier invocation unable to fail.
1.1 KiB
1.1 KiB
Agent Instructions
Read REPO_POLICIES.md before making any changes. It is the authoritative
source for coding standards, formatting, linting, and workflow rules.
Workflow
-
When fixing a bug, write a failing test FIRST. Only after the test fails, write the code to fix the bug. Then ensure the test passes. Leave the test in place and commit it with the bugfix. Don't run shell commands to test bugfixes or reproduce bugs. Write tests!
-
After each change, run
make fmt, thenmake test, thenmake lint. Fix any failures before committing. -
After each change, commit only the files you've changed. Push after committing.
Attribution
- Never mention Claude, Anthropic, or any AI/LLM tooling in commit messages. Do not use attribution.
Repository-Specific Notes
- This is a Go library + CLI tool for generating
.mfmanifest files. - The proto definition is in
mfer/mf.proto; generated.pb.gofiles are committed (required forgo getcompatibility). - The format specification is in
FORMAT.md. - See the TODO section in
README.mdfor the 1.0 implementation plan and open design questions.