Console runtime root migration#
Console now reads and writes generated local state only under .kontourai/console.
It does not read, merge, or write the former .kontour tree.
Authored telemetry descriptors remain visible as console.telemetry.json at the
repository or configured product root. Do not move those descriptors into the
generated runtime tree.
The former telemetryFlowAgentsRoot option is removed. Configure the Flow
Agents repository root through telemetryProductRoots or
CONSOLE_TELEMETRY_PRODUCT_ROOTS; its generated artifacts remain under
.kontourai/flow-agents inside that product root.
One-time operator migration#
Stop every Console hub, producer, bridge, and telemetry writer for the repository.
Back up the repository and confirm that
.kontourai/consoleand.kontourai/console.migratingdo not exist.Reject the migration if the old tree contains symbolic links:
find .kontour -type l -printContinue only when that command prints nothing.
Stage a copy without modifying the source tree:
mkdir -p .kontourai cp -R .kontour .kontourai/console.migratingValidate the staged event and projection records:
npx --package @kontourai/console console-inspect local .kontourai/console.migratingPromote the staged tree only after validation succeeds:
mv .kontourai/console.migrating .kontourai/console npx --package @kontourai/console console-inspect local
Keep the old .kontour tree as rollback material until the new Console version
has been verified. Current Console versions ignore it, so leaving it in place
does not create dual-root behavior.