Roblox Technical Design Document Example: Tiny Pet Rescue
Read our complete Roblox TDD: architecture, client-server boundaries, save data, asset pipeline, phased milestones, and playtest criteria with build illustrations.
A complete, real TDD from our Roblox game build—not a blank template. Use the sections below to examine the decisions, systems, and tests behind Tiny Pet Rescue.
Prepared for: Tony and the Makko project team. Original document: version 0.1, October 29, 2026. Original working name: Rescue Tiny Monsters.
This is a historical planning snapshot. Proposed systems and numerical targets are not claims of current implementation or validated outcomes. Platform and account setup notes reflect the original date.
Read and watch the build-along walkthrough · Download the full original PDF (17 pages)
Cite this document: Makko project team. “Rescue Tiny Monsters: Technical Design Document.” Version 0.1, October 29, 2026. Link to the relevant section using its table-of-contents link.
Rescue Tiny Monsters: Technical Design
TDD 0.1 | 29 October 2026 | Implements GDD 0.3
This document turns the accepted game design into an implementation plan. It specifies system ownership, saved records, network messages, movement, active rescue, idle expeditions, habitat construction, absurd autoruns, and the shared hub broadcast. It is a build specification, not a claim that the game or these systems already exist.
First playable goal: run a short course using the movement kit, rescue an individual pet, use a duplicate in a valid expedition team, leave and return for one durable reward, build a habitat feature, and watch a funny team-specific scene in the hub.
Observed environment
Local workspace contains the GDD and art references, but no game source or Roblox project file was found in the workspace scan. The Studio connector returned two instances: Grow a Robot (place 135731676000481), and an unnamed instance reporting "Place is not open." No Studio content was changed. A separate Rescue Tiny Monsters place must be identified before Studio installation. This protects the user's parallel game work.
Implementation decisions
- Use typed Luau modules, Roblox services, and a small explicit bootstrap. Do not introduce a framework or external backend for the first slice.
- Keep authoritative progression on the server, responsive movement and visuals on the client, and shared rules in pure modules.
- Use one place initially: hub, personal plots, and separated active course instances. Four players is a provisional performance target.
- Offline work is persisted timestamps and contracts. Comedy is a reproducible presentation of those records, not a persistent simulation.
- Build active movement and broadcast feasibility early. The integrated slice includes active rescue; optional means optional for the player.
Unless marked as an observed platform fact, architecture and numeric budgets below are proposed implementation choices. Changes to player-facing behavior belong in both the GDD and this TDD. The only prerequisite for editing Studio is confirming the intended separate place; local specifications and source preparation can proceed independently.
Architecture and source layout
One-way dependencies and one writer for each kind of state
Flow: input or UI intent > server validation > domain transition > durable profile commit where required > state acknowledgement > client presentation. Animation events never grant progression. Modules receive dependencies explicitly; they do not discover and mutate each other's internal tables.
ReplicatedStorage/RTM/Shared
Contents and ownership: Types, Protocol, CatalogViews, TeamRules, MovementRules, SceneSchema. Pure rules and sanitized catalog data; no privileged save functions.
ServerScriptService/RTM
Contents and ownership: Bootstrap; services for Profile, Roster, Expeditions, Habitat, ActiveRescue, MovementAuthority, Broadcast, Economy, Entitlements, Telemetry.
ServerStorage/RTM
Contents and ownership: Authoritative Config, course templates, server collision assets, migration fixtures. Hidden rewards are not shipped as secret client authority.
StarterPlayerScripts/RTM
Contents and ownership: Bootstrap; Input, Movement, CarryVisuals, ProfileView, MissionBoard, HabitatView, BroadcastRenderer, Camera, Audio, Settings controllers.
ReplicatedStorage/RTM/Assets
Contents and ownership: Approved pet rigs, lightweight scene templates, animations, UI and cosmetic assets needed by clients.
Workspace/RTM
Contents and ownership: Hub, plot sockets, active course roots, spawn/checkpoint markers. Runtime instances are owned and cleaned up by their service.
Local repository proposal
Contents and ownership: src/shared, src/server, src/client, assets/manifests, tests/domain, tests/integration, tools. Keep source files and install manifests under version control.
Bootstrap order: validate configuration > initialize storage and protocol > initialize domain services > bind players/remotes > enable controllers after a profile snapshot. Services expose Init(dependencies), Start(), and Destroy(). Connections and transient instances have an explicit cleanup owner.
Studio synchronization
Author modules locally first. For the first installation, a manifest maps source paths to exact RTM instance paths; the Studio connector can apply bounded batches once the target is confirmed. Before replacing existing RTM sources, compare/export their current contents and report drift. Never remove unrelated instances. Keep a local build manifest and place snapshot. Evaluate Rojo later if continuous synchronization is useful; it is not assumed installed.
Profiles, pet identity, and configuration
Stable IDs; bounded records; definitions separate from player state
PlayerProfile
Required fields and rules: schemaVersion, revision, lease, nextOperationSequence, currencies, petsById, expeditionsById, projectsById, unlocks, layout, settings, recentReceipts, recentHighlights. One primary key per user/environment.
Pet
Required fields and rules: petId, speciesId, displayName, appearance, training, assignment {kind,id} or none. Capabilities resolve from versioned species/training definitions; clients cannot set tags.
Expedition
Required fields and rules: expeditionId, offerId, configVersion, petIds, roleSeatMapping, startedAt, endsAt, rewardContract, sceneDescriptor, status. Ready is derived from time, not a required background write.
Habitat project
Required fields and rules: projectId, definitionVersion, workerIds, costsPaid, startedAt, endsAt, completionGrant, status. Contributions and duration snapshot at start.
Receipt
Required fields and rules: operation sequence, request fingerprint, operationId, result summary, committed revision. Keep a bounded recent window; evicted old sequences are rejected, never replayed as new work.
Settings / layout
Required fields and rules: Audio levels, reducedMotion, touch mode, spotlight preference; socket-to-owned-item mapping and equipped pet appearances. No raw Instance references.
Versioned definitions
Required fields and rules: Species, missions, habitat projects, movement tuning, scene templates, cosmetics, feature flags. Validate IDs and cross-references during build/startup.
Prototype roster limit: 200 individuals, a configurable engineering guardrail rather than a permanent monetization mechanic. Reserve room for all promised pet rewards before accepting a rescue or expedition. At the limit, keep non-pet-reward routes available and explain capacity; public launch requires a free expansion policy or evidence that the cap is safely above expected play. Never delete overflow pets silently.
Store only serializable finite values, small strings, IDs, and arrays/maps. Proposed history budgets: latest 64 command receipts and 10 highlights. Measure encoded profile size in tests and alert well before the platform limit. New schema versions migrate a copy through explicit sequential transforms; unknown future versions fail safely rather than being reset.
Persistence and atomic progression
A commit is the point at which an award becomes real
Roblox data stores persist across sessions and places within an experience. Use a separate test experience for real storage tests; Studio access can otherwise reach live data. UpdateAsync supports conflict-aware changes and its callback cannot yield. [R1]
Storage adapter contract
ProfileStore.Load(userId), Commit(userId, expectedRevision, command), and Release(userId) are the only storage entry points. Domain reducers return either a new profile and result or a typed error. A fake adapter with an injectable clock supports deterministic tests; it must never masquerade as a successful production save.
Use a per-user serial operation queue and UpdateAsync-backed session lease. Lease contains server identity, a unique token, fencing generation, and expiry. Initial test settings: renew around every 30 seconds with a 120-second lease. Each write checks token/generation and valid ownership. A server that cannot renew stops progression before expiry; a new server acquires only a released or expired lease. Exact timings require outage tests. Roblox documents why session locking and ordered updates matter. [R2]
Commit sequence
- Generate identifiers, sanitized name results, and any deterministic random choices before entering the callback. Freeze them for retries.
- Validate expected revision and next operation sequence. The callback is a pure revalidation/reducer: no yielding, telemetry, asset creation, or random generation.
- Apply costs, pet locks, assignment state, reward grants, sequence increment, and receipt in the same profile update. Never split one economic operation across keys.
- Only after confirmed success replace the local committed snapshot, acknowledge the request, and emit telemetry/presentation effects.
- On an unknown write outcome, retain the same operation identity and retry/reconcile against its receipt. Block dependent operations until resolved. Never invent a replacement reward ID.
Do not save movement, countdown ticks, or visual scene progress. Coalesce noncritical layout/settings saves with bounded retries. Dispatch, recall, reward claim, project funding/completion, and earned purchases are durable operations. Save shutdown work on PlayerRemoving/BindToClose, but correctness must not depend on a shutdown callback finishing.
A confirmed absent key may create a new profile; a load error cannot. Lease loss, migration failure, or an ambiguous commit produces a clear retry state. Active rescue deposits not yet durably committed can be lost if the server crashes; keep the UI at "Saving rescue" and never show ownership success early. This limitation is separate from already committed idle assignments, which survive origin-server loss.
Network protocol and trust boundaries
Clients ask; servers authorize; views contain only needed state
Use bounded RemoteEvent request/reply messages for commands that may save. Envelope: protocolVersion, requestId, expectedRevision, operationSequence for durable work, action, payload. Replies: requestId, ok, errorCode or result, revision. Each client keeps one durable command in flight. Timeout means pending/unknown, not automatic failure.
DispatchExpedition
Input: offerId, petIds, slotId
Server responsibility: Resolve live offer, deduplicate IDs, match roles, check capacity, snapshot terms, lock pets, commit.
ClaimExpedition / Recall
Input: expeditionId
Server responsibility: Check owner, status, time; settle once or cancel before ready. Claim wins after ready; recall cannot erase a completed reward.
StartProject / CompleteProject
Input: projectDefinitionId, workerIds / projectId
Server responsibility: Validate site, materials and free workers; atomically fund/start or grant completion.
StartRescue / Pickup / Drop / Assist
Input: contractId / targetId / intended action
Server responsibility: Check roster, current arena, position, target ownership, state, and timing. No client-specified rewards.
MovementIntent
Input: ability, direction, sequence
Server responsibility: Check finite bounded direction, state and cooldown. Server timestamps acceptance; client time is advisory.
Equip / BuyEarned / SetLayout
Input: catalog ID or bounded socket edits
Server responsibility: Validate ownership, compatibility, price from server config, and balance.
SetSettings / ViewOwnHighlight
Input: whitelisted values / highlightId
Server responsibility: Validate settings or private ownership; do not change the shared feed on a private-view request.
Reject unknown fields/actions, oversized strings/tables, invalid enums, duplicate pet IDs, NaN/infinite numbers, and references outside allowed catalogs. Rate-limit by player and action family; proposed initial limits are 2 durable requests/second with burst 4, and 15 movement intents/second with burst 20. Tune from touch and latency tests. Roblox recommends server-side validation of client-triggered actions. [R3]
Send the owner an initial sanitized profile snapshot and revisioned patches after commits. Request resync on a revision gap. Other players receive only visible plot/roster appearance and broadcast descriptors. No lease tokens, raw unfiltered names, private balances, or full profile replication.
Expeditions, matching, and reward settlement
No server has to remain alive for a pet to finish work
ExpeditionService composes TeamRules, RosterService, RewardRules, and ProfileStore. TeamRules.Match(requirements, pets) returns a mapping from each required role seat to a different pet ID, or a missing-role explanation. Use a small backtracking matcher: with two/three pets this is simple and avoids a greedy multi-role pet consuming the only match for a later seat.
Offer definition: stable ID, region, capacity/minimum count, required seats, duration options, base grant, optional team bonuses, version. The server keeps an always-available feasible route. Recommended teams are suggestions only; they cannot displace a busy pet. Offer expiry never changes an accepted assignment.
Dispatch and claim
Dispatch atomically stores immutable start/end UTC timestamps, pet locks, concrete reward amounts, reserved pet grants/IDs, applied bonuses, and a reproducible scene descriptor. Claim compares current server time to endsAt, adds rewards/new individuals, releases the assigned pets and slot, records a receipt, and removes or archives the assignment in the same update. Repeated claims find no unsettled grant and cannot mint another pet.
In-progress > Ready is derived. If now is before startedAt due to clock anomalies, clamp displayed elapsed progress to zero; never accelerate completion. On join, render current assignments from saved records and offer claims for completed ones. No daily scheduler, background server, or per-second persistence is needed.
Claim-all executes one bounded reducer over ready assignments, returning committed rewards together. Repeat-team is a separate new dispatch after claim so current requirements and availability are checked. Recall before completion releases pets with no reward after a clear confirmation; at/after completion the service returns READY_TO_CLAIM. The profile queue resolves a recall/claim race in order.
Acceptance
Test two Builders required versus one dual-role pet; duplicate IDs; a pet assigned at home; two dispatches for one slot; elapsed boundary; rejoin on another server; balance patch after dispatch; commit success with lost acknowledgement; claim-all retry. A tutorial time override exists only in test configuration, never as a public client argument.
Habitat work, collection, and economy
One pet cannot earn in two jobs at once
RosterService is the only writer of pet identity and assignment ownership. EconomyService exposes validated grants/spends inside the same profile reducer rather than an independent save. SanctuaryService assigns a transient plot on join; the saved layout uses stable socket IDs so the player can occupy any plot next session.
Project start checks an unlocked site, material balance, worker roles, and pet availability. Debit Supplies and record worker locks plus completion terms atomically. Fix the worker roster for the first slice; do not allow mid-job worker swaps that would require recalculating remaining work. Add early project cancellation only after its refund policy is designed; hide it initially.
Project completion is idempotent. When loaded and due, or on the next join, one transaction grants the completed structure/unlocks and releases workers. The renderer selects the correct construction stage from saved state; it does not earn progress through animation. While away, nobody needs to simulate hammer strikes.
Initial slice: one Supplies resource, earned Tokens, one bridge or garden project, and fixed decoration sockets. Role-dependent construction scenes reuse expedition rigs and reactions. Keep a limited visible pet subset at each plot; the stored roster is independent of how many characters are rendered.
Species discoveries/counts and cosmetic pattern unlocks update when a new resident is committed. Naming uses the platform text-filtering pipeline before public display; on filtering failure use the safe species name. Visitors cannot modify projects, harvest private resources, or change another player's assignments.
Economy acceptance
Assert nonnegative integer balances, unique pet IDs, consistent project/expedition locks, exactly one completion grant, and a feasible free route from every onboarding checkpoint. Simulate a once-daily visit and frequent short visits using the same catalog; compare milestone time and resource yield before settling prices. Do not assume active farming and idle rewards are balanced merely because each is individually correct.
Movement controller and carrying
Responsive input with server-validated ability windows
Begin with a controlled R15 test rig and Roblox Humanoid locomotion. Separate InputController, MovementController, MovementRules, MovementAuthority, and CarryVisuals. Normalize tested avatar dimensions for the course prototype; unrestricted avatar scale support requires additional clearance tests. Move tuning into one versioned configuration.
Walk / Sprint
Implementation proposal: Change target ground speed with controlled acceleration; hold/toggle maps to the same action.
Guardrails: No stamina in the first slice. Cancel sprint on stun or menu context where appropriate.
Dash
Implementation proposal: Predict a short directional burst locally; use a bounded velocity actuator or impulse after the movement spike selects the reliable option.
Guardrails: Server cooldown/ability window; swept clearance checks. No unlimited air-dash reset on wall contact.
Double jump
Implementation proposal: One additional upward impulse per airborne cycle; direction stays readable.
Guardrails: Ground confirmation resets the allowance; character respawn resets transient state. Reject impossible repeat intents.
Slide
Implementation proposal: Grounded momentum state, low pose, controlled deceleration, and real clearance change.
Guardrails: Prove a dedicated low collision envelope with the test rig; standing requires a clearance query. HipHeight or animation alone is not sufficient proof.
Carrying / Assist
Implementation proposal: Carrying is a separate modifier, not a locomotion state. Attach a noncolliding pet visual to a stable carry anchor.
Guardrails: All moves remain available. Heavy braking/fluffy landing changes are bounded; assisting never physically welds two players together.
The slide spike tests a welded collision proxy with controlled body collision and Humanoid floor behavior, including slopes, steps, tunnel exits, jumps, and resets. Do not adopt it until it actually changes clearance without destabilizing locomotion. If this fails, evaluate a dedicated character controller; record that cost before promising full slide geometry. A crouching animation through a full-height opening is not a passed slide test.
Use an input adapter so hardware bindings do not leak into movement logic. Prefer Roblox Input Action System after confirming target Studio support; ContextActionService is a fallback implementation behind the same adapter. Proposed actions: Shift sprint, Q dash, Space jump/extra jump, Ctrl slide; touch sprint toggle, dash, jump, and a slide-input experiment. Suppress gameplay actions in menus and spectator context. [R4]
The server checks movement against allowed bursts, checkpoints, knockback/spring-pad grants, and latency tolerance rather than trusting WalkSpeed or Touched. Client-owned character physics is not authoritative evidence. Use conservative correction/invalid-reward rejection for clear abuse; log uncertain anomalies instead of automatic bans. Do not depend on beta server-authority features for the initial build. [R5]
Active rescue courses and cooperation
Player-controlled rescues are a real path to new residents
ActiveRescueService allocates a bounded course copy for one solo player or a same-server crew, validates shared unlocks, freezes the roster at start, and creates a unique target for each owner. Course templates contain tagged Spawn, Checkpoint, RouteGate, Hazard, Extraction, and comedy-prop sockets. Paths allow alternative choices; required gates represent progress zones rather than one exact route.
Target state: Waiting > Calmed > Carried > Dropped/Carried > Depositing > Settled. Server ownership and carrier IDs are separate. A helper can carry another player's target, but only the target owner receives its pet/reward. Pickup is an atomic server claim after distance, line-of-sight, arena, and state validation. Carried props use a stable visual attachment; server target state is not inferred from that weld.
Deposit checks the owner's active run, carried target, allowed route progress, reasonable elapsed time, extraction occupancy/dwell, and movement validation status. Commit the new pet and reward once using a run-target award ID. Lock deposits while the save is pending. Only committed success plays the ownership celebration.
A disconnected carrier drops the target at its last safe point if its owner remains. An owner leaving before deposit cancels that uncommitted target. Deposits already saving are reconciled through the profile queue. Leader departure does not stop remaining players. No player collision, pushing, throwing, or destructive interference.
Course safety uses checkpoints and broad recoverable ledges. Dashable clutter is explicitly tagged and mostly cosmetic. Spring pads grant a server-known movement allowance. Low passages must test actual slide clearance. Hazards use authored cycles and redundant visual/audio warnings. Pet-specific handling cannot make the assigned rescue impossible.
Playable course acceptance
Complete a carry-to-extraction run using each move on keyboard and touch. Test two players requesting the same target, helper deposit, carrier disconnect, fall recovery, impossible shortcuts, missed acknowledgements, and repeated deposit requests. Test the longest valid route within the clock using each supported pet handling profile. Active rewards must not accidentally settle an idle expedition.
Comedy scene format and animation pipeline
Author the joke once; vary its cast and resolution safely
SceneTemplate contains templateId/version, duration, role requirements, cast slots, stage asset ID, prop sockets, animation tracks, actor trajectories, camera cues, sound cues, captions, ending variants, and fallback. SceneDescriptor contains template version, seed, cast appearance snapshot, role-seat mapping, selected ending, and a filtered caption. No executable code arrives over a remote.
A scene is a sequence of setup, danger, escalation, ability-driven recovery, and reaction. Initial templates: falling bridge, runaway cargo, and premature celebration. Build fixed trajectories with simple kinematic transforms and Animator tracks; do not rely on unconstrained physics producing the same escape. A pure EvaluateScene(descriptor, time) reconstructs pose/camera state, making seek and late join safe.
Sort variation choices deterministically before applying the seed. Select only endings the actual cast supports. Two Builders must be two distinct actors. Cache preloadable assets and keep a generic safe scene for failures. Asset or audio failure cannot stall the reward pipeline.
Use one rig convention: root/pivot, carry point, prop-hand anchors, consistent scale, named animation slots, and visible expressions. Pufflet's existing Makko work is reference material until rebuilt/exported and verified in Roblox. Required art sequence remains scene concept > extracted single character > three-pose sheet > actual animation; never use the legacy character maker.
A saved highlight is a compact descriptor, not a video file. Preserve versions needed by the bounded recent history; if a template is removed, show a labeled reconstructed highlight using a compatible fallback. Disable or simplify shake and rapid camera cues for reduced motion; captions carry meaning with audio muted.
Acceptance
The same descriptor and timestamp produce equivalent staging after seek/reload. A low frame rate skips to the correct current pose rather than falling behind. Test every ending with supported and unsupported teams, missing asset fallback, silent playback, and no repeated immediate template/ending when alternatives are available.
Central hub broadcast and spectator view
A synchronized local show, not a streaming infrastructure project
Proposed renderer: a client-owned SurfaceGui on the hub display with a ViewportFrame, Camera, and WorldModel containing lightweight scene clones. ViewportFrame renders its own children; it is not a camera portal into Workspace. Stage required models explicitly. Test animation, material appearance, SurfaceGui usability, and mobile performance in a feasibility spike. [R6, R7]
WorldModel offers limited viewport world functionality; do not assume normal Workspace physics simulation. Kinematic scene tracks are therefore the default. Destroy inactive stage instances and avoid keeping every possible team rendered. If the screen approach is unsuitable, use a local 3D stage visible through the hub display opening while retaining the same scene descriptor and director contract. [R8]
Director protocol
BroadcastService sends a segmentId, sanitized descriptor, label, scheduled server start time, and duration to the server's viewers. Clients derive presentation time from synchronized server time, preload the next segment, and seek locally. Send descriptors at segment changes, not transforms every frame. A late viewer gets current and next segment snapshots. Use the server-time API for display synchronization, never a client clock to authorize rewards. [R9]
Maintain a round-robin queue of eligible opted-in local owners with a recent-featured cooldown. Mix in clearly labeled highlights and sanctuary antics; use Demo crew when nobody is eligible. No paid priority. On player opt-out or departure, stop featuring their team by the next safe scene boundary and remove queued descriptors. Persistence retains only that player's private highlights; cross-server public history is out of scope.
The screen labels In progress (dramatized), Highlight/Replay, Sanctuary, or Demo crew. It never claims a staged offline scene is live footage. A private own-team view uses another client renderer and does not change the shared queue. Exiting restores the character camera and input context; death/respawn/menu interruption must also clean it up.
Resource budget and fallback
Provisional per client: one public stage and one private stage, at most three pet actors each, shared meshes/animations, and no off-screen scene ticking. Private viewing may pause public rendering on that client while preserving shared playhead. Keep a ready fallback segment and caption if preload misses its deadline. A quiet server must show a continuous program without accessing another player's private profile.
UI, audio, settings, and purchases
Every screen consumes state; none invents progression
MissionBoard
Implementation and acceptance: Render offers, roles, available individuals, bonuses, return time and rewards. Team preview uses shared rules; final dispatch still checks on server. Show actionable missing-role/busy-pet messages.
ProfileView / collection
Implementation and acceptance: Apply revisioned patches to a read-only view model. A gap triggers resync. Virtualize long rosters; reserve portrait renderers rather than one animated viewport per entry.
Onboarding
Implementation and acceptance: Save milestone IDs at durable achievements. Tutorial grants are idempotent. A resumed session skips already committed steps. Short tutorial timing stays server-defined.
Habitat editor
Implementation and acceptance: Highlight compatible fixed sockets, preview locally, and validate the committed layout. Batch edits rather than saving each drag frame.
Audio / camera / settings
Implementation and acceptance: Mute, separate volumes, reduced motion and safe camera restoration. Pet names use filtered text; use safe defaults when services fail.
Entitlements / cosmetic shop
Implementation and acceptance: Start with permanent passes and live platform pricing. Server verifies ownership and equips only allowed cosmetics. Purchase-prompt closure is not proof of ownership. No paid movement or mission capability.
Use loading, empty, pending-save, offline-service, error, and ready states explicitly. An unavailable profile never becomes a blank writable profile. A timed-out transaction remains pending with retry rather than letting the player double-submit a new operation.
Settings preview immediately but are reconciled to saved state. Reduce-motion and mute must work before any broadcast playback begins. Test controls at real phone sizes and with input-device changes. Keep normal jumping and the extra-jump action from firing twice for the same touch.
No repeatable developer products in the first build. If added later, design durable receipt handling before enabling sales. Keep pass IDs in environment-specific configuration and disable purchase prompts in isolated test adapters. Cosmetic names, render assets, and entitlement IDs are validated as a complete catalog before release.
Testing, observability, and performance
A requirement is done only when its failure cases are exercised
Pure domain tests
Checks: Role matching, duplicate IDs, assignment exclusivity, reward arithmetic, sequence rejection, snapshot terms, migration fixtures, deterministic scene choices.
Evidence: Automated Luau tests with fake time/store; reproducible inputs and expected outputs.
Storage failure tests
Checks: Retry callback, lost acknowledgement, expired lease, old-server write, crash after dispatch, claim/recall race, unknown profile version.
Evidence: Scripted fault injection plus published test-experience rejoin tests.
Movement and active multiplayer
Checks: All moves carrying each profile; tunnel exits; slopes; respawn; latency; helper deposit and disconnect.
Evidence: Studio server with multiple clients, touch emulation, and real-device observations.
Broadcast
Checks: Quiet server, opt-out, late join, seek, bad asset, low frame rate, reduced motion, private/public separation.
Evidence: Recorded scene IDs and screenshots/clips from the actual build.
Economy / purchases
Checks: No negative resources, no duplicate grants, free attainable goals, valid pass checks and canceled prompts.
Evidence: Transaction assertions, scenario simulation, and platform test results.
Soak / performance
Checks: Repeated enter/exit and scene swaps; max player/actor load; memory and connection cleanup.
Evidence: Before/after instance counts, profiler captures, and measured device configuration.
Initial targets: sustained 30 FPS on a recorded baseline phone; p95 frame time near or below 33 ms during representative full-server activity; p95 ready-to-control under 8 seconds on the recorded network. These are goals, not measured claims. Measure the broadcast contribution separately by toggling it on/off with the same scene and players.
Telemetry uses build/config version, environment, action, result/error code, duration, and a non-personal operation correlation ID. Record dispatch, claim, recall, project funding/completion, active rescue milestones, move use/failure, spectator entry/exit, replay requests, and shop steps. Emit economic events after confirmed commit; retries can duplicate analytics delivery, so include the operation ID for deduplication.
Alert on stale lease attempts, ambiguous commits, profile size growth, missing templates, excess invalid movement, and persistent rendering errors. Logs should not contain raw player names or full profile payloads. Watch time requires an explicit spectator action or corroborating behavior; merely standing near the screen is not engagement proof.
Build sequence and definition of done
Each milestone ends in something playable or independently testable
M0: Separate foundation
Work package: Confirm new place; local source layout; RTM bootstrap; protocol and fake adapters; test environment identity.
Exit condition: No changes to Grow a Robot; reproducible install and safe test reset.
M1: Movement playground
Work package: Primitive course, one carryable pet, sprint/dash/double jump, slide clearance spike, checkpoints and alternate path.
Exit condition: A player rescues a pet with the full kit on keyboard and touch. Slide input and collider decision documented.
M2: Comedy screen
Work package: One complete falling-bridge scene, two Builders, surface display, shared playhead, labeled fallback.
Exit condition: Two clients see the same beat; phone cost measured; quiet server stays watchable.
M3: Durable daily loop
Work package: Individual roster, role matcher, two expedition slots, atomic dispatch/claim, one funded habitat project.
Exit condition: Logout/origin-server loss/rejoin produces exactly one expected reward and visible construction.
M4: Integrated slice
Work package: Connect active rescue rewards, duplicate utility, two additional scene templates, hub rotation, personal highlights and onboarding.
Exit condition: A new player can play, dispatch, return, build and watch without developer intervention.
M5: Hardening and test release
Work package: Failure matrix, device/soak tests, measured economy, cosmetics and telemetry; separate release review.
Exit condition: No known duplication/data-loss defects; artifact/source versions match the tested place.
This sequence brings the movement feasibility work forward relative to the earlier GDD production table. It does not remove idle or broadcast from the first integrated slice. Keep milestones sequential for dependencies; no separate autonomous agents or parallel edits to Studio are assumed. Re-estimate effort after M1 and M2 rather than inventing a delivery date.
First implementation ticket
RTM-001: establish the separate source/place identity, create RTM folders and bootstrap, and build a primitive movement playground with one pick-up/drop target, safe extraction zone, sprint, dash, and double jump. Add the slide-clearance experiment before accepting the movement milestone. Use an explicitly labeled nonpersistent test reward until M3; never present a temporary pet as saved ownership.
Done means: source saved locally, Studio target/build identity recorded, tests appropriate to the change passed, real play checked, known limitations documented, and screenshots or a short clip captured when behavior is visual. Generated code, a successful tool call, or a polished reference image alone does not satisfy a milestone.
Open decisions, release controls, and references
Close uncertain implementation choices with small tests
Separate Studio target
Default / next action: Not yet confirmed. One connected place is Grow a Robot; the other had no place loaded. Create/open the new game and confirm its identity before installation.
Slide collision and touch input
Default / next action: Run M1 geometry and input experiments. Keep all four moves in the intended design; record any engine or usability limitation.
Broadcast renderer
Default / next action: Test SurfaceGui + ViewportFrame + WorldModel in M2; compare a local stage fallback if necessary.
Storage implementation
Default / next action: Use the described adapter/transaction contract; begin with the small direct-service design. Any external library must be pinned and reviewed before adoption.
Final roster capacity / progression
Default / next action: 200 is a prototype engineering limit. Resolve free growth, project pacing and reward values before public testing.
Release / rollback
Default / next action: Separate test and live environments; explicit place allowlist, feature flags, versioned config, and migration fixtures. Never roll old code onto a newer unsupported schema.
Keep a last-known-good place/source build and an additive migration path. Roll back code/config only when compatible with saved schema; otherwise deploy a forward repair. Do not reset player profiles to make a release appear healthy. Publishing, spending, and store activation remain separate actions from preparing this TDD.
Primary Roblox documentation was reviewed on 29 October 2026. The specific system designs and test budgets in this document are project proposals, not platform guarantees.
R1 Data stores
R2 Player data and purchasing architecture
R3 Securing the client-server boundary