Skip to content

chore: prepare v2.3.0 release#116

Merged
RichardHightower merged 61 commits intomainfrom
release/v2.3.0
Mar 17, 2026
Merged

chore: prepare v2.3.0 release#116
RichardHightower merged 61 commits intomainfrom
release/v2.3.0

Conversation

@RichardHightower
Copy link
Contributor

Summary

  • v2.3.0: Multi-Runtime Skill Portability — new rulez skills subcommand family
  • Author skills once in .claude/, convert at install time for OpenCode, Gemini CLI, Codex, and custom runtimes
  • 6 content transforms: tool names, paths, command naming, frontmatter, colors, MCP tools
  • Config file generation (GEMINI.md, AGENTS.md) with idempotent marker-based updates
  • DX: status (human-readable timestamps), diff, sync, clean
  • 42 new unit tests, all CI checks passing (fmt, clippy, test, coverage)

Checklist

  • Version bumped to 2.3.0 in Cargo.toml
  • CHANGELOG.md updated
  • cargo fmt --all --check passes
  • cargo clippy -- -D warnings passes
  • cargo test passes (all 308+ tests)
  • cargo llvm-cov passes

Test plan

  • rulez skills install --runtime opencode --dry-run discovers 15 skills + 10 commands
  • rulez skills status shows human-readable timestamps
  • rulez skills diff --runtime opencode shows M/+ markers
  • rulez skills --help shows all 5 subcommands

🤖 Generated with Claude Code

RichardHightower and others added 30 commits March 12, 2026 17:26
- Add rulez test, rulez lint, rulez upgrade core commands
- Add rulez gemini install/doctor, copilot install/doctor, opencode install/doctor
- Group platform commands under Multi-Platform Commands heading
- Include accurate flags, options, and examples from Rust source

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add "diff" to MainView type union in uiStore.ts
- Add Diff button to Header view switcher (Editor | Logs | Diff)
- Route mainView === "diff" to ConfigDiffView in MainContent.tsx
- TypeScript compiles cleanly with no errors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add 29-02-SUMMARY.md with execution results
- Update STATE.md with current position and decisions
- Update ROADMAP.md with plan progress

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…lls/

- Rename .claude/skills/release-cch/ to .claude/skills/release-rulez/
- Replace all cch/CCH references with rulez/RuleZ across 11 files
- Fix preflight-check.sh to use workspace-level cargo commands (no cch_cli dir)
- Update asset names from cch-* to rulez-* in docs and scripts
- Update SKILL.md frontmatter: name: release-rulez, project: rulez
- Update settings.local.json permission paths to release-rulez
- Update cch-release.md command to reference release-rulez paths

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…all references

- Rename .opencode/skill/release-cch/ to .opencode/skill/release-rulez/
- Replace all cch/CCH references with rulez/RuleZ across 10 files
- Fix preflight-check.sh to use workspace-level cargo commands
- Update asset names from cch-* to rulez-* in docs and scripts
- Update opencode cch-release.md command to reference release-rulez
- Update AGENTS.md skill entry from release-cch to release-rulez
- Zero remaining release-cch references in active code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add 29-01-SUMMARY.md with execution results
- Update STATE.md with plan completion and decisions
- Update ROADMAP.md with plan progress

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…I Integration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…e-29)

- Renamed release-cch skill to release-rulez (149+ stale refs fixed)
- Fixed broken preflight-check.sh (stale cch_cli path)
- Added 9 missing CLI commands to mastering-hooks docs
- Wired ConfigDiffView into UI navigation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ures

- Add parallel rule evaluation (PARALLEL_THRESHOLD=10, tokio join_all)
- Add config caching with mtime-based invalidation
- Add globset matching documentation for directories matcher
- Add regex fail-closed behavior documentation
- Add tool_input fields in eval context with type mapping
- Add external logging backends (OTLP, Datadog, Splunk)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…on types

- Expand CLI commands table to all 22 commands (including test, lint, upgrade, multi-CLI)
- Add inject_inline and inject_command action types
- Add global options section (--debug-logs)
- Add exit codes table (0-3)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix global options section (was listing per-command flags as global)
- Add --debug-logs global option documentation
- Fix init flags (add --with-examples, -f short flag, remove nonexistent --template)
- Fix install/uninstall flags (--global/-g instead of --project/--user)
- Fix validate flags (remove nonexistent --strict)
- Fix explain section (add rules/event subcommands, --json/--no-stats flags)
- Fix debug flags (remove nonexistent --dry-run, add --json)
- Fix logs flags (--limit/-l instead of --tail, --mode/--decision instead of --event/--rule/--status)
- Remove nonexistent 'run' command section
- Remove nonexistent 'completions' section
- Add hook subcommand docs for gemini/copilot/opencode
- Update command index table with all 14 commands
- Update version references to 2.2.1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- End-to-end guide covering install, configure, verify, troubleshoot
- Covers rulez init, install, debug, logs, explain, test, lint commands
- Includes practical hooks.yaml example with block/inject/run rules
- Cross-references mastering-hooks/references/ docs throughout
- 362 lines, all commands match current rulez --help output

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- End-to-end guide covering install, dual-fire events, event mapping, verification
- Covers settings scope priority, troubleshooting, and cross-references
- 283 lines, all commands use rulez binary name

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- End-to-end guide covering install, plugin setup, event mapping, verification
- Covers audit logging, raw stdin testing, troubleshooting
- 369 lines, all commands use rulez binary name

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- SUMMARY.md with plan metrics and decisions
- STATE.md updated to phase 31, plan 1 of 4
- ROADMAP.md progress updated
- GUIDE-01 requirement marked complete

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
RichardHightower and others added 28 commits March 16, 2026 14:05
- Tutorial-first guide for OTLP, Datadog, and Splunk backends
- Comparison table, configuration reference, sample JSON payloads
- Verification steps for each backend
- Multi-backend fan-out configuration example
- Troubleshooting section with common gotchas
- Cross-references to config-schema.md and event-schema.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- ESLint-style rule cards for all 9 lint rules
- Quick start tutorial, CLI flags, severity levels
- Full before/after example with corrected config
- Troubleshooting section and cross-references

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Quick start tutorial with pass/fail walkthrough
- Full TestCase YAML schema (all 7 fields documented)
- Complete runnable example with 6 diverse scenarios
- GitHub Actions CI integration snippet
- Troubleshooting section and cross-references

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add last_validated frontmatter to cli-commands.md and quick-reference.md
- Remove non-existent TeammateIdle and TaskCompleted debug aliases
- Add missing user-prompt-submit alias to quick-reference.md
- Fix rulez --version --json to rulez --version (--json not a global flag)
- Update explain command description to match --help output
- Document known stale CCH references in multi-CLI --help text

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Rewrite hooks-yaml-schema.md: fix priority default (100->0), remove
  enabled_when from matchers (it is a rule-level field), fix eval context
  variable notation (env.CI -> env_CI), remove invalid =~ operator,
  remove non-existent reason action field, add missing actions
  (validate_expr, inline_script, run extended format), add missing
  matchers (require_fields, field_types, prompt_match complex syntax),
  add governance schema section, add settings to complete example
- Add last_validated frontmatter to all three schema docs
- Fix config-schema.md stray code block and add note about enabled_when
- Add frontmatter to event-schema.md (content already accurate)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Create 33-01-SUMMARY.md with audit findings and fixes
- Update STATE.md with phase 33 progress
- Update ROADMAP.md and REQUIREMENTS.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add last_validated frontmatter to all 7 docs
- Fix YAML examples to use correct schema (rules/matchers/actions)
- Fix incorrect event type references (tool_execute -> PreToolUse)
- Fix non-existent CLI flags (--input, --event, --last)
- Fix enabled_when syntax (env.CI -> env_CI)
- Fix self-referencing link in test.md Further Reading

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix SKILL.md: correct CLI flags (install, explain), YAML schema, version
- Fix rule-patterns.md: enabled_when syntax (env_CI not env.CI), field placement
- Fix troubleshooting-guide.md: CLI flags (logs --limit not --tail), YAML schema
- Fix agent-inline-hooks.md: add last_validated frontmatter
- Fix platform-adapters.md: add last_validated frontmatter
- Fix hooks-template.yaml: correct schema (rules/matchers/actions), version 1.0
- Template validates with rulez validate
- All cross-reference links resolve

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…t plan

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix operations field description (Bash operations -> Event type filter)
- Fix enabled_when example (env.CI -> env_CI underscore notation)
- Add missing validate_expr and inline_script action types

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change `rulez debug --input` to `rulez debug --path` on line 453.
The --input flag does not exist; --path/-p is the correct flag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ides

Archive v2.2.2 milestone artifacts:
- ROADMAP.md and REQUIREMENTS.md archived to milestones/
- Phase directories (30-33) moved to milestones/v2.2.2-phases/
- MILESTONES.md updated with accomplishments and stats
- PROJECT.md evolved with validated requirements
- RETROSPECTIVE.md created with milestone learnings
- STATE.md updated for next milestone

4 phases, 8 plans, 11/11 requirements satisfied.
42 files changed, 5,856 insertions over 3 days.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Multi-Runtime Skill Portability — author skills once in .claude/,
convert at install time for OpenCode, Gemini CLI, Codex, and custom runtimes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
New rulez/src/skills/ module tree with 14 source files:
- profiles.rs: Runtime enum, RuntimeProfile, Scope
- discovery.rs: SkillInventory scanning
- transform.rs: TransformPipeline chaining
- transforms/: tool_names, path_refs, command_naming, frontmatter, colors
- writer.rs: Clean-install file writer
- config_gen.rs: GEMINI.md/AGENTS.md registry updater
- cli/skills.rs: Full CLI subcommand handler (install, status, diff, sync, clean)

42 unit tests, all CI checks passing locally.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@RichardHightower RichardHightower merged commit f1ed8a7 into main Mar 17, 2026
9 checks passed
@RichardHightower RichardHightower deleted the release/v2.3.0 branch March 17, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant