Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
ae4a353
docs(29): research phase domain
RichardHightower Mar 12, 2026
e8bf972
docs(29): add validation strategy
RichardHightower Mar 12, 2026
df3e672
docs(29): create phase plan
RichardHightower Mar 12, 2026
c750400
docs(29-02): add 9 missing CLI commands to mastering-hooks reference
RichardHightower Mar 12, 2026
dfd6e32
feat(29-02): wire ConfigDiffView into UI navigation
RichardHightower Mar 12, 2026
b45f4bb
docs(29-02): complete CLI docs and UI diff view plan
RichardHightower Mar 12, 2026
401811a
feat(29-01): rename release-cch skill to release-rulez in .claude/ski…
RichardHightower Mar 12, 2026
3aaefec
feat(29-01): mirror release-rulez rename to .opencode/skill/ and fix …
RichardHightower Mar 13, 2026
63b754c
docs(29-01): complete rename release skill plan
RichardHightower Mar 13, 2026
de0d4fe
docs(phase-29): complete phase execution and verification
RichardHightower Mar 13, 2026
2de1564
chore: complete v2.2.1 milestone β€” Cleanup, Sync Skills, CLI Help & U…
RichardHightower Mar 13, 2026
dc085bb
feat: v2.2.1 β€” Cleanup, Sync Skills, CLI Help & UI Integration (#Phas…
RichardHightower Mar 13, 2026
f586662
Merge remote-tracking branch 'origin/main'
RichardHightower Mar 13, 2026
432fa46
docs: start milestone v2.2.2 Documentation Audit & Multi-CLI Guides
RichardHightower Mar 13, 2026
ff25ee2
docs: define milestone v2.2.2 requirements
RichardHightower Mar 13, 2026
ec07169
docs: create milestone v2.2.2 roadmap (4 phases)
RichardHightower Mar 13, 2026
96ef277
docs(30): generate context from conversation
RichardHightower Mar 14, 2026
daad5ac
docs(30): create phase plan for CLI Reference Docs Update
RichardHightower Mar 14, 2026
7b6fed6
docs: capture todos β€” DX-04 colorized output and CONFIG-04 mastering-…
RichardHightower Mar 18, 2026
bfe2001
chore: complete v2.3.0 milestone β€” Multi-Runtime Skill Portability
RichardHightower Mar 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .planning/MILESTONES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# Project Milestones: RuleZ (AI Policy Engine)

## v2.3.0 Multi-Runtime Skill Portability (Shipped: 2026-03-18)

**Delivered:** New `rulez skills` subcommand family β€” discover, transform, and install Claude Code skills to any AI runtime. Author once in `.claude/`, convert at install time, run everywhere.

**Phases completed:** 34-38 (5 phases, ~2,099 new Rust LOC)
**Timeline:** 2026-03-16 β†’ 2026-03-17 (2 days)
**PR:** #116 β€” 9/9 CI checks passed (Release + Full Validation)

**Key accomplishments:**

- `Runtime` enum covering Claude, OpenCode, Gemini, Codex, Custom β€” each profile resolves its own skills dir, command separator, tool name style, and path prefix
- Skill discovery scans `.claude/skills/` and `.claude/commands/` plus extra sources (mastering-hooks at repo root)
- 6-transform pipeline: tool name rewrite, path references, command filename flattening, YAML frontmatter conversion, MCP tool exclusion (Gemini), colors
- `rulez skills install --runtime <rt>` / `--dry-run` / `rulez skills clean` β€” clean-install writer
- Config file generation: marker-based GEMINI.md updates, AGENTS.md generation for Codex
- `rulez skills status`, `rulez skills diff --runtime <rt>`, `rulez skills sync` β€” full DX subcommand family

**Known Gaps (accepted as tech debt):**
- CONFIG-04: mastering-hooks uses generic transform pipeline β€” no context-aware Gemini rewriting (todo)
- DX-04: colorized terminal output not implemented β€” plain println!, no color crate (todo)

**Stats:**
- 5 phases (34-38), ~2,099 Rust LOC β€” 13 source files added across `rulez/src/skills/` and `rulez/src/cli/`

---

## v2.2.2 Documentation Audit & Multi-CLI Guides (Shipped: 2026-03-17)

**Delivered:** Complete documentation overhaul β€” all reference docs audited against source code, per-CLI usage guides created, and new feature documentation for external logging, lint, and test.

**Phases completed:** 30-33 (8 plans total)

**Key accomplishments:**

- Accurate CLI reference for all 14 rulez commands with flags verified against --help output
- Complete hooks-yaml-schema.md with parallel eval, config caching, globset, and external logging fields
- Quick-reference.md updated with all 22 CLI commands, action types, and exit codes
- End-to-end usage guides for Claude Code, Gemini CLI, and OpenCode
- Tutorial-first feature documentation for external logging (OTLP, Datadog, Splunk), lint (9 rules), and test
- 13 docs audited with `last_validated` frontmatter for audit trail

**Stats:**

- 4 phases, 8 plans
- 42 files changed, 5,856 insertions, 521 deletions
- 36 commits over 3 days (2026-03-14 β†’ 2026-03-16)
- Requirements: 11/11 satisfied

**Git range:** `1c86551` β†’ `2339853`

---

## v2.2.1 Cleanup, Sync Skills, CLI Help & UI Integration (Shipped: 2026-03-13)

**Phases completed:** 29 phases, 79 plans, 8 tasks
Expand Down
36 changes: 28 additions & 8 deletions .planning/PROJECT.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

| Component | Location | Priority | Status |
|-----------|----------|----------|--------|
| **RuleZ Core** | `rulez/` | P1 - Primary | v1.4 Shipped |
| **RuleZ Core** | `rulez/` | P1 - Primary | v2.3.0 Shipped |
| **Mastering Hooks** | `mastering-hooks/` | P2 - Secondary | Complete (skill) |
| **RuleZ UI** | `rulez-ui/` | P1 - Primary (v1.5) | M1 Scaffold Complete, v1.5 Active |
| **RuleZ UI** | `rulez-ui/` | P1 - Primary | Complete (Tauri 2.0) |

## Core Value

Expand All @@ -32,9 +32,10 @@ RuleZ positions itself as comparable to:

## Current State

### RuleZ Core (v2.2.1)
### RuleZ Core (v2.3.0)
- Policy engine with blocking, injection, validation, inline scripting, schema validation
- CLI: init, install, uninstall, validate, logs, explain, debug, repl, test, lint, upgrade
- CLI: init, install, uninstall, validate, logs, explain, debug, repl, test, lint, upgrade, skills
- `rulez skills` family: install, clean, status, diff, sync β€” cross-runtime skill portability
- Multi-CLI support: Claude Code, Gemini, Copilot, OpenCode (install/doctor commands)
- Parallel rule evaluation, config caching, globset matching
- E2E test harness across 5 CLIs (Claude Code, Gemini, Copilot, OpenCode, Codex)
Expand Down Expand Up @@ -84,11 +85,25 @@ RuleZ positions itself as comparable to:
- βœ“ REQ-PERF-01..02: Performance quality gates (<0.1ms schema validation) β€” v1.4
- βœ“ REQ-COMPAT-01..02: Cross-platform compatibility (CI matrix) β€” v1.4

### Active
- βœ“ CLIDOC-01..03: CLI reference docs updated with all commands and flags β€” v2.2.2
- βœ“ GUIDE-01..03: Per-CLI usage guides (Claude Code, Gemini, OpenCode) β€” v2.2.2
- βœ“ FEAT-01..03: Feature documentation (external logging, lint, test) β€” v2.2.2
- βœ“ AUDIT-01..02: Accuracy audit against source code and --help output β€” v2.2.2

(No active requirements β€” planning next milestone)
- βœ“ PROFILE-01..04: Runtime profiles (Claude, OpenCode, Gemini, Codex, Custom) with discovery β€” v2.3.0
- βœ“ XFORM-01..05: Transform pipeline (tool names, paths, filenames, frontmatter, MCP exclusion) β€” v2.3.0
- βœ“ CLI-01..04: `rulez skills install/clean` with dry-run and clean-install writer β€” v2.3.0
- βœ“ CONFIG-01..03: GEMINI.md marker-based update, AGENTS.md generation, non-skill preservation β€” v2.3.0
- βœ“ DX-01..03: `rulez skills status/diff/sync` subcommand family β€” v2.3.0

See REQUIREMENTS.md for next milestone requirements when defined.
### Active (next milestone)

*(None defined β€” run `/gsd:new-milestone` to define next milestone requirements)*

### Known Tech Debt

- [ ] CONFIG-04: mastering-hooks context-aware transform for non-Claude runtimes β€” todo added
- [ ] DX-04: Colorized terminal output with progress indicators for skills CLI β€” todo added

### Out of Scope

Expand Down Expand Up @@ -130,6 +145,11 @@ See REQUIREMENTS.md for next milestone requirements when defined.
| LazyLock pre-compiled validators | <0.1ms validation overhead at runtime | βœ“ Good |
| ubuntu-22.04 for Tauri builds | webkit2gtk-4.1 requirement, ubuntu-latest may break | βœ“ Good |
| E2E gate before Tauri builds | Fast feedback (2-3min) prevents expensive failed builds | βœ“ Good |
| Hardcoded Rust transforms, not YAML-configurable | 4 well-known runtimes + Custom variant covers long tail | βœ“ Good |
| Clean-install writer (rm + recreate) | Prevents orphan files across versions, proven in GSD | βœ“ Good |
| `rulez skills` subcommand family, not extending `rulez install` | Hook registration and skill distribution are orthogonal | βœ“ Good |
| Skip colorized output (DX-04) in v2.3.0 | Ship fast, polish in next milestone | ⚠️ Revisit |
| Generic transform for mastering-hooks (CONFIG-04) | Context-aware rewriting is complex; generic covers the 80% case | ⚠️ Revisit |

## Quality Gates

Expand All @@ -148,6 +168,6 @@ See REQUIREMENTS.md for next milestone requirements when defined.

---

*Last updated: 2026-03-13 after v2.2.1 milestone*
*Last updated: 2026-03-18 after v2.3.0 milestone*
*Reorganized as monorepo on 2026-02-06*
*Renamed from CCH to RuleZ*
Loading
Loading