Skip to content

[generator] Context Guard mirror omits hooks and runtime scripts #357

Description

@GreenLv

Context Guard was added in PR #351, and its README/registry/marketplace entries are visible. A clean installation from the generated marketplace currently succeeds at the CLI level, but the mirrored bundle is incomplete for this Hook-dependent plugin.

Reproduction with Codex CLI 0.146.0 and an isolated CODEX_HOME:

codex plugin marketplace add \
  https://github.com/hashgraph-online/awesome-codex-plugins.git \
  --ref main --sparse .agents/plugins --sparse plugins
codex plugin add context-guard@awesome-codex-plugins --json

Observed mirror version: 0.5.0.

The installed mirror contains the manifest, README, icon, and Skill, but omits the upstream runtime files required by the plugin, including:

  • hooks/hooks.json
  • scripts/context_guard.py
  • scripts/manage_plugin.py
  • scripts/smoke_installed.py
  • assets/state.schema.json

As a result, installation reports success but the eight lifecycle Hooks and context-guard status runtime are unavailable. The plugin was then cleanly removed from the isolated home; a synthetic private-data sentinel outside the plugin cache was preserved.

Upstream has now published v0.5.1: https://github.com/GreenLv/codex-context-guard/releases/tag/v0.5.1

Could the generator mirror the complete plugin runtime (subject to .codexignore), refresh Context Guard to 0.5.1, and regenerate the marketplace? I can rerun the clean install/status/uninstall acceptance once the mirror is refreshed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions