ruflo doctor (and ruflo doctor --component <x>) currently emits text-only, ANSI-coloured
output (✓/⚠/✗ rows with a name and free-text detail). Tools that want to check component
health programmatically — CI, editor integrations, or a wrapper CLI like agentic-kit — have to
regex-parse that text, which is brittle across releases (row wording, ANSI codes, and column
layout can all change without notice).
Please add a --json flag that emits the same information as a stable, versioned JSON array,
e.g. [{ "id": "typesafe", "status": "pass"|"warn"|"fail", "name": "...", "detail": "..." }]. A
schema version field would let consumers detect breaking format changes safely.
Context: we currently parse the text form with a tolerant regex per row and degrade to unknown
on anything unreadable, which works but is fragile — see parseDoctor in agentic-kit's src/lib/ruflo-components/evidence.mjs (pacphi/agentic-kit#236) if a reference for the current text shape is useful.
Checked against ruflo 3.44.0: ruflo doctor --help offers --fix, --install, -c/--component, --verbose and --fix-handles, but no machine-readable output.
ruflo doctor(andruflo doctor --component <x>) currently emits text-only, ANSI-colouredoutput (
✓/⚠/✗rows with a name and free-text detail). Tools that want to check componenthealth programmatically — CI, editor integrations, or a wrapper CLI like agentic-kit — have to
regex-parse that text, which is brittle across releases (row wording, ANSI codes, and column
layout can all change without notice).
Please add a
--jsonflag that emits the same information as a stable, versioned JSON array,e.g.
[{ "id": "typesafe", "status": "pass"|"warn"|"fail", "name": "...", "detail": "..." }]. Aschema version field would let consumers detect breaking format changes safely.
Context: we currently parse the text form with a tolerant regex per row and degrade to
unknownon anything unreadable, which works but is fragile — see
parseDoctorin agentic-kit'ssrc/lib/ruflo-components/evidence.mjs(pacphi/agentic-kit#236) if a reference for the current text shape is useful.Checked against ruflo 3.44.0:
ruflo doctor --helpoffers--fix,--install,-c/--component,--verboseand--fix-handles, but no machine-readable output.