Skip to content

workstation-v0: extend aggregate polish helper with dock and shortcut signals#146

Open
Copilot wants to merge 2 commits intomainfrom
copilot/extend-aggregate-polish-helper-again
Open

workstation-v0: extend aggregate polish helper with dock and shortcut signals#146
Copilot wants to merge 2 commits intomainfrom
copilot/extend-aggregate-polish-helper-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 2, 2026

The aggregate polish helper (check-workstation-polish.sh) only surfaced mac_polish.* and keyboard_policy.* signals, leaving the dock/extension and shortcut-map validators outside the aggregate plane consumed by status/doctor.

Changes

  • check-workstation-polish.sh — adds two emit_section calls to consume the existing component helpers:

    emit_section shortcut_map "$pdir/bin/check-shortcut-map-contract.sh"
    emit_section gnome_dock   "$pdir/bin/check-gnome-dock-extension.sh"

    Emits shortcut_map.* and gnome_dock.* prefixed key=value lines following the existing pattern.

  • check-shortcut-map-contract.sh — fixes a pre-existing off-by-one in repo_root: was ascending 3 levels from bin/ (landing at profiles/) instead of 4 (repo root), causing shortcut_map=missing unconditionally.

  • workstation-polish-validation.yml — adds both new helpers to paths: triggers, extends the syntax-check step to cover them, and adds smoke assertions for shortcut_map.helper=present, shortcut_map.shortcut_map=present, gnome_dock.helper=present, and gnome_dock.gnome_dock_extension_lane_ok=.

… signals

- Add shortcut_map and gnome_dock sections to check-workstation-polish.sh
- Fix off-by-one in check-shortcut-map-contract.sh repo_root (3→4 levels up)
- Update workstation-polish-validation.yml: paths triggers, syntax checks,
  and smoke assertions for the two new aggregate sections

Agent-Logs-Url: https://github.com/SociOS-Linux/source-os/sessions/230dd866-6db4-4387-973f-323e70df10cc

Co-authored-by: mdheller <21163552+mdheller@users.noreply.github.com>
Copilot AI changed the title [WIP] Update aggregate polish helper to include dock and shortcut signals workstation-v0: extend aggregate polish helper with dock and shortcut signals May 2, 2026
Copilot AI requested a review from mdheller May 2, 2026 21:01
@mdheller mdheller marked this pull request as ready for review May 3, 2026 01:53
Copy link
Copy Markdown
Member

mdheller commented May 5, 2026

Replay review:

This PR is the preferred version of the aggregate-polish helper work because it includes the check-shortcut-map-contract.sh repo-root traversal fix that #144 lacked. However, it is currently non-mergeable against main and should not be merged as stale history.

Recommended action:

  1. Preserve this PR as the source patch for the aggregate-polish replay.
  2. Replay the following onto a fresh branch from current main:
    • add shortcut_map and gnome_dock sections to check-workstation-polish.sh;
    • fix check-shortcut-map-contract.sh to ascend to the repository root correctly;
    • extend workstation-polish-validation.yml path filters, syntax checks, and smoke assertions.
  3. Close this PR after the fresh replay PR is opened and references this PR as the source.

This keeps the queue clean without losing the useful off-by-one fix.

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: extend aggregate polish helper with dock and shortcut signals

2 participants