Reference · Assayer
The Assayer's settings, files and commands
Every setting with its default, where the Assayer keeps its files, its command line, and its local API.
- Article
- 1804
- Applies to
- Assayer 0.10.5
- Last reviewed
- For
- For developers
Settings#
On its page, under Settings in the title bar. Each shows its value, its default and a line on what it does, with Reset to default. They're kept in %USERPROFILE%\.assayer\settings.json, and used from its next round on.
| Setting | Default | What it does |
|---|---|---|
| Rounds | Off | Off: it runs only the checks your AI assistant asks for, and leaves your repositories alone. On: every hour it also does its jobs in the repositories in the Repositories list under Castellan's Settings > Developer. See Rounds: on or off. |
| Its jobs | All on | Your branches, A daily health run, Release ready, and The manor's pull requests. See The Assayer's jobs. |
| Test cases you set | None | Each a Project, a Case, a Command (empty: the one it found), and Run it. |
| Leave a branch alone for | 2 hours | Since its newest commit, before it's tested. 0 to 168; 0: as soon as it's seen. |
| Tell me on this PC | On | A Windows notification, under Castellan's name, when a pull request is ready for you. The pull request itself, and its page, say so either way. |
| Test only what a change reaches (Advanced) | On | A branch's unit tests run only the test files its change reaches. Whatever it can't follow runs every test, and the daily health run always runs them all. |
| Looks every (Advanced) | 60 minutes | Between rounds while on duty, 5 to 240. |
| Stop a test run after (Advanced) | 20 minutes | A run that takes longer is stopped, with everything it started, and counts as a failure. 1 to 120. Since its tests run at a share of the processor, a run gets up to four times this. |
An Assayer that did its rounds before Rounds came, in 0.4.2, keeps them on.
Files#
Installed in %USERPROFILE%\.assayer\app, with its data in %USERPROFILE%\.assayer: its settings, its runs and their output, the throwaway worktrees it tests in, what its checks kept out of your AI assistant's context, and the file your AI sessions' bridges find its page by, with a secret only your account can read. ASSAYER_HOME moves its data folder, and ASSAYER_PORT its page.
Commands#
Run with node $HOME\.assayer\app\src\cli.ts <command>:
| Command | What it does |
|---|---|
rounds | Whether its rounds are on. rounds on and rounds off turn them on and off, as Rounds in Settings does. |
run | One round now. Refused while its rounds are off. |
start | On duty: its rounds run on their schedule, and its page is up. Castellan's Start. |
stop | Off duty: its rounds pause. The page stays up. Castellan's Stop. |
open | Makes sure its page is up, without changing duty. |
shutdown | Ends its page's process. |
status | On duty or not. --json prints what Castellan reads. |
claude on, claude off, claude status | Connects Claude Code, takes it out, or says what's there, as the Connect your AI card's buttons on its page do. --dry-run says what it would do. |
mcp | Its MCP server, over stdio. Your AI coding assistant starts it once it's connected; you don't run it yourself. It's a small bridge to the Assayer's page, which serves every session; while the page is down, it runs the Assayer on its own until the page is up. See Checks for your AI assistant. |
uninstall | Removes it. --purge removes its data folder too; --dry-run says what it would do. |
Local API#
At http://assayer.localhost:20909/, answering only this PC:
| Address | What it answers |
|---|---|
GET /api/ping | Its version and duty, whether its rounds are on, what it's testing now, needsYou (the ready pull requests still open) and failing. With its rounds off, needsYou and failing are 0. |
GET /api/assay | What's ready, the last runs, the tests and release ready, as JSON. |
POST /api/rounds | { "on": true } turns its rounds on, as Turn rounds on does; false turns them off. |
POST /api/putback | Puts back the tool versions checked on one run. |
Each POST needs the token from its own page.
While none of the developers' staff is hired, none of this carries its work, and what would start work is refused. Its MCP tools answer only that the Assayer is for people who write software.
Related articles
Is this page right?
If something on it is wrong or out of date, tell us and we'll fix the page.
Still stuck? Write to support@castellan-software.com and mention article 1804. Every version of Assayer, and what changed in it, is in its release notes.