Skip to content

Commit 4f26154

Browse files
committed
Updating changelog, unreleased, claudemd, config.yml to exclude a few irrelevant checks.
1 parent 6c0b6f2 commit 4f26154

4 files changed

Lines changed: 73 additions & 60 deletions

File tree

.reporails/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Project-level configuration for rules/ repo
2+
exclude_dirs:
3+
- tests
4+
5+
disabled_rules:
6+
- "CLAUDE:S:0005" # Child Files Scoped — single-repo, only 1 CLAUDE.md
7+
- "CLAUDE:S:0010" # Settings File Missing — rules/ is a framework repo, not a Claude Code project
8+
- "CORE:S:0006" # Total Instruction Budget — framework repo with many skills (38KB > 32KB limit)
9+
- "CORE:S:0010" # Cross-Agent Compatibility — excluded in agent config
10+
- "CORE:S:0011" # MCP Servers Documented — no MCP server in this repo

CHANGELOG.md

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

8+
## [0.3.0] - 2026-02-10
9+
10+
### Added
11+
- [SKILLS]: `/implement-rule` skill — implement checks, patterns, and fixtures for rule skeletons
12+
- [RUNTIME]: Contributor test harness — Docker-based runner for validating rules against fixtures
13+
- [RUNTIME]: 15 mechanical check functions (file_exists, directory_exists, line_count, byte_size, file_count, git_tracked, frontmatter_field, aggregate_byte_size, import_depth, directory_file_types, frontmatter_valid_glob, content_absent, and more)
14+
- [RUNTIME]: OpenGrep integration for deterministic pattern testing
15+
- [RUNTIME]: `--package` flag for testing additional rule packages (e.g., `--package /recommended`)
16+
- [RUNTIME]: Docker compose mounts recommended/ at `/recommended:ro` for package testing
17+
- [CORE]: All 47 core rules fully implemented — checks, patterns, and fixtures wired (47/47 passing)
18+
- [REGISTRY]: Capabilities, levels, coordinate map, tombstones
19+
- [REGISTRY]: 9 tombstone entries for coordinates moved to recommended package
20+
- [SCHEMAS]: Capability schema v0.1.0
21+
22+
### Changed
23+
- [SKILLS]: `/implement-rule` rewritten — violation class identification, structural pattern design, anti-negate strategy, realistic fixture criteria
24+
- [WORKFLOWS]: `rule-implementation.md` rewritten — violation class step, fixture quality gate, reanalysis loop
25+
- [FIXTURES]: Migrated test fixtures from stub files (tests/pass.md, tests/fail.md) to directories (tests/pass/, tests/fail/)
26+
- [BACKBONE]: Updated test_pass/test_fail patterns for directory-based fixtures
27+
- [SCHEMAS]: Rule schema rewrite — coordinate IDs, gate checks, governance category
28+
- [SCHEMAS]: Agent schema — prefix/name/overrides restored as optional after config audit
29+
- [SCHEMAS]: Levels schema rewrite — cross-reference validation only
30+
- [SCHEMAS]: Package schema — AILS→RRAILS prefix, coordinate format
31+
- [SCHEMAS]: Project and user schemas — semver schema_version
32+
- [BACKBONE]: v3 — slug-based patterns, registry section, removed index/artifacts
33+
- [META]: CLAUDE.md and rules updated for coordinate format
34+
- [SKILLS]: All 5 skills updated for coordinate and registry paths
35+
- [SKILLS]: `/generate-rule` updated — fixture step now creates `tests/pass/` and `tests/fail/` directories with `.gitkeep`
36+
37+
### Fixed
38+
- [CORE:S:0004]: Replaced Stripe-format fake API key in test fixture with generic value to avoid GitHub Push Protection rejection
39+
- [CORE:S:0003]: Use `.git_marker` as trackable alternative to `.git` in test fixtures — git cannot track paths named `.git`, causing CI failures
40+
- [SCHEMAS]: Agent schema — restored `prefix`, `name` as optional fields; `overrides` as optional object; `main_instruction_file`/`instruction_files` accept string or list
41+
- [AGENTS]: Claude and Codex configs — added required `version: "0.1.0"` field
42+
- [AGENTS]: Codex config — removed stale v0.2 overrides (E4-, E2-, E5- identifiers)
43+
- [CORE:S:0010]: Changed `type: deterministic``type: mechanical` (all checks are mechanical)
44+
- [CORE:S:0009]: Updated prose to match check behavior (file existence, not git tracking)
45+
- [OPENGREP]: Fixed 6 negated-rule messages from absence-language to presence-language (CORE:C:0002, C:0003, C:0004, C:0005, C:0015, CORE:S:0011)
46+
- [BACKBONE]: Added missing `sources` schema to backbone registry
47+
- [META]: CLAUDE.md — replaced hardcoded structure tree with backbone reference
48+
- [META]: CLAUDE.md — added constraint: resolve paths from backbone before exploratory commands
49+
50+
### Removed
51+
- [CORE:C]: Removed 7 rules reclassified as recommended (0008, 0013, 0014, 0018, 0020, 0021, 0024)
52+
- [CLAUDE:S]: Removed 2 rules reclassified as recommended (0006, 0007)
53+
54+
### Migration
55+
- [CORE]: Migrated 15 rules from short-ID format (`S1-size-limits/`) to coordinate-based (`size-limits/rule.md`)
56+
- [CORE]: Removed old short-ID rule directories (superseded by coordinate-based layout)
57+
- [CORE]: Removed root `levels.yml` (superseded by `registry/levels.yml`)
58+
- [CORE]: M1 (version-control) reclassified from `deterministic` to `mechanical`
59+
- [CORE]: C2 (single-source-of-truth) now `supersedes: CORE:C:0001`
60+
- [CORE]: Level assignments — L1: M1, C3 | L2: S1, S3, S4, C1, C5, E1 | L3: S2, C2, C4, E2, M2 | L5: M3, M4
61+
- [CORE]: Fixed M4 frontmatter bug (had `id: M2`, now `id: CORE:M:0004`)
62+
- [CORE]: All `backed_by` converted to source ID format (references `docs/sources.yml`)
63+
- [CORE]: All `checks[].id` now follow `{rule_id}:check:{slot}` coordinate pattern
64+
865
## [0.2.2] - 2026-02-04
966

1067
### Changed

CLAUDE.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ Framework for evaluating and maintaining AI agent instruction files.
1010
- OpenGrep patterns for detection
1111
- No application code — framework only
1212

13-
## Bootstrap
13+
## Initialization
1414

15-
1. Read `.reporails/backbone.yml` for project structure
15+
Read these files before searching or modifying anything:
16+
17+
1. Read `.reporails/backbone.yml` for project structure and path resolution
1618
2. Read `registry/capabilities.yml` and `registry/levels.yml` for architecture
19+
3. Read `.claude/rules/` for context-specific constraints on the current task
1720

1821
## Structure
1922

UNRELEASED.md

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1 @@
1-
# Unreleased
2-
3-
### Added
4-
- [SKILLS]: `/implement-rule` skill — implement checks, patterns, and fixtures for rule skeletons
5-
- [RUNTIME]: Contributor test harness — Docker-based runner for validating rules against fixtures
6-
- [RUNTIME]: 15 mechanical check functions (file_exists, directory_exists, line_count, byte_size, file_count, git_tracked, frontmatter_field, aggregate_byte_size, import_depth, directory_file_types, frontmatter_valid_glob, content_absent, and more)
7-
- [RUNTIME]: OpenGrep integration for deterministic pattern testing
8-
- [RUNTIME]: `--package` flag for testing additional rule packages (e.g., `--package /recommended`)
9-
- [RUNTIME]: Docker compose mounts recommended/ at `/recommended:ro` for package testing
10-
- [CORE]: All 47 core rules fully implemented — checks, patterns, and fixtures wired (47/47 passing)
11-
- [REGISTRY]: Capabilities, levels, coordinate map, tombstones
12-
- [REGISTRY]: 9 tombstone entries for coordinates moved to recommended package
13-
- [SCHEMAS]: Capability schema v0.1.0
14-
15-
### Fixed
16-
- [CORE:S:0004]: Replaced Stripe-format fake API key in test fixture with generic value to avoid GitHub Push Protection rejection
17-
- [CORE:S:0003]: Use `.git_marker` as trackable alternative to `.git` in test fixtures — git cannot track paths named `.git`, causing CI failures
18-
- [SCHEMAS]: Agent schema — restored `prefix`, `name` as optional fields; `overrides` as optional object; `main_instruction_file`/`instruction_files` accept string or list
19-
- [AGENTS]: Claude and Codex configs — added required `version: "0.1.0"` field
20-
- [AGENTS]: Codex config — removed stale v0.2 overrides (E4-, E2-, E5- identifiers)
21-
- [CORE:S:0010]: Changed `type: deterministic``type: mechanical` (all checks are mechanical)
22-
- [CORE:S:0009]: Updated prose to match check behavior (file existence, not git tracking)
23-
- [OPENGREP]: Fixed 6 negated-rule messages from absence-language to presence-language (CORE:C:0002, C:0003, C:0004, C:0005, C:0015, CORE:S:0011)
24-
25-
### Removed
26-
- [CORE:C]: Removed 7 rules reclassified as recommended (0008, 0013, 0014, 0018, 0020, 0021, 0024)
27-
- [CLAUDE:S]: Removed 2 rules reclassified as recommended (0006, 0007)
28-
29-
### Migration
30-
- [CORE]: Migrated 15 rules from short-ID format (`S1-size-limits/`) to coordinate-based (`size-limits/rule.md`)
31-
- [CORE]: Archived old rule directories to `archive/v0.2.1/core/`
32-
- [CORE]: Archived root `levels.yml` to `archive/v0.2.1/levels.yml` (superseded by `registry/levels.yml`)
33-
- [CORE]: M1 (version-control) reclassified from `deterministic` to `mechanical`
34-
- [CORE]: C2 (single-source-of-truth) now `supersedes: CORE:C:0001`
35-
- [CORE]: Level assignments — L1: M1, C3 | L2: S1, S3, S4, C1, C5, E1 | L3: S2, C2, C4, E2, M2 | L5: M3, M4
36-
- [CORE]: Fixed M4 frontmatter bug (had `id: M2`, now `id: CORE:M:0004`)
37-
- [CORE]: All `backed_by` converted to source ID format (references `docs/sources.yml`)
38-
- [CORE]: All `checks[].id` now follow `{rule_id}:check:{slot}` coordinate pattern
39-
40-
### Fixed
41-
- [BACKBONE]: Added missing `sources` schema to backbone registry
42-
- [META]: CLAUDE.md — replaced hardcoded structure tree with backbone reference
43-
- [META]: CLAUDE.md — added constraint: resolve paths from backbone before exploratory commands
44-
45-
### Changed
46-
- [SKILLS]: `/implement-rule` rewritten — violation class identification, structural pattern design, anti-negate strategy, realistic fixture criteria
47-
- [WORKFLOWS]: `rule-implementation.md` rewritten — violation class step, fixture quality gate, reanalysis loop
48-
- [FIXTURES]: Migrated test fixtures from stub files (tests/pass.md, tests/fail.md) to directories (tests/pass/, tests/fail/)
49-
- [BACKBONE]: Updated test_pass/test_fail patterns for directory-based fixtures
50-
- [SCHEMAS]: Rule schema rewrite — coordinate IDs, gate checks, governance category
51-
- [SCHEMAS]: Agent schema — prefix/name/overrides restored as optional after config audit
52-
- [SCHEMAS]: Levels schema rewrite — cross-reference validation only
53-
- [SCHEMAS]: Package schema — AILS→RRAILS prefix, coordinate format
54-
- [SCHEMAS]: Project and user schemas — semver schema_version
55-
- [BACKBONE]: v3 — slug-based patterns, registry section, removed index/artifacts
56-
- [META]: CLAUDE.md and rules updated for coordinate format
57-
- [SKILLS]: All 5 skills updated for coordinate and registry paths
58-
- [SKILLS]: `/generate-rule` updated — fixture step now creates `tests/pass/` and `tests/fail/` directories with `.gitkeep`
1+
# Unreleased

0 commit comments

Comments
 (0)