Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

UX audit flags wordy instructions, duplicate buttons, and hidden info (#9880)

[._.]/b005b03b9c9c
diff --git a/server/services/taskPromptDefaults.test.js b/server/services/taskPromptDefaults.test.js
index d5b2913d96..da316de946 100644
--- a/server/services/taskPromptDefaults.test.js
+++ b/server/services/taskPromptDefaults.test.js
@@ -84,13 +84,23 @@ describe('taskPromptDefaults integrity snapshot', () => {
it('ux filings use tracker IDs instead of title slugs', () => {
const current = DEFAULT_TASK_PROMPTS.ux;
- expect(PROMPT_VERSIONS.ux).toBe(4);
+ expect(PROMPT_VERSIONS.ux).toBe(5);
expect(current).toContain('{trackerInstructions}');
expect(current).toContain('short, human-readable title');
expect(current).not.toContain('[ux-…]');
expect(current).not.toContain('slug-tagged title');
});
+ it('ux v5 checks wordy instructions, duplicate controls, and information hidden when needed', () => {
+ const current = DEFAULT_TASK_PROMPTS.ux;
+
+ expect(current).toContain('**Text earns its space.**');
+ expect(current).toContain('**One control per action.**');
+ expect(current).toContain('**What the user needs now is visible now.**');
+ expect(current).toContain('checklist item (1–11)');
+ expect(current).toContain('Items 9–11 are not aesthetic preferences');
+ });
+
it('module-hygiene v1 is generic, evidence-led, and bounded', () => {
const current = DEFAULT_TASK_PROMPTS['module-hygiene'];
diff --git a/server/services/taskPromptDefaults/integrity.snapshot.json b/server/services/taskPromptDefaults/integrity.snapshot.json
index 6f9b37e814..67bb145294 100644
--- a/server/services/taskPromptDefaults/integrity.snapshot.json
+++ b/server/services/taskPromptDefaults/integrity.snapshot.json
@@ -60,7 +60,7 @@
"ui-bugs": "073bea13a94b0266c53b5f55bb2344b9",
"ui-lifecycle": "d2eaa653e57897d3fb8b6c52c2c18e38",
"user-action-review": "1a083430e43f60cdd586cfffbdebc583",
- "ux": "f90b5f38a7c6264e0d40919a2933ba4c"
+ "ux": "9f346b8be4408c5a8207d9a8b6080ff0"
},
"PROMPT_VERSIONS": {
"accessibility": 5,
@@ -118,7 +118,7 @@
"ui-bugs": 3,
"ui-lifecycle": 2,
"user-action-review": 2,
- "ux": 4
+ "ux": 5
},
"REFERENCE_WATCH_AUDITED_VERSION": 4,
"PREVIOUS_DEFAULT_PROMPTS": {
@@ -422,7 +422,8 @@
"ux": [
"e03d03fc7c16faa5b5db93be2896b9ad",
"ac11f692eae40ffe8ddeaeaccbcf75e9",
- "b8c0bde4075685625443a405b2c70b50"
+ "b8c0bde4075685625443a405b2c70b50",
+ "f90b5f38a7c6264e0d40919a2933ba4c"
]
}
}
diff --git a/server/services/taskPromptDefaults/prompts.js b/server/services/taskPromptDefaults/prompts.js
index d12ca07267..ea17d1ec05 100644
--- a/server/services/taskPromptDefaults/prompts.js
+++ b/server/services/taskPromptDefaults/prompts.js
@@ -823,6 +823,7 @@ Duplicate findings are noise. Do NOT file:
- **Raw console errors / broken elements / failed requests** — \`ui-bugs\` owns these.
- **Touch-only mechanics** (hover-only controls and tap-target sizing) — \`mobile-responsive\` owns these. Responsive layout failures ARE part of this UX audit; deduplicate against findings from that sibling task.
- **ARIA labels, contrast ratios, keyboard traps** — \`accessibility\` owns these.
+- **The wording of a single string** (jargon, an ambiguous verb, broken plurals) — \`copy\` owns it. How MUCH text a screen spends explaining itself, and whether it repeats what the controls already say, is this audit's (checklist item 9).
Mention an overlap only when it is the *cause* of a UX failure you are filing
(e.g. "the empty state is unreachable because the only trigger is a
@@ -851,6 +852,7 @@ keyboard-inaccessible icon") — and file it as the UX finding, not as the a11y
- Resize dashboard widgets and embedded panels to 240px, 320px, and 480px wide on a desktop viewport. Viewport breakpoints do not prove a narrow container fits.
- Inspect empty, populated, loading, and error states with synthetic long names, URLs, and action labels. Check bounding rectangles and scrollWidth/clientWidth on the page AND cards: overflow-hidden can conceal unreachable controls even when the document has no horizontal scrollbar. Exempt only intentional local scroll regions such as tables/timelines; verify their keyboard access.
- Record route/widget, viewport AND container width, state, sidebar mode, blocked action, and responsible component. Report unvisited routes/states as untested, never as passing.
+ - Read the screen as a user, not only its geometry. From the snapshot, list every visible action with what it does, and every block of instructional or explanatory text longer than one sentence. Then reach the states where a user needs particular information (a failed run, a blocked step, a pending decision, a record just created) and note what is visible there without an extra click. These inventories are the evidence for checklist items 9–11.
4. **Evaluate each route against this named checklist.** Cite the checklist
number in the finding so results are reproducible rather than vibes:
@@ -874,6 +876,28 @@ keyboard-inaccessible icon") — and file it as the UX finding, not as the a11y
the most prominent thing, not the densest table or the newest feature.
8. **Narrow-container reflow** — no overlapping cards, clipped controls, off-screen actions, or page-level horizontal scroll. Toolbars wrap, flexible children shrink, long strings wrap or have an accessible full-value path, and side panels stack before squeezing the primary work. Consult the app's design standard; for PortOS use docs/UX_DESIGN_GUIDE.md.
+ 9. **Text earns its space.** A label, then at most one useful sentence, then
+ optional detail behind a named disclosure. A finding is a paragraph that
+ narrates what the visible controls already make obvious ("Click Repair to
+ repair the dependencies"), restates the heading, repeats the same
+ explanation above several groups, walks through steps the UI already
+ sequences, or pushes the primary action or the result below the fold.
+ Quote the text, count its sentences, and propose the one sentence (or
+ none) that should remain.
+ 10. **One control per action.** Two visible controls on the same screen that
+ do the same thing — a header button and a card button, a toolbar action
+ and a row action, a button beside a link to the same destination, a
+ Save in two places — are a finding unless they act on different scope.
+ Name both controls and which one should stay.
+ 11. **What the user needs now is visible now.** Information the user must
+ read to decide or act in the current state — the error behind a failure,
+ the reason a step is blocked, the output they just generated, the
+ prerequisite they must fix — must not sit behind a collapsed section,
+ an inactive tab, a hover tooltip, a modal, or a truncated line. A
+ disclosure that holds a blocking error must open on its own. The reverse
+ is also a finding: a status the user cannot act on that stays expanded
+ and dominates the screen. Name the state, where the information is
+ hidden, and the click count to reach it.
5. **File ONE item per finding** using the "Record" mechanics under "Where to
record findings" above. Each finding must carry:
@@ -881,7 +905,7 @@ keyboard-inaccessible icon") — and file it as the UX finding, not as the a11y
- **A short, human-readable title** naming the screen and the problem. Do
not invent an issue ID or add a slug/category/severity tag to a forge
title; follow the selected tracker's ID convention from its instructions.
- - **The screen/route** you audited and which checklist item (1–8) it failed.
+ - **The screen/route** you audited and which checklist item (1–11) it failed.
- **What the user is trying to do** on that screen.
- **Why the current design impedes it** — 1–2 sentences, concrete and
observable, referencing what you saw in the snapshot.
@@ -897,7 +921,11 @@ keyboard-inaccessible icon") — and file it as the UX finding, not as the a11y
Be selective — file the findings that would measurably change whether a user
succeeds, not every aesthetic preference. A handful of well-argued items
- beats twenty nitpicks.
+ beats twenty nitpicks. Items 9–11 are not aesthetic preferences: a wall of
+ instructions, a duplicated button, or a hidden error each costs the user
+ reading time, a wrong guess, or a dead end, so file them when you see them.
+ When one component causes the same item on several screens, file one
+ finding that lists the screens.
6. **Finalize** per the "Finalize" step under "Where to record findings" above,
and per the mode banner — which is what decides whether this run ends in
diff --git a/server/services/taskPromptDefaults/versions.js b/server/services/taskPromptDefaults/versions.js
index ebc1022a2c..d9b54fc260 100644
--- a/server/services/taskPromptDefaults/versions.js
+++ b/server/services/taskPromptDefaults/versions.js
@@ -47,7 +47,7 @@ export const PROMPT_VERSIONS = {
'documentation': 7, // v7: carries {modeInstructions} and ranks wrong documentation above missing documentation, verifying instructions against the code rather than trusting the prose. Previously v6: the changelog step names `AGENTS.md` (or `CLAUDE.md`) as the file carrying the repo's documented convention — #4852 made AGENTS.md the canonical cross-vendor agent-instructions filename, and a managed app that adopted it would otherwise be told to read a file it no longer has. v5: the changelog step defers to the convention the repo documents (some repos collect per-branch fragments in a directory so parallel agents don't conflict) instead of prescribing an append to `.changelog/NEXT.md`. v4: generic {appName} body (v1 hardcoded "PortOS"; v2/v3 retired DONE.md wording)
'ui-bugs': 3, // v3: carries {modeInstructions}, exits cleanly when the interface is unreachable instead of filing from imagination, and cedes layout/a11y/UX/copy to their owners. Previously v2: generic {appName} + the app UI (older default hardcoded "PortOS" + http://localhost:5555)
'mobile-responsive': 3, // v3: carries {modeInstructions} and requires the viewport width plus what a user cannot do there, rather than flagging any layout that merely looks different. Previously v2: generic {appName} app-UI body (older default hardcoded "PortOS" + http://localhost:5555)
- 'ux': 4, // v4: forge issues use plain human-readable titles and tracker-defined IDs; filing syntax/identity comes from {trackerInstructions}. v3: audits narrow monitors and widget containers, including clipped overflow and sidebar/zoom states.
+ 'ux': 5, // v5: adds checklist items 9–11 (instruction text that over-explains, duplicate controls for one action, information hidden when the current state needs it) plus a per-route action/text/state inventory; previous runs only filed what items 1–8 named and treated verbosity as aesthetic. v4: forge issues use plain human-readable titles and tracker-defined IDs; filing syntax/identity comes from {trackerInstructions}. v3: audits narrow monitors and widget containers, including clipped overflow and sidebar/zoom states.
// v2: replaces the hardcoded "Read-only on source / no branches, no PRs" paragraph with {modeInstructions} — the audit is registered as file-issues-capable, so a do-work dispatch previously got a mode banner that its own body contradicted in two places. Previously v1: walk the running UI with Playwright MCP against a 7-item named UX checklist and file ONE tracker item per finding via {trackerInstructions} — read-only on source, no branches/PRs. Mode (file-issues vs implement) is injected at dispatch via {modeInstructions} / applyAuditModeWrapper — no prompt bump required.
'data-safety': 2, // v2: generalizes beyond installs to deployments/environments/datasets and adds backup restorability, bulk/backfill safety, retention reach, and long-lived data formats; hands runtime data correctness to data-integrity. v1: data/upgrade-safety audit (migrations, schema parity, version gates). Mode injected at dispatch.
'simplify': 1, // v1: dead-code/duplication audit. Mode injected at dispatch.