Skip to content

uno-build-app: new apps keep the default MVUX and Uno Navigation stack; -platforms sets named targets #174

Closed

Description

@kazo0

Summary

uno-build-app scaffolds a new app from the recommended template (MVUX, Uno.Extensions Navigation, Hosting, Toolkit and the other UnoFeatures), but agents then dismantled it. In FieldCheck runs (an internal benchmark: a six-screen app from a functional spec, targeting Android and Windows (Desktop); harness in unoplatform/private, tools/skill-ab), every run on main removed MVUX, Navigation and Hosting right after scaffolding, then wrote its own view models and navigation, with no blueprint.

The recorded thinking shows why. The agent decides against MVUX and regions before it loads uno-mvux or uno-navigation, because they look risky or complex: "skip MVUX in favor of plain MVVM for simplicity… build my own lightweight navigation service". The blueprint template offered MVUX / MVVM as equal choices. And because new-app.md forbade -platforms, a brief that named its targets still got all four default ones, which agents then trimmed by editing the project.

Done

  • Rule 7 forbids removing a target or an UnoFeatures entry to make a check pass or to simplify a scaffold. The developer is defined as the person whose request the agent is carrying out, never the agent itself.
  • The blueprint is written after scaffolding and before any app source, once uno-mvux and uno-navigation are loaded. Its Stack line is MVUX, Uno.Extensions Navigation.
  • new-app.md says what the stack means in code: <Name>Model feeds, states and commands; RegisterRoutes, INavigator and uen:Navigation.Request; regions for tabs. It also says:
    • an open brief, or one that leaves the architecture to the agent, gets this stack;
    • app size, effort and perceived complexity are not reasons to choose another;
    • keeping the features while hand-writing view models or a navigator does not count as using the stack.
  • -platforms is documented for briefs that name their targets, and must come last. Verified with Uno.Templates 6.7.30: -platforms android desktop gives net10.0-android, net10.0-desktop and plain net10.0, with the same features.

An A/B of the first half of this change (3 runs per side, Sonnet) kept the features in 2 of 3 runs, but no run on either side wrote an MVUX model or used INavigator. The second half targets that. Measuring it is the follow-up.

Delivered by #173. Created retroactively to track that work.

Activity

  1. added this to the Studio 3.3 milestone on Oct 7, 2026
  2. self-assigned this
    on Oct 7, 2026
  3. kazo0 commented on Oct 7, 2026

    @kazo0
    ContributorAuthor

    Delivered by #173.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions