Skip to content

Commit 6933c42

Browse files
committed
refactor: rename CDR from 'Context Decision Records' to 'Context Directive Records'
Updated terminology across all levelup extension files and catalog: - CHANGELOG.md, README.md, extension.yml, config-template.yml - commands/init.md, commands/spec.md, commands/clarify.md - scripts/bash/setup-levelup.sh, scripts/powershell/setup-levelup.ps1 - templates/cdr-template.md - extensions/catalog.json CDR acronym preserved (Context Directive Records).
1 parent f817734 commit 6933c42

11 files changed

Lines changed: 21 additions & 21 deletions

File tree

extensions/catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"id": "levelup",
88
"name": "LevelUp - Team AI Directives Contributor",
99
"version": "1.0.0",
10-
"description": "Discover and contribute context modules (rules, personas, examples, skills) to team-ai-directives using Context Decision Records (CDRs)",
10+
"description": "Discover and contribute context modules (rules, personas, examples, skills) to team-ai-directives using Context Directive Records (CDRs)",
1111
"author": "Agentic SDLC Team",
1212
"repository": "https://github.com/tikalk/agentic-sdlc-spec-kit",
1313
"homepage": "https://github.com/tikalk/agentic-sdlc-spec-kit/tree/main/extensions/levelup",

extensions/levelup/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- `levelup.spec` command for refining CDRs from feature context
1616
- `levelup.skills` command for building skills from accepted CDRs
1717
- `levelup.implement` command for creating PRs to team-ai-directives
18-
- Context Decision Record (CDR) template
18+
- Context Directive Record (CDR) template
1919
- Support for both submodule and clone paths for team-ai-directives
2020
- Bash and PowerShell scripts for setup and analysis
2121

extensions/levelup/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# LevelUp Extension
22

3-
Discover and contribute context modules (rules, personas, examples, skills) to team-ai-directives using Context Decision Records (CDRs).
3+
Discover and contribute context modules (rules, personas, examples, skills) to team-ai-directives using Context Directive Records (CDRs).
44

55
## Overview
66

7-
The LevelUp extension helps brownfield projects analyze their codebase and contribute reusable context modules back to the team's shared AI directives repository. It introduces **Context Decision Records (CDRs)** - similar to Architecture Decision Records (ADRs) - for tracking what, why, and how context is being contributed.
7+
The LevelUp extension helps brownfield projects analyze their codebase and contribute reusable context modules back to the team's shared AI directives repository. It introduces **Context Directive Records (CDRs)** - similar to Architecture Decision Records (ADRs) - for tracking what, why, and how context is being contributed.
88

99
## Commands
1010

@@ -58,7 +58,7 @@ Compile accepted CDRs into a PR to team-ai-directives:
5858

5959
This creates a draft PR with all accepted contributions.
6060

61-
## Context Decision Records (CDRs)
61+
## Context Directive Records (CDRs)
6262

6363
CDRs are stored in `.specify/memory/cdr.md` and track:
6464

extensions/levelup/commands/clarify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ Run `/levelup.implement` to:
327327

328328
| File | Description |
329329
|------|-------------|
330-
| `.specify/memory/cdr.md` | Updated Context Decision Records |
330+
| `.specify/memory/cdr.md` | Updated Context Directive Records |
331331

332332
## Notes
333333

extensions/levelup/commands/init.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Scan codebase and discover Context Decision Records (CDRs) for team-ai-directives contributions
2+
description: Scan codebase and discover Context Directive Records (CDRs) for team-ai-directives contributions
33
handoffs:
44
- label: Resolve Ambiguities
55
agent: levelup.clarify
@@ -41,7 +41,7 @@ When users provide context, use it to focus the discovery effort.
4141

4242
## Goal
4343

44-
Scan an **existing codebase** (brownfield) and discover patterns that could become contributions to team-ai-directives. Create **Context Decision Records (CDRs)** documenting discovered patterns.
44+
Scan an **existing codebase** (brownfield) and discover patterns that could become contributions to team-ai-directives. Create **Context Directive Records (CDRs)** documenting discovered patterns.
4545

4646
**Output**:
4747

@@ -414,7 +414,7 @@ Run `/levelup.implement` to:
414414

415415
| File | Description |
416416
|------|-------------|
417-
| `.specify/memory/cdr.md` | Context Decision Records |
417+
| `.specify/memory/cdr.md` | Context Directive Records |
418418

419419
## Notes
420420

extensions/levelup/commands/spec.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Extract Context Decision Records (CDRs) from current feature spec context (replaces old /spec.levelup)
2+
description: Extract Context Directive Records (CDRs) from current feature spec context (replaces old /spec.levelup)
33
scripts:
44
sh: scripts/bash/setup-levelup.sh --json
55
ps: scripts/powershell/setup-levelup.ps1 -Json
@@ -22,7 +22,7 @@ You **MUST** consider the user input before proceeding (if not empty).
2222

2323
## Goal
2424

25-
Extract **Context Decision Records (CDRs)** from the **current feature specification** after completing implementation. This is the primary command for capturing learnings from a completed feature.
25+
Extract **Context Directive Records (CDRs)** from the **current feature specification** after completing implementation. This is the primary command for capturing learnings from a completed feature.
2626

2727
**This command replaces the old `/spec.levelup` command.**
2828

@@ -228,7 +228,7 @@ Consider adding more context:
228228

229229
| File | Description |
230230
|------|-------------|
231-
| `.specify/memory/cdr.md` | Enriched Context Decision Records |
231+
| `.specify/memory/cdr.md` | Enriched Context Directive Records |
232232

233233
## Notes
234234

extensions/levelup/config-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ team_directives:
1212
# Uncomment to override with explicit path:
1313
# path: "/path/to/team-ai-directives"
1414

15-
# CDR (Context Decision Record) Settings
15+
# CDR (Context Directive Record) Settings
1616
cdr:
1717
# CDR generation heuristic
1818
# - surprising: Only document patterns not already in team-directives (default)

extensions/levelup/extension.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ extension:
44
id: "levelup"
55
name: "LevelUp - Team AI Directives Contributor"
66
version: "1.0.0"
7-
description: "Discover and contribute context modules (rules, personas, examples, skills) to team-ai-directives using Context Decision Records (CDRs)"
7+
description: "Discover and contribute context modules (rules, personas, examples, skills) to team-ai-directives using Context Directive Records (CDRs)"
88
author: "Agentic SDLC Team"
99
repository: "https://github.com/tikalk/agentic-sdlc-spec-kit"
1010
license: "MIT"
@@ -22,7 +22,7 @@ provides:
2222
# Brownfield CDR discovery - like architect.init
2323
- name: "speckit.levelup.init"
2424
file: "commands/init.md"
25-
description: "Scan codebase and discover Context Decision Records (CDRs) for team-ai-directives contributions"
25+
description: "Scan codebase and discover Context Directive Records (CDRs) for team-ai-directives contributions"
2626
aliases: ["levelup.init"]
2727

2828
# Resolve CDR ambiguities - like architect.clarify

extensions/levelup/scripts/bash/setup-levelup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ mkdir -p "$SKILLS_DRAFTS"
5858
# Initialize CDR file if it doesn't exist
5959
if [[ ! -f "$CDR_FILE" ]]; then
6060
cat > "$CDR_FILE" << 'EOF'
61-
# Context Decision Records
61+
# Context Directive Records
6262
63-
Context Decision Records (CDRs) track decisions about contributing context modules (rules, personas, examples, skills) to team-ai-directives.
63+
Context Directive Records (CDRs) track decisions about contributing context modules (rules, personas, examples, skills) to team-ai-directives.
6464
6565
## CDR Index
6666

extensions/levelup/scripts/powershell/setup-levelup.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ if (-not (Test-Path $skillsDrafts)) {
5656
# Initialize CDR file if it doesn't exist
5757
if (-not (Test-Path $cdrFile)) {
5858
$cdrTemplate = @"
59-
# Context Decision Records
59+
# Context Directive Records
6060
61-
Context Decision Records (CDRs) track decisions about contributing context modules (rules, personas, examples, skills) to team-ai-directives.
61+
Context Directive Records (CDRs) track decisions about contributing context modules (rules, personas, examples, skills) to team-ai-directives.
6262
6363
## CDR Index
6464

0 commit comments

Comments
 (0)