# Changelog

All published versions follow [SemVer](https://semver.org/) and the [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format.

Every release is published from `main` with a single shared tag `vX.Y.Z` covering every plugin in the marketplace. The tag to install is pinned in `.claude-plugin/marketplace.json` (`plugins[].source.ref`). See [`RELEASING.md`](RELEASING.md) for the full flow.

## [Unreleased]

## [0.6.2]

### Fixed
- free-whisper token unblock guidance now appears in the always-loaded `process-input` `SKILL.md` (not only the transcribe prompt) and is presented in the user's current interaction language instead of hardcoded Spanish, with the mandatory token URL `https://transcribe.skillbase.yareytech.com` kept literal. Both plugins.

## [0.6.1]

### Added
- Multilingual rendering for `machine-business` and `machine-discovery`: every document skill ships bilingual (`es`/`en`) templates and resolves the output language from its arguments, input frontmatter, or the user request.
- `machine-discovery` F1 stages hardened to the AI Machine methodology checklists:
  - `requirements` groups functional requirements by module/area, governs priority with a fixed scale, adds a dedicated NFR template (category + verification criterion), and raises its quality checklist to 14 items.
  - `hla` adds a proposed-and-justified technology stack, a Mermaid component diagram, a deployment model, and impact+mitigation technical risks, plus a checklist and anti-patterns.
  - `planning` adds effort in hours per milestone with a contingency buffer, a team profile, total F2 duration, and value-prioritized milestones, plus a checklist and anti-patterns.

### Changed
- `scripts/release.sh` now performs its JSON parsing, SemVer math, and JSON rewriting in Node instead of Python, so it runs natively on Windows (no `python3` Microsoft Store stub, no CRLF-corrupted output) as well as macOS/Linux. It also forces every plugin `source.url` to SSH form, so running a release from an HTTPS clone no longer publishes credential-prompting HTTPS urls to consumers.

### Fixed
- free-whisper token guidance (`process-input` and `setup-token`, both plugins): on a 401 the guidance now tells the user to reconnect the MCP via `/mcp` and shows where to obtain the token (`https://transcribe.skillbase.yareytech.com`); the "restart Claude Code" wording was removed from all user-facing messages.

## [0.6.0]

### Added
- `machine-business` and `machine-discovery` now include `/setup-token`, a command and skill that saves the per-user `FREE_WHISPER_API_TOKEN` into the global `~/.claude/settings.json` so the free-whisper MCP can authenticate for audio transcription.

### Changed
- `render-docx` (both plugins) now auto-installs pandoc silently when it is not on `PATH`: it downloads the official standalone pandoc binary into a per-user cache and uses it. Works on Linux, macOS and Windows (Git Bash); no prompt or message is shown.
- `process-input` transcription (both plugins) now requires the free-whisper call to complete and be read before any resource `.md` is written; writing the `.md` in the same turn as, or in parallel with, the call is forbidden, which prevents fabricated transcripts.

### Fixed
- Added `.gitattributes` enforcing LF line endings for `*.sh`, so the bundled shell scripts run on macOS/Linux even when checked out on Windows with `core.autocrlf=true`.

## [0.5.0]

_Released directly after `0.2.2`; no `0.3.x` or `0.4.x` versions were tagged._

### Added
- **New plugin `machine-discovery`** — the F1 Discovery workflow for proposal intake, requirements (RF/RNF) extraction, HLA, planning, draft PRDs, the consolidated project document, and the commercial offer. Each skill ships with a matching slash command: `discovery-init`, `process-input`, `requirements`, `hla`, `planning`, `draft-prds`, `project-doc`, `commercial-offer`, and `render-docx`.
- `machine-business` now includes `business-init` (and `/business-init`) to scaffold a new business project.

### Changed
- `machine-business/process-input` now organizes inputs per project under `docs/inputs/<project-slug>/` (with `raw/`, `transcriptions/`, and `index.json`) so inputs from different projects no longer collide.
- Reworked the `machine-business` proposal flow and bundled templates (`business-proposal`, `render-docx`).
- Migrated every plugin's skills and commands from Spanish to English.

## [0.2.2]

### Changed
- Version realignment release. No functional changes to any plugin's skills or commands; every plugin and `source.ref` resynchronized to `v0.2.2`.

## [0.2.1]

### Added
- `machine-business` now includes `business-proposal`, a skill (and `/business-proposal` command) that synthesizes a consolidated input into a two-page business proposal at `docs/proposals/<slug>.md`.

### Changed
- `machine-business/process-input` now runs its phases end-to-end without inter-phase confirmation gates.

## [0.2.0]

### Added
- `machine-business` now includes `process-input`, a skill that transcribes audio files verbatim via the free-whisper MCP and consolidates them with text inputs into a single `docs/inputs/<slug>.md` source document.
- `machine-business` now includes `/render-docx`, a DOCX-only Markdown renderer backed by Pandoc and a bundled `reference.docx` style template.

## [0.1.6]

### Fixed
- Plugin `source` entries in `marketplace.json` use SSH URLs so installs work against the private GitLab host (terminal credential prompts are disabled during Claude Code installs).

## [0.1.5]

### Added
- `scripts/release.sh` now supports two modes: **global** (every plugin bumps and resyncs to the same version) and **per-plugin** via `--plugin <name> patch` (only that plugin bumps, others keep their existing `source.ref`). The shared `major.minor` invariant is enforced; patches may diverge across plugins between global releases.

### Changed
- Migrated the `origin` remote to `the-ai-machine/the-ai-machine`.

### Fixed
- `scripts/release.sh` passes the plan JSON via `argv` instead of stdin.

## [0.1.4]

### Added
- Scaffolded the `machine-business` plugin under `plugins/machine-business/`.

## [0.1.3]

### Changed
- **BREAKING (marketplace structure):** the repo is now a multi-plugin marketplace. The plugin previously living at the repo root has moved to `plugins/machine-work/` and was renamed from `the-ai-machine` to `machine-work`. The marketplace itself keeps the name `the-ai-machine`.
- `marketplace.json` uses `source: "git-subdir"` with a `path` pointing at the plugin's subfolder.
- `scripts/release.sh` rewritten to iterate over every `plugins/*/.claude-plugin/plugin.json` and bump them together (shared-tag versioning).
- Install command changed from `the-ai-machine@the-ai-machine` to `machine-work@the-ai-machine`.

## [0.1.2]

### Changed
- Tag-only release model: the `source.ref` in `marketplace.json` on `main` defines which tag installs. The `stable` branch is removed; `scripts/release.sh` bumps, repoints the ref, and tags in a single commit.

## [0.1.1]

### Added
- Initial release workflow with a `stable` branch and tags (`RELEASING.md`, `scripts/release.sh`).

## [0.1.0]

Initial plugin scaffolding with the 5 skills from the AI Development Framework V2 (`ai-driven-prd`, `init-claude-project`, `generate-dev-plan`, `declarative-design`, `execute-plan`).
