All articles
Back to Developers
Architecture

Repository guide and request flow

Find the right module and follow an authenticated request across the frontend and Rust boundaries.

7 min read Updated: 20 October 2026
Markdown

Start from the behavior you are changing

Read ARCHITECTURE.md and CONTRIBUTING.md in the checkout before adding a feature. The core provides domain mechanisms. HTTP, persistence, authentication and rendering belong at their respective boundaries. First-party apps use platform contracts too; they should not gain a privileged shortcut merely because they ship with rumahl.

Repository map

LocationResponsibility
core/Domain mechanisms and capability/permission abstractions
platform-api/, platform-service/, platform-web/Platform interfaces, service composition and web boundary
persistence-sqlite/SQLite persistence
oidc-provider/, account-auth/Identity and account authentication
app-packages/, app-operations/Package and application operation boundaries
ui-contracts/Contracts consumed by the interface
frontend/Shell, SSR, bridge client, UI and Storybook workspaces
platform-buildroot/System image and OS integration
tests/e2e/Cross-boundary integration checks

Trace a request before changing it

Begin at the UI action or route and find the client contract it calls. Follow that contract into the web handler, authentication and authorization checks, and then the domain operation. Inspect the persistence or host-service adapter where the operation leaves the domain. Finally, follow the result back through the response or snapshot to the UI.

An interface-only change often belongs in frontend/. A new permission rule belongs at the backend authorization boundary as well as in its UI explanation. Hiding a button is not authorization.

Keep failures explicit

Missing permission must deny the operation. Unknown bridge methods must not execute. Resources must remain logical references rather than host filesystem paths. A reconnect or restart must not create a new grant.

When changing a contract, check both the successful response and malformed, unknown, unauthenticated and unauthorized requests. Keep validation errors distinguishable from transport failures so the interface can explain the right next step.

Follow-up references

Continue with shell contracts, HTTP API, app resources and testing. The repository source and tests for your revision are the reference when an evolving contract differs from this website.

Need more context? Read the source or open a discussion with the project.

On this page