[codex] Make gstack installable from a repo-local Codex plugin marketplace#1286
Draft
chenjiayi8 wants to merge 1 commit intogarrytan:mainfrom
Draft
[codex] Make gstack installable from a repo-local Codex plugin marketplace#1286chenjiayi8 wants to merge 1 commit intogarrytan:mainfrom
chenjiayi8 wants to merge 1 commit intogarrytan:mainfrom
Conversation
Codex already had generated skill docs, but the repo lacked a plugin manifest and marketplace entry. Add a repo-local plugin bundle that points at the generated .agents/skills tree, plus a helper script that regenerates Codex skills and refreshes the gstack sidecar expected by runtime path references. Document the workflow and add a regression test around manifest and marketplace wiring. Constraint: .agents/skills remains generated and gitignored, so the plugin must reference generated output without committing it Constraint: Existing Codex skill prompts expect repo-local runtime files under .agents/skills/gstack Rejected: Commit the entire generated .agents/skills tree into the repo | too noisy and duplicates generated artifacts Rejected: Point the plugin directly at source SKILL.md files | Codex needs the host-rewritten skill output Confidence: high Scope-risk: narrow Reversibility: clean Directive: If Codex skill generation paths change, update scripts/prepare-codex-plugin.ts and the plugin symlink test together Tested: bun run plugin:codex:prepare Tested: bun test test/codex-plugin-compat.test.ts Tested: git diff --check Not-tested: Full bun test suite (this checkout currently hits unrelated missing-module and timeout failures) Not-tested: bun run skill:check (this checkout currently has stale or missing non-Codex host outputs)
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.
What changed
plugins/gstack/.codex-plugin/plugin.json.agents/plugins/marketplace.jsonso Codex can discover the local plugin from this repobun run plugin:codex:prepareto regenerate Codex skill output and refresh the runtime sidecar that the plugin points atREADME.mdWhy it changed
The repo already generated Codex-specific skills, but there was no installable Codex plugin bundle or marketplace entry tying those generated artifacts together. This change makes the repository directly consumable through Codex's local plugin marketplace without committing the generated
.agents/skillstree.User / developer impact
Developers can now run
bun run plugin:codex:prepareand have Codex install gstack from this repository via.agents/plugins/marketplace.json, instead of relying only on~/.codex/skillsinstalls.Root cause
Codex compatibility existed at the generated-skill layer, but not at the plugin-discovery layer: no
.codex-plugin/plugin.json, no local marketplace entry, and no repo-local helper to prepare the runtime sidecar that generated Codex skills expect.Validation
bun run plugin:codex:preparebun test test/codex-plugin-compat.test.tsgit diff --checkNotes
bun testsuite, but this checkout currently hits unrelated missing-module/unhandled-test issues and a timeout intest/global-discover.test.ts.bun run skill:check, which currently fails in this checkout because non-Codex host outputs are stale or missing.Need help on this PR? Tag
@codesmithwith what you need.