Normalize every shared command argument-hint to an explicit YAML string and enforce the schema across LF and CRLF checkouts so Copilot plugin skills load reliably.
Agent-Signature: codex-gpt-5.6-sol-high on behalf of matt wilkie
PR #4188 moved hook files from plugins/beads/hooks/ to
plugins/beads/.codex-plugin/hooks/ to stop Claude from discovering
Codex-only hooks. However, the hooks path in .codex-plugin/plugin.json
remained "./hooks/hooks.json" which Codex resolves relative to the
plugin root (plugins/beads/), not relative to .codex-plugin/. This
caused a runtime error:
failed to read .../beads/1.0.5/hooks/hooks.json: No such file or directory
Fix: update the hooks path to "./.codex-plugin/hooks/hooks.json" so
it correctly resolves to plugins/beads/.codex-plugin/hooks/hooks.json.
Update TestPluginLayoutUsesSharedBeadsRoot to assert the corrected path.
Fixes#4210. Follow-up to #4188.
Move Codex native hook metadata under the Codex-only plugin directory so Claude keeps using only its inline `bd prime` hooks.
Leave release version bumps to the maintainer release flow while documenting hook metadata isolation under Unreleased.
Refs #3924.
_codex-gpt-5.5-medium on behalf of matt wilkie_
the claude plugin manifest declared agents at ./skills/beads/agents/, which
also contains openai.yaml (codex interface metadata). claude code's plugin
loader scans that dir and rejects non-md files, failing manifest validation
with 'agents: Invalid input'.
move task-agent.md back to plugins/beads/agents/ (the claude default, what
v1.0.0 used) and drop the explicit agents key from .claude-plugin/plugin.json.
codex's openai.yaml stays at skills/beads/agents/openai.yaml where bd setup
codex writes it and where the embed in internal/templates/ lives.
shared skill tree and dual claude/codex manifests are preserved per #3664.
Fixes#3741