Skip to content

Introduction to Orangepill

Foundation · About 25 minutes. Design exercise available now. No platform execution required.

Harbor Supply sells mobile data bundles. Its agency, Cedar Studio, proposes a shop where a traveler can choose a bundle and later ask whether it was delivered. Harbor wants the agency to configure the storefront. Who can change a price? Who can agree to buy? Who can confirm collection? Those three questions have different owners.

In 25 minutes you will draw the workspace, trace one catalog read and explain what an installation lets each actor do. Work on paper. The shop and its records are fictional.

Orangepill provides commerce and financial building blocks for applications. A merchant can design a conversational shop, compose an application from a Blueprint, or use a backend to read a catalog. A solution design describes the journey. A provider guide and the owning domain describe the evidence and availability for a particular operation.

A personal account enters an organization through tenant membership. Three projects sit inside that tenant and group application resources.

Read the diagram from the top. In this case the account belongs to Ana at Cedar. Harbor grants her membership in its tenant, the organizational and isolation boundary. The shop project supplies application context and groups resources. Harbor is the merchant named on the offer. Lee is a customer choosing a bundle. A customer record identifies Lee in the tenant. It does not make Lee a workspace operator.

Check. Cedar serves two clients. Would selecting a second project prove their data is isolated? No. Projects sit inside tenants. A resource may have tenant scope, and a credential may reach several projects. Check tenant ownership, credential scope and the operation on the specific resource.

An application combines behavior, customer entrypoints and local resources. A Blueprint packages reusable application components as a version. Imagine a bundle-selection flow with a welcome message and a handoff when the traveler needs help. An installation lets Harbor configure that version for its own catalog, prices, provider connection and entrypoint.

Compare two installations of the same version. Harbor chooses its own catalog and web entrypoint. Another merchant binds its own catalog and enabled channel. Updating Harbor’s local price does not establish anything about the second merchant’s price or authority. A package can describe a connection requirement. Copying the package supplies neither provider credentials nor permission to collect money.

A principal is the person or service making the request. A credential identifies the caller. Evaluate its permissions against the operation and the resource it would affect.

Decision in Harbor’s shop Principal and resource Evidence to look for
Read a catalog from the backend Harbor’s application, acting on Harbor’s catalog Server-side credential authorized for the read in this tenant and environment
Change the storefront binding Ana, acting on Harbor’s installation Membership and role that permit this change on this installation
Agree to purchase one bundle Lee, acting on the priced cart Customer identity and purchase-specific consent in the supported experience
Report a successful collection Shop reading the payment domain’s result Authoritative confirmation correlated to this purchase and amount

Consider a provider connection saved for the shop. Configuration identifies the local binding and settings. Eligibility asks whether this merchant and operation qualify. Readiness asks whether the binding and its dependencies are usable in the intended environment. Authorization asks whether this caller may take this action on this resource. A saved connection answers only the first question.

Check. Ana can edit the welcome message. May her coding agent collect payment from Lee? No. Editing the installation, having a Builder tool and knowing the agreed price establish no financial execution authority. The customer’s decision and the owning domain’s controls still apply.

Trace a request and assess your design · 7 minutes

Section titled “Trace a request and assess your design · 7 minutes”

For a direct catalog read, Harbor’s backend asks the catalog domain for an authorized resource. For a conversational purchase, the application coordinates several steps. It presents the offer, asks Lee to review it and follows the records owned by the order, payment and delivery domains. An orchestration step can route a request or wait for evidence. A completed conversation alone cannot prove that money was collected or a bundle delivered.

Try the handoff. Harbor installs the shop and Ana successfully reads a catalog. The storefront then shows a bundle from the wrong catalog. Lee has seen its price but has not agreed to buy. Write a three-line handoff to the operator explaining what to inspect, what the read proved and which decisions remain open.

Score your handoff with one point for each observable decision.

  1. Identify Harbor’s tenant, shop project, merchant and installation. If customers can already reach the wrong catalog, have the authorized owner contain or disable that entrypoint before further customer use. Compare its catalog binding with the intended resource.
  2. Identify the principal and credential used for the read. The read proves access to that catalog. Verify the merchant’s eligibility and which offers may be exposed and sold. Check who is authorized to change the binding.
  3. Keep purchase consent, collection and delivery open. After verifying the permitted inventory, correct the binding and present the eligible offer for review before treating it as Lee’s choice.

If you assigned all three decisions to the agency, revisit the table and write a different owner or evidence source beside each one.

Return to Orangepill Fundamentals or continue to Financial systems. For implementation details, see Tenants and projects, Authority and access and Blueprints.