Create or Edit a Canvas App
Create or edit a Power Apps canvas app for:
$ARGUMENTS
Establish the Workspace
Canvas Authoring tools operate on a local directory containing the app YAML.
- Reuse the current directory when it already contains
App.pa.yaml.
- Otherwise, reuse the single immediate child directory containing
App.pa.yaml, when
exactly one exists.
- Otherwise, derive a short kebab-case folder name from the app name or requirements,
create it with
Bash, and resolve its absolute path.
- Call
sync_canvas with that absolute working directory before reading or editing app
files. Do not proceed if sync fails.
Always use absolute paths for app files. Never edit _EditorState.pa.yaml; Studio owns it.
Route the Request
Inspect the synced .pa.yaml files before choosing a workflow. A blank app normally contains
App.pa.yaml, Screen1.pa.yaml, and _EditorState.pa.yaml.
Treat the app as empty when it has no screens with meaningful leaf controls. Containers
without leaf controls do not make the app non-empty.
- Empty app: read
${PLUGIN_ROOT}/references/CreateWorkflow.md and follow it.
- Existing app: read
${PLUGIN_ROOT}/references/EditWorkflow.md and follow it.
Do not load both workflow documents.
Planned Build Handoff
CREATE and complex EDIT workflows return here after the planner finishes.
- Read
[working directory]/canvas-app-plan.md returned by the planner.
- Verify its
## Requirement Coverage table maps every concrete requested noun and
interaction to a visible affordance. Any approximation must be explicit and must not
use UI copy that claims the unavailable interaction is exact.
- Verify its
## Action Contracts table:
- Every requested or approved action has its own row and reachable entry point.
- Create, edit, delete, search, filter, approve, reject, period, and export behaviors
are not collapsed into vague combined rows.
- When review distinguishes approved and rejected outcomes, Approve and Reject/Decline
have separate contracts owned by the same eligible record surface.
- Every mutation names an observable bound result, not only a confirmation message.
- Every mutation declares a write set and receipt proof set. For create/edit, reject the
plan when any user-entered or user-selected write-set field is absent from the proof set.
- Supporting setup actions exist when required to exercise an explicitly requested
lifecycle, relationship, comparison, or ranking.
- Role-scoped management of all primary records includes separate visible select/edit/save
and remove/cancel paths, not only review or status controls.
- Create/edit contracts define required inputs, directly selectable finite choices,
stable identity, edit prepopulation, cancel/reset behavior, and post-save evidence.
- Every row names a precondition, source and stable identity, exact transition and
postcondition, observer reading that source, and visible evidence.
- Verify its
## Functional Test Matrix:
- Every Action Contract has at least one deterministic Given/When/Then success row.
- Every required invalid, blocked, empty, clear/reset, or boundary path has a row.
- Every
Then names a source postcondition and an evidence surface that reads it.
- Local/mock scenarios use concrete seeded IDs and values. Filter scenarios include at
least two matching records and one non-matching record.
- EDIT scenarios cover existing behavior touched by changed sources, fields, controls,
or observer formulas.
- Verify its
## Dispatch table:
- Every row has
Action, Screen, Target File, YAML Key, Name Prefix, and
Screen Brief.
- CREATE rows use
Create; EDIT rows use Modify or Create.
- Target files and screen briefs are absolute paths under
[working directory].
- No two rows target the same file.
- No two rows share a
Name Prefix.
- In CREATE mode the first row targets
[working directory]/Screen1.pa.yaml with YAML key Screen1.
## Editor State Changes exists and contains exact final order lists or None.
- Confirm
[working directory]/canvas-app-shared.md and every dispatch row's Screen Brief exists.
Verify each brief's assignment matches its dispatch row and includes every Action
Contract owned by that screen under ## Required Actions and every scenario it
exercises under ## Functional Test Scenarios.
- In EDIT mode, apply the
### Before builders group of ## App Changes to
[working directory]/App.pa.yaml now. Screens bind to those collections, formulas and variables, and
compiling them against a stale App.pa.yaml produces a flood of false name errors.
- Confirm the planner reported a clean
compile_canvas for [working directory]/App.pa.yaml. If it
did not, compile now and resolve every App-level diagnostic before dispatching.
For EDIT mode, compile after applying the before-builder app changes and resolve
App-level diagnostics before dispatching.
- Invoke
canvas-screen-builder once per dispatch row, in waves of
at most three. Fire the wave's invocations together in one message, wait for that
wave to return, then dispatch the next.
Never dispatch more than three builders at once. Larger fan-outs have hung without
returning, and waves of three get you the first compile sooner, which is where systemic
defects surface.
If any pre-dispatch check fails, do not start builders. Re-invoke the planner with the
specific defects and repeat the checks on the corrected artifacts.
Pass each builder only:
Action: [Create / Modify]
Screen: [logical screen name]
Target file: `[working directory]/[file].pa.yaml`
YAML screen key: [key from dispatch row]
Control name prefix: [prefix from dispatch row]
Shared plan: `[working directory]/canvas-app-shared.md`
Screen brief: `[working directory]/[file-base].screen-plan.md`
Plugin root: ${PLUGIN_ROOT}
The target file, YAML key, and name prefix are authoritative. Modify actions preserve the
key already present in the target file.
Compile after each wave returns, before dispatching the next. A systemic mistake in the
first wave is usually repeated in every later screen. Repair files that already exist in
place; only rows still waiting for dispatch receive corrected briefs.
A between-wave compile can report a Navigate target that belongs to a later wave as
unrecognized. Confirm it matches a remaining dispatch row and leave it in place.
After all builders finish:
- Check each builder's
Functional: section before accepting its QA: line. It must
contain exactly one PASS trace per Required Action in that screen's brief, and each
trace must name the precondition, control event, source/stable-ID operation,
postcondition, and observer/evidence. A missing link, generic claim, or BLOCKED result
sends that screen back for targeted repair and a corrected trace; do not accept
checklist PASS as a substitute.
- Check each builder's
QA: line. It must list an outcome for every check in
${PLUGIN_ROOT}/references/QAChecks.md. Treat these as unrun and send the screen back for self-QA
only — not a rebuild — before you compile:
- a missing or truncated
QA: line, a line that omits any check listed in
${PLUGIN_ROOT}/references/QAChecks.md, or a bare fix count;
- an outcome that contradicts the screen structure — for example,
QACHK-CROSS-AXIS-ALIGNMENT is N/A despite AutoLayout children,
QACHK-ACCESSIBLE-LABEL-MISSING is N/A despite content or input controls,
QACHK-LOW-CONTRAST-TEXT is N/A despite a non-default coloured surface, or
QACHK-ROOT-CONTAINMENT is PASS while a responsive root has screen-level siblings;
QACHK-GALLERY-ROW-FITS-CONTENT is N/A despite the screen containing a Gallery;
QACHK-ACTION-LABEL-FIT is PASS while a multiword action directly under vertical
AutoLayout lacks Width: =Parent.Width;
PASS is valid after a complete inspection finds no defect; never reject it solely
because the screen has many controls.
This costs one cheap turn. The defects these checks catch — clipped headings, invisible
buttons, placeholder cards — are invisible to compile_canvas, so if you skip this the
app ships broken while reporting clean.
- A self-QA follow-up is not a rebuild or a screen-generation re-dispatch. Tell the
builder to inspect and repair the existing target file, then return the corrected
QA: line without regenerating the screen.
- Compare every repeated navigation block against
[working directory]/canvas-app-shared.md: same
destination items, same order, no extra brand/label injected into one screen's nav,
and width formulas that fit the narrowest target. This is an app-wide check builders
cannot perform because each sees only one screen.
- Verify each
## Action Contracts row end to end against the generated files: the entry
point is reachable, the named event is wired, and the observable result is visible
immediately after the action. For mutations, require an in-viewport receipt bound to the
returned record, changed stable ID, or deletion snapshot. Compare the handler formula,
declared write set, declared proof set, and receipt controls one-for-one. For create/edit,
every user-entered or user-selected field written by the handler needs a readable labeled
receipt binding. Navigation, a notification, hidden state, or a row somewhere in a longer
list cannot replace it. Compile success does not prove runtime usability.
- Execute every
## Functional Test Matrix row symbolically against the final formulas.
Confirm the Given state makes the entry point eligible, the When event targets the
declared source and stable ID, the Then values follow from the operation, and the
evidence formula reads that post-state. Repair the owning file when any link depends on
an unstated assumption or a different source/field.
- For every primary-record list, verify each row or its immediately reachable detail renders
the canonical human-readable identity as full visible text. Avatar initials, icons,
record IDs, accessible labels, or evaluator inference cannot replace the identity.
- When Approve and Reject/Decline are paired contracts, verify every eligible pending record
exposes both decisions on the same row or the same immediately reachable detail at phone
width. Send the owning screen back when either decision is missing; never accept a
single-sided review queue as a density tradeoff.
- For every create/edit lifecycle, verify short static choices use radio buttons, visible
choice buttons, or a dropdown that commits by click or tap without typed filtering, then
trace create → bound mutation receipt → visible Edit → prepopulated form → stable-ID save
→ bound mutation receipt with updated values. At phone width, verify identity,
status, and required lifecycle actions remain visible or have an immediately visible
overflow/detail entry. Send only the owning screen back for self-QA when any link is
missing.
- Reject
QACHK-CARD-PLACEHOLDER PASS when a ModernCard displays Title, Subtitle and
Description with Height < 180; send that screen back for self-QA.
- If a builder returns
Status: Blocked, re-invoke the planner to correct that screen
brief, then rerun only the affected builder. Never ask a builder to guess missing
definitions.
Status: Blocked is the only reason to rerun screen generation from a brief.
Compile diagnostics are not. Once a screen file exists you repair it in place with
targeted edits. Re-running generation rewrites the whole screen from scratch, discards
the fixes already applied, and produces a fresh crop of defects. That loop does not
converge.
- In EDIT mode, apply the
### After builders group of ## App Changes in
[working directory]/canvas-app-plan.md to [working directory]/App.pa.yaml. The ### Before builders group was
already applied at pre-dispatch. If a group says None, do not edit the file for it.
- The orchestrator is the sole owner of EDIT changes to
[working directory]/App.pa.yaml.
- Apply
## Editor State Changes from [working directory]/canvas-app-plan.md to
[working directory]/_EditorState.pa.yaml after all builders finish. If it says None, leave the
file unchanged.
- Read
${PLUGIN_ROOT}/references/ValidationWorkflow.md and follow it.
Shared Invariants
- Never guess control properties. Use
describe_control; only use properties returned
for that exact control type.
- Use exact RGBA values and shared variable names from approved plans.
- Control names are unique across the entire app, not per screen. Two screens may
not both contain a control named
NavBar or btnBack; the compiler rejects the
second with An entity with name '...' already exists. Every control a builder
writes uses the standard control-type abbreviation followed by that screen's assigned
name prefix, such as conDiscNavBar or btnDetailBack. This applies especially to UI
blocks repeated on many screens — nav bars, headers, toolbars, badges.
- Copy control creation keywords from
describe_control. list_controls provides
the name used to query describe_control; it is not the authority for authored YAML.
Copy the returned Control: value and every required ComponentName,
ComponentLibraryUniqueName, Variant, and Layout keyword verbatim. Never strip,
normalize, or reconstruct those values.
- Never invent an enum type name.
describe_control prints the exact name on the
Enum name: line of each enum property. Copy it verbatim. Enum names do not follow
from control names: Badge.Appearance is BadgeCanvas.Appearance, Progress.Shape
is Progress.Shape, and ModernDropdown.Appearance is just Appearance. An enum
member that starts with a digit must be quoted too — DecimalPrecision.'1', never
DecimalPrecision.1, which fails with Expected operator and Expected an operand
rather than Name isn't recognized.
- In CREATE mode, reuse
[working directory]/Screen1.pa.yaml for the landing screen and set
App.StartScreen to =Screen1.
- Never navigate from
App.OnStart or the start screen's OnVisible.
- Keep mock data compact: roughly 5-8 short rows per collection.
- Builders own exactly one screen file. The planner owns CREATE-mode
App.pa.yaml.
The orchestrator owns EDIT-mode App.pa.yaml.
- Compile early and often.
App.pa.yaml is validated before builders are dispatched,
and again as soon as the first builder returns. Never defer the first compile until
every file is written.
- Do not report completion until the workspace compiles clean and the functional
conformance gate passes, or remaining compile and functional defects are explicitly
reported.
1---2name: canvas-app3description: Creates or edits a Power Apps Canvas App through the Canvas Authoring MCP coauthoring session. Handles new app generation, direct targeted edits, complex multi-screen changes, responsive layout, per-screen self-QA, and compile-error convergence. Trigger on requests to create, build, generate, modify, update, change, fix, or edit a Canvas App or .pa.yaml files.4---56# Create or Edit a Canvas App78Create or edit a Power Apps canvas app for:910$ARGUMENTS1112## Establish the Workspace1314Canvas Authoring tools operate on a local directory containing the app YAML.15161. Reuse the current directory when it already contains `App.pa.yaml`.172. Otherwise, reuse the single immediate child directory containing `App.pa.yaml`, when18 exactly one exists.193. Otherwise, derive a short kebab-case folder name from the app name or requirements,20 create it with `Bash`, and resolve its absolute path.214. Call `sync_canvas` with that absolute working directory before reading or editing app22 files. Do not proceed if sync fails.2324Always use absolute paths for app files. Never edit `_EditorState.pa.yaml`; Studio owns it.2526## Route the Request2728Inspect the synced `.pa.yaml` files before choosing a workflow. A blank app normally contains29`App.pa.yaml`, `Screen1.pa.yaml`, and `_EditorState.pa.yaml`.3031Treat the app as empty when it has no screens with meaningful leaf controls. Containers32without leaf controls do not make the app non-empty.3334- **Empty app:** read `${PLUGIN_ROOT}/references/CreateWorkflow.md` and follow it.35- **Existing app:** read `${PLUGIN_ROOT}/references/EditWorkflow.md` and follow it.3637Do not load both workflow documents.3839## Planned Build Handoff4041CREATE and complex EDIT workflows return here after the planner finishes.42431. Read `[working directory]/canvas-app-plan.md` returned by the planner.442. Verify its `## Requirement Coverage` table maps every concrete requested noun and45 interaction to a visible affordance. Any approximation must be explicit and must not46 use UI copy that claims the unavailable interaction is exact.473. Verify its `## Action Contracts` table:48 - Every requested or approved action has its own row and reachable entry point.49 - Create, edit, delete, search, filter, approve, reject, period, and export behaviors50 are not collapsed into vague combined rows.51 - When review distinguishes approved and rejected outcomes, Approve and Reject/Decline52 have separate contracts owned by the same eligible record surface.53 - Every mutation names an observable bound result, not only a confirmation message.54 - Every mutation declares a write set and receipt proof set. For create/edit, reject the55 plan when any user-entered or user-selected write-set field is absent from the proof set.56 - Supporting setup actions exist when required to exercise an explicitly requested57 lifecycle, relationship, comparison, or ranking.58 - Role-scoped management of all primary records includes separate visible select/edit/save59 and remove/cancel paths, not only review or status controls.60 - Create/edit contracts define required inputs, directly selectable finite choices,61 stable identity, edit prepopulation, cancel/reset behavior, and post-save evidence.62 - Every row names a precondition, source and stable identity, exact transition and63 postcondition, observer reading that source, and visible evidence.644. Verify its `## Functional Test Matrix`:65 - Every Action Contract has at least one deterministic Given/When/Then success row.66 - Every required invalid, blocked, empty, clear/reset, or boundary path has a row.67 - Every `Then` names a source postcondition and an evidence surface that reads it.68 - Local/mock scenarios use concrete seeded IDs and values. Filter scenarios include at69 least two matching records and one non-matching record.70 - EDIT scenarios cover existing behavior touched by changed sources, fields, controls,71 or observer formulas.725. Verify its `## Dispatch` table:73 - Every row has `Action`, `Screen`, `Target File`, `YAML Key`, `Name Prefix`, and74 `Screen Brief`.75 - CREATE rows use `Create`; EDIT rows use `Modify` or `Create`.76 - Target files and screen briefs are absolute paths under `[working directory]`.77 - No two rows target the same file.78 - No two rows share a `Name Prefix`.79 - In CREATE mode the first row targets `[working directory]/Screen1.pa.yaml` with YAML key `Screen1`.80 - `## Editor State Changes` exists and contains exact final order lists or `None`.816. Confirm `[working directory]/canvas-app-shared.md` and every dispatch row's `Screen Brief` exists.82 Verify each brief's assignment matches its dispatch row and includes every Action83 Contract owned by that screen under `## Required Actions` and every scenario it84 exercises under `## Functional Test Scenarios`.857. In EDIT mode, apply the `### Before builders` group of `## App Changes` to86 `[working directory]/App.pa.yaml` now. Screens bind to those collections, formulas and variables, and87 compiling them against a stale `App.pa.yaml` produces a flood of false name errors.888. Confirm the planner reported a clean `compile_canvas` for `[working directory]/App.pa.yaml`. If it89 did not, compile now and resolve every `App`-level diagnostic before dispatching.90 For EDIT mode, compile after applying the before-builder app changes and resolve91 App-level diagnostics before dispatching.929. Invoke `canvas-screen-builder` once per dispatch row, in waves of93 **at most three**. Fire the wave's invocations together in one message, wait for that94 wave to return, then dispatch the next.9596Never dispatch more than three builders at once. Larger fan-outs have hung without97returning, and waves of three get you the first compile sooner, which is where systemic98defects surface.99100If any pre-dispatch check fails, do not start builders. Re-invoke the planner with the101specific defects and repeat the checks on the corrected artifacts.102103Pass each builder only:104105```text106Action: [Create / Modify]107Screen: [logical screen name]108Target file: `[working directory]/[file].pa.yaml`109YAML screen key: [key from dispatch row]110Control name prefix: [prefix from dispatch row]111Shared plan: `[working directory]/canvas-app-shared.md`112Screen brief: `[working directory]/[file-base].screen-plan.md`113Plugin root: ${PLUGIN_ROOT}114```115116The target file, YAML key, and name prefix are authoritative. Modify actions preserve the117key already present in the target file.118119Compile after each wave returns, before dispatching the next. A systemic mistake in the120first wave is usually repeated in every later screen. Repair files that already exist in121place; only rows still waiting for dispatch receive corrected briefs.122123A between-wave compile can report a `Navigate` target that belongs to a later wave as124unrecognized. Confirm it matches a remaining dispatch row and leave it in place.125126After all builders finish:127128- Check each builder's `Functional:` section before accepting its `QA:` line. It must129 contain exactly one `PASS` trace per Required Action in that screen's brief, and each130 trace must name the precondition, control event, source/stable-ID operation,131 postcondition, and observer/evidence. A missing link, generic claim, or `BLOCKED` result132 sends that screen back for targeted repair and a corrected trace; do not accept133 checklist `PASS` as a substitute.134- Check each builder's `QA:` line. It must list an outcome for every check in135 `${PLUGIN_ROOT}/references/QAChecks.md`. Treat these as unrun and send the screen back for self-QA136 only — not a rebuild — before you compile:137 - a missing or truncated `QA:` line, a line that omits any check listed in138 `${PLUGIN_ROOT}/references/QAChecks.md`, or a bare fix count;139 - an outcome that contradicts the screen structure — for example,140 `QACHK-CROSS-AXIS-ALIGNMENT` is `N/A` despite AutoLayout children,141 `QACHK-ACCESSIBLE-LABEL-MISSING` is `N/A` despite content or input controls,142 `QACHK-LOW-CONTRAST-TEXT` is `N/A` despite a non-default coloured surface, or143 `QACHK-ROOT-CONTAINMENT` is `PASS` while a responsive root has screen-level siblings;144 - `QACHK-GALLERY-ROW-FITS-CONTENT` is `N/A` despite the screen containing a Gallery;145 - `QACHK-ACTION-LABEL-FIT` is `PASS` while a multiword action directly under vertical146 AutoLayout lacks `Width: =Parent.Width`;147 `PASS` is valid after a complete inspection finds no defect; never reject it solely148 because the screen has many controls.149 This costs one cheap turn. The defects these checks catch — clipped headings, invisible150 buttons, placeholder cards — are invisible to `compile_canvas`, so if you skip this the151 app ships broken while reporting clean.152- A self-QA follow-up is not a rebuild or a screen-generation re-dispatch. Tell the153 builder to inspect and repair the existing target file, then return the corrected154 `QA:` line without regenerating the screen.155- Compare every repeated navigation block against `[working directory]/canvas-app-shared.md`: same156 destination items, same order, no extra brand/label injected into one screen's nav,157 and width formulas that fit the narrowest target. This is an app-wide check builders158 cannot perform because each sees only one screen.159- Verify each `## Action Contracts` row end to end against the generated files: the entry160 point is reachable, the named event is wired, and the observable result is visible161 immediately after the action. For mutations, require an in-viewport receipt bound to the162 returned record, changed stable ID, or deletion snapshot. Compare the handler formula,163 declared write set, declared proof set, and receipt controls one-for-one. For create/edit,164 every user-entered or user-selected field written by the handler needs a readable labeled165 receipt binding. Navigation, a notification, hidden state, or a row somewhere in a longer166 list cannot replace it. Compile success does not prove runtime usability.167- Execute every `## Functional Test Matrix` row symbolically against the final formulas.168 Confirm the Given state makes the entry point eligible, the When event targets the169 declared source and stable ID, the Then values follow from the operation, and the170 evidence formula reads that post-state. Repair the owning file when any link depends on171 an unstated assumption or a different source/field.172- For every primary-record list, verify each row or its immediately reachable detail renders173 the canonical human-readable identity as full visible text. Avatar initials, icons,174 record IDs, accessible labels, or evaluator inference cannot replace the identity.175- When Approve and Reject/Decline are paired contracts, verify every eligible pending record176 exposes both decisions on the same row or the same immediately reachable detail at phone177 width. Send the owning screen back when either decision is missing; never accept a178 single-sided review queue as a density tradeoff.179- For every create/edit lifecycle, verify short static choices use radio buttons, visible180 choice buttons, or a dropdown that commits by click or tap without typed filtering, then181 trace create → bound mutation receipt → visible Edit → prepopulated form → stable-ID save182 → bound mutation receipt with updated values. At phone width, verify identity,183 status, and required lifecycle actions remain visible or have an immediately visible184 overflow/detail entry. Send only the owning screen back for self-QA when any link is185 missing.186- Reject `QACHK-CARD-PLACEHOLDER` `PASS` when a ModernCard displays Title, Subtitle and187 Description with `Height < 180`; send that screen back for self-QA.188- If a builder returns `Status: Blocked`, re-invoke the planner to correct that screen189 brief, then rerun only the affected builder. Never ask a builder to guess missing190 definitions.191- `Status: Blocked` is the **only** reason to rerun screen generation from a brief.192 Compile diagnostics are not. Once a screen file exists you repair it in place with193 targeted edits. Re-running generation rewrites the whole screen from scratch, discards194 the fixes already applied, and produces a fresh crop of defects. That loop does not195 converge.196- In EDIT mode, apply the `### After builders` group of `## App Changes` in197 `[working directory]/canvas-app-plan.md` to `[working directory]/App.pa.yaml`. The `### Before builders` group was198 already applied at pre-dispatch. If a group says `None`, do not edit the file for it.199- The orchestrator is the sole owner of EDIT changes to `[working directory]/App.pa.yaml`.200- Apply `## Editor State Changes` from `[working directory]/canvas-app-plan.md` to201 `[working directory]/_EditorState.pa.yaml` after all builders finish. If it says `None`, leave the202 file unchanged.203- Read `${PLUGIN_ROOT}/references/ValidationWorkflow.md` and follow it.204205## Shared Invariants2062071. Never guess control properties. Use `describe_control`; only use properties returned208 for that exact control type.2092. Use exact RGBA values and shared variable names from approved plans.2103. **Control names are unique across the entire app, not per screen.** Two screens may211 not both contain a control named `NavBar` or `btnBack`; the compiler rejects the212 second with `An entity with name '...' already exists`. Every control a builder213 writes uses the standard control-type abbreviation followed by that screen's assigned214 name prefix, such as `conDiscNavBar` or `btnDetailBack`. This applies especially to UI215 blocks repeated on many screens — nav bars, headers, toolbars, badges.2164. **Copy control creation keywords from `describe_control`.** `list_controls` provides217 the name used to query `describe_control`; it is not the authority for authored YAML.218 Copy the returned `Control:` value and every required `ComponentName`,219 `ComponentLibraryUniqueName`, `Variant`, and `Layout` keyword verbatim. Never strip,220 normalize, or reconstruct those values.2215. **Never invent an enum type name.** `describe_control` prints the exact name on the222 `Enum name:` line of each enum property. Copy it verbatim. Enum names do not follow223 from control names: `Badge.Appearance` is `BadgeCanvas.Appearance`, `Progress.Shape`224 is `Progress.Shape`, and `ModernDropdown.Appearance` is just `Appearance`. An enum225 **member** that starts with a digit must be quoted too — `DecimalPrecision.'1'`, never226 `DecimalPrecision.1`, which fails with `Expected operator` and `Expected an operand`227 rather than `Name isn't recognized`.2286. In CREATE mode, reuse `[working directory]/Screen1.pa.yaml` for the landing screen and set229 `App.StartScreen` to `=Screen1`.2307. Never navigate from `App.OnStart` or the start screen's `OnVisible`.2318. Keep mock data compact: roughly 5-8 short rows per collection.2329. Builders own exactly one screen file. The planner owns CREATE-mode `App.pa.yaml`.233 The orchestrator owns EDIT-mode `App.pa.yaml`.23410. Compile early and often. `App.pa.yaml` is validated before builders are dispatched,235 and again as soon as the first builder returns. Never defer the first compile until236 every file is written.23711. Do not report completion until the workspace compiles clean and the functional238 conformance gate passes, or remaining compile and functional defects are explicitly239 reported.