# Changelog

## 0.6.5 — 2026-05-30

### Added
- **`scripts/validate-registry.mjs`** + release-check step
- **`tests/consult-status.test.mjs`**, **`tests/ui-wizard.e2e.mjs`** (Playwright)
- **`tests/helpers/validate-explanation.mjs`** — AJV validation against `schemas/explanation.v1.json`
- Release-check smokes: `consult`, `status` (28 steps total)
- Dev deps: `ajv`, `playwright`

### Changed
- **Workspace boundary:** `plan: override` + `confirm.mode: blocked` (no confirm/apply conflict)
- **Sibling repo paths** (`prismx/`, etc.) detected without `../`
- **Corrupt `disabled-skills.json`:** fail-closed routing + `overlay_error` on execution intent
- **`src/lib/contract.js`:** validates `explanation`, `workspace_boundary`, `orchestration`
- **`npm test`** → alias for full `release-check`
- **UI wizard:** confirm default from route JSON; boundary tasks hide confirm radios
- **Docs:** PRD §5 synced, execution-intent contract, maintainer-dogfood step count

## 0.6.4 — 2026-05-30

### Added
- **`workspace_scope` task type** + `workspace-boundary.js` — detect `../` / absolute paths; refuse without `cross-repo override`
- **`explanation.files_intended`** — path hints when `plan_first` or boundary violation
- **`explanation.workspace_boundary`** in route JSON + text report
- **`tests/workspace-boundary.test.mjs`** — boundary suite in release-check (23 steps)
- Schema validation in `tests/explanation.test.mjs` against `schemas/explanation.v1.json`

### Changed
- Root **`AGENT.md`** — Activation model (installed ≠ picker, gateway read, Explanation card)
- **`projections/session-start.md`** — mandatory gateway read, Explanation card, workspace boundary rule
- **`docs/conventions/daily-use.md`** — undo = stay on plan + git

## 0.6.3 — 2026-05-30

### Changed
- **`clarification_policy.mode: adaptive`** — light tasks skip confirm (`Plan: auto`); medium/heavy keep short confirm
- **Default confirm option:** `apply_now` (was `plan_first`)
- Session rules + kılavuz: doğal dil (`devam` / `plan` / `analiz`) — CLI token zorunlu değil
- `plan` field forced to `auto` when confirm disabled

## 0.6.2 — 2026-05-30

### Added
- **`capint init --bundle minimal`** — 5 core skills + `workflows/forge.md` (CI / lightweight)
- **`capint init --bundle full`** — default, ~115 skills + all workflows
- **`capint skill pin <name>`** — move skill to `registry.project_added` (backup registry)
- **`skill list`** shows pinned `project_added` tier
- Doctor warns when pinned skill missing on disk

## 0.6.1 — 2026-05-30

### Added
- **`capint pipeline`** — doctor + status + ide check (advisory) + optional route
- **`CAPINT_DEFAULT_CONFIRM`** env — override confirm default (`apply_now|plan_first|analyze_only`)
- **`src/lib/env-flags.js`** — shared `CAPINT_DEBUG` helper
- **`scripts/capint-task.sh`** + **`capint-task.ps1`** — shell route helpers
- **`docs/conventions/cli-scripting.md`** — env flags, pipeline, jq patterns

## 0.6.0 — 2026-05-30

### Added
- **`capint ui`** — local 4-step wizard (project health → task → plan → copy to chat)
- **`ui/`** static assets + **`src/lib/ui-server.js`** API (`/api/health`, `/api/route`)
- Flags: `--port`, `--host`, `--open`, `--json`

## 0.5.0 — 2026-05-30

### Added
- **`explanation`** block on every route (keywords, files_to_read, alternatives) + text **Explanation** section
- **`capint skill disable|enable|list`** — `.capint/disabled-skills.json` overlay
- **`capint recover --list|--latest [--apply]`** — restore matrix/registry from `.capint/backups/`
- **`schemas/explanation.v1.json`** — explanation contract
- **`CAPINT_DEBUG=1`** on route — stderr debug line
- AGENT.md **activation model** (installed ≠ Cursor picker)
- Kılavuz FAQ: skill disk vs IDE list

### Changed
- Doctor hints: `capint recover` / `capint skill enable` when relevant
- Disabled skills → `resolution_status: not_installed` with enable hint

## 0.4.4 — 2026-05-30

### Changed
- **Init bundle:** copies full package `skills/` (~115) + `workflows/` (17) instead of 5-skill stub
- **Registry v1.1:** `core` (gateway trio), `recommended` (matrix), `optional` (remaining on disk)
- **Matrix 1.3:** PRD task type (`write_prd` → `/genesis`), skill routing task, `security-and-hardening` fix
- **`capint upgrade --apply`:** refreshes registry + syncs skills/workflows (safe-merge policy)

### Added
- PrismX workflow set under package `workflows/`
- IDE router points to `prismx-skill-gateway` + `task-skill-router`

## 0.4.3 — 2026-05-30

### Added
- **GUNLUK.md** — günlük 3 adım (chat-first, terminal yok); init ile projeye kopyalanır
- Tam **kullanım kılavuzu** (PrismX seviyesinde): FAQ, IDE matrisi, senaryolar
- `docs/conventions/daily-use.md` — kopyala-yapıştır chat şablonları
- `docs/conventions/task-to-capability-cheatsheet.md`
- Init sonrası mesaj: GUNLUK.md'ye yönlendirme

## 0.4.2 — 2026-05-30

Optional local context layer (flag-gated).

### Added
- `local-memory-adapter`, `local-graph-adapter`
- `capint memory status`
- `local_adapters` in Execution Intent when `CAPINT_LOCAL_CONTEXT=1`

## 0.4.1 — 2026-05-30

Lifecycle management.

### Added
- `capint uninstall` (manifest-driven, dry-run, keep flags)
- `capint upgrade` (matrix merge, backup, visible conflict report)

## 0.4.0 — 2026-05-30

Productization release: install → route → IDE.

### Added
- Manifest schema v2 (`docs/manifest-schema.md`)
- Init skill/workflow bundle; registry derived from matrix
- `resolution_status` / `resolution_hint` for not_installed
- `capint ide sync|check`, projections/session-start.md
- Default `--ide-sync` on init; AGENTS.md stub; `.gitignore` fragment

### Changed
- Init copies bundle skills so `capint route "i18n"` resolves installed

## 0.3.0 — 2026-05-30

Plan phases 1–5 complete + orchestration extension.

### Added
- `capint consult`, `status`, `doctor`, `audit` (read-only operational surface)
- `capint init` / `scaffold` hybrid bootstrap with safe-merge conflict policy
- Provider activation policy (memory/graph default off)
- Local `context_pack`, `orchestration` patterns, `capability_chains`
- Optional append-only event log
- Verification gates for medium/heavy tasks
- `docs/architecture-decisions.md`, `docs/execution-intent-contract.md`, `docs/release-checklist.md`

### Changed
- Matrix schema 1.2 with `orchestration_pattern` per task type
- `capint init` now scaffolds `skill-routing-matrix.json` + `registry.json`
- `/forge` workflow expanded to phased template

## 0.2.0 — 2026-05-30

Initial modular orchestrator (intent parser, capability router, execution policy, memory bridge).

## 0.1.0 — 2026-05-29

Minimal `capint route` prototype.
