Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

fix(codex): point marketplace plugin path at repo root

Affaan Mustafa4257c093ca23
diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json
index 635d84429..a1561e41c 100644
--- a/.agents/plugins/marketplace.json
+++ b/.agents/plugins/marketplace.json
@@ -8,7 +8,7 @@
"name": "everything-claude-code",
"source": {
"source": "local",
- "path": "./.agents/plugins/everything-claude-code"
+ "path": "../.."
},
"policy": {
"installation": "AVAILABLE",
diff --git a/tests/plugin-manifest.test.js b/tests/plugin-manifest.test.js
index ea264502d..1adad6a1c 100644
--- a/tests/plugin-manifest.test.js
+++ b/tests/plugin-manifest.test.js
@@ -213,6 +213,29 @@ test('marketplace.json plugin entries have required fields', () => {
}
});
+test('marketplace local plugin path resolves to the repo-root Codex bundle', () => {
+ for (const plugin of marketplace.plugins) {
+ if (!plugin.source || plugin.source.source !== 'local') {
+ continue;
+ }
+
+ const resolvedRoot = path.resolve(path.dirname(marketplacePath), plugin.source.path);
+ assert.strictEqual(
+ resolvedRoot,
+ repoRoot,
+ `Expected local marketplace path to resolve to repo root, got: ${plugin.source.path}`,
+ );
+ assert.ok(
+ fs.existsSync(path.join(resolvedRoot, '.codex-plugin', 'plugin.json')),
+ `Codex plugin manifest missing under resolved marketplace root: ${plugin.source.path}`,
+ );
+ assert.ok(
+ fs.existsSync(path.join(resolvedRoot, '.mcp.json')),
+ `Root MCP config missing under resolved marketplace root: ${plugin.source.path}`,
+ );
+ }
+});
+
// ── Summary ───────────────────────────────────────────────────────────────────
console.log(`\nPassed: ${passed}`);
console.log(`Failed: ${failed}`);