Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
638 commits
Select commit Hold shift + click to select a range
dc25ebb
test(identity): isolate pure startup diagnostics from fixture ownership
cemililik Oct 21, 2026
fddfc26
docs(roadmap): close provider classification correction reviews
cemililik Oct 21, 2026
9bbf2a3
fix(ci): retain closed Docker startup failure families
cemililik Oct 21, 2026
fb4ab5e
fix(ci): contain malformed diagnostic Unicode
cemililik Oct 21, 2026
4467492
docs(roadmap): record daemon diagnosis correction reviews
cemililik Oct 21, 2026
1bf18b8
fix(testing): align fixture publishers and browser readiness
cemililik Oct 21, 2026
faa8c2b
docs(roadmap): record publication correction first reviews
cemililik Oct 21, 2026
abd4561
docs(roadmap): complete publication correction reviews
cemililik Oct 21, 2026
47069be
fix(identity): clarify private setup and realm proof failures
cemililik Oct 21, 2026
d246754
docs(testing): preserve provider-only fixture boundaries
cemililik Oct 21, 2026
61924f0
docs(roadmap): complete setup correction reviews
cemililik Oct 21, 2026
d0528d1
fix(identity): prove coupled development token expiration
cemililik Oct 21, 2026
7bb9a3e
docs(roadmap): record first issuance correction review
cemililik Oct 21, 2026
c33e529
docs(roadmap): complete issuance correction reviews
cemililik Oct 21, 2026
03ebd77
docs(identity): accept development issuance decision
cemililik Oct 21, 2026
9461801
docs(roadmap): record first issuance acceptance review
cemililik Oct 21, 2026
330a8e2
docs(roadmap): complete issuance acceptance reviews
cemililik Oct 21, 2026
4cb6946
fix(ci): retain closed causal restart failure locations
cemililik Oct 21, 2026
e7a5bf0
docs(roadmap): record closed diagnostic correction review
cemililik Oct 21, 2026
57772a2
docs(roadmap): complete closed diagnostic correction reviews
cemililik Oct 21, 2026
7e8c54f
fix(tooling): preserve safe development lifecycle operations
cemililik Oct 21, 2026
dbc8e02
test(identity): strengthen convergence and CI gate counterexamples
cemililik Oct 21, 2026
3d1bd0e
docs(decisions): propose development identity visibility preparation
cemililik Oct 21, 2026
2ef9cf9
docs(identity): bound historical realm upgrade qualification
cemililik Oct 21, 2026
55ff0fe
test(tooling): declare isolated child test environments
cemililik Oct 21, 2026
8e914a8
docs(roadmap): record final correction and proposal reviews
cemililik Oct 21, 2026
25de7a6
fix(identity): resolve assigned console scopes by bound ID
cemililik Oct 21, 2026
2c06b4a
docs(decisions): qualify preparation authority and console evidence
cemililik Oct 21, 2026
d3e69b7
fix(ci): retain closed native settlement failure locations
cemililik Oct 21, 2026
02b886f
docs(roadmap): record revised decision inspection and failure limits
cemililik Oct 21, 2026
db3778c
docs(decisions): accept bounded warm-realm qualification
cemililik Oct 21, 2026
57497f0
feat(identity): qualify stock console assignment normalization
cemililik Oct 21, 2026
72ee83a
test(identity): cover every interrupted console assignment
cemililik Oct 21, 2026
52c73e6
docs(roadmap): close the first warm-realm correction step
cemililik Oct 21, 2026
8b99de3
feat(identity): prepare warm-realm identities before fresh planning
cemililik Oct 21, 2026
16771fc
fix(identity): qualify visible facts before warm-realm preparation
cemililik Oct 22, 2026
3810b07
docs(roadmap): record verified warm-preparation corrections
cemililik Oct 22, 2026
f714a5a
docs(roadmap): close reviewed warm-realm preparation step
cemililik Oct 22, 2026
ca3560d
test(identity): prove historical realm credentials and API
cemililik Oct 22, 2026
61e47ff
docs(roadmap): record warm qualification and Step 3 reviews
cemililik Oct 22, 2026
87ecc11
test(ci): bound ingress lookup and retain settlement facts
cemililik Oct 22, 2026
8ae35ec
docs(roadmap): record first CI correction review
cemililik Oct 22, 2026
7b0fd1b
docs(roadmap): close independent CI correction reviews
cemililik Oct 22, 2026
9adba27
test(jobs): attribute settlement loss to its execution
cemililik Oct 22, 2026
c9abc97
test(jobs): join issued settlement flights before cleanup
cemililik Oct 22, 2026
4e06ffa
docs(roadmap): close independent attribution reviews
cemililik Oct 22, 2026
55dfeae
test(jobs): preserve recurrence failure and cleanup observations
cemililik Oct 22, 2026
196a5b4
docs(roadmap): record recurrence diagnostic first reviews
cemililik Oct 22, 2026
dbfad06
docs(roadmap): close recurrence diagnostic review rounds
cemililik Oct 22, 2026
0dc962d
test(jobs): isolate settlement proofs from pre-ack renewal races
cemililik Oct 22, 2026
c971f4c
docs(roadmap): record first settlement scheduling reviews
cemililik Oct 22, 2026
c618414
test(jobs): arm settlement deadlines before publication holds
cemililik Oct 22, 2026
c1238ff
docs(roadmap): record independent deadline fix verification
cemililik Oct 22, 2026
2fdf31e
chore: reconcile merged main with development
cemililik Oct 22, 2026
e2a476c
fix(ci): audit links against immutable event commits
cemililik Oct 22, 2026
ecc9f92
docs(roadmap): record link audit correction review
cemililik Oct 22, 2026
b25c1c4
docs(roadmap): close link audit correction reviews
cemililik Oct 22, 2026
36adb3a
fix(ci): classify Markdown audit regression tooling
cemililik Oct 22, 2026
76ca3ad
docs(roadmap): record tooling census correction review
cemililik Oct 22, 2026
d2a32c9
docs(roadmap): close tooling census correction reviews
cemililik Oct 22, 2026
f3ca5c4
test(jobs): preserve native wait failure attribution
cemililik Oct 22, 2026
8234856
docs(roadmap): record native wait diagnostic review
cemililik Oct 22, 2026
12d4f08
docs(roadmap): close native wait diagnostic reviews
cemililik Oct 22, 2026
87ac371
test(jobs): wait for actual cleanup before fixture hints
cemililik Oct 22, 2026
9d1ba8c
test(jobs): retain cancellation before fixture hint emission
cemililik Oct 22, 2026
9eecf96
docs(roadmap): close fixture handoff correction reviews
cemililik Oct 22, 2026
b25d00a
fix(ci): bound browser dependency mirror waits
cemililik Oct 22, 2026
6027530
test(ci): exercise partial browser setup writes
cemililik Oct 22, 2026
e2954be
docs(ci): record browser acquisition review closeout
cemililik Oct 22, 2026
d5f1982
fix(ci): reserve bounded public demo completion time
cemililik Oct 22, 2026
2dc9d74
docs(roadmap): record first outer-budget correction reviews
cemililik Oct 22, 2026
58d9ecd
docs(roadmap): close outer-budget correction reviews
cemililik Oct 22, 2026
f5696ec
fix(ci): join maintenance in OpenAPI control repositories
cemililik Oct 22, 2026
ace2a77
test(ci): require successful owned Git maintenance proof
cemililik Oct 22, 2026
979750c
docs(roadmap): close Git maintenance fixture reviews
cemililik Oct 22, 2026
5bce55d
fix(ci): retain closed producer gate refusal diagnostics
cemililik Oct 22, 2026
84f681a
docs(roadmap): record gate diagnostic review evidence
cemililik Oct 22, 2026
95edb21
docs(roadmap): close producer gate diagnostic reviews
cemililik Oct 22, 2026
8231d17
fix(ci): own Outbox startup and attribute producer refusal
cemililik Oct 22, 2026
0fa8e64
docs(roadmap): record Outbox correction first review
cemililik Oct 22, 2026
ed223ac
docs(roadmap): record independent Outbox correction approval
cemililik Oct 22, 2026
4834e0c
fix(ci): bound pending producer metadata acquisition
cemililik Oct 22, 2026
8e437c3
fix(ci): validate creation times before metadata settlement
cemililik Oct 22, 2026
dada277
docs(roadmap): record independent metadata acquisition reviews
cemililik Oct 22, 2026
8a04bc5
docs(decisions): accept ADR-0069 phase documents and delivery logs
cemililik Oct 22, 2026
f5a4382
docs(roadmap): split Phase 02b and 02d records into delivery logs
cemililik Oct 22, 2026
34c6be9
docs: hold packet status once and record the delivery log rule
cemililik Oct 22, 2026
1b6107c
ci(meta): guard link fragments and roadmap structure
cemililik Oct 22, 2026
81cedbb
docs(decisions): amend ADR-0069 with generated delivery log indexes
cemililik Oct 22, 2026
fa32c0c
docs(roadmap): open each delivery log with a generated index
cemililik Oct 22, 2026
395d078
fix(ci): install Chromium without the APT mirror
cemililik Oct 23, 2026
baeb32f
docs(decisions): propose owned tenant BFF sessions
cemililik Oct 23, 2026
30933cb
docs(decisions): resolve BFF session proposal review findings
cemililik Oct 23, 2026
7474015
docs(roadmap): finish the BFF decision pass and prior closeout
cemililik Oct 23, 2026
325558e
docs(decisions): revise BFF ownership after maintainer review
cemililik Oct 23, 2026
ecb34b5
docs(decisions): retain logout owners in subject admission
cemililik Oct 23, 2026
d3033f3
docs(roadmap): complete revised BFF proposal review
cemililik Oct 23, 2026
eb91186
docs(decisions): accept native tenant BFF session ownership
cemililik Oct 23, 2026
1d51393
feat(identity): add inactive BFF RP and provider event policy
cemililik Oct 23, 2026
26ccc73
fix(identity): qualify logout and event response boundaries
cemililik Oct 23, 2026
fd70846
fix(identity): preserve provider defaults and closed network reasons
cemililik Oct 23, 2026
11cd37d
feat(identity): own bounded native BFF session lifecycles
cemililik Oct 23, 2026
47ffca7
fix(identity): preserve current callback visitor attribution
cemililik Oct 23, 2026
2ebae0c
docs(roadmap): close native BFF ownership reviews
cemililik Oct 23, 2026
3279258
feat(web): implement closed BFF HTTP and request projections
cemililik Oct 23, 2026
7fded69
fix(web): retain native RSC activity through Next middleware
cemililik Oct 23, 2026
e91cf15
docs(roadmap): close P02b-7 HTTP protocol review rounds
cemililik Oct 23, 2026
09b3aa6
feat(web): activate optional tenant BFF and localized session UI
cemililik Oct 23, 2026
2cf2a25
fix(web): close development auth traces and add skip links
cemililik Oct 23, 2026
a48011c
fix(web): preserve focus through session recovery transitions
cemililik Oct 23, 2026
5efecf7
test(identity): prove native BFF lifecycle and browser isolation
cemililik Oct 23, 2026
83858d1
fix(identity): join BFF proof owners before reporting success
cemililik Oct 23, 2026
b600a0f
fix(identity): observe parent EOF throughout BFF acquisition
cemililik Oct 23, 2026
fedffbe
chore: synchronize merged main history
cemililik Oct 23, 2026
d3d7c04
test(web): expect closed shells when tenant sign-in is disabled
cemililik Oct 23, 2026
19cd810
test(ci): isolate held-constructor cancellation and copied ingress
cemililik Oct 23, 2026
1784507
test(jobs): preserve the handoff control before constructor entry
cemililik Oct 24, 2026
c245afc
test(web): distinguish closed browser readiness failures
cemililik Oct 24, 2026
f2a3814
test(jobs): retain the first source-contention failure
cemililik Oct 24, 2026
419a8d9
test(jobs): accept lawful finalizer retries in causal restart
cemililik Oct 24, 2026
4ce7d4d
test(web): retain closed browser failure and cleanup evidence
cemililik Oct 24, 2026
5fc18ce
docs(roadmap): close P02b-7 implementation qualification
cemililik Oct 24, 2026
903ed92
fix(web): preserve anonymous reads and BFF failure ownership
cemililik Oct 24, 2026
a8ee8ba
docs(roadmap): record the reviewed BFF correction handoff
cemililik Oct 24, 2026
5e07cce
test(web): retain startup evidence until child absence
cemililik Oct 24, 2026
268e30c
test(jobs): distinguish recovery renewal from initial timer setup
cemililik Oct 24, 2026
c2a7e97
docs(roadmap): refresh the recovery follow-up index
cemililik Oct 24, 2026
c12f4ee
fix(ci): classify private fixture image preparation failures
cemililik Oct 24, 2026
f712fad
docs(auth): propose uncertain AccountSite refusal policy
cemililik Oct 24, 2026
e782f97
docs(auth): accept explicit AccountSite refusal decision
cemililik Oct 24, 2026
0fa1afe
fix(auth): bind closed BFF boundaries and lifecycle proofs
cemililik Oct 24, 2026
9a32318
test(auth): close configuration and scoped dependency escapes
cemililik Oct 24, 2026
7133f8a
fix(auth): retain ordinary sessions on uncertain API refusal
cemililik Oct 24, 2026
4dbb1d5
test(auth): pin the checked configuration plugin binding
cemililik Oct 24, 2026
31a2754
fix(auth): preserve accessible recovery and proof observations
cemililik Oct 24, 2026
18f3c70
test(auth): bind provider and CI proof failure boundaries
cemililik Oct 24, 2026
4ead28c
fix(auth): reconcile current session proof carriers
cemililik Oct 24, 2026
f64c51f
docs(auth): distinguish verified callback authority
cemililik Oct 24, 2026
9fb1cf3
test(auth): observe provider time and actual HTML refusal
cemililik Oct 24, 2026
4b7f01a
test(auth): bind authenticated SDK result boundaries
cemililik Oct 24, 2026
abdd5da
docs(auth): record SDK counterfactual review evidence
cemililik Oct 24, 2026
e42cc55
docs(auth): hand off the reviewed correction source
cemililik Oct 24, 2026
d380aa6
test(jobs): retain closed recurrence wait observations
cemililik Oct 24, 2026
43b12c7
test(ci): bind both recurrence observation cases independently
cemililik Oct 24, 2026
dd57d53
test(auth): preserve closed browser launch observations
cemililik Oct 24, 2026
aeeea13
test(auth): report browser liveness without inferring exit
cemililik Oct 24, 2026
ae2f7f7
test(jobs): isolate causal stop after actual provider acceptance
cemililik Oct 24, 2026
a286950
docs(roadmap): record final BFF correction qualification
cemililik Oct 24, 2026
cac786d
fix(auth): close review proof and recovery gaps
cemililik Oct 24, 2026
86598f7
docs(roadmap): retain first correction review receipts
cemililik Oct 24, 2026
806d6ba
docs(roadmap): record independent correction recheck
cemililik Oct 24, 2026
3dedda8
test(auth): delimit opaque observer child arguments
cemililik Oct 24, 2026
5748dbb
docs(roadmap): record observer argument review evidence
cemililik Oct 24, 2026
0bde36f
docs(roadmap): freeze reviewed observer correction
cemililik Oct 24, 2026
6b6f062
docs(roadmap): record reviewed BFF correction qualification
cemililik Oct 24, 2026
0d0696a
docs(roadmap): close merged tenant BFF delivery
cemililik Oct 24, 2026
c0261ca
docs(roadmap): propose phase exit enforcement decisions
cemililik Oct 24, 2026
7e6e61f
docs(roadmap): refine phase exit proposal after review
cemililik Oct 24, 2026
49b541c
docs(roadmap): require canonical inventory before gate acceptance
cemililik Oct 24, 2026
486588d
docs(roadmap): record phase exit proposal review verification
cemililik Oct 24, 2026
4b29ea7
docs(decisions): accept phase exit enforcement package
cemililik Oct 24, 2026
212ec0f
feat(kernel): guard sensitive exception messages at compile time
cemililik Oct 24, 2026
4682e26
fix(kernel): analyze dynamically bound exception constructors
cemililik Oct 24, 2026
fa56aac
docs(roadmap): close first phase exit implementation step
cemililik Oct 24, 2026
b20ffae
test(kernel): verify durable asynchronous inventory coverage
cemililik Oct 24, 2026
c241301
fix(kernel): refuse unsupported inventory table creation
cemililik Oct 24, 2026
bfa6ec8
fix(kernel): close inventory schema resolution bypasses
cemililik Oct 24, 2026
3a56444
docs(roadmap): close asynchronous inventory verification
cemililik Oct 24, 2026
1231aed
fix(kernel): reconcile delivered phase contract carriers
cemililik Oct 24, 2026
4d242bc
docs(roadmap): record carrier reconciliation review
cemililik Oct 24, 2026
63a4b52
docs(roadmap): close phase carrier reconciliation
cemililik Oct 24, 2026
c5847a9
chore(repo): merge current main into development
cemililik Oct 24, 2026
6224bd9
test(kernel): bind phase exit criteria to actual proof owners
cemililik Oct 25, 2026
7ae3d8f
docs(roadmap): record exit source review boundary
cemililik Oct 25, 2026
f5e73a1
docs(roadmap): record the second exit source review
cemililik Oct 25, 2026
141592f
docs(roadmap): close source-bound Phase 02b exit qualification
cemililik Oct 25, 2026
60a9721
fix(kernel): close exit guard and evidence review gaps
cemililik Oct 25, 2026
b4b85de
test(kernel): reject opaque SQL routine storage creation
cemililik Oct 25, 2026
5da6bab
test(kernel): validate complete SQL routine declaration boundaries
cemililik Oct 25, 2026
0d9dea4
docs(roadmap): record verified exit correction review boundaries
cemililik Oct 25, 2026
c399ba5
test(ci): include the new PostgreSQL fixture in the plan witness
cemililik Oct 25, 2026
93ef4b1
test(kernel): bind retry fairness and SQL literal proof to durable facts
cemililik Oct 25, 2026
ec03861
docs(roadmap): record the reviewed CI correction source
cemililik Oct 25, 2026
0d60980
test(kernel): qualify completion after acknowledged skipped wakeups
cemililik Oct 25, 2026
d6462dc
docs(roadmap): freeze the reviewed native completion correction
cemililik Oct 25, 2026
65f3283
test(frontend): own Playwright artifacts through fixture cleanup
cemililik Oct 25, 2026
7a2ef1d
docs(roadmap): freeze reviewed fixture ownership and carrier fixes
cemililik Oct 25, 2026
b1f19f5
docs(roadmap): close qualified PR corrections and exit evidence
cemililik Oct 25, 2026
819ef22
docs(roadmap): close merged phase 02b and point to phase 03
cemililik Oct 25, 2026
46da681
docs: prepare phase 03 identity implementation plan
cemililik Oct 25, 2026
8cf352f
docs(decisions): propose identity and membership foundation
cemililik Oct 25, 2026
c9a969f
docs(decisions): close first identity proposal review findings
cemililik Oct 25, 2026
d0fd67d
docs(decisions): define global audit outcomes and fresh lock reads
cemililik Oct 25, 2026
037fd56
docs(decisions): preserve canonical audit timestamp reconciliation
cemililik Oct 25, 2026
9211789
docs(roadmap): record reviewed identity proposal readiness
cemililik Oct 25, 2026
6bff3fe
docs(identity): resolve foundation authority and lifecycle gaps
cemililik Oct 25, 2026
26237b8
docs(decisions): complete identity acceptance carriers
cemililik Oct 25, 2026
acd2076
docs(roadmap): record revised identity proposal readiness
cemililik Oct 25, 2026
c63ca62
docs: bind identity proposals to existing execution paths
cemililik Oct 25, 2026
cd8150c
docs(decisions): bound initial identity role admission
cemililik Oct 25, 2026
06b3619
docs(roadmap): record source-bound identity review closeout
cemililik Oct 25, 2026
e627208
docs(decisions): accept the scoped identity foundation
cemililik Oct 25, 2026
7ded258
docs(architecture): reconcile accepted identity carriers
cemililik Oct 25, 2026
6602fb9
docs(roadmap): close identity authority adoption reviews
cemililik Oct 25, 2026
3261114
feat(kernel): classify every mapped production property
cemililik Oct 25, 2026
eccf2df
docs(identity): reconcile current classification proof status
cemililik Oct 25, 2026
e4a8a0a
docs(roadmap): close both classification review rounds
cemililik Oct 25, 2026
e3f56cb
feat(identity): persist global bindings with central audit
cemililik Oct 25, 2026
111ca11
fix(identity): preserve global owner lifetimes and deadlines
cemililik Oct 25, 2026
1c3fb96
docs(decisions): propose ordered membership admission timing
cemililik Oct 25, 2026
c4569ad
fix(identity): keep the global creation port countable
cemililik Oct 25, 2026
dce6cad
docs(decisions): accept ordered membership admission checks
cemililik Oct 25, 2026
0495f2b
feat(identity): add scoped membership and owned seed foundation
cemililik Oct 26, 2026
9c9ec4a
docs(identity): reconcile contextual proof inventory
cemililik Oct 26, 2026
f814d97
fix(identity): confine value-bearing storage diagnostics
cemililik Oct 26, 2026
67d75e6
fix(identity): confine exported storage failure descriptions
cemililik Oct 26, 2026
7d29843
docs(roadmap): close contextual identity foundation reviews
cemililik Oct 26, 2026
5f7a062
feat(identity): normalize existing bindings before tenant admission
cemililik Oct 26, 2026
cb5937a
fix(identity): confine binding read failure diagnostics
cemililik Oct 26, 2026
83f701d
docs(roadmap): close existing identity binding admission reviews
cemililik Oct 26, 2026
6c379f1
test(identity): reconcile complete qualification inventories
cemililik Oct 26, 2026
124ff4a
chore(repo): reconcile merged main ancestry
cemililik Oct 26, 2026
3f1d4f6
docs(identity): reconcile remaining foundation carrier claims
cemililik Oct 26, 2026
4fc7e1a
fix(identity): close complete qualification findings
cemililik Oct 26, 2026
3754e4e
fix(identity): qualify the complete parent refusal stack
cemililik Oct 26, 2026
e05ba3a
fix(testing): isolate the BFF browser credential store
cemililik Oct 26, 2026
193d61c
ci(testing): refresh source-bound advisory method timings
cemililik Oct 26, 2026
d32f310
docs(roadmap): close P03-1 implementation qualification
cemililik Oct 26, 2026
413c9bd
fix(identity): close reviewed migration and lifecycle boundaries
cemililik Oct 26, 2026
2692314
fix(identity): confine read failures and reject empty authority input
cemililik Oct 26, 2026
492f3f6
fix(identity): refuse ambiguous migration credentials
cemililik Oct 26, 2026
c14ec6a
fix(ci): include contextual read proofs in fixture census
cemililik Oct 26, 2026
dfdf9ca
fix(ci): refresh measured identity test timing weights
cemililik Oct 26, 2026
7aabc6d
fix(ci): isolate independent architecture mutation collections
cemililik Oct 26, 2026
2d2a6f9
docs(decisions): propose ordinary CI job window
cemililik Oct 26, 2026
e50e6d1
docs(decisions): close ordinary window proposal findings
cemililik Oct 26, 2026
b048412
docs(roadmap): record second ordinary window proposal review
cemililik Oct 26, 2026
d5ebab8
docs(decisions): clarify ordinary window review boundaries
cemililik Oct 26, 2026
9ba876f
docs(roadmap): record revised window proposal first review
cemililik Oct 26, 2026
c274fa6
docs(roadmap): record revised window proposal second review
cemililik Oct 26, 2026
2a1917c
docs(decisions): accept ordinary-only CI job window
cemililik Oct 26, 2026
7dc3f8b
docs(roadmap): record first CI window acceptance review
cemililik Oct 26, 2026
1d609d3
docs(roadmap): close CI window acceptance reviews
cemililik Oct 26, 2026
c2695f2
fix(ci): bind ordinary windows to verified producer identity
cemililik Oct 26, 2026
6bb91ed
docs(roadmap): record first ordinary budget code review
cemililik Oct 26, 2026
ea114d2
docs(roadmap): close ordinary budget reviews for qualification
cemililik Oct 26, 2026
0db4b42
docs(roadmap): record complete ordinary window hosted proof
cemililik Oct 26, 2026
146f743
docs(roadmap): record first hosted evidence review
cemililik Oct 26, 2026
468e9c6
docs(roadmap): distinguish hosted fixture subset evidence
cemililik Oct 26, 2026
58e5a1d
docs(roadmap): close ordinary CI window implementation
cemililik Oct 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .claude/skills/local-dev-setup/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ session, supply `ConnectionStrings:Default` (`learnstack_app`) and
`ConnectionStrings:OutboxDispatcher` (`learnstack_outbox_admin`) through environment
or the project's `learnstack-api-dev` user-secrets store. The mandatory API worker
resolves its guarded source and verifies dispatcher connectivity at startup.
Also supply `Identity:AuthorityId` (`Identity__AuthorityId`) and
`Authentication:Tenant:Issuer` (`Authentication__Tenant__Issuer`) matching the
installed deployment authority, following
[Identity deployment](../../../docs/modules/identity/README.md#global-implementation-and-deployment).
Authority qualification is mandatory before the API accepts requests.
The dispatcher credential belongs only to the API; every Seeder invocation uses
an explicit application-only environment, and the web launcher receives neither
database credential. Both empty hop lists remain
Expand Down
35 changes: 21 additions & 14 deletions .claude/skills/run-tests-locally/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,16 @@ frontend/apps/web/scripts/

### Step 3: Run unit tests

Use `--configuration Release` for repository qualification, matching CI. The
architecture suite includes exact compiled ownership/opcode controls; a Debug
build is not interchangeable with that qualified population. Run heavy .NET and
native frontend qualification sequentially on a workstation so cold development
compilation does not compete with the architecture mutation census.

Fastest; no Docker required.

```bash
dotnet test backend/tests/LearnStack.Tests.Unit \
dotnet test --configuration Release backend/tests/LearnStack.Tests.Unit \
--no-restore \
--logger "console;verbosity=normal"
```
Expand All @@ -91,11 +97,12 @@ Typical runtime: < 30 s. Failures here are almost always domain-logic bugs.

### Step 4: Run architecture tests

Also fast; no Docker. Failures here mean **structural drift** — the code violates
a documented rule.
No Docker. The full IL mutation census can take tens of minutes on a workstation;
CI runs it in bounded shards. Failures here mean **structural drift** — the code
violates a documented rule.

```bash
dotnet test backend/tests/LearnStack.Tests.Architecture \
dotnet test --configuration Release backend/tests/LearnStack.Tests.Architecture \
--no-restore
```

Expand Down Expand Up @@ -134,7 +141,7 @@ into native/ordinary execution jobs behind the required integration aggregate. L
`--filter "Requires!=Docker"` gives you the Docker-free half.

```bash
dotnet test backend/tests/LearnStack.Tests.Integration \
dotnet test --configuration Release backend/tests/LearnStack.Tests.Integration \
--no-restore \
--logger "console;verbosity=normal" \
--filter "FullyQualifiedName~Enrollment" # subset
Expand Down Expand Up @@ -273,17 +280,17 @@ processes on Ctrl+C; it does not run the CI browser/audit proof.

### Step 7: Single-test focus

`dotnet test --filter`:
`dotnet test --configuration Release --filter`:

```bash
# Class
dotnet test --filter "FullyQualifiedName~EnrollmentCreateTests"
dotnet test --configuration Release --filter "FullyQualifiedName~EnrollmentCreateTests"

# Method
dotnet test --filter "FullyQualifiedName~EnrollmentCreateTests.Create_succeeds"
dotnet test --configuration Release --filter "FullyQualifiedName~EnrollmentCreateTests.Create_succeeds"

# Docker trait — native CI additionally uses NativeCrashProof=true and its complement
dotnet test --filter "Requires=Docker"
dotnet test --configuration Release --filter "Requires=Docker"
```

`vitest`:
Expand All @@ -298,11 +305,11 @@ pnpm --filter @learnstack/web test -t "shows danger tone" # name filter

```bash
# From the repository root; collect behavioral suites separately.
dotnet test backend/tests/LearnStack.Tests.Unit \
dotnet test --configuration Release backend/tests/LearnStack.Tests.Unit \
--collect:"XPlat Code Coverage" --results-directory coverage/unit
dotnet test backend/tests/LearnStack.Tests.Integration \
dotnet test --configuration Release backend/tests/LearnStack.Tests.Integration \
--collect:"XPlat Code Coverage" --results-directory coverage/integration
dotnet test backend/tests/LearnStack.Tests.Architecture
dotnet test --configuration Release backend/tests/LearnStack.Tests.Architecture
reportgenerator -reports:"coverage/**/coverage.cobertura.xml" \
-targetdir:"coverage/html" \
-reporttypes:Html
Expand Down Expand Up @@ -337,12 +344,12 @@ make install

# The `backend` job — build with warnings as errors, then the Docker-free half
(cd backend && CI=true dotnet build LearnStack.slnx --no-restore --configuration Release)
(cd backend && dotnet test LearnStack.slnx \
(cd backend && dotnet test --configuration Release LearnStack.slnx \
--no-restore --no-build --configuration Release \
--filter "Requires!=Docker" --logger trx)

# The complete Docker complement; CI requires both native/ordinary partitions
(cd backend && dotnet test LearnStack.slnx \
(cd backend && dotnet test --configuration Release LearnStack.slnx \
--no-restore --no-build --configuration Release \
--filter "Requires=Docker" --logger trx)
```
Expand Down
8 changes: 6 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ ConnectionStrings__OutboxDispatcher='Host=localhost;Port=5432;Database=learnstac
# ─── Keycloak (two realms per ADR-0004 Amendment 1) ──────────────────────
# The Development API defaults to the loopback tenant issuer declared in
# backend/src/LearnStack.Api/appsettings.Development.json. Other deployment modes
# require an explicit canonical HTTPS issuer; this override goes only to the API.
# Authentication__Tenant__Issuer=https://identity.example/realms/learnstack
# require an explicit canonical HTTPS issuer; the API and authority installer use it.
Authentication__Tenant__Issuer=http://localhost:8080/realms/learnstack
# Global identity uses an explicit stable deployment ID, not a hash of the issuer.
# `make migrate` installs/verifies BOTH explicit keys as one immutable registration.
# This fixed ID is local development data; deployment owners choose their stable ID.
Identity__AuthorityId=019a1929-5450-7bbb-8df1-516e8e002501
KEYCLOAK_ADMIN=admin
KEYCLOAK_ADMIN_PASSWORD=admin-dev-secret
# Server-only BFF client source. Old local .env files must add it explicitly;
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ jobs:
backend-integration-tests:
name: backend ordinary-${{ matrix.index }}
runs-on: ubuntu-24.04
timeout-minutes: 20
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -295,7 +295,23 @@ jobs:

- name: Prepare pinned provider fixture images within the whole-job budget
timeout-minutes: 2
run: python3 scripts/ci-test-shards.py prepare-fixtures
env:
LEARNSTACK_NATIVE_RUNNER_CONTEXT: ${{ runner.environment }}
LEARNSTACK_NATIVE_RUNNER_OS: ${{ runner.os }}
LEARNSTACK_NATIVE_RUNNER_ARCH: ${{ runner.arch }}
LEARNSTACK_NATIVE_RUNNER_LABEL: ubuntu-24.04
LEARNSTACK_NATIVE_JOB_CONTAINER: ${{ toJSON(job.container) }}
LEARNSTACK_NATIVE_JOB_SERVICES: ${{ toJSON(job.services) }}
LEARNSTACK_CI_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
LEARNSTACK_NATIVE_RUN_ID: ${{ github.run_id }}
LEARNSTACK_NATIVE_ATTEMPT: ${{ github.run_attempt }}
LEARNSTACK_NATIVE_JOB: ${{ github.job }}
LEARNSTACK_NATIVE_SHA: ${{ github.sha }}
LEARNSTACK_NATIVE_REPOSITORY: ${{ github.repository }}
LEARNSTACK_NATIVE_WORKFLOW_REF: ${{ github.workflow_ref }}
LEARNSTACK_NATIVE_WORKFLOW_SHA: ${{ github.workflow_sha }}
LEARNSTACK_NATIVE_WORKSPACE: ${{ github.workspace }}
run: python3 scripts/ci-test-shards.py prepare-fixtures ordinary-${{ matrix.index }}

- name: Verify stock browser for admission navigation proof
run: |
Expand Down
30 changes: 20 additions & 10 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ repository holds only LearnStack's side of the boundary, in

## What state this is in

**Phase 01, Phase 02a and Phase 02d are complete; Phase 02b is the live phase.**
**Phase 01, Phase 02a, Phase 02d and Phase 02b are complete; Phase 03 is in progress.**
[Phase 02d](docs/roadmap/phase-02d-walking-skeleton.md) owns the two-tenant walking
skeleton. [Phase 02b](docs/roadmap/phase-02b-events-auth.md) owns current packet
and decision state for events, background jobs, identity and sessions.
skeleton. [Phase 02b](docs/roadmap/phase-02b-events-auth.md) owns the delivered
events, background jobs, API authentication and session baseline.
[Phase 03](docs/roadmap/phase-03-identity-admin.md) owns identity, membership and authorization work; its Status block records
current packet state. Acceptance of a contract does not complete its implementation.
[Phase 06](docs/roadmap/phase-06-renderer-admin-studio.md) owns the full
renderer/Studio expansion.

Expand All @@ -61,8 +63,8 @@ the foundation ports — is recorded packet by packet in
frozen history, together with the 2026-08-08 restructure that moved correctness
earlier, additive infrastructure later and proof earlier.

**Four modules hold domain code:** Tenancy, Customization, Audit and Education.
Content, Identity and Media remain scaffolded. Module-level references in the docs
**Five modules hold domain code:** Tenancy, Customization, Audit, Education and
Identity. Content and Media remain scaffolded. Module-level references in the docs
to types such as `ILiveClassProvider` or `ITenantSearch` describe intended shape
owned by their named phases.

Expand All @@ -77,10 +79,13 @@ For any task, read in this order:
5. [docs/standards/00-principles.md](docs/standards/00-principles.md) — the beliefs every other standard descends from.
6. [docs/glossary.md](docs/glossary.md) — terminology; the single source of truth for project-specific terms.

Then read the phase that is live and the one it stands on:
Then read the current phase and the completed baselines it stands on:

- [docs/roadmap/phase-03-identity-admin.md](docs/roadmap/phase-03-identity-admin.md) —
**the current phase**. Read its identity,
membership, authorization and first-writer decisions before planning code.
- [docs/roadmap/phase-02b-events-auth.md](docs/roadmap/phase-02b-events-auth.md) —
**the live phase**. Its Status block owns packet state; its decision register owns
complete. Its Status block owns packet state; its decision register owns
gate state and links each Accepted decision package in the delivery log, which is
normative — read it before writing the code its gate governs. Navigate a delivery
log by the generated index at its top; never read the whole file.
Expand Down Expand Up @@ -177,6 +182,8 @@ rules:
- OpenTelemetry + correlation id end to end ([10](docs/standards/10-observability.md)).
- WCAG 2.2 AA across all surfaces ([16](docs/standards/16-accessibility.md)).
- Audit-coverage matrix required per module ([18](docs/standards/18-audit-coverage.md)).
- Global User identity consumes the existing typed `UserId`; global and tenant
transaction owners never join or retarget each other ([ADR-0072](docs/decisions/0072-application-owned-identity-bootstrap.md)).
- Permission keys `{module}.{resource}.{action}` with closed action set + scope
(Platform / Tenant / Organization) ([19](docs/standards/19-permissions.md)).
- Infrastructure-stack rules (foundation ports and their default
Expand Down Expand Up @@ -294,9 +301,12 @@ rules:
and every module's `IAuditCatalogSource` names the first two. Declaring them
in the module is a project cycle. `AuditEntry` consumes them; it does not
declare them.
- **Announce `TenantId.PlatformSentinel` as a request's tenant.** Exactly one
class of row carries it — a platform-scope operation with no resolvable
tenant, written standalone — and Packet 9 puts the guard where the value
- **Announce `TenantId.PlatformSentinel` as a request's tenant.** Exactly two named
classes of audit row may carry it: platform-scope standalone operations and
ADR-0072 global `identity.user.create` attempts under its confined common
owner. Neither class grants tenant authority or permits a tenant setter to
announce the sentinel.
Packet 9 puts the guard where the value
enters: `SetProvisioningTenantContextAsync` refuses the sentinel exactly as it
already refuses `Guid.Empty`, and `Tenant.Create` refuses it in the factory
([ADR-0044 Amendment 3](docs/decisions/0044-audit-write-path.md)). The
Expand Down
109 changes: 9 additions & 100 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,106 +120,15 @@ build-frontend: ## `pnpm -r build` the frontend monorepo.

.PHONY: migrate
migrate: ## Apply every EF migration chain (platform + each module) as `learnstack_migration` (the ONLY sanctioned carrier of that credential).
@# Every dotnet command in this recipe runs from `backend/`, because that is where
@# the SDK pin lives (`backend/global.json`). Run from the repository root there is
@# no global.json above them, so whichever SDK is newest on the machine answers —
@# and the pin exists precisely so this target and CI apply the same EF version.
@#
@# Standards 05 § Database roles: ConnectionStrings:Migration must never appear
@# in API or worker runtime configuration. The role OWNS every table it creates,
@# and a runtime that is the owner is precisely the arrangement FORCE ROW LEVEL
@# SECURITY exists to defeat — every isolation test would then pass against
@# policies that constrain nothing. This target is where the credential lives.
@#
@# Every design-time factory reads only ConnectionStrings__Migration, never
@# the startup application's Default connection. Export to that confined
@# factory; do not duplicate the credential on the process command line.
@# Four things this recipe does that a naive version does not, each because the
@# naive version was measured doing the wrong thing:
@#
@# 1. `.env` is read one key at a time, NOT shell-sourced. A connection string
@# contains semicolons, and `. ./.env` on an unquoted row parses them as
@# statement separators: `ConnectionStrings__Migration` arrived as
@# `Host=localhost`, and `Port`, `Database`, `Username`, `Password` leaked
@# into the environment as bare variables. `tr -d '\r'` as well, because a
@# CRLF row otherwise leaves the closing quote and the carriage return
@# inside the credential.
@# 2. The role is compared EXACTLY. An unanchored `*Username=learnstack_migration*`
@# accepted `learnstack_migration_readonly` and would have run migrations as
@# it. Splitting on `;` and comparing the whole token has no neighbourhood.
@# 3. The error path prints a REDACTED string. An earlier version echoed the
@# whole value, password included — in the one target whose entire purpose
@# is keeping that credential in one place.
@# 4. The loop carries its own status. `-e` does not abort on a failure inside
@# a for-loop body that is part of a compound list: both iterations ran
@# after `false` and the recipe still exited 0, so a migration target
@# reported success after every migration failed.
@# 5. The loop covers `LearnStack.Infrastructure` as well as the modules. The
@# platform chain (outbox_messages, idempotency_keys) lives outside
@# `src/Modules`, and a glob that only walked the modules left the two
@# tables no module owns unmigrated on every documented path.
@# 6. Tenancy is named BEFORE the glob. From Phase 02a Packet 9 the chains are
@# no longer independent: `audit_config` carries the schema's only
@# cross-chain foreign key, to `tenants`, which the Tenancy chain creates.
@# The glob expands alphabetically and `Modules/Audit` sorts first, so the
@# naive order fails on a fresh database. `applied` is what keeps the named
@# project from being visited twice when the glob reaches it — a second
@# `database update` is a no-op, but a recipe that prints the same chain
@# twice reads like a bug in the recipe.
@# 7. Build the startup graph once in Release, with restore for standalone use.
@# Every EF invocation uses that fresh output; the demo launches the same API.
@# Explicit failures also stop old Make versions without shell errexit.
@# 8. Save and unexport the migration credential before restore/build; only
@# the no-build EF child receives it, through its process environment.
@migration_cs="$${ConnectionStrings__Migration:-}"; \
unset ConnectionStrings__Migration; \
migration_env="$${LEARNSTACK_COMPOSE_ENV_FILE:-.env}"; \
if [ -z "$$migration_cs" ] && [ -f "$$migration_env" ]; then \
migration_cs=$$(sed -n "s/^ConnectionStrings__Migration=//p" "$$migration_env" \
| tail -1 | tr -d "\r" | sed "s/^['\"]//; s/['\"]$$//"); \
fi; \
role=$$(printf '%s' "$$migration_cs" | awk -f scripts/connection-string.awk -v field=user); \
redacted=$$(printf '%s' "$$migration_cs" | awk -f scripts/connection-string.awk -v field=redacted); \
if [ -z "$$migration_cs" ]; then \
echo "ConnectionStrings__Migration is not set."; \
echo "It arrives with the four-role model in Phase 02a Packet 6: copy the"; \
echo "'four database roles' and 'four connection strings' blocks out of"; \
echo ".env.example into your .env and re-run. A .env written before that"; \
echo "packet has neither."; \
exit 1; \
fi; \
if [ "$$role" != "learnstack_migration" ]; then \
echo "ConnectionStrings__Migration names Username='$$role', not learnstack_migration:"; \
echo " $$redacted"; \
echo "Migrations must run as the role that OWNS every table. Running them as"; \
echo "the runtime role is the arrangement FORCE ROW LEVEL SECURITY defeats."; \
echo "If the value looks truncated at the first ';', quote it in .env. A"; \
echo "URI-style DSN (postgres://...) is not a form Npgsql parses at all; the"; \
echo "expected shape is the key/value list in .env.example."; \
exit 1; \
fi; \
(cd backend && dotnet tool restore >/dev/null) || exit $$?; \
(cd backend && dotnet build src/LearnStack.Api --configuration Release --nologo) || exit $$?; \
found=0; \
failed=0; \
applied=" "; \
for proj in backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Infrastructure \
backend/src/LearnStack.Infrastructure \
backend/src/Modules/*/LearnStack.Modules.*.Infrastructure; do \
test -d "$$proj/Persistence/Migrations" || continue; \
case "$$applied" in *" $$proj "*) continue;; esac; \
applied="$$applied$$proj "; \
found=1; \
echo "==> $$(basename $$proj)"; \
(cd backend && ConnectionStrings__Migration="$$migration_cs" dotnet ef database update \
--project "../$$proj" \
--startup-project src/LearnStack.Api \
--configuration Release --no-build) || failed=1; \
done; \
if [ "$$found" = "0" ]; then \
echo "No project carries Persistence/Migrations yet — the first lands with the Tenancy schema in Phase 02a Packet 6."; \
fi; \
exit "$$failed"
@# The Node owner selects one deployment source, validates the migration role,
@# and confines credentials to EF/authority children after fresh Release builds.
@# Keep dependency order explicit and cover future module chains with the glob.
@node scripts/migrate.mjs \
backend/src/Modules/Tenancy/LearnStack.Modules.Tenancy.Infrastructure \
backend/src/LearnStack.Infrastructure \
backend/src/Modules/Audit/LearnStack.Modules.Audit.Infrastructure \
backend/src/Modules/Identity/LearnStack.Modules.Identity.Infrastructure \
backend/src/Modules/*/LearnStack.Modules.*.Infrastructure

.PHONY: sdk
sdk: ## Regenerate @learnstack/sdk types from the committed v1 snapshot.
Expand Down
Loading
Loading