Skip to content

chore(migration-to-aws): remove leftover .codex-plugin artifact#95

Closed
krokoko wants to merge 1 commit into
mainfrom
bgagent/01KSER8Z7Q88ZGV68KCV6ER6BY/the-migration-plugin-was-removed-but-the
Closed

chore(migration-to-aws): remove leftover .codex-plugin artifact#95
krokoko wants to merge 1 commit into
mainfrom
bgagent/01KSER8Z7Q88ZGV68KCV6ER6BY/the-migration-plugin-was-removed-but-the

Conversation

@krokoko
Copy link
Copy Markdown
Owner

@krokoko krokoko commented May 25, 2026

Summary

  • Deleted plugins/migration-to-aws/.codex-plugin/plugin.json — a leftover artifact from a previously removed plugin
  • Removed the stale migration-to-aws entry from .agents/plugins/marketplace.json which was causing the lint:cross-refs check to fail

Build and test results

  • mise run build ✅ passed after both changes were made
  • Cross-reference lint (lint:cross-refs) failed on first attempt (before removing the marketplace.json entry), then passed after the fix

Decisions made

The task only mentioned removing the .codex-plugin file, but the cross-reference validator caught that .agents/plugins/marketplace.json still referenced the now-missing plugin directory. Both artifacts were cleaned up together to keep the repo consistent and the build green.

Agent notes

What went well: The mise run build step caught the secondary artifact (marketplace.json reference) automatically — the cross-reference validation tooling is well-integrated into the build pipeline.

What was difficult: Nothing significant. The task was straightforward cleanup.

Patterns discovered:

  • The repo has two marketplace registry files: .claude-plugin/marketplace.json (for Claude plugin marketplace) and .agents/plugins/marketplace.json (for Codex/agents marketplace). Both need to stay in sync when plugins are added/removed.
  • mise run lint:cross-refs validates that every plugin listed in marketplace files has a corresponding directory — useful for catching stale references.
  • The build is comprehensive: markdown lint, JSON schema validation, cross-reference checks, and security scans all run together via mise run build.

Suggestions for future tasks: When removing a plugin, a checklist should include: (1) remove plugin directory, (2) remove entry from .claude-plugin/marketplace.json, (3) remove entry from .agents/plugins/marketplace.json. A pre-commit hook or automated check could enforce this.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

The migration-to-aws plugin was previously removed but the
.codex-plugin/plugin.json file remained as an artifact. Also
removes the stale entry from .agents/plugins/marketplace.json
which caused the cross-reference lint check to fail.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Task-Id: 01KSER8Z7Q88ZGV68KCV6ER6BY
Prompt-Version: 1c9c10e027a2
@krokoko krokoko closed this May 26, 2026
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