Problem
Fresh install-agent-workflows installations default to flat, even though Agent Workflows now ships native Codex and Claude plugins and recommends one auto-invocable delivery route per host/profile.
The history establishes a reason for interpreting legacy metadata as flat, but does not record a separate decision for why a fresh installation should continue choosing flat:
The likely explanation is compatibility with the historical no-flag command: install-agent-workflows --host ... still succeeds without requiring a native plugin to be installed first. That is a reasonable inference, but it is not currently an explicit product decision.
Why reconsider it
Codex documents user and repository skill directories as authoring/local-discovery locations, and recommends plugins when distributing reusable skills beyond one repository or when bundling skills with other capabilities:
https://developers.openai.com/codex/skills/
That does not make flat installation invalid. For Agent Workflows specifically, however:
This is therefore more than aesthetic preference, but it is also not enough evidence to blindly change the default to plugin-companion: companion mode currently requires an already installed and enabled native plugin, so changing the default without a bootstrap or detection design could make first-time installation worse.
Decision to make
Choose and document the intended fresh-install policy separately from legacy migration policy. Evaluate at least:
- Keep the generic installer default flat, but make ShakaCode/full-stack setup explicitly native-plugin-first plus
plugin-companion.
- Detect an active native plugin and select companion automatically; otherwise retain flat with precise guidance.
- Add a native-plugin bootstrap mode that installs/enables
scw, then installs companion assets, allowing native delivery to become the fresh default.
- Require an explicit delivery mode for fresh installs while continuing to replay recorded state for upgrades.
Whichever policy wins, deliberate flat installation must remain supported unless separately deprecated, and metadata predating delivery_mode must continue to resolve safely as flat.
Acceptance criteria
Process gap disposition
Problem
Fresh
install-agent-workflowsinstallations default toflat, even though Agent Workflows now ships native Codex and Claude plugins and recommends one auto-invocable delivery route per host/profile.The history establishes a reason for interpreting legacy metadata as
flat, but does not record a separate decision for why a fresh installation should continue choosingflat:5d60b8dintroduced the host installer before native plugin delivery existed. Copying or symlinking skills into<target>/skillswas therefore the installer's original and only behavior.scwplugin while deliberately preserving the existing flat installer.flatandplugin-companion. Their explicit compatibility decision was that metadata predatingdelivery_modeis interpreted asflat.The likely explanation is compatibility with the historical no-flag command:
install-agent-workflows --host ...still succeeds without requiring a native plugin to be installed first. That is a reasonable inference, but it is not currently an explicit product decision.Why reconsider it
Codex documents user and repository skill directories as authoring/local-discovery locations, and recommends plugins when distributing reusable skills beyond one repository or when bundling skills with other capabilities:
https://developers.openai.com/codex/skills/
That does not make flat installation invalid. For Agent Workflows specifically, however:
scwplugins already exist for both supported hosts;This is therefore more than aesthetic preference, but it is also not enough evidence to blindly change the default to
plugin-companion: companion mode currently requires an already installed and enabled native plugin, so changing the default without a bootstrap or detection design could make first-time installation worse.Decision to make
Choose and document the intended fresh-install policy separately from legacy migration policy. Evaluate at least:
plugin-companion.scw, then installs companion assets, allowing native delivery to become the fresh default.Whichever policy wins, deliberate flat installation must remain supported unless separately deprecated, and metadata predating
delivery_modemust continue to resolve safely as flat.Acceptance criteria
agent-stackdocumentation agree on the result.Process gap disposition
5d60b8d, native plugin PR Publish Agent Workflows under the scw native-plugin namespace #135, delivery-mode issue Follow-up: Migrate flat installs without duplicate auto-invocable Agent Workflows skills #131 / PR Add plugin companion delivery mode #136, and unrelated-skill issue Plugin-companion install rejects unrelated existing skills #191.