Skip to content

epic: single-channel distribution driven by one target manifest #214

Open

Description

@danielvm-git

Epic proposal · Scope: distribution · Fixes #208, #209 structurally

Problem

bigpowers writes the same skill catalog to five places, and every host scans several of them. There is no declaration of which path each host owns, so collisions, duplicate commands, and stale copies are configuration-dependent — they exist on the author's machine and are invisible on a clean one, or vice versa.

Today: skills/, .pi/skills/, .agents/skills/, ~/.pi/agent/skills/, ~/.agents/skills/, ~/.claude/skills/, .gemini/extensions/bigpowers/, .cursor/rules/, ~/.zcode/skills/, ~/.hermes/skills/, ~/.mimocode/skills/ — produced by three different code paths (sync-skills.sh, install.sh, bin/setup.js) with overlapping responsibilities.

Outcome

One manifest is the source of truth for distribution:

# distribution-targets.yaml
hosts:
  pi:        { path: "~/.pi/agent/skills", mode: symlink | package, owner: install.sh }
  claude:    { path: "~/.claude/skills",   mode: symlink }
  cursor:    { path: ".cursor/rules",      mode: render }
  …

sync-skills.sh, install.sh, and bin/setup.js derive their targets from it; --verify mode reports duplicated discovery roots on a live machine; setup is exclusive per host and prints the single path it owns.

Acceptance

On a fresh machine after bigpowers setup: exactly one path per host, no host warns at startup, and bigpowers setup --verify exits 0. On the author's dev machine: --verify names every leftover duplicate instead of pi printing 80 blocks.

Stories (draft)

  1. Manifest + schema validation
  2. Route sync-skills.sh render targets through the manifest
  3. Route install.sh targets through the manifest
  4. Route bin/setup.js targets through the manifest
  5. Exclusive-per-host setup with conflict refusal
  6. --verify + bigpowers doctor integration
  7. Docs: channel matrix, migration note for existing installs

Activity

  1. added
    epic
    quality
    on Nov 6, 2026
  2. added a commit that references this issue on Nov 6, 2026
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

    epicquality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions