Skip to content

Commit 2450596

Browse files
montfortclaude
andauthored
docs: rebuild CHANGELOG with complete version history (#40)
Add entries for CLI 3.0.1 (validate false positive fix), Framework 4.1.0 / CLI 3.0.0 (complexity-based triggers, analyze command, new command, CI/CD improvements), and remove stale Lizard reference. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5a1a7df commit 2450596

1 file changed

Lines changed: 52 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 52 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,55 @@ and this project uses [independent versioning](README.md#versioning) for Framewo
77

88
---
99

10-
## Framework 4.0.0 / CLI 2.1.0 — Phase 4: Advanced Automation & Ecosystem
10+
## CLI 3.0.1 — Validate False Positive Fix
11+
12+
### Fixed (CLI)
13+
- **REF-001**: Only validate `related:` references that match DevTrail document ID patterns (AILOG-*, AIDEC-*, ADR-*, etc.). Skips task IDs, requirement IDs, risk IDs, external paths, and other non-document references
14+
- **SEC-001**: `Bearer` and `token:` moved from errors to warnings — common in documentation describing auth flows. Actual secret patterns remain as errors
15+
16+
---
17+
18+
## Framework 4.1.0 / CLI 3.0.0 — Complexity-Based Documentation & Ecosystem
19+
20+
### Added (CLI)
21+
- **`devtrail analyze`** command — Code complexity analysis (cognitive + cyclomatic) powered by [arborist-metrics](https://github.com/StrangeDaysTech/arborist)
22+
- Output formats: text (colored), json, markdown
23+
- 12 languages: Rust, Python, JavaScript, TypeScript, Java, Go, C, C++, C#, PHP, Kotlin, Swift
24+
- Configurable threshold: CLI flag → `.devtrail/config.yml` → default (8)
25+
- **`devtrail new`** command — Interactive document creation with type suggestion based on context
26+
- Supports all 12 document types
27+
- Analyzes git diff to suggest appropriate type
28+
- **`--staged` flag** for `devtrail validate` — Validate only staged documents (pre-commit hooks)
29+
30+
### Changed (Framework)
31+
- **Documentation triggers redesigned**: `devtrail analyze --output json` is now the primary method for determining when to create AILOGs. The >20 lines heuristic is preserved as fallback when the CLI is unavailable
32+
- Updated across all governance docs, agent directives, skills/workflows (18 files, EN + ES)
33+
- Agent directives (Claude, Gemini, Copilot, Cursor) updated with complexity-based pre-commit checklist
34+
35+
### Changed (CLI)
36+
- All 12 arborist-metrics languages enabled (was limited subset)
37+
- Legacy scripts removed, replaced with CLI commands in all docs
38+
39+
### Added (Docs)
40+
- arborist-metrics promotion in README (EN + ES) — Open Source Ecosystem table
41+
- Documentation trigger notes in CLI-REFERENCE (EN + ES)
42+
43+
### Changed (CI/CD)
44+
- Release workflows unified: both trigger on tag push with automatic release creation
45+
- Idempotent releases: create if missing, upload with `--clobber` if exists
46+
- Auto-delete previous releases on new version (keeps only latest per component)
47+
- GitHub Actions updated to Node.js 24 compatible versions (checkout v6, upload-artifact v7, download-artifact v8)
48+
- Version verification: workflows check Cargo.toml / dist-manifest.yml matches tag
49+
- `workflow_dispatch` added to both workflows for manual re-runs
50+
51+
### Removed
52+
- Legacy `auditoria/` directory (one-time audit reviews, findings already addressed)
53+
- Legacy `docs/archive/` (obsolete planning documents)
54+
- Legacy shell scripts (replaced by CLI commands)
55+
56+
---
57+
58+
## Framework 4.0.0 / CLI 2.1.0 — Advanced Automation & Ecosystem
1159

1260
### Added (CLI)
1361
- **`devtrail audit`** command — Generate audit trail reports with timeline, traceability map, risk distribution, and compliance summary
@@ -25,16 +73,14 @@ and this project uses [independent versioning](README.md#versioning) for Framewo
2573
- Architecture Diagram section in TEMPLATE-ADR.md with Mermaid C4 placeholder
2674
- Sections 10 (C4 Model) and 11 (API Specification Tracking) in AGENT-RULES.md
2775
- Terminal compatibility notes in skill files for box-drawing character fallback
28-
- Canonical source comment in docs-validation.yml for document type list
2976

3077
### Changed
3178
- QUICK-REFERENCE.md: Added C4 Model reference to regulatory alignment table
32-
- Version bumps: Framework 3.2.0 → 4.0.0, CLI 2.0.0 → 2.1.0
3379
- Updated CLI-REFERENCE.md, README.md with 13 commands (EN + ES)
3480

3581
---
3682

37-
## Framework 3.2.0 / CLI 2.0.0 — Phase 3: Compliance Automation & Metrics
83+
## Framework 3.2.0 / CLI 2.0.0 — Compliance Automation & Metrics
3884

3985
### Added (CLI)
4086
- **`devtrail compliance`** command — Check regulatory compliance (EU AI Act, ISO 42001, NIST AI RMF)
@@ -54,15 +100,14 @@ and this project uses [independent versioning](README.md#versioning) for Framewo
54100

55101
---
56102

57-
## Framework 3.1.0 / CLI 1.4.0 — Phase 2: New Document Types & Validation
103+
## Framework 3.1.0 / CLI 1.4.0 — New Document Types & Validation
58104

59105
### Added (CLI)
60106
- **`devtrail validate`** command — Validate documents with 13 rules (NAMING, META, CROSS, TYPE, REF, SEC, OBS)
61107
- `--fix` flag for automatic corrections
62108
- Exit code 1 on errors, 0 on warnings-only
63109
- Document parsing engine (`document.rs`) — Shared by validate, compliance, metrics, audit
64110
- Validation engine (`validation.rs`) — Extensible rule-based validation
65-
- Lizard integration (`complexity.rs`) — Cyclomatic complexity analysis
66111

67112
### Added (Framework)
68113
- **TEMPLATE-SEC.md** — Security Assessment (STRIDE threat model, OWASP ASVS)
@@ -75,7 +120,7 @@ and this project uses [independent versioning](README.md#versioning) for Framewo
75120

76121
---
77122

78-
## Framework 3.0.0 / CLI 1.3.0 — Phase 1: Regulatory Base & Standards Update
123+
## Framework 3.0.0 / CLI 1.3.0 — Regulatory Base & Standards Update
79124

80125
### Changed (Framework)
81126
- **IEEE 830 → ISO/IEC/IEEE 29148:2018** in TEMPLATE-REQ.md (External Interfaces, V&V, Traceability)

0 commit comments

Comments
 (0)