Skip to content

EPIC: Add JSON output format support #348

Closed
13 of 13 issues completed
Closed

Description

@josecelano

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

Phase 2 - Remaining Commands

(Task issues will be created and linked as work progresses)

Related

Sub-issues

Sub-issues

13 of 13 Issues completed
Loading 13 sub-issues

Activity

  1. added a commit that references this issue on Feb 13, 2026
  2. changed the title [-]Add JSON output format support[/-] [+]EPIC: Add JSON output format support[/+] on Feb 13, 2026
  3. josecelano commented on Feb 13, 2026

    @josecelano
    MemberAuthor

    Task #349 created and linked to this epic:

    12.1 Add JSON output to create command - #349

    Specification: 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 create command before adding JSON support. This ensures consistency with other commands (provision, list, show) that already follow proper MVC separation.

  4. added 2 commits that reference this issue on Feb 13, 2026
  5. self-assigned this
    on Feb 16, 2026
  6. added 2 commits that reference this issue on Feb 16, 2026
  7. 19 remaining items

  8. josecelano commented on Feb 23, 2026

    @josecelano
    MemberAuthor

    ✅ Progress Update: Issue #380 completed and merged via PR #383

    Completed:

    The test command now supports JSON output format via the --output-format json flag. This includes:

    • JSON view with environment_name, instance_ip, result, and dns_warnings fields
    • Text view with human-readable table output
    • Updated user documentation for the test command (corrected existing inaccuracies)
    • Full deployment workflow verified manually: 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 destroy command (12.9)

  9. josecelano commented on Feb 26, 2026

    @josecelano
    MemberAuthor

    ✅ Task Created: #386 - Add JSON output to destroy command (12.9)

    Created comprehensive issue specification following the same pattern as the completed test command (#380). Ready for implementation.

    Note: The destroy command accepts environments in any state, so instance_ip in the JSON output may be null when the environment was never provisioned. The spec covers this nullable field and the text view's N/A fallback. The purge hint shown after text output is suppressed in JSON mode.

  10. added a commit that references this issue on Feb 26, 2026
  11. added a commit that references this issue on Feb 26, 2026
  12. added a commit that references this issue on Feb 26, 2026
  13. added a commit that references this issue on Feb 27, 2026
  14. added a commit that references this issue on Feb 27, 2026
  15. josecelano commented on Feb 27, 2026

    @josecelano
    MemberAuthor

    All subissues completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementepicroadmap

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions