Skip to content

fix: preserve pi-blackhole semantic status colours - #360

Merged
laurentftech merged 5 commits into
mainfrom
fix/blackhole-status-colours
Oct 23, 2026
Merged

laurentftech merged 5 commits into
mainfrom
fix/blackhole-status-colours

Conversation

@laurentftech

@laurentftech laurentftech commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

pi-blackhole styles its status gauges with ctx.ui.theme.fg(success/warning/error), but the embedded UI bridge returned identity stylers. Colour was lost before the existing ANSI header renderer received the text.

Supply a standalone SDK theme and decode indexed ANSI foreground colours for headless output. Prefer the built-in dark theme when its assets are available; fall back to the SDK-generated system theme in standalone bundles, where relocated theme JSON paths are unavailable. This preserves colours and prevents context binding from breaking packaged-server startup. Add a real isolated-bundle regression and browser screenshots; keep plain hover titles.

Validation on head 5d8852e: all CI jobs passed, including Linux and Windows full checks, browser and macOS/Linux confinement. Linux server: 4,418 passed, zero failed (9 skipped); targeted bridge/packaging regressions passed on both platforms. The browser suite exercises semantic warning/error colours through overflow, resize and reload; 170 tests passed. Coverage thresholds, builds, artifact checks and the three-scenario OpenSpec coverage check passed. CI: https://github.com/laurentftech/pi-outpost/actions/runs/39958090015 .

The earlier five packaged-server failures were fixed; a later unrelated init --global timeout did not reproduce in successful full runs on Linux and Windows. Actual installed pi-blackhole has not been exercised; the regression reproduces its semantic-theme API usage. Strict OpenSpec CLI validation remains unavailable locally. No merge performed.

Documentation impact: README documents semantic styling, indexed colours and the asset-free bundled fallback. Bridge/runtime comments and openspec/changes/fix-semantic-extension-status-colours describe the corrected contract and test evidence. OpenLore unavailable; targeted inspection used the AGENTS.md fallback.

@laurentftech
laurentftech marked this pull request as ready for review October 23, 2026 13:54
@safedep

safedep Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

View complete scan results →

This report is generated by SafeDep GitHub App

@laurentftech
laurentftech merged commit 089ad2c into main Oct 23, 2026
13 checks passed
@laurentftech
laurentftech deleted the fix/blackhole-status-colours branch October 23, 2026 14:14
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