Foundation's contribution to the host vis doctor aggregator. ONE fn
(doctor-fn) returns the full message stream from two logical
sections, each stamping its own :check-id so the formatter
groups them under the same banner the original four-checks-vec
shape produced (plan §1 Q18 / §10):
::agents-md AGENTS.md presence / source / size; one :info line when found, one :warn line when neither AGENTS.md nor CLAUDE.md exists (rules silently absent is worth flagging even though it isn't an error per se).
These section fns are pure data -> message-seq; they don't mutate
anything and don't depend on the runtime environment beyond
what's needed to read the existing scanners. Activation
contract per plan: every registered extension's :ext/doctor-fn
runs regardless of :ext/activation-fn, so the section fns must
NOT assume :db-info or other env keys are present.
Foundation's contribution to the host `vis doctor` aggregator. ONE fn
(`doctor-fn`) returns the full message stream from two logical
sections, each stamping its own `:check-id` so the formatter
groups them under the same banner the original four-checks-vec
shape produced (plan §1 Q18 / §10):
::agents-md AGENTS.md presence / source / size; one
:info line when found, one :warn line
when neither AGENTS.md nor CLAUDE.md exists
(rules silently absent is worth flagging
even though it isn't an error per se).
These section fns are pure data -> message-seq; they don't mutate
anything and don't depend on the runtime environment beyond
what's needed to read the existing scanners. Activation
contract per plan: every registered extension's `:ext/doctor-fn`
runs regardless of `:ext/activation-fn`, so the section fns must
NOT assume `:db-info` or other env keys are present.(doctor-fn environment)Foundation's :ext/doctor-fn. Concatenates the foundation
diagnostic streams into a single message seq.
Foundation's `:ext/doctor-fn`. Concatenates the foundation diagnostic streams into a single message seq.
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 |