docs(architecture): establish canonical architecture document (#609) - #669
Merged
phertyameen merged 1 commit intoAug 24, 2026
Merged
Conversation
|
@A6dulmalik is attempting to deploy a commit to the aminubabafatima8-gmailcom's projects Team on Vercel. A member of the Team first needs to authorize it. |
Member
|
@Ummi-001 too many conflicts and failed CI |
…ockLabs#609) Expand docs/ARCHITECTURE.md into the canonical architecture reference required by MindBlockLabs#609, verified against the actual backend code: - Authentication architecture: password, Google OAuth ID-token verification, Stellar wallet nonce/signature login, guest sessions, JWT access/refresh rotation with hashed refresh tokens - Game-session architecture: real GameSessionStatus state machine and server-side completion summary - Challenge lifecycle: real AttemptStatus values, transactional idempotent grading, scoring formula - Progress tracking write/read paths - Reward architecture documented as eligibility-only today (no minting) - Blockchain integration split into off-chain wallet linking vs the Soroban contract (providers pending) - AI integration documented as planned/not yet implemented - External services table, development environments guide, communication between services, updated high-level diagram (AI Services + Blockchain module per the issue's expected architecture), and a where-a-new-feature-belongs guide
Ummi-001
force-pushed
the
docs/609-canonical-architecture
branch
from
August 24, 2026 11:48
c05cadf to
5eb7425
Compare
phertyameen
approved these changes
Aug 24, 2026
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.
Closes #609
Summary
docs/ARCHITECTURE.md already existed but was missing several sections
required by this issue. This PR adds them, verified against the actual
backend code (not guessed):
signature login, guest sessions)
no minting/transfer is wired up yet — documented as such)
contract
exists in the repo currently
architecture (added AI Services and Blockchain module)
acceptance criteria