Tests can pass while a change adds a forbidden dependency, a new cycle, or a copy of code another module owns.
When a rule is in your way, you ask an owner: ask once, and the answer is remembered for the next change.
The Archfit App receives the engine result from the Archfit Action and posts a check and a comment on the pull request. Policy owners answer requests in the App.
- Install: Archfit Review on GitHub, then choose the repositories.
- Read: the user guide. Start with Install and set up and Configure the ruleset.
- Daily use: Home and the map, answer a request, edit the policy, and read a pull request.
During the beta, the App serves an account once an operator admits it. Until then the App shows a waiting page and runs nothing.
- Architecture and tech stack.
- Design documents and accepted inputs.
- Operators: Cloud operations.
Enable the Git hooks once in each clone:
git config core.hooksPath scripts/git-hooksRun the full local check before you push:
make all # format, lint, test, build
make test # race tests
make lint # golangci-lint
make build # .bin/reporter
make run # start the service on the configured address
make deploy-check # shellcheck, actionlint, and the release script tests (scripts/deploy)Export the variables in .env.example before make run. The App reads environment variables, not a
.env file. Each secret variable names a file with a *_FILE suffix. See the
configuration table.
Check a running local service:
curl -s localhost:8080/healthThe three repositories have separate roles:
| Repository | Role |
|---|---|
archfit |
Engine, CLI, images, and report schemas |
archfit-action |
Runs the engine in CI and uploads the report |
archfit-app |
Approved policy, report intake, gate, and feedback |