Skip to content

docs: add architecture decision records for existing decisions - #805

Merged
rubenvdlinde merged 1 commit into
developmentfrom
ai-ready/ai5-versioniq-adr
Nov 20, 2026
Merged

rubenvdlinde merged 1 commit into
developmentfrom
ai-ready/ai5-versioniq-adr

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Adds docs/adr/ with seven MADR-style records (status, context, decision, consequences, source) and an index in docs/adr/README.md. Each record writes down a decision this app has already made and that the code follows today. Each cites the archived OpenSpec design.md it comes from:

  1. The admin settings section is the only entry point to the UI (move-to-admin-settings)
  2. External release sources get their own installer (add-external-source-installs)
  3. External release checksums are pinned on first use (add-external-source-sha-pinning)
  4. Access tokens are encrypted at rest and decrypted only inside a callback (add-github-pat-management)
  5. Version pins are enforced by Versioniq and monitored elsewhere (add-version-pinning)
  6. The audit trail is its own table, written best effort and never edited (add-version-audit-trail)
  7. Lookups across all apps run as background sweeps that store a snapshot (inventory-pending-updates)

AGENTS.md now points to docs/adr/.

Verified locally:

  • Each decision was checked against the current code: the classes, jobs, routes and attributes named in each record exist.
  • docs/ is the Docusaurus site, so the new pages are part of it. The records use no bare < or { outside code spans. cd docs && npm ci --legacy-peer-deps && npm run build succeeds, and the build's postbuild checks all pass once the files are committed.
  • No relative links are broken.
  • The hydra diff check is green (gates, floor and phpunit pass).

Generated by Claude Code

@rubenvdlinde
rubenvdlinde merged commit 2fc1cbb into development Nov 20, 2026
4 of 8 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/versioniq @ 3c62b15

Check PHP Vue Security License Tests
lint ✅
phpcs ✅
phpmd ✅
psalm ❌
phpstan ✅
phpmetrics ✅
eslint ❌
stylelint ❌
build ✅
composer ✅ ✅ 58/58
npm ✅ ✅ 314/314
app:check-code ⏭️
info.xml ✅
REUSE ❌
lockfile sync ✅
PHPUnit ❌
Newman ⏭️
Playwright ⏭️ deferred: E2E runs locally and on the promotion path only. This pull request targets development, so the suite is asked once per promotion into beta and main rather than once per push per open pull request. Run it locally with npx playwright test, or from the Actions tab on a branch with no open pull request into development.
Hydra gates ❌

Quality workflow — 2026-11-20 19:28 UTC

Download the full PDF report from the workflow artifacts.

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.

1 participant