# Phase 4: Distribution - Discussion Log

> **Audit trail only.** Do not use as input to planning, research, or execution agents.

**Date:** 2026-04-12
**Phase:** 04-distribution
**Mode:** --auto (all decisions auto-selected)
**Areas discussed:** Plugin structure, Build pipeline, Installation flow, MCP registration

---

## Plugin Structure

| Option | Description | Selected |
|--------|-------------|----------|
| In-place plugin | Project directory IS the plugin, .claude-plugin/plugin.json added | ✓ |
| Separate package | Build a separate distributable package | |

**User's choice:** [auto] In-place plugin — simplest, follows cplugs convention

---

## Build Pipeline

| Option | Description | Selected |
|--------|-------------|----------|
| Pre-built dist | tsup builds to dist/, dist committed to marketplace | ✓ |
| Build on install | Post-install script runs npm build | |

**User's choice:** [auto] Pre-built dist — no build tools needed by end users

---

## MCP Registration

| Option | Description | Selected |
|--------|-------------|----------|
| Auto-register on install | Plugin config registers MCP server automatically | ✓ |
| Manual registration | User adds MCP config manually after install | |

**User's choice:** [auto] Auto-register — zero manual configuration per DIST-03

---

## Claude's Discretion

- tsup config details, post-install scripts, plugin metadata

## Deferred Ideas

None
