This is a monorepo for building and publishing benefit eligibility screeners. Keep this file small: use the nearest nested AGENTS.md for component-specific guidance and load a skill only when its description matches the task.
library-api/: Java 21 / Quarkus / Kogito service that turns DMN files into REST endpoints. Readlibrary-api/AGENTS.mdbefore changing this subtree.builder-api/: Java 21 / Quarkus administration API backed by Firebase.builder-frontend/: Solid.js and Vite screener editor. Readbuilder-frontend/README.mdbefore changing its form-js extensions or tests that render a form.e2e/: Playwright end-to-end tests.docs/andwebsite/: Astro sites.
- Preferred one-time setup:
bin/install-devbox && devbox run setup - In worktrees, agents may create the ignored root
.envfrom.env.examplewhen needed to run Devbox commands. The preferred setup command above does this automatically. - Start the development stack:
devbox services up - All tests:
devbox run test(wrapper:bin/run-all-tests; accepts--fail-fastand suite names, e.g.devbox run test -- builder-frontend; suites arebuilder-frontend,builder-api,library-api,examples,e2e)
Project tools (mvn, npm, bru) come from Devbox and are not on PATH. Run the commands below inside devbox shell, or wrap one as devbox run -- bash -c "<command>"; devbox run starts at the repository root.
- Backend tests:
(cd builder-api && mvn test) - Library tests:
(cd library-api && mvn test); DMN API tests require a running library service, then(cd library-api/test/bdt && bru run). To run one folder, pass-r(bru run checks/age -r); without it, Bruno skips nested folders and still reports success. - Frontend tests:
(cd builder-frontend && npm test); frontend build:(cd builder-frontend && npm run build) - End-to-end tests:
bin/run-e2e-tests [spec ...], e.g.bin/run-e2e-tests tests/screener.spec.ts(paths relative toe2e/). It boots the whole local stack and refuses to start while its ports are in use. - Docs/website build: run
npm run buildin the relevant directory.
Run the narrowest checks that cover a change. Do not claim a check passed unless it was run; report environmental blockers separately from code failures.
- Java APIs share Maven
groupIdorg.codeforphilly.bdt, with artifact IDsbdt-builder-apiandbdt-library-api. Use lowercase Java packages underorg.codeforphilly.bdt.builderandorg.codeforphilly.bdt.library, respectively; source and test directories must match their package names. - Never edit generated output under
target/,dist/, Playwright reports, emulator exports, logs, or dependency directories unless the user explicitly asks. - Treat
.envfiles, credentials, Firebase data, and production deployment commands as sensitive. Use checked-in examples for documentation and do not expose secrets. - Do not deploy, publish, modify production Firebase state, or export emulator state without explicit authorization.
Repository skills are stored in .agents/skills/ using the portable Agent Skills format. Read a skill's SKILL.md only when the request matches its description:
new-dmn-benefit: create a benefit DMN and its Bruno tests.new-dmn-check: create a reusable check DMN and its Bruno tests.
Claude compatibility is provided through the .claude/skills symlink to .agents/skills.
Track issues and specs in GitHub Issues. Read docs/agents/issue-tracker.md before tracker operations.
Use the five default triage labels. Read docs/agents/triage-labels.md when assigning triage roles.
Use a single-context layout. Read docs/agents/domain.md before exploring domain concepts or architectural decisions.