Repository navigation
feat(setup): offer the Apache Incubator's marketplace to ASF projects - #2383
Merged
Merged
Conversation
9 tasks done
- Refresh the ASF catalogue of Incubator skills from apache/incubator: every skill is now a directory (untagged rather than single-file) and all eleven are listed in the Incubator's Claude Code, Codex and Copilot marketplaces. - Record the marketplace name, apache-incubator, which all three catalogs use, on the descriptor (marketplace: apache-incubator), and rename the releasecheck descriptor from apache-incubator to apache-incubator-releasecheck, matching its siblings and freeing the name for the marketplace. - For an ASF project, install Step M5 and a marketplace update offer the Incubator's marketplace once per agent: the skills it lists for that agent (minus those already installed), the add command and how to install a skill from it, printed and never run. A pinned-snapshot update points once at the catalogue and setup skill-sources. Both are recorded in ~/.cache/apache-magpie/companions-offered. - Two eval cases for the offer: an ASF project gets it, a non-ASF project does not. Generated-by: Claude Opus 5
- Decide "ASF project" with the fail-closed parser the ASF network step uses, through a new setup_preflight.organization_network --is-asf flag, so the project template's examples and a TODO value never count. - Offer nothing when every Incubator skill for the agent is already installed; keep them all, and say so, when the plugin list cannot be read; skip the record when the offered-file cannot be written. - Say in the offer and the catalogue that a marketplace install tracks apache/incubator's default branch, with no tag, no commit pin and nothing Magpie verified. - Spell the offer's rules out in update Step 0b rather than only pointing at install, and give the snapshot pointer its own paragraph with the snapshot command, /magpie-setup skill-sources. - check-skill-source-drift.py reads each catalog's own name and reports a descriptor whose marketplace differs. Generated-by: Claude Opus 5
The --is-asf calls named the module without PYTHONPATH, so under python3 -P they could not import setup_preflight. They now set it to the installed pre-flight checker's parent directory, as every other pre-flight call in install and update does. Generated-by: Claude Opus 5
…the plugin Install Step V.2 copied the read-only gatherer agent from <framework>/tools/agent-isolation/agents/, a path no marketplace install had, which the tools-plugin check flagged. The magpie-security-tools plugin now ships the agent file, and Step V.2 copies it from the installed plugin through its stable link (~/.claude/magpie/security-tools/agent-isolation/agents/), or from an unmodified framework checkout, never from the <framework> tree under ~/.cache/apache-magpie/framework/: that tree is writable from the sandbox, and the agent's hook runs outside it. The check-family-plugins hook now matches the agent file, so its plugin copy never goes stale, and doctoc leaves the copy's frontmatter alone. Generated-by: Claude Opus 5
potiuk
force-pushed
the
feat/incubator-marketplace-offer
branch
from
November 26, 2026 22:15
ce41e67 to
08cd8f7
Compare
potiuk
enabled stacked auto-merge (squash)
November 26, 2026 22:17
4 tasks done
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.
Summary
The Apache Incubator now ships every one of its skills as a plugin in its own Claude Code, Codex and Copilot marketplaces (the
skills-as-directorieschange inapache/incubator). Magpie's ASF catalogue still described most of them as single files nobody could install, and nothing pointed an ASF project at them. This refreshes the catalogue and offers the marketplace, once, during setup.tools/dev/check-skill-source-drift.py: nine skills move fromsingle-filetountagged(each is now a directory, not yet tagged), and every published skill listsclaude-code,codex,copilot(evenreleasecheckwas missing Copilot). The note that moving them into directories was still to be proposed to the Incubator is replaced.releasecheck-0.5.1stays the only pin: no new tags exist.apache-incubator; the descriptor now carriesmarketplace: apache-incubator, so a skill installs as<skill>@apache-incubator.apache-incubatortoapache-incubator-releasecheck, matching theapache-incubator-<skill>ids of the skills pinned after it and freeingapache-incubatorfor the marketplace. A project that already trusts the old id in its<project-config>/skill-sources.mdneeds to update it.setup_preflight.organization_network --is-asfflag (run, like every pre-flight call, withPYTHONPATHset to the installed checker), so the project template's examples and aTODOvalue never count.setupinstall Step M5 and a marketplacesetup updatelist the Incubator skills the ASF catalogue gives for the detected agent (Claude Code, Codex, Copilot), minus those already installed, then print the marketplace's add command and how to install a skill from it; when nothing is left, they offer nothing. Printed, never run: the Incubator is a separate trust decision, and it maintains these skills, not Magpie.apache/incubator's default branch: no tag, no commit pin, nothing Magpie verified, unlike a source pinned throughsetup skill-sources. The catalogue says the same.setup updatepoints once at the catalogue and/magpie-setup skill-sources, when the project trusts noapache-incubator-source yet.~/.cache/apache-magpie/companions-offered(apache-incubator <agent>,apache-incubator snapshot), the per-user file the companion offer already uses; an unwritable file only skips the record.check-skill-source-drift.pyreads each catalog's ownnameand reports a descriptor whosemarketplacediffers, since<skill>@<marketplace>would then not install.A follow-up PR will tell adopters when a curated pin they use moves (
setup updateproposing and staging the bump).Type of change
plugins/magpie-setup/skills/setup/install.mdStep M5,update.mdStep 0b and Step 6f)setup_preflight.organization_network --is-asf;tools/dev/check-skill-source-drift.pyreads catalog names)organizations/ASF/skill-sources.md,docs/skill-sources/registry.md)adoption-and-setup.md,organization-adapters.md)Test plan
prekon the changed files, all hookscheck-skill-source-drift.pybefore the refresh: its findings were the status and marketplace drift fixed here, and nothing else. A rerun after the refresh hit GitHub's unauthenticated rate limit; the weeklyskill-source-driftworkflow re-checks with a token.--is-asfprintstrueonly for a real declaration (TODOand a missing file arefalse); the drift check passes a matching marketplace name and reports a different onesetup/step-m5-companion-offer7/7, with two new cases (an ASF project is offered the Incubator marketplace; a non-ASF project is not);setup/step-upgrade-companion-offer3/3RFC-AI-0004 compliance
raw.githubusercontent.com, as the companion page already is.🤖 Generated with Claude Code