Skip to content

Commit 8157607

Browse files
release: v2.2.0 — Subagent Hooks, DX, Performance & Enterprise (#114)
* docs: add GitHub CLI and GCloud auth instructions to CLAUDE.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * release: v2.2.0 — Subagent Hooks, DX, Performance & Enterprise Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4bd7e0b commit 8157607

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ All notable changes to RuleZ (AI Policy Engine) will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.2.0] - 2026-03-12
9+
10+
### Added
11+
12+
- **Subagent hook patterns** (Phase 29) — `agent-inline-hooks.md` reference, updated rule-patterns, troubleshooting guide, and hooks template with subagent examples
13+
- **`rulez test`** (Phase 30) — Batch test command runs multiple event scenarios from a YAML file with pass/fail summary
14+
- **External logging backends** (Phase 33) — OTLP, Datadog, and Splunk integrations via curl subprocess transport with fallback to local JSON Lines
15+
- **BeforeAgent event guide** (Phase 32) — Event scoping documentation, platform support table, and Issue #107 resolution
16+
- **Config diff view** (Phase 34) — Side-by-side global vs project config comparison in rulez-ui using Monaco DiffEditor
17+
- **API documentation** (Phase 35) — Event schema and config schema reference docs, expanded rustdoc for library crate
18+
- **`rulez lint`** (Phase 36) — Rule quality analysis with 9 checks: duplicate names, empty matchers, conflicting actions, overlapping rules, dead rules, missing descriptions, invalid regex, glob consolidation, missing priority
19+
20+
### Changed
21+
22+
- Cold-start performance baseline established (Phase 31) — moved CLI parse before config init
23+
824
## [2.1.0] - 2026-03-10
925

1026
### Added

CLAUDE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,25 @@ rulez repl # Interactive debug mode
9393
- Project config: `.claude/hooks.yaml`
9494
- Logs: `~/.claude/logs/rulez.log`
9595

96+
## GitHub CLI Setup
97+
98+
**CRITICAL: Switch to personal account before any `gh` operations (PRs, issues, etc.).**
99+
100+
```bash
101+
# Check which account is active
102+
gh auth status
103+
104+
# Switch to personal account (EMU account cannot create PRs)
105+
gh auth switch --user RichardHightower
106+
```
107+
108+
## GCloud Auth
109+
110+
```bash
111+
gcloud auth login
112+
gcloud auth application-default login
113+
```
114+
96115
## Pre-Push Checklist
97116

98117
**CRITICAL: Always run the FULL CI pipeline locally before pushing or creating PRs. ALL steps must pass.**

0 commit comments

Comments
 (0)