Production entry point for the Vaelii MCP server.
A4: The production startup path MUST NOT construct a RecordingAuditSink or any in-memory test sink. The A1 adapter is mandatory.
Production entry point for the Vaelii MCP server. A4: The production startup path MUST NOT construct a RecordingAuditSink or any in-memory test sink. The A1 adapter is mandatory.
(browser-start-opts opts)The opts web/start is given for the browser. :token is present only when
--browser-token-file names one; without it the key is absent and the engine
reads VAELII_API_TOKEN, which a non-loopback bind requires.
The opts `web/start` is given for the browser. `:token` is present only when `--browser-token-file` names one; without it the key is absent and the engine reads `VAELII_API_TOKEN`, which a non-loopback bind requires.
(check-browser-bind! browser-opts)The engine's public-bind rule, applied before any store opens: a non-loopback
browser host with no token throws :unauthorized here rather than after the
forks are provisioned. The same guard and fallback web/start applies.
The engine's public-bind rule, applied before any store opens: a non-loopback browser host with no token throws `:unauthorized` here rather than after the forks are provisioned. The same guard and fallback `web/start` applies.
(parse-args args)The command-line flags -main reads, as an opts map. Unknown words are skipped.
The command-line flags `-main` reads, as an opts map. Unknown words are skipped.
(validate-audit-dir-custody! audit-dir forks-dir state-dir)P1#5 + P2: the audit journal directory must be an absolute, symlink-free path outside /tmp, and must not equal, contain, or live inside the fork storage or authority state directories. All comparisons are canonical — a symlinked alias of forks-dir is still forks-dir. Throws :startup-failed.
P1#5 + P2: the audit journal directory must be an absolute, symlink-free path outside /tmp, and must not equal, contain, or live inside the fork storage or authority state directories. All comparisons are canonical — a symlinked alias of forks-dir is still forks-dir. Throws :startup-failed.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |