v0.40.2
v0.40.2
A patch release that finishes the v0.40.0 config consolidation for the CLI.
aft doctor / setup now read config from the right place
v0.40.0 moved AFT config to the shared CortexKit location (~/.config/cortexkit/aft.jsonc), but the aft CLI (doctor, setup, doctor lsp) was still looking in the old per-harness directories (~/.config/opencode, ~/.pi/agent). Since the migration renames the legacy file aside, aft doctor reported your config as "(not set)" even when you had a valid one, and aft setup wrote $schema to the dead path.
The CLI now resolves AFT config from the same canonical path the plugin uses, so the two always agree. This also fixes a fresh-install case where aft setup could create aft.json (which the plugin doesn't read) instead of aft.jsonc.
No action needed. Your harness config (opencode.jsonc) and tui.jsonc are unaffected.