dotfiles-agentsRepository
On this page

Decision 007 · Distribution restructure: dev integrates, main publishes

The in-repo mirror of the branch-governance rule: build on dev, never main — so the rule is visible where the crew works, not only on the strategy desk.

Context

Consumers add this repo as a Claude Code marketplace by the owner/repo shorthand (claude plugin marketplace add hsb3/dotfiles-agents), which reads the default branch's generated .claude-plugin/marketplace.json. That makes the default branch a published surface: any commit to it is immediately live for every installer. Building directly on the published branch means half-finished work, an un-regenerated manifest, or a failed drift guard reaches consumers before review.

The distribution restructure (#111–#113) separates the two roles the branch was conflating — integration (where work lands and is reviewed) and publication (what consumers install). The authority for the split is old-desk ADR 0014, but that decision lived only on the strategy desk: docs/decisions/ in this repo stopped at 0006, so a crew member working here had no in-repo record of which branch to target. DEV-31's planner and reviewer both flagged the absence as a hard blocker before any build could pick a valid target branch.

Decision

dev is the integration branch; main is publish-only.

This ADR is the in-repo mirror; old-desk ADR 0014 remains the authority of record. If the two ever disagree, 0014 wins and this mirror is corrected to match.

Consequences

Affects

Branch/PR governance for all dotfiles-agents work · CLAUDE.md / AGENTS.md task interface · CI target-branch assumptions (.github/workflows/ci.yml) · the marketplace-manifest publish step gated on #112/#113 · the skill-bundle (DEV-31) build.