Repository navigation
Add native Copilot plugin packaging - #191
Open
peaceful-weapon wants to merge 1 commit into
Open
peaceful-weapon wants to merge 1 commit into
peaceful-weapon wants to merge 1 commit into
Conversation
Add a Copilot-specific plugin and marketplace while preserving the Claude and Codex envelopes. Keep release versions and copy synchronized, exercise version writes, and verify native discovery with a keyless install smoke. Co-authored-by: Copilot App <[email protected]> Copilot-Session: f1ac36f8-62a1-4628-be68-8e78815bd49e
Member
|
Thanks @peaceful-weapon ! I’m picking up this review too. I’ll start with the packaging changes here, then work through the host mapping and skill discovery changes proposed in #192 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #190
Summary
.github/plugin/plugin.jsonand anopenprosemarketplace containingopen-prose, both tied to the existing skill release and copy-sync metadata.disposable tree.
@github/[email protected]that proves native manifest precedence with theClaude fallback present.
github-copilotin the existingscheduled skills-CLI smoke.
Use Case / Run Evidence
The baseline documents Claude Code and Codex but has no Copilot envelope or
Copilot installation guidance. Copilot CLI can already install OpenProse
through its Claude marketplace fallback; this contribution makes the intended
Copilot packaging explicit without changing execution semantics.
On Windows, Copilot CLI
1.0.99-2registered the candidate checkout, browsedopenprose, installedopen-prose@openproseat0.18.1, reported it enabledwith
source: live, and discovered theopen-proseplugin skill. Allinstallation probes used disposable configuration/cache homes.
The CI fixture changes the staged native manifest's version, removes the
staged marketplace entry's optional version, and renames only the staged Claude
marketplace. Observing
openproseand the native sentinel version provesselection of
.github/plugin/rather than a successful fallback installation.The scenario requires no inference request or model key.
The install script also passed verbatim in WSL Ubuntu with Linux Node
v22.23.4and stable Copilot1.0.102installed into a temporary npm prefix.WSL had no default Copilot home;
GH_TOKEN,GITHUB_TOKEN, andCOPILOT_GITHUB_TOKENwere unset, and configuration/cache homes were isolated.Downloaded runtimes and temporary directories were removed.
Design Boundary
This is one distribution responsibility: manifests, release/copy tracking,
installation checks and documentation. Claude/Codex manifests and marketplaces,
AGENTS.md, and the skill's authoritativeSKILL.mdrouter are unchanged.The initial envelope uses the existing skill version
0.18.1; this is not arelease and does not change
runtime_contract: 2.The trigger covers
skills/open-prose/**because the smoke stages the wholeskill tree.
The Copilot marketplace exposes
plugins[0].version. The existing bump scriptread nested fields but wrote only literal top-level field names, so its
line-preserving writer now uses a unique leaf key while checks keep the full
pointer. A disposable-tree test exercises the writer across all five skill
version surfaces.
Copy sync remains configuration-driven:
.plugin-meta.jsonadds the nativedestinations to the existing
scripts/sync-copy.shmechanism without changingthat script.
The additive legacy Copilot manifest avoids changing root-manifest selection in
existing clients. A root Agent Plugins migration remains separately reviewable;
current Codex supports retaining its presentation overlay, but that behavior
should be checked across supported clients and versions before migration.
Host primitive mappings and additional
### Skills/### Toolsresolutionbelong to the sibling contribution, Define Copilot host mapping and skill
discovery. A Copilot SDK bounded-activation runner belongs in
openprose/reactor, not this repository. The umbrella is tracked in #190.Examples
Install through the repository's native Copilot marketplace:
Then start a new Copilot session and enter
prose run <file.prose.md>in chat.The command is interpreted inside the agent session, not by a
proseshellbinary. App users can also manage installation through Customize > Plugins.
For a skill-only installation:
Testing
pnpm install --frozen-lockfilewith pnpm10.34.5v22.23.4; lockfile unchangedpnpm testpnpm test./scripts/bump-version.sh --check./scripts/sync-copy.sh --checkplugin-manifest.ymlvalidation stepscopilot-installsmoke scriptv22.23.4and stable Copilot1.0.102from a temporary npm prefix0.18.20.18.1; live-source plugin enabled and skill discovered[email protected] --agent github-copilotinstall.agents/skills/open-prose[email protected]--agent codex --agent github-copilot --agent claude-codeselection.agents/skillsand.claude/skillsmatch sourcecopilot plugin update1.0.102and correctly reported a live-source plugin needs no update; RELEASE syntax retainedgit diff --checkand existing-envelope diffAGENTS.mdorSKILL.mdThe 11 Windows baseline failures are seven CRLF-sensitive facet assertions plus
four path-separator/harness-surface assertions. None fails on Linux.
No Claude runtime install/run was attempted. Existing Claude/Codex manifest
validators pass and their envelope files are unchanged.
Residual Risk / Follow-ups
The install smoke depends on downloading stable
@github/[email protected]anddoes not prove model execution, isolated renders, question/resume behavior,
publication correctness, or continuous operation.
Baseline VM conformance is PARTIAL across 12 CLI/SDK runs.
task-basedisolated renders executed an overlapping DAG with verified hashes and receipts,
and the SDK
onUserInputRequestpath worked. Envelope persistence depended onthe model,
~/.copilot/skillswas not resolved, and CLI processes returnedexit 0 on semantic failure. VS Code and cloud execution were untested.
Full transcripts available on request.
The new workflow steps were replayed locally; GitHub-hosted execution remains
subject to this pull request's CI results.
VS Code can continue discovering the existing Claude envelope. App, VS Code,
cloud and SDK discovery paths are documented from current host references;
the baseline SDK execution evidence above is partial, and app UI, VS Code and
cloud execution remain untested.
AGENTS.md's Codex-only framing and host-catalogskill resolution remain explicit follow-ups.
Prepared with GitHub Copilot agent sessions; publication approved by @peaceful-weapon.