docs(adr): establish docs/adr + record 4 architecture decisions - #405
Merged
Conversation
The Stem had no Architecture Decision Records (seed has 16, niac has 1). Stand up docs/adr/ (matching the sibling repos' format) and capture the decisions made during this hardening pass so the reasoning is durable: - 0001 Capability registry for route policy (register() + /__capabilities + gate) - 0002 Single source of truth for module metadata + executor - 0003 Dependency direction enforced by depguard - 0004 Single-admin auth model + CORS posture (why no role system; CORS opt-in) Docs only. Phase 4 (durable decisions).
krisarmstrong
enabled auto-merge (squash)
June 8, 2026 03:24
Contributor
License Compliance ReportAll dependencies pass license compliance checksGo Dependencies
npm DependenciesSee full report in workflow artifacts Allowed Licenses: MIT, Apache-2.0, BSD-*, ISC, CC0-1.0, MPL-2.0 |
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.
Phase 4 (durable decisions). The Stem had no ADRs; stand up
docs/adr/(matching niac/seed format) and record the decisions from this hardening pass:register()+/__capabilities+ CI gate) — feat(api): capability registry — declarative route policy + /__capabilities + CI gate #401Context → Decision → Consequences → Alternatives for each. Docs only.