Local, single-user Jira Cloud front-end built with Gleam and Lustre. Experimental toy project.
Excellent AGENTS.md and README, but no single test command, CI, format check, or pinned Gleam/OTP versions to verify changes.
An agent can get running from the docs alone: AGENTS.md and README list ./dev.sh, the three per-package test commands, npm --prefix ui install, and ./build.sh, and .env.example covers configuration. The main gap is verification. Tests are split across root, shared/ and ui/, and the docs warn that root gleam test skips shared, so an agent can easily run only one suite. Type checking (gleam check) and formatting (gleam format --check) come with Gleam but are never mentioned. Gleam/OTP/Node versions appear only as minimums in prose, and there is no CI to catch mistakes.
Your README badge
[](https://masonemery.com/ready/Merckinator/jira-view) The badge shows your latest grade and updates when you re-check.
Fix these first
Add a single script that runs all three test suites
Tests span root, shared/ and ui/, and root gleam test skips shared, so agents easily miss suites; one command makes verification reliable.
#!/usr/bin/env sh # test.sh - run every test suite (backend, shared, UI) set -eu cd "$(dirname "$0")" echo '== backend ==' gleam test echo '== shared ==' (cd shared && gleam test) echo '== ui ==' [ -d ui/node_modules ] || npm --prefix ui install (cd ui && gleam test --target javascript)
Add a GitHub Actions workflow that checks, formats and tests
There is no CI, so nothing confirms an agent's change compiles, is formatted and passes all suites across the three packages.
# .github/workflows/ci.yml name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: '27' gleam-version: '1.19' - uses: actions/setup-node@v4 with: node-version: '20' - run: gleam format --check src test shared ui/src ui/test - run: gleam check - run: (cd shared && gleam check) - run: (cd ui && gleam check) - run: sh ./test.shDocument gleam check and gleam format in AGENTS.md
Gleam's compiler is the type checker and gleam format is the formatter, but neither is listed, so agents have no fast type or style check before running tests.
## Checks ```sh gleam check # type-check backend (fast, no tests) (cd shared && gleam check) # type-check shared (cd ui && gleam check) # type-check UI gleam format src test shared ui/src ui/test # format gleam format --check src test shared ui/src ui/test # verify formatting ./test.sh # run all three test suites
Pin Gleam, Erlang and Node versions in .
The README only gives minimums (Gleam 1.19+, OTP 27+, Node 20+), so agents and CI have to guess which toolchain to install.
gleam 1.19.0 erlang 27.0 nodejs 20.11.0
Add a pre-commit hook for formatting and the app.js bundle
AGENTS.md says to rebuild and commit assets/app.js after UI changes; a hook catches unformatted code and a forgotten rebuild before commit.
#!/usr/bin/env sh # .githooks/pre-commit (enable with: git config core.hooksPath .githooks) set -eu gleam format --check src test shared ui/src ui/test ./build.sh git diff --quiet -- assets/app.js || { echo 'assets/app.js changed; stage the rebuilt bundle'; exit 1; }
Breakdown
Agent instructions
25/25- ✓ Agent instructions file 10/10
Found AGENTS.md. - ✓ Instructions have substance 5/5
5,075 characters of instructions. - ✓ Instructions say how to build and test 7/7
Lists the commands to run, including tests. - ✓ Instructions are a sensible size 3/3
Short enough to read in full every session.
Tests
10/20- ✕ One command runs the tests 0/10
No single command that runs the tests. - ✓ Test files exist 10/10
Found test/.
Type & lint checks
0/15- ✕ Type checking 0/8
Could not find a type checker for this project. - ✕ Linter or formatter 0/7
No linter or formatter configuration.
CI
0/15- ✕ CI is set up 0/5
No GitHub Actions workflows or other CI config. - ✕ CI runs the tests 0/6
No CI to run them. - ✕ CI runs type or lint checks 0/4
No CI to run them.
Setup clarity
10/15- ✓ README explains setup 5/5
README has setup steps with commands. - ◐ Dependencies are locked 2/4
No recognized package manager. - ✕ Runtime version is pinned 0/3
No .nvmrc, .tool-versions, engines or similar; agents guess the runtime version. - ✓ Environment variables are documented 3/3
Found .env.example.
Guardrails
7/10- ✓ Contribution guide 3/3
Has a CONTRIBUTING guide. - ✕ Pre-commit hooks 0/3
No pre-commit hooks (pre-commit, husky, lefthook). - ✓ No committed junk 4/4
No build output, dependencies or secrets committed at the root.