Skip to content

Show how to run checks through Devbox in AGENTS.md - #588

Merged
prestoncabe merged 1 commit into
mainfrom
agents-md-devbox-commands
Nov 5, 2026
Merged

prestoncabe merged 1 commit into
mainfrom
agents-md-devbox-commands

Conversation

@prestoncabe

@prestoncabe prestoncabe commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Changes to AGENTS.md from a retro on #586:

 ## Setup and common commands
 - All tests: `devbox run test` (… e.g. `devbox run test -- builder-frontend` …)
+
+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.
+
-  … then `(cd library-api/test/bdt && bru run)`
+  … then `(cd library-api/test/bdt && bru run)`. To run one folder, pass `-r` …
-- End-to-end tests: `bin/run-e2e-tests`
+- End-to-end tests: `bin/run-e2e-tests [spec ...]`, e.g. `bin/run-e2e-tests tests/screener.spec.ts` …

 ## Repository map
-- `builder-frontend/`: Solid.js and Vite screener editor.
+- `builder-frontend/`: … Read `builder-frontend/README.md` before changing its form-js extensions or tests that render a form.

 ## Working conventions
-- Preserve unrelated work in the working tree and keep changes scoped to the request.
-- Follow existing patterns in the component being edited; consult its README …

Evidence

  • Before: outside Devbox, mvn and bru are not on PATH, so (cd builder-api && mvn test) as written fails. npm may resolve to a host install instead (here, mise's Node 26.7.0, while Devbox provides 22.23.2). Agents have only got this right from a per-user memory note.
    After: the devbox run -- bash -c "…" form runs the builder-frontend suite (54 files, 389 tests, on Share one screening session between Preview and published screeners #586).
  • bin/run-e2e-tests tests/screener.spec.ts tests/crmIntegration.spec.ts … ran just those specs (21 passed) inside devbox run. The runner exits unless DEVBOX_SHELL_ENABLED=1.
  • From the collection root, bru run ran all 176 requests (the count of request files) during the e2e run, so -r matters only for single-folder runs.

Merge Danger

Door: two-way

Documentation only.

Blast Radius: agents

Only changes what agents read when they work in this repo.

🤖 Generated with Claude Code

Project tools are not on PATH outside Devbox, so say how to run the
listed commands. Show that the e2e runner takes spec paths and that a
Bruno folder run needs -r. Point to the builder-frontend README for
form-js work, and drop two conventions agents follow by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@prestoncabe
prestoncabe force-pushed the agents-md-devbox-commands branch from b05536e to 575a37c Compare November 5, 2026 20:04
@prestoncabe
prestoncabe merged commit 557971e into main Nov 5, 2026
5 checks passed
@prestoncabe
prestoncabe deleted the agents-md-devbox-commands branch November 5, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant