Skip to content

feat(cli): v0.26.0 DQS Workspace UI and JSON output - #186

Merged
PythonWoods-Dev merged 3 commits into
mainfrom
feat/v0.26-dqs-ui
Jul 26, 2026
Merged

feat(cli): v0.26.0 DQS Workspace UI and JSON output#186
PythonWoods-Dev merged 3 commits into
mainfrom
feat/v0.26-dqs-ui

Conversation

@PythonWoods-Dev

Copy link
Copy Markdown
Contributor

Objective

Deploy minor release 0.26.0 to introduce the DQS Workspace UI foundation, enabling asynchronous, deterministic score computation for IDE integrations.

Architectural Changes

  • JSON Output Shorthand (ECOSYSTEM-FEAT-002): Added the --json alias to the zenzic score command. This suppresses all rich text output and emits a clean JSON object (ScoreReport.to_dict()) to stdout, facilitating programmatic consumption by thin clients (e.g., VS Code) while preserving the Radical Unawareness invariant (ADR-075).
  • Documentation (DOCS-IA-020): Updated cli.md to document the new flag and the complete JSON output schema.
  • Roadmap Alignment (ROADMAP-ALIGN-004): Updated ROADMAP.md to reflect the 0.26.0 milestone shift.

Verification

  • uv run zenzic check all --strict passed (DQS 98/100).
  • pytest suite passed (1484/1484).

…T-002)

Adds a --json flag to `zenzic score` as an ergonomic shorthand for
--format json. When passed, it overrides the output format to JSON before
any rendering logic runs, suppressing all rich/text output and emitting a
single deterministic JSON object on stdout.

Intended for programmatic consumers (e.g., editor integrations) that need
to parse the score without grepping through rich terminal output. The flag
is functionally identical to `--format json` / `-f json` — same code path,
same ScoreReport.to_dict() schema, same exit code contract.

Schema emitted on stdout:
  {"project": "zenzic", "score": 98, "status": "success",
   "categories": [...], "suppression_debt_pts": 2, ...}

Architectural invariants preserved:
- Radical Unawareness (ADR-075): Core emits JSON to stdout, unaware of consumer.
- Zero Subprocess: no child processes spawned by Core.

Part of: ECOSYSTEM-FEAT-002-DQS-WORKSPACE-UI (v0.26.0 Deterministic Quality Platform)

Signed-off-by: PythonWoods <gianluca.catalano@gmail.com>
Per la Mirror Law (ADR-020), i runbook e la documentazione devono riflettere
esattamente le procedure e le flag CLI reali.

Aggiornamenti a docs/reference/cli.md — tab 'zenzic score':
- Aggiunta riga --json alla tabella dei flag: shorthand for --format json,
  per consumer programmatici (editor integration, shell scripts).
- Documentati i flag precedentemente mancanti: --breakdown, --save,
  --check-stamp, --no-header, --ci (completamento della tabella).
- Aggiunto esempio 'zenzic score --json' nel blocco di usage examples.
- Aggiunta sezione collassabile 'JSON Output Schema (--json)' con lo schema
  completo di ScoreReport.to_dict() e i valori possibili di 'status'.

Verificato con: just docs-build (mkdocs build --strict, 0 errori).

Part of: ECOSYSTEM-FEAT-002-DQS-WORKSPACE-UI (v0.26.0 Deterministic Quality Platform)

Signed-off-by: PythonWoods <gianluca.catalano@gmail.com>
…(ROADMAP-ALIGN-004)

Realigns public ROADMAP.md and internal 0. Priority Table.md:
- Promotes DQS Workspace UI to [v0.26] milestone.
- Shifts Deterministic Quality Platform to [v0.27].
- Shifts Governance & Extensibility to [v0.28].
- Shifts Ecosystem Expansion to [v0.29].
- Shifts Operational Excellence to [v0.30].
- Marks Prompt 8 (DQS Workspace UI) as [x] Completata (v0.26.0).

Verifications:
- zenzic check all --strict: DQS 98/100 (Passed)
- just docs-build: 0 errors (Passed)

Architectural invariants preserved: Mirror Law (ADR-020).

Part of: ROADMAP-ALIGN-004-V026-SHIFT

Signed-off-by: PythonWoods <gianluca.catalano@gmail.com>
@PythonWoods-Dev
PythonWoods-Dev merged commit 29b7075 into main Jul 26, 2026
8 checks passed
@PythonWoods-Dev
PythonWoods-Dev deleted the feat/v0.26-dqs-ui branch July 26, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant