Skip to main content

Developer Implementation Map designed

Use this page when you are about to change code and need to answer four questions quickly:

  1. Which contract or route owns the change?
  2. Which service or package should I edit?
  3. Which state machine or sequence constrains the behavior?
  4. Which tables, events, and readbacks prove the result?

Start Order

  1. Developer APIs for public contract and error model.
  2. Domain Ownership for team and route boundary.
  3. System Overview for runtime/C4 shape.
  4. State Machines for lifecycle and failure semantics.
  5. Detailed Design Index for deeper canonical design packets.

Engineering Questions To Route

If you need to answer...Start hereCanonical authority
Which API or event shape changes first?Developer APIsdoc/api/openapi.draft.yaml, doc/api/asyncapi.draft.yaml
Which route file or domain owns the behavior?Domain OwnershipAPI_Domain_Authoring_Model_v1.md, API_Route_Modularization_and_V1_Freeze_v1.md
Which runtime component is on the critical path?System OverviewArchitecture_v1.md, Inter_Service_Communication.md
Which state transitions and failed states are allowed?State MachinesState_Machines.md
Which deeper packet should I read next?Detailed Design Indexthe matching canonical design family
Which tables and ownership boundaries are involved?Data model section belowERD.md, db_schema_v1.sql, schema-ownership.md

Runtime Structure

Treat the current platform as a contract-first control plane with explicit shared-service boundaries, not as a pile of handlers.

What this means for code changes

  • Public behavior changes start in contract artifacts.
  • Durable state changes belong in the owning domain package and schema.
  • Cross-domain reactions should flow through outbox, events, or explicit shared services, not ad hoc table joins.
  • Worker logic should preserve the state machine and retry model, not bypass it.

State And Failure Model

For any workflow change, identify the state machine before touching code.

AreaPrimary state/failure sourceWhy it matters
Allocation lifecycleState_Machines.mdgoverns happy path, failure path, release retry, billing stop conditions
Node/provider activityState_Machines.md, provider runbooksdetermines whether cleanup, release, or recovery is automatic or manual
Billing integritybilling/ledger packetsprevents mutable-balance shortcuts or destructive correction paths
Session/access behaviorterminal/session architectureconstrains auth, token use, expiry, and close behavior

Implementation rule: if you cannot point to the state transition you are changing, you are probably editing the wrong layer.

Sequence Model

Use portal sequence diagrams first, then the canonical packet.

Sequence needPortal routeSource note
High-level user launch/release/onboardingArchitecture Review Packcurated and current for review/implementation entry
Runtime call boundariesSystem Overviewderived from current architecture corpus
Prototype-era sequence referencesource docs onlySequence_Flows.md is explicitly reference-only, not target-state authority

That distinction matters. Developers should not implement from Sequence_Flows.md blindly; use it only as historical context when a newer portal/canonical packet does not already answer the question.

Data Model And Ownership

GPUaaS is data-sensitive enough that developers need a direct path to the model, not just a list of tables.

Use the data model in this order

  1. Read the ER and entity intent in ERD.md.
  2. Confirm actual column/constraint shape in db_schema_v1.sql.
  3. Confirm which lane/domain owns the schema in platform-foundation/ownership-maps/schema-ownership.md.

Data questions

QuestionPrimary source
What business entity should hold this field?ERD.md
What is the actual deployed schema shape?db_schema_v1.sql
Which domain owns this table or schema family?schema-ownership.md
Can I join this directly from another domain?ownership map plus service-boundary rules

Implementation rule: the ERD explains intent, the SQL explains reality, and the schema ownership map explains who is allowed to change it.

Contracts, Routes, And Code Boundaries

Change typeFirst editFollow-on implementation
Public API response/requestOpenAPI artifacthandler/service/read-model updates plus codegen
Domain event payloadAsyncAPI artifactoutbox payload publisher and consumer updates
Shared platform behaviorarchitecture/shared-service packetowning shared-service package and guard/evidence path
Product route ownershiproute/domain authoring docsroute file and domain package
New user-visible flowUX/product journey + contractweb UI, API, readback, UAT coverage

Developer Definition Of Done

Before calling implementation complete, a developer should be able to show:

  • contract and codegen updated when behavior changed;
  • owning route/domain is clear;
  • state/failure behavior matches the documented machine;
  • data model change respects schema ownership;
  • readback/UAT/evidence path exists for the changed flow;
  • observability and operator surfaces are still coherent.

Developer Escalation Paths

ProblemNext step
You need more detail than the portal summaryDetailed Design Index
You need implementation authority for a flowsource doc listed in the matching SourceList
You need operator/runtime validationOperations Team Guide
You need user/admin journey coverageProduct Team Guide and Use AI Cloud