Architecture decision records
This folder records the architecture decisions behind UI5 BlueprintAudit: what was decided, why, and what follows from it. Each record is short and stands on its own.
The first set was captured from CLAUDE.md, the rule catalog, the documentation, and the Git history. Decisions made later get the next number.
Format
Each record has a status, the context, the decision, and the consequences. A record is never rewritten when a decision changes. Instead, a new record supersedes it and the old one gets the status Superseded by ADR-NNNN.
Statuses: Proposed, Accepted, Superseded, Deprecated.
Index
Product and architecture
| ADR | Decision |
|---|---|
| 0001 | Standalone CLI, not an ESLint or @ui5/linter plugin |
| 0002 | TypeScript on Node.js, ESM, minimum Node.js 24 |
| 0003 | npm-workspaces monorepo with three packages |
| 0004 | The core rules are a regular plugin |
| 0005 | Translation logic lives in the types package |
| 0006 | The project context is loaded once, rules never touch the file system |
| 0007 | The user states the project type, no auto-detection |
| 0008 | Library projects have no webapp/, detection runs through ui5.yaml |
| 0009 | The rule catalog is the source of truth |
| 0010 | typescript is a runtime dependency of the core plugin |
Configuration and plugins
| ADR | Decision |
|---|---|
| 0011 | YAML configuration that only overrides defaults, validated strictly |
| 0012 | Plugins load from local files or npm, resolved from the project with ESM conditions |
| 0013 | Plugin rule IDs are prefixed, core rule IDs are not |
| 0014 | Errors in one rule or one project never abort the whole run |
Output and localization
| ADR | Decision |
|---|---|
| 0015 | Flat translation bundles with an English fallback, extensible by plugins |
| 0016 | Report formats, the always-English JUnit file, and exit codes |
Quality, delivery, and process
| ADR | Decision |
|---|---|
| 0017 | Fixture tests per rule, sample projects as regression source, local mutation testing |
| 0018 | main is protected, all changes land through pull requests |
| 0019 | Releases are triggered by a version bump and published with npm Trusted Publishing |
| 0020 | CycloneDX SBOMs per package, generated with cyclonedx-npm |
| 0021 | VitePress documentation site, with the catalog included, not copied |
| 0022 | Everything an AI assistant writes in this repository is English |