Skip to content

Define the MAP architecture decision schema - #100

Merged
rajanbor merged 1 commit into
mainfrom
feat/authority-schemas
Sep 13, 2026
Merged

rajanbor merged 1 commit into
mainfrom
feat/authority-schemas

Conversation

@rajanbor

Copy link
Copy Markdown
Owner

Outcome

  • adds a strict draft 2020-12 schema for ADR frontmatter
  • reuses shared document field definitions through offline $ref resolution
  • documents lifecycle, required fields, Markdown sections, migration, and rollback
  • validates accepted and superseded fixtures, including conditional supersededBy
  • validates real .map/decisions documents and detects dangling ADR references
  • updates the generated ADR template with owners and tags

Verification

  • node library/scripts/validate-schemas.ts (3 contracts)
  • node library/scripts/build-registry.ts --check
  • pnpm lint
  • pnpm typecheck
  • pnpm test (140 tests)
  • pnpm build
  • pnpm audit --audit-level=low
  • map optimize --check (17% of budget)

Closes #91

@rajanbor
rajanbor merged commit 4b0ade7 into main Sep 13, 2026
2 checks passed
@rajanbor
rajanbor deleted the feat/authority-schemas branch September 13, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schema: architecture decision records

1 participant