Repository navigation
Description
Overview
This epic tracks the implementation of roadmap section 12: Add JSON output format to all commands, with the goal of making JSON the default output format once complete.
New Decision: JSON as Future Default
Once all commands support JSON output, the default will switch from text to json. This prioritizes AI agent and automation UX over human UX — human UX is increasingly the use of AI agents.
The switch to JSON default cannot happen until all commands are implemented (otherwise the application panics for unimplemented commands).
Roadmap Reference
From docs/roadmap.md - section 12:
Add machine-readable JSON output format to all commands to improve automation and AI agent integration. Once all commands support JSON output, JSON will become the default format.
Context: JSON output enables programmatic parsing, making it easier for scripts and AI agents to extract specific information (like IP addresses, service URLs, environment names) without parsing human-readable text.
Specification
See detailed specification: docs/issues/348-epic-add-json-output-format-support.md
Tasks
Phase 1 - High-Value Commands ✅ Completed
- Add JSON Output to create Command #349 -
createcommand - Add JSON output to provision command #352 -
provisioncommand - Add JSON output to show command #355 -
showcommand - Add JSON output to run command #357 -
runcommand - Add JSON Output to List Command #359 -
listcommand
Phase 2 - Remaining Commands
- Add JSON output format to
configurecommand #371 -configurecommand (12.6) - Add JSON output to
releasecommand #377 -releasecommand (12.7) - Add JSON output to
testcommand #380 -testcommand (12.8) - Add JSON output to
destroycommand (12.9) #386 -destroycommand (12.9) - Add JSON output to
validatecommand (12.10) #390 -validatecommand (12.10) - Add JSON output to
rendercommand (12.11) #392 -rendercommand (12.11) - Add JSON output to
purgecommand (12.12) #394 -purgecommand (12.12) - Add JSON output to
registercommand (12.13) #396 -registercommand (12.13) - Switch default output format from
texttojson(12.14) #398 - Switch default format fromtexttojson(12.14)
(Task issues will be created and linked as work progresses)
Related
- Parent: Roadmap #1 (Project Roadmap)
- Specification: docs/issues/348-epic-add-json-output-format-support.md
Activity
docs: add epic specification for #348 JSON output format support
[-]Add JSON output format support[/-][+]EPIC: Add JSON output format support[/+]josecelano commentedon Feb 13, 2026
Task #349 created and linked to this epic:
12.1 Add JSON output to
createcommand - #349Specification: docs/issues/349-add-json-output-to-create-command.md
Important Architecture Note: Task #349 requires refactoring first (Phase 0) to extract the view layer for the
createcommand before adding JSON support. This ensures consistency with other commands (provision,list,show) that already follow proper MVC separation.docs: [#349] add task specification for JSON output to create command
Merge #351: Add JSON output format support to create command
Merge #353: feat: [#352] add JSON output to provision command
Merge #354: refactor: separate view data from views in presentation l…
19 remaining items
josecelano commentedon Feb 23, 2026
✅ Progress Update: Issue #380 completed and merged via PR #383
Completed:
testcommand #380 -testcommand (12.8)The test command now supports JSON output format via the
--output-format jsonflag. This includes:environment_name,instance_ip,result, anddns_warningsfieldstestcommand (corrected existing inaccuracies)create → provision → configure → release → run → test --output-format json ✅Bug found during testing: #382 - docker-compose template renders an invalid empty
networks:key for the tracker service in minimal configs (SQLite, no domains, no Prometheus).Next Task:
Ready to start
destroycommand (12.9)josecelano commentedon Feb 26, 2026
✅ Task Created: #386 - Add JSON output to
destroycommand (12.9)Created comprehensive issue specification following the same pattern as the completed test command (#380). Ready for implementation.
Note: The
destroycommand accepts environments in any state, soinstance_ipin the JSON output may benullwhen the environment was never provisioned. The spec covers this nullable field and the text view'sN/Afallback. The purge hint shown after text output is suppressed in JSON mode.destroycommand (12.9) #386Merge #387: feat: add JSON output to `destroy` command (#386)
validatecommand (12.10) #390Merge #391: feat: add JSON output to validate command (12.10)
rendercommand (12.11) #392Merge #393: feat: add JSON output to render command (12.11)
purgecommand (12.12) #394registercommand (12.13) #396Merge #397: feat: add JSON output to `register` command (12.13) #396
texttojson(12.14) #398Merge #399: feat: switch default output format from `text` to `json` …
josecelano commentedon Feb 27, 2026
All subissues completed.