Using Alara Code
The prototype board
Every prototype screen side by side, Figma-style comments the agent resolves, every version kept and comparable, and which requirements the screens cover.
14 min read18 sections
The prototype board shows every screen of the Prototype step side by side, with arrows for the paths between them, beside the requirement coverage. It opens when you read a prototype the agent built screen by screen. It is a prototype, not production: nothing on it is built software.
Watch it first
This walkthrough follows one prototype from the brand card to the file you send the client. Press play, scrub through it, or jump to a chapter.
alara-code · Harbor Bank Portal
Brand
What the agent is told
- A logo exists
- The tone: calm, trusted
- Your notes, up to 1,000 characters
The colour in the prototype
Buttons, links and focus rings. Backgrounds stay the palette's.
Save the client's brand. In Project Settings, the Brand card: a logo, a colour, a tone and fonts. Pictures upload at once; the rest is saved with Save brand.
- Save the client’s brand is the Brand card in Project Settings. See Add the client’s brand.
- Run it and choose the look is the first
/proto. See The look dialog. - Watch the screens appear is the run, up to four screens at once. See From a TAD to a prototype you can share.
- Read the board covers Board and Play, device sizes and Coverage. See Board and Play and Screens and coverage.
- Comment on a screen is for fixing a spot. See Comments.
- Ask for bigger changes is Request changes, and every change becomes a version. See Ask for changes and Versions and compare.
- Approve and share ends with one HTML file for the client. See Links and downloads.
From a TAD to a prototype you can share
The prototype runs beside the document chain. It needs the TAD written, not approved, and approving it unlocks nothing.
- TAD written to Run UI Prototype from the step list
- Run UI Prototype from the step list to First run in this project?
- First run in this project? to Choose the look, Yes
- First run in this project? to The saved look is used, No
- Choose the look to Agent plans, then writes the screens
- The saved look is used to Agent plans, then writes the screens
- Agent plans, then writes the screens to Awaiting your review
- Awaiting your review to Click through it on the board
- Click through it on the board to Is it right?
- Is it right? to Comment on screens and send them, A few spots
- Is it right? to Request changes, Bigger changes
- Is it right? to Approve, Yes
- Comment on screens and send them to Awaiting your review
- Request changes to Awaiting your review
- Approve to Download the file to share
- In SDLC Pipeline, find UI Prototype under From the documents. Without a TAD the row reads "Run Technical Architecture first".
- If the client has a brand, save it first. See Choose the look and add the brand.
- Press the play button on the row, or type
/proto. The first time, you choose the look. It needs the Run permission (Projects › Run) and a bound agent. - A product that is not a plain app, or a plan the agent is unsure of, stops after planning. Read the Prototype plan card, then select Build in the model's look (or Use a ready-made kit to pick one of the kits instead).
- The agent writes up to four screens at once, and each appears on the board as it finishes. The run ends as Awaiting your review.
- Open the UI Prototype card, play through it and read Coverage.
- Fix what is wrong (see Ask for changes), then Approve.
- To send it to the client, use Download in the toolbar: one HTML file that opens in any browser. A link copied from Alara Code opens only for someone signed in with access to the project.
Open the board
Open the UI Prototype document, from the conversation in SDLC Pipeline or from the Artifacts tab. The reader opens on the board. A UI Prototype has no Edit button; changes go through the agent. In the narrow side panel, select Expand for the full-screen board.
Board and Play
The toolbar switches between two views:
- Board lays the screens out in columns that follow the journey. The first screen of the plan is on the left, and each screen sits in the column of its shortest path from it. Screens nothing links to share the last column.
- Play shows the whole prototype in one frame, clickable from screen to screen, as the client would try it.
Each screen on the board has a header with its id, name and a Built or Failed badge, and the arrows are its links. When a design system is chosen, the bridge adds a last screen, SCR-DESIGN, that shows the look: colours in both themes, type, spacing and components. It is never listed under "screens with no requirement".
On the board:
- Drag to pan; scroll or use the corner controls to zoom.
- With up to twelve screens, every screen shows live. In a larger prototype the eight nearest the middle of the view show live and the others show a card with the name, purpose and requirement ids.
- Double-click a screen to open it full size, clickable at the device size you chose, with Comment, Copy link, Download screen and Open in new tab in its header.
- A screen the agent could not build is marked Failed and says why. Rebuild failed screens (N) writes only those again and keeps everything else. It uses a run (one agent call per failed screen) and needs the Run permission.
- Look: <design system> · <palette> shows the prototype's look and opens the picker. See Choose the look and add the brand.
- Apply brand appears only when the project has a brand saved. It restyles the latest version with no agent call.
These buttons act on the latest version. Each starts a /proto run that saves a new version for your review.
In Play, the bar above the prototype shows where you are, for example "3 of 8 · SCR-03 Hourly Weather Updates":
- Back, Next and the screen picker step through the screens in order, skipping any that failed. The circular arrow starts again.
- Clicking inside the prototype moves it as a client would, and the bar follows. The left and right arrow keys act as Back and Next.
- With Comment on, Play shows the screen at full height, ready for a pin.
- The Screens list on the left jumps to a screen.
Some buttons in a prototype lead nowhere: they are not part of a journey. Use Next or the picker to see every screen.
Device size
Choose Desktop (1280 pixels wide), Tablet (768) or Mobile (390). It applies to Play and to a screen opened full size, scaled to fit. The board always lays screens out at desktop width.
Prototype theme
Choose Light or Dark to see the screens in the design system's light or dark palette, on the board, in Play and full size. Alara Code remembers it in this browser. It is separate from the app's own appearance, and a new prototype opens in Light.
Screens and coverage
The left panel lists the screens with their requirement ids. Select one to centre it on the board. Below it, Coverage compares the prototype with the requirements:
- how many requirements the screens cover;
- must-priority requirements with no screen: ones the client would expect to see and cannot. Name them in Request changes;
- screens with no requirement: screens that serve nothing the requirements ask for;
- Requirements changed since this version: the requirements were edited or removed after the build. The notice names the screens that use them.
The design file
Every time the prototype is built or changed, Alara Code also writes a DESIGN.md for that version, from its design system, palette, font pairing, backdrop, colour mode and design brief. It has no model call and lists no screens: it is the colours in light and dark, type, spacing, shapes, shadows, motion, components and rules, in the open DESIGN.md format, so a coding agent can build in the same look. A new design system, a change of palette, a font or colour-mode change, your comments and a rebuild each write a new DESIGN.md, which is approved with the prototype. When you push to your repository, the design file of that pipeline version (docs/prototype/design-v1.0.md) is updated and the root DESIGN.md follows the newest approved prototype. A prototype built before this has no design file until you run /proto again. See Repository integration.
Search and filter the screens
Search screens matches an id, name, purpose or requirement id. The filters are Failed, Has comments and Changed since v2 (the version this one was made from); the heading counts matches, for example "Screens (2 of 8)".
Arrange and zoom
Flow (the default) follows the journey from left to right. Grid fills rows in the plan's order. Fit all screens, Zoom to 100% and Zoom to the selected screen move the view.
Ask for changes
Pick the smallest tool that does the job.
| You want | Use | What happens |
|---|---|---|
| Fix a spot on a screen | Comment, then Send to agent | Only the commented screens are written again. |
| Add or remove a screen, change a flow, or change many screens | Request changes on the UI Prototype card | The agent gets the draft as built and your list, and writes again only the screens your list touches. Every other screen is kept exactly. It may also change the plan. |
| Another look | Look button | Palette, backdrop, colour mode or fonts restyle with no agent call. Another design system writes every screen again. |
| A screen failed | Rebuild failed screens | Only the failed screens are written again. |
| Change an approved prototype | Re-run /proto | A new draft; the approved version is kept. Screens whose inputs have not changed are reused, so change something first. |
Request changes works only while the draft awaits review. Write one change per line in the message box: Enter applies, Shift+Enter starts a new line, and the Change ideas chips add ready-made lines.
Wording that works:
- Name the screen: "SCR-04: move the search box to the middle of the header".
- Ask for what you can see, one thing per line, and say what to keep. "Make it nicer" gives the agent nothing to apply.
- For a missing requirement, name it: "Add a screen where a manager can approve a leave request (REQ-FUNC-012)".
Comments
Before a prototype is approved you can comment on its screens, as you would on a design. Select Comment (or press C), then click the spot on a screen. A pin with your avatar appears and a box opens: Enter sends, Shift+Enter adds a line, Esc cancels. Press Esc or C again to leave the tool.
- Place a pin on the board, in Play, or anywhere on a screen opened full size, however far down.
- Click a pin to read its thread. You can reply, edit, copy a link, or select the check mark to resolve it, and reopen a resolved one. You can delete your own pin only while it is open.
- The Comments tab in the left panel lists threads under Open, Addressed and Resolved, with a search.
- A pin shows only at the device width it was placed at. At another width the thread stays in the tab and says where it was placed.
- start to Open, You add a comment
- Open to With the agent, Send to agent
- With the agent to Addressed, Done or Partly done
- With the agent to Open, Not done, run failed or cancelled
- Addressed to Resolved, You resolve it
- Addressed to Open, You reply
- Open to Resolved, You resolve it
- Resolved to Open, You reopen it
Send the comments to the agent
Nothing goes to the agent until you send, so add as many comments as you need, on as many screens. A bar over the board says how many are ready, for example "3 comments on 2 screens ready". The same button is at the foot of the Comments tab and on a full-size screen. Select Send to agent or Send all N to agent. Alara Code lists the comments per screen and confirms: one run, only the commented screens rewritten as a new version, and the version you are looking at kept. It needs the Run permission and waits while another step is running.
The agent writes each commented screen again with the comment in front of it: where the pin is, what was under it, and the thread so far. It answers each comment with one sentence and one outcome: Done, Partly done (it says what is left) or Not done (it says why, for example that the comment needs a new screen, which is a job for Request changes). The answer appears under the pin. Done and partly done comments become Addressed; resolve them when you are happy. A comment that was not done goes back to Open. If the run fails or you cancel it, your comments go back to Open as you left them.
Every other screen is carried over exactly, and a commented screen that cannot be written again keeps its earlier version.
Comments are for a draft under review. On an approved or older version, or without the Run permission, the Comment tool is disabled and a line above the board says Comments are closed and why. To comment on an approved prototype, run /proto again: the new version is a draft.
Versions and compare
Every build or change is saved as a new version, and no version is ever replaced or lost. The bar above the board names the version you are looking at and lists them all.
| Label | Meaning |
|---|---|
| Draft | The newest version, not yet approved. |
| Approved | You approved this version. |
| Replaced | An earlier version that was never approved. |
Each entry shows what made it (First build, Changes requested, Pipeline revision (the prototype was rebuilt for a new project version), Comments resolved, Palette changed, New design system, Failed screens rebuilt), when, and its look. An older one opens read only, with Back to latest. The choice is kept in the address (?pv=2), so a link opens the same version.
Compare versions appears once there are two versions. It opens on the newest and the one it was made from; choose any two, swap them, and turn Changed only off to see every screen. Each is marked Changed, New, Removed or Unchanged.
Keyboard shortcuts
Press ? for the list. C toggles the comment tool and Esc leaves it. F fits every screen, 1 zooms to 100% and 2 to the selected screen. The arrow keys select the next or previous screen (in Play they show it). / searches, and [ and ] open the older and the newer version. Shortcuts never act while you type in a field, and a key held with Ctrl, Cmd or Alt is left to the browser.
Links and downloads
- Copy link on a full-size screen opens that screen (and its version, if older). Copy link in a comment's menu opens the screen with that thread open. Both need a signed-in person with access to the project.
- Open screen in the toolbar and Open in new tab on a full-size screen show one screen in a tab of its own.
- Download screen saves one screen as a file. Download saves the whole prototype as one file at the version you are looking at. These files are for the client and need no Alara Code account.
Older prototypes
A prototype from before the board is one file, shown in its frame with a Convert to board button. Converting re-runs /proto and uses a run: the look dialog opens first, and the new version waits for your review. It needs the Run permission.
When something looks wrong
| You see | Likely cause | What to do |
|---|---|---|
| A Failed screen | Its reply did not pass its checks, or its call failed. | Read the reason on the card, then Rebuild failed screens. |
| "No screen of the prototype could be written" | Every screen failed. | Retry step. Finished stages are reused when nothing changed. |
| A run that seems stuck | The agent is slow or the stream stalled. | Stop it (needs Projects › Abort), then Retry step. |
| A note above Approve lists checks | The draft is kept with problems the agent could not fix. | Open Show details. If Approve is off, use Request changes. |
| Everything looks plain | The design system step failed and the kit alone was used. | Request changes: "Write the design system again". |
| A button is disabled | The Run permission is missing, no agent is bound, or (for Send to agent) another step is running. | Hover for the reason. |
| "Requirements changed since this version" | The requirements moved after the build. | Approve, then Re-run /proto, or Request changes for the screens named. |
| "This screen could not be loaded" | The screen could not be fetched. | Close the full-size view and open it again. |
Safety
Every screen runs in a locked-down frame with no access to Alara Code, your session or the network. The UI Prototype page has the detail.