Heimdall
f726101207
Account merge ledger: one write gate for every writer, held across the standing read and the save
...
WriteAsAsync takes a shared Postgres advisory lock on the account (the key the chain trigger locks exclusively) across the standing read and the writer's save; CommitAsync takes the exclusive lock before it reduces. Votes, appraisals, sealed commit and reveal, patron events (RecordSupportEventAsync routes and journals in the same save, so the manual Ledger door obeys it too) and the Heimdall sign-in pass through it; SupportTargetAsync, MayWriteAsync and JournalIntakeAsync are deleted. A folded or frozen account's sign-in writes no membership. A retry of an event stranded on the folded account journals nothing. Tests: Down refuses in every merge state, Stripe journal prior owner and undo, the lock racing a freeze and a commit on live Postgres. Docs say what the lock guarantees and what it does not.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 06:08:36 +00:00
..
Fixtures
Passkeys: WebAuthn enrolment under a fresh sign-in, 48 h cooling-off, assertion proof at unlink ( #85 )
2026-11-14 00:37:56 +00:00
Support
Move client: a 400 is RequestInvalid only with Heimdall's invalid_request body
2026-11-14 04:14:38 +00:00
AccountMergeHttpTests.cs
Account merge ledger: one write gate for every writer, held across the standing read and the save
2026-11-14 06:08:36 +00:00
AccountMergeLedgerTests.cs
Account merge ledger: fix the first Soul pass (suspension carried into a memberless survivor, merged status terminal, standing at the desk door, linked accounts and write time, journalled grace intake, survivor weight on moved votes, one-hop alias, State token and database guards for overlapping merges, live-Postgres tests)
2026-11-14 03:37:48 +00:00
AccountMergePostgresTests.cs
Account merge ledger: one write gate for every writer, held across the standing read and the save
2026-11-14 06:08:36 +00:00
Bifrost.Web.Tests.csproj
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
BootstrapAdminTests.cs
Suspension gaps: bootstrap, demotion, members-page notices, admin-only reason ( #60 )
2026-11-11 14:12:47 +00:00
BridgeCliTests.cs
tests: dispatch-gate tests run on Linux; classify the remaining Yggdrasil failures ( #75 )
2026-11-12 12:24:51 +00:00
ConceptAppraisalServiceTests.cs
ConceptAppraisalServiceTests: a recast through a fresh context persists the changed stance
2026-10-10 09:56:52 +02:00
ConceptRankedExportTests.cs
Linux path fixes: containment by path.relative, hostile-cursor test, verify prerequisites ( #77 )
2026-11-12 12:55:35 +00:00
ConceptSubjectRegistryTests.cs
Registry tests: pin the order of already-retired entries
2026-10-10 23:26:43 +02:00
ConceptTallyExportTests.cs
Tally export Vary: plain append, no dedupe
2026-10-10 22:19:52 +02:00
ConceptVotePageTests.cs
Make every cookie host-only: __Host- names, Secure, Path=/, no Domain
2026-11-07 18:42:43 +00:00
ConceptVoteRateLimitTests.cs
Prefix lengths: host-level startup tests (tests only) ( #62 )
2026-11-11 14:12:55 +00:00
ConsentRaceAndModelTests.cs
Consent: optional at registration, a consent page, CSRF-guarded accept/withdraw, notice v2 ( #58 )
2026-11-11 12:11:02 +00:00
ConsentTests.cs
Chat sign-in needs a live consent receipt; notice frozen as version 1 ( #59 )
2026-11-11 14:32:06 +00:00
CookieHardeningTests.cs
Passkeys: WebAuthn enrolment under a fresh sign-in, 48 h cooling-off, assertion proof at unlink ( #85 )
2026-11-14 00:37:56 +00:00
DeskAnswerTests.cs
Desk: pin vectors to CultLib de8a062a ( #45 )
2026-11-11 02:16:28 +00:00
DeskAuthCaseTests.cs
Desk: the fork desk's Bifrost half ( #40 )
2026-11-11 01:02:36 +00:00
DeskBodyShapeTests.cs
Desk: the fork desk's Bifrost half ( #40 )
2026-11-11 01:02:36 +00:00
DeskCredentialTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
DeskDocumentTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
DeskFeedFixturePinTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
DeskHardeningTests.cs
Desk: the fork desk's Bifrost half ( #40 )
2026-11-11 01:02:36 +00:00
DeskMindRoutesTests.cs
Desk: the fork desk's Bifrost half ( #40 )
2026-11-11 01:02:36 +00:00
DeskMindRouteTests.cs
Desk: the fork desk's Bifrost half ( #40 )
2026-11-11 01:02:36 +00:00
DeskOptionsTests.cs
Desk: bearer credential (OpenIddict validation, desk.read/desk.answer, audience bifrost-desk) and answerer masking ( #71 )
2026-11-12 10:17:29 +00:00
DeskReaderViewTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
DeskReadTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
DeskScenarioTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
DeskSurfaceTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
DeskVectorCensusTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
DeskVectorPinTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
DeskVectorWireTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
FakeHeimdallMoverTests.cs
Move client: a 400 is RequestInvalid only with Heimdall's invalid_request body
2026-11-14 04:14:38 +00:00
FixedWindowBudgetTests.cs
Vote budgets: at the cap a new key evicts the least recently used key with permits left
2026-10-11 19:16:30 +02:00
HeimdallAppSecretFileTests.cs
AppSecretFile: pin the deprecation at Warning level, say trailing newlines
2026-11-12 13:46:24 +00:00
HeimdallCompletePageScriptTests.cs
Linked accounts page: list, link any admitted provider, unlink with step-up proof
2026-11-13 19:35:40 +00:00
HeimdallCompletionTests.cs
Account merge ledger: one write gate for every writer, held across the standing read and the save
2026-11-14 06:08:36 +00:00
HeimdallGoogleLinkTests.cs
Account merge ledger: link step refuses a frozen account (test), drop the redundant sync guard, accept a deadlock victim as the racing commit's loser
2026-11-14 04:13:54 +00:00
HeimdallIdentityMoveClientTests.cs
Move client: pin that invalid_request at 413 and 415 is Unknown, the rule is exactly 400
2026-11-14 06:08:36 +00:00
HomePageTests.cs
Initial Scaffold
2026-04-21 20:08:49 +01:00
HostTrustTests.cs
Soul fixes: deploy doc says production refuses a blank secret; name the echo test for what it checks
2026-11-12 19:27:57 +00:00
LinkedAccountsTests.cs
Passkeys: WebAuthn enrolment under a fresh sign-in, 48 h cooling-off, assertion proof at unlink ( #85 )
2026-11-14 00:37:56 +00:00
MemberConsoleTests.cs
Purge audit: Detail carries window and count, never the network tag the member dashboard would render
2026-10-10 09:56:08 +02:00
MembershipSuspensionTests.cs
Suspension gaps: bootstrap, demotion, members-page notices, admin-only reason ( #60 )
2026-11-11 14:12:47 +00:00
MembersPageNoticeTests.cs
Members: approve refuses no-membership/unknown accounts; neutral text for legacy suspensions ( #65 )
2026-11-11 16:39:48 +00:00
MigrationDiscoveryTests.cs
Account merge ledger: AccountMerge receipt, reductions, alias standing, undo and final sweep
2026-11-14 02:31:51 +00:00
MindIntakeTests.cs
Mind intake: nonce prune is best-effort and never fails a valid request; test the five-lost-races contended branch; doc the retried reveal's phase judgement
2026-11-09 20:55:03 +00:00
NetworkPrefixTests.cs
Concept vote tests: close the mutation survivors in view, purge window, slug and prefix masking
2026-10-10 08:42:55 +02:00
NoThirdPartyAssetTests.cs
Linked accounts page: list, link any admitted provider, unlink with step-up proof
2026-11-13 19:35:40 +00:00
OidcIssuerTests.cs
Account merge ledger: AccountMerge receipt, reductions, alias standing, undo and final sweep
2026-11-14 02:31:51 +00:00
OidcKeyMaterialTests.cs
OIDC back-channel logout: a reconciler ends the sessions of subjects who are not Active
2026-10-28 00:38:15 +01:00
OidcLogoutReachWarningTests.cs
Suspension gaps: bootstrap, demotion, members-page notices, admin-only reason ( #60 )
2026-11-11 14:12:47 +00:00
OidcLogoutTests.cs
Account merge ledger: AccountMerge receipt, reductions, alias standing, undo and final sweep
2026-11-14 02:31:51 +00:00
packages.lock.json
Passkeys: WebAuthn enrolment under a fresh sign-in, 48 h cooling-off, assertion proof at unlink ( #85 )
2026-11-14 00:37:56 +00:00
PasskeyScriptTests.cs
Passkeys: WebAuthn enrolment under a fresh sign-in, 48 h cooling-off, assertion proof at unlink ( #85 )
2026-11-14 00:37:56 +00:00
PasskeyTests.cs
Passkeys: WebAuthn enrolment under a fresh sign-in, 48 h cooling-off, assertion proof at unlink ( #85 )
2026-11-14 00:37:56 +00:00
PatronageServiceTests.cs
Add Heimdall patron support intake
2026-06-09 17:16:27 +01:00
PlatformEndpointsTests.cs
Registration gates: proof-of-work CAPTCHA and training-notice consent receipt ( #54 )
2026-11-11 10:15:46 +00:00
ProviderAdvertisementTests.cs
Delete Epiphany operator bridge
2026-08-22 06:16:39 +02:00
RegistrationFormTests.cs
Chat sign-in needs a live consent receipt; notice frozen as version 1 ( #59 )
2026-11-11 14:32:06 +00:00
RegistrationGateTests.cs
Chat sign-in needs a live consent receipt; notice frozen as version 1 ( #59 )
2026-11-11 14:32:06 +00:00
RegistrationLimitTests.cs
Registration gates: proof-of-work CAPTCHA and training-notice consent receipt ( #54 )
2026-11-11 10:15:46 +00:00
ReservedIdentityTests.cs
Registration gates: proof-of-work CAPTCHA and training-notice consent receipt ( #54 )
2026-11-11 10:15:46 +00:00
SealedBallotCloseHttpTests.cs
Sealed ballot: freeze the reveal set at close (RevealSeq token), HTTP tests for replay/non-voter/late reveal/close, doc corrected on the ballot schema
2026-11-09 20:40:54 +00:00
SealedBallotEndpointTests.cs
Sealed ballot: race-safe close, close sweep, endpoint tests, backup reader and auth findings in the doc
2026-11-09 20:30:35 +00:00
SealedBallotTests.cs
Account merge ledger: roll-forward-only Down guard, standing-at-write through one owner for every writer, one current Patron snapshot per membership, memberless Heimdall sign-in, intake and Stripe routing through one owner
2026-11-14 04:58:26 +00:00
SnapshotDriftTests.cs
Test: snapshot has no drift from the design-time model (passes at base 425af74)
2026-11-14 02:20:25 +00:00
StandardMotionCloseTests.cs
Test: a second simultaneous close of a Standard motion must not throw
2026-11-09 22:13:59 +00:00
SuspensionReasonExposureTests.cs
Members: approve refuses no-membership/unknown accounts; neutral text for legacy suspensions ( #65 )
2026-11-11 16:39:48 +00:00
TrainingNoticeFrozenTests.cs
Chat sign-in needs a live consent receipt; notice frozen as version 1 ( #59 )
2026-11-11 14:32:06 +00:00
UnixSocketDeskDoorBytesTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
UnixSocketDeskDoorRequiredKeysTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
UnixSocketDeskDoorStrictTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
UnixSocketDeskDoorTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00
UnixSocketDeskDoorWrapperTests.cs
Desk: UnixSocketDeskDoor (Huginn desk door client), fixtures at 79d954c, card re-pin to CultLib 3a51bbab, card opaque ( #70 )
2026-11-12 11:44:45 +00:00