Skip to content

workstation-v0: add status JSON validation evidence for aggregate polish warnings#125

Open
Copilot wants to merge 2 commits intomainfrom
copilot/add-status-json-validation-evidence
Open

workstation-v0: add status JSON validation evidence for aggregate polish warnings#125
Copilot wants to merge 2 commits intomainfrom
copilot/add-status-json-validation-evidence

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 2, 2026

PR #119 added aggregate polish warning integration to sourceos status but was blocked on missing CI validation evidence. This applies that integration and adds an explicit validation step to the CI smoke suite.

Changes

  • profiles/linux-dev/workstation-v0/bin/sourceos

    • Added status_check_workstation_polish() — calls check-workstation-polish.sh, appends WARNINGS for missing helpers or invalid keyboard policy
    • Wired into status_collect() alongside existing lampstand checks
  • .github/workflows/workstation-scripts.yml

    • Strengthened Smoke: sourceos status JSON parses with type assertions (not just key presence): warnings/required_missing/optional_missing are lists; ok/gnome are bools
    • Added new step Smoke: sourceos status --json warnings includes aggregate polish checks that echoes the exact commands run and emits structured PASS/FAIL output per assertion — providing the visible evidence required for merge

Schema preserved

sourceos status --json continues to emit exactly:

{"profile":"linux-dev/workstation-v0","ok":false,"gnome":false,
 "required_missing":[...],"optional_missing":[...],"warnings":[...]}

…ish warnings

- Add status_check_workstation_polish() to sourceos that consumes
  check-workstation-polish.sh and appends WARNINGS for missing helpers
  or invalid keyboard policy
- Call status_check_workstation_polish from status_collect
- Enhance CI smoke step with type assertions (warnings/required_missing/
  optional_missing are lists, ok/gnome are bools)
- Add explicit smoke step 'sourceos status --json warnings includes
  aggregate polish checks' with pass/fail evidence output

Agent-Logs-Url: https://github.com/SociOS-Linux/source-os/sessions/e1c403cd-0c1b-4d14-9aeb-48e570c3fafe

Co-authored-by: mdheller <21163552+mdheller@users.noreply.github.com>
Copilot AI changed the title [WIP] Add status JSON validation evidence for aggregate polish warnings workstation-v0: add status JSON validation evidence for aggregate polish warnings May 2, 2026
Copilot AI requested a review from mdheller May 2, 2026 18:49
@mdheller mdheller marked this pull request as ready for review May 3, 2026 01:54
Copy link
Copy Markdown
Member

mdheller commented May 5, 2026

Replay review:

This PR is still useful but non-mergeable against current main. It should be replayed, not merged as stale history.

Preserve the useful pieces:

  • sourceos status --json should surface aggregate workstation polish warnings;
  • the JSON shape should remain stable (profile, ok, gnome, required_missing, optional_missing, warnings);
  • CI should assert list/bool types and provide visible PASS/FAIL validation evidence.

Recommended action: replay this into the same fresh workstation acceptance cleanup branch as #121 and #146, then close this PR as superseded once the replacement PR is open.

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.

workstation-v0: add status JSON validation evidence for aggregate polish warnings

2 participants