Skip to content

fix(providers): discover skills in the active workspace - #310

Merged
rynfar merged 5 commits into
pylonfrom
upstream/2026-09-06-workspace-skills
Sep 6, 2026
Merged

fix(providers): discover skills in the active workspace#310
rynfar merged 5 commits into
pylonfrom
upstream/2026-09-06-workspace-skills

Conversation

@rynfar

@rynfar rynfar commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Project skills were missing from the composer, and large OpenCode inventories could be truncated into an empty list. This ports four upstream fixes for workspace discovery across Codex, Claude, Cursor, Grok, and OpenCode, including mobile composers and externally symlinked Cursor skill packages.

Pylon keeps its live session command catalog, interaction controls, provider capacity ownership, and exact session admission. Discovery belongs to the reactor scope. Failed Cursor scans remain retryable instead of caching an empty session catalog. Prime keeps its existing session resource controls.

Validation: focused provider, shared-client, mobile-menu, and reactor tests pass; contracts, shared-client, server, web, and mobile typechecks pass; targeted lint passes.

Upstream: #8778, #9180, #9585, #9420.

Integrated Chromium verification used a controlled workspace-scoped provider snapshot to verify composer skill visibility and scope labels. Server discovery itself is covered independently by the focused provider tests. No live provider invocation or native-device verification is claimed.

Client verification evidence

skills-before.png

skills-after.png

skills-and-quit-verified.webm

Model: GPT-6 Astra. Harness: Codex.

UtkarshUsername and others added 5 commits September 6, 2026 09:50
(cherry picked from commit 80a14b6588f0e856983e6d10002cde9e00e9d3e2)
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
(cherry picked from commit 15fea6c5f40331c8325f33bd08b2dcbf924e935a)
… pipe truncation (#9585)

(cherry picked from commit 2152d44de2db30a6bae965b0afd30be080e5c872)
(cherry picked from commit 087cfb8ae262f344f7e409f5a8c0eda6f0ef12f9)
@github-actions github-actions Bot added size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Sep 6, 2026
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 13.8 KiB 13.8 KiB +25 B (+0.2%) 15.1 KiB
Codex Thread snapshot wire 7.1 KiB 7.1 KiB +13 B (+0.2%) 7.3 KiB
Codex Live turn WebSocket wire 6.7 KiB 6.7 KiB +12 B (+0.2%) 7.8 KiB
Codex Live turn WebSocket decoded 57.4 KiB 57.4 KiB 0 B (0.0%) 66.4 KiB
Codex Live turn messages 10 10 0 (0.0%) 21
Claude Total thread wire 13.6 KiB 13.8 KiB +141 B (+1.0%) 15.1 KiB
Claude Thread snapshot wire 7.1 KiB 7.1 KiB −12 B (−0.2%) 7.3 KiB
Claude Live turn WebSocket wire 6.5 KiB 6.7 KiB +153 B (+2.3%) 7.8 KiB
Claude Live turn WebSocket decoded 57.3 KiB 58.2 KiB +884 B (+1.5%) 66.4 KiB
Claude Live turn messages 8 9 +1 (+12.5%) 21

Baseline: 50c1de0 · PR result: 8a44ea6 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 111.2 KiB
  • Claude decoded thread snapshot: 111.9 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@rynfar
rynfar marked this pull request as ready for review September 6, 2026 18:12
@rynfar
rynfar merged commit a1363f9 into pylon Sep 6, 2026
19 checks passed
@rynfar
rynfar deleted the upstream/2026-09-06-workspace-skills branch September 6, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants