Repository navigation
docs(openspec): record the token and audit tables as an ADR-128 exception - #948
Draft
rubenvdlinde wants to merge 1 commit into
Draft
rubenvdlinde wants to merge 1 commit into
rubenvdlinde wants to merge 1 commit into
Conversation
…tion ADR-008 is the first ADR under openspec/architecture/, numbered after docs/adr 0001-0007. It names the two tables in lib/Db/: the encrypted PAT table (the credential-table class ADR-132 allows) and the version audit trail, which records installs and rollbacks of OpenRegister itself and so cannot live in it. Both are permanent exceptions; the sunset 2027-12-31 is a review date. Gate-23's new hard row (or-capability:local-tables) needs this record. Assisted-by: ClaudeCode:claude-opus-5-5
Contributor
Quality Report — ConductionNL/versioniq @
|
| Check | PHP | Vue | Security | License | Tests |
|---|---|---|---|---|---|
| lint | ✅ | ||||
| phpcs | ✅ | ||||
| phpmd | ✅ | ||||
| psalm | ❌ | ||||
| phpstan | ✅ | ||||
| phpmetrics | ✅ | ||||
| eslint | ❌ | ||||
| stylelint | ❌ | ||||
| build | ✅ | ||||
| composer | ✅ | ✅ 58/58 | |||
| npm | ❌ | ✅ 529/529 | |||
| app:check-code | ⏭️ | ||||
| info.xml | ✅ | ||||
| REUSE | ❌ | ||||
| lockfile sync | ✅ | ||||
| PHPUnit | 🚨 NO VERDICT — enabled but never ran | ||||
| 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-12-01 07:19 UTC
Download the full PDF report from the workflow artifacts.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exception ADR required by ADR-128 (ConductionNL/hydra#804) and gate-23's new row (ConductionNL/.github#983), part of the ADR compaction in ConductionNL/hydra#801.
Adds
openspec/architecture/with its first record,adr-008-local-tables-for-tokens-and-the-audit-trail.md. It is numbered afterdocs/adr/0001 to 0007 and listed in that index, because gate-23 reads exception ADRs fromopenspec/architecture/only.What it records
The four classes in
lib/Db/map two tables, both frozen on the old app id:app_versions_pats(Pat,PatMapper): forge tokens, encrypted withICrypto. The local encrypted credential table that ADR-132 (ConductionNL/hydra#807) allows. Permanent.app_versions_audit(AuditEntry,AuditEntryMapper): the immutable record of installs, rollbacks and pins. Versioniq installs and rolls back OpenRegister itself and runs without it, so the trail of those operations cannot live in OpenRegister. Permanent, not dated.Both carry a review sunset of 2027-12-31. The parser warns on every run without one; the date is a review, not a migration.
Verified
lint-or-abstraction-anti-patterns.shfrom .github#983's branch) ondevelopment: exit 1, the hardor-capability:local-tablesrow fires.Docs only, no code change.
🤖 Generated with Claude Code