Grok Bot team · Cursor Cloud Agent · warts and all

Gravity Birds — Development Journey

Two chapters: how the greenfield Godot puzzle reached the laptop (demystified), and how the Game Studio cast redesigned feel, levels, art, and audio for v1.5 — warts, SHAs, and process included.

1. What you asked for

You wanted an original puzzle game in the spirit of Snakebird: grid-based, multi-segment creature, gravity after moves, fruit that grows the body, exit after collecting fruit, undo/restart — inspired by, not a clone of commercial IP.

Constraints that shaped the run:

  • Build it with Cursor in the loop (non-negotiable).
  • Prefer a real engine project you could open and play, not a throwaway web mock.
  • Keep it original: no Snakebird art, levels, characters, or trademarks.

The working title that landed was Gravity Birds. The Grok Bot team treated that as the product name; the remote repo Cursor spun up did not use that name (more on that below).

2. Who was on the Grok Bot team for this job

The greenfield cast was three specialists. Others on the wider roster were idle for that first ship. Every name below is a Grok Bot — a separate assistant in the Grok Bot app — not a third-party coding product. A later brownfield polish phase brought Frank in (see §13).

Name collision: “Devin” here means the Grok Bot labeled Development. It is unrelated to Cognition’s agent product also called Devin. Same spelling, different system.

Chief
Orchestrator

Took the ask, confirmed platform with you, dispatched specialists, relayed specs between bots and the cloud agent, and reported status back. Did not write Godot code.

Devin (Development) — Grok Bot
Implementation owner

Not Cognition’s “Devin” product. This Devin is a Grok Bot teammate (sidebar label Development) on the same Grok Bot roster as Chief and Rex. Owned the Cursor Cloud Agent launch, Origin new_repo path, oversight of the Godot build, and later the GitHub re-home plus clone onto the laptop under Downloads.

Rex (Research)
Mechanics research

Built a Snakebird-inspired mechanics checklist from public sources (design patterns only — no IP theft). That checklist was injected into the cloud agent mid-run so simulation order and rules stayed coherent.

Later / not on greenfield
Clear team map

Stuart, Bess, and other roster bots were not on the greenfield ship. If you only hear three names for the first Gravity Birds build, that is intentional — not a missing handoff.

Frank (Frontend) joined later for the Moss Ledger brownfield art & UI polish (§13) — design only on that run; Devin still implemented in Godot.

Tess Tester (QA) was created after the greenfield ship for future E2E / playtest loops. She was not on the Moss Ledger polish run.

3. Non-negotiable: must use Cursor

The constraint was satisfied by launching a Cursor Cloud Agent against a new Origin repository. That is a valid Cursor path. It is not the only one.

Also would have counted: creating a local folder, opening it in the local Cursor IDE, and building there. “Must use Cursor” ≠ “must use Origin cloud agents.” The team picked the cloud path because it could scaffold a full Godot tree without Godot installed on your machine yet.

4. Platform choice: Godot 4

After a short platform check with you, the team settled on Godot 4 (target 4.3, GDScript). Reasons that mattered in practice: free, open, good for 2D grid puzzles, easy to open later on a laptop, no Unity license dance.

Important context: you did not have Godot installed yet when the cloud agent ran. So the first playable artifact lived in a remote repo and a remote agent workspace — not in a folder you could double-click. Editor play (F5) only becomes real after install + clone + Import.

5. Cursor Cloud Agent on Origin

Devin (the Grok Bot) launched a Cloud Agent with new_repo (private Origin). Cursor auto-named the repo something like tmp-… — not “Snakebird” and not “Gravity Birds.” That naming choice is a recurring source of “where did it go?”

  • Engine: Godot 4.3 project (project.godot, scenes, scripts, level resources).
  • Spec: Rex’s simulation-order checklist injected mid-build (move → push → grow → gravity → hazards).
  • Content: five original levels, undo (Z), restart (R), menus / level select.
  • Web: agent attempted HTML5/web export (folder can look “done” even when browser play is incomplete — see unknowns).

Agent sessions show up under URLs shaped like cursor.com/agents/bc-…. The Origin codebase itself is a different surface (cursor.com/codebase/…). Neither magically appears as a row under local Cursor “home” until you clone.

6. The confusion wall — UNKNOWN UNKNOWNS

This is the section that usually gets papered over in “we shipped a game” writeups. Most of the frustration was not Godot — it was where state lives and what words like Cursor / Origin / Agents actually point at.

Origin repo ≠ folder on This PC

Cloud Agent writes into an Origin-hosted git remote and a remote workspace. Your laptop’s disk is empty of that project until someone clones it. Local Cursor’s home / recent list only shows local folders you have opened. No clone → nothing to list.

Auto-generated Origin name is easy to miss

Searching the UI or your memory for “Snakebird” or “Gravity Birds” will miss a repo named like tmp-…. The product name and the remote name were never the same string.

No obvious “Agents” menu on the IDE home screen

If you open the desktop IDE and look for a big Agents tab on the welcome screen, you may not find one. Practical paths: open cursor.com/codebase or the agent URL (cursor.com/agents/bc-…) in a browser while signed in.

Cloud Agent writes remotely; local IDE does not “see” Origin

There is no ambient sync that materializes Origin files into the IDE. Clone (or download) is the bridge. Until then, local Cursor and Origin are strangers.

“Must use Cursor” ≠ “must use Origin cloud agent”

Alternative that also satisfied the constraint: empty folder under Projects → Open Folder in local Cursor → build there. The team chose cloud for bootstrap speed without a local Godot install; that choice created the visibility gap.

Public GitHub create can 403 on a PAT while private create works

When re-homing off Origin, creating a public GitHub repo with a personal access token can fail with 403 even though creating a private repo with the same token succeeds. Scope / org policy / default visibility — whatever the root cause, the workable path was private gravity-birds.

Origin git HTTPS may reject tokens until origin auth login

Pushing or pulling Origin over HTTPS with a generic token can fail until Cursor’s Origin auth flow is happy (origin auth login or equivalent). The practical workaround used here: reconstruct / push the tree to GitHub, then clone GitHub onto the laptop. Origin remained the birthplace; GitHub became the laptop-friendly home.

Web export folder can exist without a playable wasm/pck

An export/ tree (or partial export) can exist while the browser build is missing critical artifacts (.wasm, .pck, etc.). Opening HTML then fails; Godot editor F5 still works. Do not treat “export folder present” as “web build ships.”

Inspired-by ≠ clone

Rex’s checklist and the agent prompt both insisted: no commercial Snakebird assets, levels, characters, or trademarks. Gravity Birds is an original grid-gravity snake-creature puzzle with its own name and levels.

7. Timeline of autonomous steps

Chronological, condensed — the path the bots actually took:

  1. Ask You requested a Snakebird-like puzzle; Chief clarified Cursor + engine constraints with you.
  2. Platform Godot 4 chosen; noted you did not have Godot installed yet.
  3. Research Rex produced a public-source mechanics checklist (simulation order, fruit, exit, hazards, undo) — original game only.
  4. Launch Devin (Grok Bot) started Cursor Cloud Agent with Origin new_repo (private, auto-named tmp-…).
  5. Inject Mechanics checklist injected into the running agent so early code would not drift from the v1 rules.
  6. Build Agent implemented Godot 4.3 project: core loop, 5 levels, UI, undo/restart; attempted web export.
  7. Visibility wall Local Cursor home showed nothing; Origin name ≠ product name; agent URL / codebase URL needed in a browser.
  8. Re-home Push / re-home toward GitHub az9713/grokbot-game-dev-demo (earlier private-create path succeeded where public 403’d; public name above is the playable home).
  9. Laptop Clone to <UserProfile>\Downloads\gravity-birds; open via File → Open Folder (Cursor and/or Godot Import).
  10. Playtest Devin (Grok Bot / Development — not Cognition) playtested on the shared computer, opened First Steps, and found two ship-blocking bugs: movement dead, and levels 2–5 unwinnable.
  11. Movement fix Typed-array bug in scripts/puzzle_game.gd fixed via Cursor Cloud Agent; squash-merged to GitHub az9713/grokbot-game-dev-demo as PR #1 (main ~ ae68b46); also landed on Origin as 38d83fa.
  12. Levels fix Levels 2–5 redesigned (heads on EMPTY, BFS-validated) via a second Cloud Agent + GitHub PR #2 (merged; squash commit c8881f5 on GitHub main); levels synced to Origin main as 990a412; level files copied to the laptop Downloads clone.

8. How the Grok Bots talked to each other

This section demystifies inter-GrokBot messaging during the Gravity Birds job — who pinged whom, what “priority” means, and why specialist replies often show up in Chief’s chat.

The mechanism (plain language)

  • Each Grok Bot is a separate chat / assistant with its own memory. Chief does not share one brain with Devin or Rex.
  • Chief is your single point of contact. Specialists do not all ping you for every step; they report to Chief, and Chief talks to you.
  • Bots message each other asynchronously (tool: SendToAgent). It is not a live Slack huddle — one bot sends, continues its own work, and the reply arrives later as its own turn.
  • priority=true wakes the other bot now for work someone is waiting on. priority=false is FYI held until their next turn.
  • You often see specialist messages appear in Chief’s chat when they report back — that is intentional visibility, not you being CC’d into every private tool call.
  • Cloud Agents are Cursor VMs steered by Devin; they are not Grok Bots. Devin talks to Cloud Agents; Chief talks to Devin.

What this is not

  • Not Cognition’s “Devin” product — our Devin is the Grok Bot labeled Development.
  • Not all bots in one shared brain — each has its own chat memory.
  • Not automatic fan-out — Chief decided who to wake for this job.
  • Frank, Stuart, and Bess were idle; Tess Tester did not exist yet for this build.

Message log (Gravity Birds collaboration)

Chronological, paraphrased, scrubbed. Short quotes in blockquotes where useful. Intent column = why the message was sent.

From → To Intent What was said (paraphrase)
You → Chief Kickoff Build a Snakebird-like puzzle; must use Cursor; ask clarifying questions before coding.
Chief → Devin Dispatch build Godot 4; Cursor Cloud Agent with Origin new_repo; original mechanics; 5 levels; HTML5 path. Do not wait on perfection — start the agent.
Chief → Rex Research brief Short Snakebird-inspired mechanics checklist for Devin’s CloudAgent prompt; public sources only; no IP theft.
Rex → Chief Deliverable Paste-ready checklist: grid, gravity, fruit growth, exit, undo, and sim order move → pushes → grow → gravity → hazards.
Chief → Devin Lock spec Inject Rex’s checklist into the running Cloud Agent via interrupt reply; treat it as the locked v1 spec.
Devin → Chief Ack Confirmed checklist landed in Cloud Agent bc-…. Spec locked.
Devin → Chief Ship report

Done — Origin URL tmp-…, product name Gravity Birds, how to play (Godot F5 / export + web server). Blockers: none at ship.

You ↔ Chief Clarify + next ask You were confused: Origin vs local Cursor. Chief explained the remote-vs-disk gap. You asked for a clone to the laptop plus a GitHub re-home.
Chief → Devin Re-home Clone Origin to the laptop Downloads path; create/push a GitHub repo (try public; private OK if public create 403s).
Devin → Chief Re-home result Local path ready; GitHub went private then public as grokbot-game-dev-demo (renamed from grokbot-gravity-bird). Origin git auth failed, so reconstruct/push GitHub then pull the laptop. Web export binaries still missing.
Devin → Chief Post-ship status Playtested; found Issues A (movement dead) and B (levels 2–5 unwinnable). Opened Cloud Agents / PRs; later sent demystify notes (symptom / cause / fix / verify) plus a remote SHA table including PR #2 then merge c8881f5 / Origin 990a412.
Chief → Devin Doc sync Push journey HTML updates to Origin while Chief pushes GitHub from the laptop. Devin confirmed Origin SHAs afterward.

Takeaway: You talked to Chief. Chief woke Devin and Rex when needed. Devin steered Cloud Agents. Replies bubbled back through Chief so you could see progress without living inside every specialist tool call.

9. Post-ship gameplay fixes (warts)

After the first shippable slice was re-homed and opened in Godot, Devin (Grok Bot / Development — again: not Cognition’s product) playtested on the shared computer and hit two hard blockers. Neither was invented for this writeup; both were fixed with Cursor Cloud Agents and PRs.

Issue A — Movement dead

  • Symptom: First Steps opened; arrow keys / WASD did nothing. Undo / Restart UI was still visible.
  • Cause: Godot 4 typed arrays. execute_move() built an untyped Array, then assigned it into creature_segments: Array[Vector2i] → runtime error, move aborted. The same class of risk existed on undo/restart restores.
  • Fix: Typed Array[Vector2i] construction / .assign() in scripts/puzzle_game.gd.
  • Verify: F5 → Play → First Steps → click the playfield → Right / D moves the bird.

Not Issue A: Up / Down blocked at the First Steps start is intentional (neck / floor). Only left–right deadness was the bug.

Issue B — Levels 2–5 unwinnable

  • Symptom: Only First Steps felt playable. Gap / Stairway / Danger Zone / The Puzzle looked stuck — zero useful moves.
  • Cause: Level data. Heads spawned on SOLID tiles in level_02..level_05.tres; every attempted move was neck reverse or wall. Level 01 was fine (head on EMPTY).
  • Fix: Redesigned level_02–05 so heads sit on EMPTY; themes kept. BFS-validated against engine order move → fruit → gravity → grow → hazards.

Example solutions (layouts matching the GitHub PR):

LevelSolution (U/D/L/R)
L1 First StepsRRRURRR
L2 GapRRURRURRR
L3 StairwayLURURRURRURRURR
L4 Danger ZoneRRUURRRURLURR
L5 The PuzzleRRURRRURRRRR

10. Where the fix commits live

Honest map of remotes after PR #2 landed on GitHub main:

RemoteWhatRef
GitHub az9713/grokbot-game-dev-demo Movement fix merged (squash PR #1) main ~ ae68b46
GitHub Levels 2–5 redesign Squash-merged PR #2 → main c8881f5 (PR #2)
Origin az9713/tmp-98639729b424a5bb Movement fix 38d83fa
Origin Levels 2–5 sync 990a412 on main

Wart: Origin levels bytes may differ slightly from the GitHub PR #2 layouts (Cloud Agent recreated both). Both aim for empty-head + solvable. The laptop <UserProfile>\Downloads\gravity-birds clone has the movement patch plus PR-branch levels — after the merge, the laptop clone was fast-forwarded to GitHub main c8881f5.

11. GitHub re-home + laptop pull

Where the playable tree lives after re-home (see also post-ship fixes above):

SurfaceWhere
Canonical laptop clone <UserProfile>\Downloads\gravity-birds
GitHub remote github.com/az9713/grokbot-game-dev-demo (public repo name; playable home)
Birth remote Origin az9713/tmp-98639729b424a5bb (optional to keep; not required to play)

In Cursor: File → Open Folder on the Downloads clone. In Godot: Import → select project.godot in that same folder.

12. How to play now

  1. Install Godot 4.3+ if you have not already.
  2. Import project.godot from <UserProfile>\Downloads\gravity-birds.
  3. Press F5 (or the Play button) in the editor.

Controls

  • WASD or arrow keys — move the creature’s head
  • Z — undo
  • R — restart level

Prefer editor play over the web export until you have verified a full HTML5 export (templates installed, .wasm / .pck present, served over http://localhost, not file://).

13. Brownfield: Moss Ledger art & UI polish

After the greenfield ship was playable, the human ask shifted: the game felt too simple in graphics and UI. Polish the art and chrome on current rules only. Snakebird remained an aesthetic mood reference (cozy painted readability) — not an IP copy of art, levels, or characters.

What “brownfield” meant here

The Godot project was already playable with five levels and locked simulation order (move → gravity → fruit grow → spikes/void soft-undo → exit after all fruit). The job was to add visuals without changing mechanics or level rules.

Cast for this phase

Chief
Orchestrator

Scoped the polish, briefed Frank, told Devin to implement with no rules change, later added README before/after screenshots.

Frank (Frontend)
Art & UI design

Designed the Moss Ledger look, palette, HUD plaques, and drop-in asset pack under assets/art/.

Devin (Development)
Godot wiring

Wired textures into _draw + HUD; kept the same five levels and rules; shipped the integrate commit on GitHub main.

Tess Tester
Not on this polish run

Exists for future E2E / playtest loops. No Tess verification is claimed for Moss Ledger.

How Frank designed (from his write-up)

Starting point was Godot DEBUG geometry: slate rects for tiles, blue square body segments with eye dots, orange circles for fruit, gray/green exit. Mood target: Snakebird’s cozy painted readability — soft tiles, chubby silhouette, warm UI — feeling only.

He drew original sprites with Pillow under the style name Moss Ledger.

parchment sky #E8DFC8 moss #5F7A4A moss #7A9A5E moss #3E5232 bird teal #4A8FA8 fruit #E07A2A exit open #6FBF6A void #2A2E38 HUD plaque #F3EAD6 wood #6B5A3E

Delivered under assets/art/: ART_BRIEF.md, HUD_MOCK.md, 64px tiles/actors, ui_button / ui_panel / fruit_icon, optional atlas. Drop-in contract for Devin: draw_texture at cell * 64, keep the existing TileType enum, set ClearColor to parchment.

What Devin did

Wired the textures into _draw and the HUD. Same five levels. Same rules (move → gravity → fruit grow → spikes/void soft-undo → exit after all fruit). GitHub main squash/commit 88ed6f0 — Integrate Moss Ledger art polish.

Before / after in the README

game_ui_1.png (pre-polish DEBUG) and game_ui_2.png (Moss Ledger) are linked in the README. Screenshot commit on GitHub main: a61ae6b.

Gravity Birds before polish: DEBUG geometric UI
Before — DEBUG geometry (game_ui_1.png)
Gravity Birds after Moss Ledger art polish
After — Moss Ledger (game_ui_2.png)

Inter-comms (scrubbed short log)

Same async pattern as the greenfield run: SendToAgent — one Grok Bot sends; the other gets a later turn (priority=true wakes them now; priority=false is FYI for their next turn).

From → To Intent What was said (paraphrase)
Chief → Frank Design brief Polish art/UI only; current rules locked; Snakebird as mood reference, not IP; deliver a drop-in pack.
Frank → Devin Art handoff Moss Ledger pack under assets/art/ plus ART_BRIEF / HUD_MOCK; cell size 64; keep TileType.
Chief → Devin Implement Wire textures into draw/HUD; no mechanics or level-rule changes; ship on GitHub main.
Devin Ship Integrate commit 88ed6f0 on GitHub main.
Chief Docs proof Later added README before/after screenshots (a61ae6b) so readers can see the polish.

Brownfield lessons

  • Art pack as drop-in — brief + fixed cell size + enum stability lets implementation stay a wiring job.
  • Scope lock — “art/UI only, current rules” prevented mechanics creep during a polish pass.
  • Screenshots prove polish — README and this journey page show before/after so readers do not have to trust a commit message alone.

14. Open leftovers / honest gaps

  • Origin vs GitHub level bytes: GitHub main c8881f5 (squash of PR #2) and Origin 990a412 both fix levels 2–5, but layouts may differ slightly — cite the remote you are playing from.
  • No real HTML5 export artifacts: treat browser play as incomplete until you re-export from a local Godot with templates installed and confirm .wasm / .pck.
  • Gravity quirk (v1 engine): gravity is per-segment fall, not a rigid Snakebird-shaped body. Intentional-for-now engine quirk, not Issue A/B.
  • Origin vs GitHub: two remotes exist (az9713/tmp-98639729b424a5bb and az9713/grokbot-game-dev-demo); day-to-day work should use the GitHub remote you can clone and push without Origin auth friction — GitHub main now includes the levels squash c8881f5.
  • Level depth: five levels is a vertical slice, not a commercial campaign. Difficulty / teaching curve can still be tuned by hand.
  • Art: Moss Ledger polish shipped on GitHub main 88ed6f0; before/after README screenshots on a61ae6b. Remaining gaps: HTML5 export still incomplete; Tess E2E was not run on this polish.
  • No Godot on the cloud path for you: the agent could headless-tool on its machine; your playtest path was always “install Godot locally after clone.”
  • Discovery UX: product name, Origin tmp-… name, and agent bc-… id are three different strings — bookmark the ones you care about.

15. Glossary

Origin
Cursor’s hosted git / codebase surface where Cloud Agents can new_repo and push. Lives in the cloud; not a folder on This PC until cloned elsewhere.
Cloud Agent
A Cursor agent that runs remotely against a repo/workspace (URL pattern cursor.com/agents/bc-…). Writes remotely; does not auto-mount into the local IDE.
Grok Bot team
The multi-bot roster in the Grok Bot app (Chief orchestrating specialists like Devin and Rex). Bots share a box filesystem with each other; they do not share your laptop desktop. Greenfield cast: Chief + Devin + Rex. Brownfield Moss Ledger polish later added Frank (Frontend).
Devin (Grok Bot)
The Development Grok Bot on this roster. Not Cognition’s Devin. Launches and steers Cursor Cloud Agents; does not replace the Cursor IDE itself.
Local Cursor
The desktop IDE on your machine. Home / recents list local projects you opened. Opening a cloud-built game requires a local clone (or other download) first.
PAT 403
Personal Access Token rejected by GitHub for an operation (here: public repo create), while another operation (private repo create) with the same token may still work. Symptom of scope or policy — not “GitHub is down.”
SendToAgent
Asynchronous inter-bot messaging. One Grok Bot sends; the other gets a later turn. priority=true wakes them now; priority=false is FYI for their next turn.
Moss Ledger
Original art/UI style for Gravity Birds’ brownfield polish: parchment sky, moss tiles, teal bird, warm HUD plaques. Designed by Frank; wired by Devin on GitHub main 88ed6f0.
Brownfield
Work on an already-shipped, playable codebase — here, adding visuals without changing mechanics or level rules. Contrast with the greenfield Origin/Cloud Agent build of the first vertical slice.

Tab 1 — Origin → laptop demystification. Covers Origin birth, GitHub re-home, laptop Downloads clone, inter-GrokBot messaging, post-ship movement + levels fixes (PR #2 squash-merged to GitHub main as c8881f5), and the Moss Ledger brownfield art/UI polish (88ed6f0 / screenshots a61ae6b). See Tab 2 for Game Studio v1.5. No personal identifiers included by design.