Skip to content

Add cost-aware desk launch profiles - #13

Merged
jennyf19 merged 1 commit into
mainfrom
feat/repo-desk-profile
Aug 3, 2026
Merged

jennyf19 merged 1 commit into
mainfrom
feat/repo-desk-profile

Conversation

@jennyf19

@jennyf19 jennyf19 commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep the existing Agency-aware desk launcher and add repo / connected launch profiles
  • make repo the cost-aware default while retaining a connected escape hatch
  • dynamically discover and disable enabled plugin-scoped MCPs instead of hardcoding any environment's server names
  • pass the verified Workshop root with --add-dir so sibling desks remain readable
  • add pure launch-profile tests, CI coverage, and app/extension documentation

Why

A matched end-to-end Workshop workflow (own journal read, cross-desk artifact read, signal write, journal update, deterministic validation) produced equivalent outcomes across tool profiles.

On a tool-heavy environment, the interaction-safe MCP-disabled profile versus the full loadout measured:

  • 66.28% less input
  • 62.98% less AIU
  • 82.87% fewer tool-definition tokens
  • 53.58% lower wall-clock

The change discovers plugin MCPs at runtime, so external plain-Copilot users with no ambient plugin MCPs retain effectively the same launch, while internal Agency users avoid carrying unrelated default/plugin MCPs into every topic desk.

Safety and compatibility

  • connected profile preserves today's configured tool surface
  • discovery failure fails open to connected behavior
  • Agency remains preferred when installed; explicit unavailable engine selections fail closed
  • executable/helper paths are canonicalized outside the Workshop
  • MCP names are validated before becoming arguments
  • Windows shell fallback rejects metacharacter-bearing arguments
  • cross-desk access is limited to the already verified Workshop root

Validation

  • node --test .github/extensions/signals-dashboard/launch-profile.test.mjs
  • node --check .github/extensions/signals-dashboard/extension.mjs
  • git diff --check
  • repeated cold code review found no remaining high-confidence issues

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 83dd4f49-a03d-44a0-bdd1-8c4f54da8ec2
@jennyf19
jennyf19 merged commit 9d4ab55 into main Aug 3, 2026
1 check passed
@jennyf19
jennyf19 deleted the feat/repo-desk-profile branch August 3, 2026 23:47
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