You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/levelup/CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,19 @@ All notable changes to the LevelUp extension will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [1.6.1] - 2026-05-23
9
+
10
+
### Fixed
11
+
12
+
-**repair.md**: Redundant ID generation fixed - strips context type directory prefix (`rules/`, `personas/`, `examples/`) before generating IDs (e.g., `rules/style-guides/java/google_style_guide.md` now produces `rule-style-guides-java-google_style_guide` instead of `rule-rules-style-guides-java-google_style_guide`)
13
+
-**repair.md**: CDR references preserved during repair - orphan files now look up existing CDR.md entries before setting `cdr_ref: null`, preventing CDR reference loss
14
+
-**repair.md**: AGENTS.md section check now uses flexible grep (`grep -qiE "##.*CDR\\.md"`) to match both `## CDR.md` and `## Context Directive Records (CDR.md)`
15
+
-**validate-directives.sh**: Fixed jq error `Could not open file []` caused by passing JSON string `"[]"` as a filename argument to `jq -s` in line 439; now pipes both inputs via stdin
3. Compute the file's relative path from `TEAM_DIRECTIVES` (e.g., `context_modules/rules/style-guides/java/google_style_guide.md`) and look it up in `CDR_LOOKUP`:
240
+
- If found, use the existing `cdr_ref` (e.g., `CDR-2026-023`)
241
+
- If not found, set `cdr_ref: null`
242
+
4. Set default metadata:
211
243
```yaml
212
244
id: {generated-id}
213
-
cdr_ref: null
245
+
cdr_ref: {from CDR_LOOKUP or null} # Preserve existing CDR ref if available
214
246
created: {today}
215
247
modified: {today}
216
248
verified: {today}
@@ -222,9 +254,10 @@ If `--dry-run`:
222
254
```markdown
223
255
### Orphan Files Detected
224
256
225
-
| File | Generated ID | Action |
226
-
|------|--------------|--------|
227
-
| rules/python/new-pattern.md | rule-python-new-pattern | Would add frontmatter |
Copy file name to clipboardExpand all lines: extensions/levelup/extension.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ schema_version: "1.0"
3
3
extension:
4
4
id: "levelup"
5
5
name: "LevelUp - Team AI Directives Contributor"
6
-
version: "1.6.0"
6
+
version: "1.6.1"
7
7
description: "Discover and contribute context modules to team-ai-directives using CDRs. Features multi-agent sub-system analysis with cross-system pattern detection, inconsistency tracking, signal gate filtering, verification metadata, and freshness tracking."
0 commit comments