Skip to content

Reconsider flat delivery as the fresh-install default #248

Description

@ihabadham

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:

  1. Keep the generic installer default flat, but make ShakaCode/full-stack setup explicitly native-plugin-first plus plugin-companion.
  2. Detect an active native plugin and select companion automatically; otherwise retain flat with precise guidance.
  3. Add a native-plugin bootstrap mode that installs/enables scw, then installs companion assets, allowing native delivery to become the fresh default.
  4. 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

  • The fresh-install default is an explicit documented decision, not an accidental continuation of pre-plugin behavior.
  • Legacy metadata behavior is considered independently and remains backward compatible.
  • A clean Codex and Claude home has a clear first-install path.
  • Native-plugin-present, native-plugin-absent, existing-flat, and existing-companion cases are covered.
  • Unrelated personal skills are preserved.
  • Exactly one auto-invocable Agent Workflows skill surface remains active.
  • Installer, status, upgrade, and agent-stack documentation agree on the result.

Process gap disposition

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