Skip to content
Castellan
Assayer's icon

Reference · Assayer

Read as

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
Written for Assayer 0.10.5; Assayer 0.11.12 is out now. Some of this may have changed: what's new is in its release notes.

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.

SettingDefaultWhat it does
RoundsOffOff: 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 jobsAll onYour branches, A daily health run, Release ready, and The manor's pull requests. See The Assayer's jobs.
Test cases you setNoneEach a Project, a Case, a Command (empty: the one it found), and Run it.
Leave a branch alone for2 hoursSince its newest commit, before it's tested. 0 to 168; 0: as soon as it's seen.
Tell me on this PCOnA 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)OnA 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 minutesBetween rounds while on duty, 5 to 240.
Stop a test run after (Advanced)20 minutesA 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>:

CommandWhat it does
roundsWhether its rounds are on. rounds on and rounds off turn them on and off, as Rounds in Settings does.
runOne round now. Refused while its rounds are off.
startOn duty: its rounds run on their schedule, and its page is up. Castellan's Start.
stopOff duty: its rounds pause. The page stays up. Castellan's Stop.
openMakes sure its page is up, without changing duty.
shutdownEnds its page's process.
statusOn duty or not. --json prints what Castellan reads.
claude on, claude off, claude statusConnects 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.
mcpIts 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.
uninstallRemoves 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:

AddressWhat it answers
GET /api/pingIts 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/assayWhat'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/putbackPuts 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.

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.