[E01-S01-T05] ADR: Kysely containment #411
No Reviewers
Labels
Clear labels
agent/analyst-drafted
agent/analyst-drafted
needs/human-decision
needs/human-decision
needs/security-review
needs/security-review
tier/t0
tier/t1
tier/t2
tier/t3
trivial — implementer only, auto-merge
standard — implementer + reviewer + tester
complex — security if triggered, human merge
critical — full chain + security, human merge
kind
bug
kind
bug
kind
epic
kind
epic
kind
initiative
EPPP programme initiative
kind
story
kind
story
kind
task
EPPP engineering card/task decomposed from a story
kind
toil
kind
toil
loop
1
loop
1
loop
2
loop
2
loop
3
loop
3
risk
agent-full
risk
agent-full
risk
human-gated
risk
human-gated
risk
human-only
risk
human-only
size
l
size
l
size
m
size
m
size
s
size
s
status
blocked
status
blocked
status
done
Workflow: Done
status
in-progress
status
in-progress
status
proposed
status
proposed
status
ready
status
ready
status
review
status
review
stream
checkout
stream
checkout
stream
onboarding
stream
onboarding
stream
platform
stream
platform
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Fabrika/PersonalBlog#411
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What changed
Commits the Kysely containment decision as ADR-006 for [E01-S01-T05] ADR: Kysely containment (Refs #192) — rebuilt against the reworked issue body (2026-08-31): the former pass was blocked because ADR-006 cited an "ADR index (section 70)" that does not exist in the repository.
docs/adr/ADR-006-kysely-contained-inside-db-adapter.md(new, the only file in the PR diff) — the ADR, with the six required sections in order:packages/database-postgres(E00-S03-T02), enforced bytests/database-postgres-imports.test.mjsand the architecture fitness tests FIT-010/FIT-011; dependency directiondatabase-postgres → core ports → Kysely/pgkysely/pg; the decision text is stated verbatim in the title and the Decision sectionpgeverywhere (rejected), adapter re-exporting Kysely (rejected)kysely/pgin exactly one manifest and one package's source (CI-scanned), single-manifest upgrades under the workspace's dependency/upgrade lane, no runtime/schema/deployment impactCriterion → test table
docs/adr/ADR-006-kysely-contained-inside-db-adapter.mdcommitted onfeature/192(the only file in the PR diff, +118); the H1 heading reads# ADR-006: Kysely contained inside DB adapterand the Decision section records that EPPP keeps Kysely contained inside DB adapter. CI gate: theformatting-lintstage scans every git-tracked text file (including the ADR) — verified locally with the committed policy suite:node --test tests/formatting-policy.test.mjs→ 13/13 pass on the branch##sections present, in the mandated order, in the committed file (document review per the issue test plan): L9 Context, L40 Decision, L52 Alternatives, L76 Consequences, L94 Operational impact, L107 Revisit trigger — verifiable from the committed file alone# ADR-006: Kysely contained inside DB adapterand L42 "EPPP keeps Kysely contained inside DB adapter." — the verbatim decision text appears in both, verifiable from the committed file aloneADR index/ADR-Index/section 70/§70→ zero matches, verifiable from the committed file alone; the References line cites only in-repo ADRs (ADR-001, ADR-005) and informative wiki pages (Architecture wiki sections 1/4/9, Engineering-Standards wiki sections 24/25/57)Risks / notes
formatting-lint(tracked-file policy), which passes locally; all other stages are unaffected but will run as usual.Refs #192
e04e99b54cto693976c289