# Changelog

All notable changes to this project will be documented in this file.

This project follows semantic versioning.

## [0.5.0] - 2026-06-28

### Added

- Vault-wide skill inventory: Shiori indexes skills from project `.pi/skills`, `.agents/skills`, the user-global `~/.pi/agent/skills` root, and optional policy `inventory.roots`.
- Automatic inventory refresh when skill files change under any indexed root (enabled by default; disable with `inventory.autoRefreshOnChange: false`).
- `/shiori:doctor` now lists indexed roots with per-root skill counts and auto-refresh status.
- `/shiori:stats` counters for manual and automatic inventory refreshes.
- Tests for multi-root discovery, refresh after local changes, and policy-aware retrieval.

### Changed

- `/shiori:reload` rebuilds the vault-wide inventory and SQLite FTS index instead of relying on the session-start snapshot only.

## [0.4.0] - 2026-06-28

### Added

- Always Visible Skill policy: Zero-Catalog Mode now keeps only `alwaysVisible` allowlisted skills in the Skill Catalog instead of hiding every entry.
- Diagnostics for missing or duplicate `alwaysVisible` policy entries in `/shiori:doctor` and one-time runtime warnings for missing skills.
- Tests for visible, missing, duplicate, and markdown catalog filtering cases.

### Changed

- `alwaysVisible` policy entries are normalized to a deduplicated allowlist at load time.

## [0.3.2] - 2026-06-24

### Added

- `ROADMAP.md` with maintenance-first phased goals (Month 1–3), template compliance checklist, and maintenance schedule.
- README links to `ROADMAP.md`.
- npm package `files` now includes `ROADMAP.md`.

## [0.3.1] - 2026-06-19

### Added

- `SECURITY.md` with vulnerability reporting guidance and Pi package security notes.
- `CHANGELOG.md` for version history.

### Changed

- README links to `SECURITY.md` and `CHANGELOG.md`.
- npm package files now include `SECURITY.md` and `CHANGELOG.md`.

## [0.3.0] - 2026-06-08

### Changed

- Shiori slash commands use UI flows for doctor, bootstrap, reload, recommend, and stats.

## [0.2.1] - 2026-06-02

### Changed

- Patch release after the recommendation flow updates in `0.2.0`.

## [0.2.0] - 2026-06-02

### Added

- Recommendation-first `/shiori:recommend` flow with query expansion and agent task queuing.
- Pre-loading of multiple recommended skills in one agent turn.
- Planning-intent handling that returns a dev-plan intake template without dumping skill bodies.

### Fixed

- Skill retrieval for block descriptions and Japanese queries.

### Changed

- README install snippets aligned with the published package version.

## [0.1.1] - 2026-05-26

### Added

- npm publish workflow and auto-release on merge to `main`.
- npm publish commands and unpinned install examples in README.

## [0.1.0] - 2026-05-24

### Added

- Initial Pi Skill Shiori release.
- Zero-Catalog mode, policy-based retrieval, SQLite FTS indexing, and on-demand `shiori_load_skill` tool.
