Console CLI ↔ UI Parity Matrix

Audience: Docs Guild, Console Guild, CLI Guild, DevOps automation.
Scope: Track feature-level parity between the StellaOps Console and the stella CLI, surface pending work, and describe the parity CI check owned by CONSOLE-DOC-23-502.

Status key:

  • ✅ Available – command exists in StellaOps.Cli and is documented.
  • 🟡 In progress – command implemented but still under active delivery (task status DOING).
  • 🟩 Planned – command spec’d but not yet implemented (task TODO).
  • ⚪ UI-only – no CLI equivalent required.
  • 🔴 Gap – CLI feature missing with no active task; file a task before sprint exit.

1 · Navigation & Tenancy

UI capabilityCLI command(s)StatusNotes / Tasks
Login / token cache status (/console/profile)stella auth login, stella auth status, stella auth whoami✅ AvailableCommand definitions in CommandFactory.BuildAuthCommand.
Fresh-auth challenge for sensitive actionsstella auth fresh-auth✅ AvailableReferenced in /docs/ui/admin.md.
Tenant switcher (UI shell)--tenant flag across CLI commands✅ AvailableAll multi-tenant commands require explicit --tenant.
Tenant creation / suspension(pending CLI)🟩 PlannedNo stella auth tenant * commands yet – track via CLI-TEN-47-001 (scopes & tenancy).

2 · Policies & Findings

UI capabilityCLI command(s)StatusNotes / Tasks
Policy simulation diff, explainstella policy simulate🟡 In progressImplementation present; task CLI-POLICY-20-002 marked DOING.
Promote / activate policystella policy promote, stella policy activate🟩 PlannedSpec tracked under CLI-POLICY-23-005.
History & explain treesstella policy history, stella policy explain🟩 PlannedCLI-POLICY-23-006.
Findings explorer exportstella findings get, stella findings export🟩 PlannedPart of CLI-POLICY-20-003.
Explain drawer JSONstella policy simulate --format json🟡 In progressSame command; JSON output flagged for CLI tests.

3 · Runs & Evidence

UI capabilityCLI command(s)StatusNotes / Tasks
Run retry / cancelstella runs retry, stella runs cancel🟩 PlannedIncluded in export suite task CLI-EXPORT-35-001.
Manual run submit / previewstella runs submit, stella runs preview🟩 PlannedCLI-EXPORT-35-001.
Evidence bundle exportstella runs export --run <id> --bundle🟩 PlannedCLI-EXPORT-35-001.
Run status pollingstella runs status🟩 PlannedSame task.

4 · Advisories, VEX, SBOM

UI capabilityCLI command(s)StatusNotes / Tasks
Advisory observations searchstella vuln observations✅ AvailableImplemented via BuildVulnCommand.
Advisory linkset exportstella advisory linkset show/export🟩 PlannedCLI-LNM-22-001.
VEX observations / linksetsstella vex obs get/linkset show🟩 PlannedCLI-LNM-22-002.
SBOM overlay exportstella sbom overlay apply/export🟩 PlannedScoped to upcoming SBOM CLI sprint (SBOM-CONSOLE-23-001/002 + CLI backlog).

5 · Downloads & Offline Kit

UI capabilityCLI command(s)StatusNotes / Tasks
Manifest lookup (Console Downloads)stella downloads manifest show --artifact <id>🟩 PlannedDelivered with CONSOLE-DOC-23-502 + CLI parity commands.
Mirror digest to OCI archivestella downloads mirror --artifact <id> --to <target>🟩 PlannedSame task bundle (CONSOLE-DOC-23-502).
Console health checkstella console status --endpoint <url>🟩 PlannedTracked in CONSOLE-DOC-23-502; interim use curl as documented.
Offline kit import/exportstella offline kit import, stella offline kit export✅ AvailableImplemented (see CommandHandlers.HandleOfflineKitImportAsync/HandleOfflineKitPullAsync).

6 · Admin & Security

UI capabilityCLI command(s)StatusNotes / Tasks
Client creation / rotationstella auth client create (planned)🟩 PlannedPending tenancy backlog CLI-TEN-47-001.
Token revokestella auth revoke export/verify✅ AvailableAlready implemented.
Audit exportstella auth audit export🟩 PlannedNeeds CLI work item (Authority guild).
Signing key rotationstella auth signing rotate🟩 PlannedTo be added with AUTH-CONSOLE-23-003 follow-up.

7 · Telemetry & Observability

UI capabilityCLI command(s)StatusNotes / Tasks
Telemetry dashboard paritystella obs top, stella obs trace, stella obs logs🟩 PlannedCLI observability epic (CLI-OBS-51-001, CLI-OBS-52-001).
Incident mode toggle`stella obs incident-mode enabledisablestatus`
Verify console telemetry healthstella console status --telemetry🟩 PlannedPart of CONSOLE-DOC-23-502.

8 · Parity Gaps & Follow-up

  • Tenant and client lifecycle CLI: create/suspend tenants, manage clients. Coordinate with Authority CLI epic (CLI-TEN-47-001, CLI-TEN-49-001).
  • Downloads parity commands: blocked on CONSOLE-DOC-23-502 and DevOps pipeline DOWNLOADS-CONSOLE-23-001.
  • Policy promotion/history: requires completion of CLI policy epic (CLI-POLICY-23-005/23-006).
  • Runs/evidence exports: waiting on CLI-EXPORT-35-001.
  • Observability tooling: deliver stella obs commands before enabling parity CI checks for telemetry.

Document updates should occur whenever a row changes status. When promoting a command from Planned → Available, ensure:

  1. CLI command merged with help text.
  2. Relevant UI doc references updated to remove “pending” callouts.
  3. This matrix row status updated to ✅ and task IDs moved to release notes.

9 · Parity CI Check (CONSOLE-DOC-23-502)

  • Owner: Docs Guild + DevEx/CLI Guild.
  • Artefact: Planned .gitea/workflows/cli-parity-console.yml.
  • What it does: Runs scripts/check-console-cli-parity.sh (to be committed with the workflow) which:
    1. Parses this matrix (YAML view exported from Markdown) to identify rows marked ✅.
    2. Executes stella --help to confirm listed commands exist.
    3. Optionally triggers smoke commands in sandbox mode (e.g., stella policy simulate --help).
  • Failure action: Workflow fails when a listed command is missing or when a row marked ✅ still contains “pending” notes. Update the matrix or fix CLI implementation before merging.

Until the workflow lands, run the checker locally:

# Pending CONSOLE-DOC-23-502 – placeholder command
./scripts/check-console-cli-parity.sh

The script should emit a parity report that feeds into the Downloads workspace (kind = "parity.report").


10 · Compliance checklist

  • [ ] Matrix reflects latest command availability (statuses accurate, task IDs linked).
  • [ ] Notes include owning backlog items for every 🟩 / 🟡 row.
  • [ ] CLI commands marked ✅ have corresponding entries in /docs/modules/cli/guides/*.md or module-specific docs.
  • [ ] CI parity workflow description kept in sync with CONSOLE-DOC-23-502 implementation.
  • [ ] Downloads workspace links to latest parity report.
  • [ ] Install / observability guides reference this matrix for pending CLI parity.
  • [ ] Offline workflows capture CLI fallbacks when commands are pending.
  • [ ] Docs Guild review recorded in sprint log once parity CI lands.

11 · References

  • /docs/ui/*.md – per-surface UI parity callouts.
  • /docs/install/docker.md – CLI parity section for deployments.
  • /docs/observability/ui-telemetry.md – telemetry metrics referencing CLI checks.
  • /docs/security/console-security.md – security metrics & CLI parity expectations.
  • src/Cli/StellaOps.Cli/TASKS.md – authoritative status for CLI backlog.
  • /docs/updates/2025-10-28-docs-guild.md – coordination note for Authority/Security follow-up.

Last updated: 2025-10-28 (Sprint 23).