Skip to content

linux-dev/workstation-v0: sourceos status JSON output + openable reports#33

Open
mdheller wants to merge 1 commit intofeat/linux-dev-workstation-v0-sourceos-clifrom
feat/linux-dev-workstation-v0-status-json
Open

linux-dev/workstation-v0: sourceos status JSON output + openable reports#33
mdheller wants to merge 1 commit intofeat/linux-dev-workstation-v0-sourceos-clifrom
feat/linux-dev-workstation-v0-status-json

Conversation

@mdheller
Copy link
Copy Markdown
Member

STACKED on PR #32 (base: feat/linux-dev-workstation-v0-sourceos-cli).

Adds a machine-readable and launcher-friendly status surface to the profile-local sourceos helper CLI.

Changes:

  • sourceos status:
    • default: human summary
    • --json: JSON status report (exit 0 OK, exit 2 FAIL)
    • --open: writes $XDG_CACHE_HOME/sourceos/status.json and opens it
    • --write <path>: writes JSON to path
  • sourceos doctor --open: captures doctor output to $XDG_CACHE_HOME/sourceos/doctor.txt and opens it

This enables Albert to surface workstation health without needing a terminal, and provides a stable JSON contract for future agentic ingestion.

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