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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: skip a11y audit findings a static linter already catches
[._.]/ Adam Eivy7bbd02b33256
diff --git a/server/services/taskPromptDefaults/integrity.snapshot.json b/server/services/taskPromptDefaults/integrity.snapshot.jsonindex 60564db097..66b67f1183 100644--- a/server/services/taskPromptDefaults/integrity.snapshot.json+++ b/server/services/taskPromptDefaults/integrity.snapshot.json@@ -1,6 +1,6 @@{"DEFAULT_TASK_PROMPTS": {- "accessibility": "76cfcab471c1a555767b71b8b9932ae0",+ "accessibility": "762506421c793074d172d3eb794fe866","api-contract": "cf02b10a5993baf473e0d320771f26b6","better-cognitive-load": "a1fe22f6ef936131456c55a6b0623204","better-complexity": "c99f67b43ff54a1c8cf0176c721d9c06",@@ -55,7 +55,7 @@"ux": "b8c0bde4075685625443a405b2c70b50"},"PROMPT_VERSIONS": {- "accessibility": 3,+ "accessibility": 4,"api-contract": 1,"better-cognitive-load": 1,"better-complexity": 2,@@ -109,7 +109,8 @@"accessibility": ["ce7377d0ac57cbf0526074cfb95e3803","b07cfe1e367411036ef1d4cc4b6e9d2e",- "372916803f32b82da38a5b2130a54baf"+ "372916803f32b82da38a5b2130a54baf",+ "76cfcab471c1a555767b71b8b9932ae0"],"better-complexity": ["c92b99080d0453d70bb26a412fb48ce9"diff --git a/server/services/taskPromptDefaults/prompts.js b/server/services/taskPromptDefaults/prompts.jsindex 72b1332b3c..6cee7f841f 100644--- a/server/services/taskPromptDefaults/prompts.js+++ b/server/services/taskPromptDefaults/prompts.js@@ -355,6 +355,15 @@ Repository: {repoPath}If the project has no user interface, say so and exit cleanly.+## Skip what static analysis already covers++Check for a JSX/TSX a11y linter already wired into the project (e.g. Biome's+\`a11y\` rule group, \`eslint-plugin-jsx-a11y\`) before you start, and run it if+one exists. Do NOT re-derive or file findings that linter already catches+deterministically on every commit — missing \`alt\`/labels, invalid or+unsupported ARIA props/roles, an unlabeled form control. Spend your budget on+what only a live agent driving the running interface can establish.+## Hunt for- **Keyboard traps and unreachable controls** — an interactive element that@@ -362,10 +371,9 @@ If the project has no user interface, say so and exit cleanly.handling, a dialog that does not trap and restore focus.- **Missing focus indication** — a focus style removed and never replaced, sokeyboard users cannot tell where they are.-- **Unlabeled controls** — an icon-only button, an input with no associated- label, a form control whose only label is placeholder text.- **Images and media without text alternatives** — a meaningful image with no- description, or a decorative one announced as content.+ description, or a decorative one announced as content — when the linter+ above doesn't already cover this project's markup.- **Semantics faked with generic elements** — a clickable element that is not abutton or link, a heading order that skips levels, a list that is not markedup as one, a table without headers.diff --git a/server/services/taskPromptDefaults/versions.js b/server/services/taskPromptDefaults/versions.jsindex a50742cd2f..51638b3c04 100644--- a/server/services/taskPromptDefaults/versions.js+++ b/server/services/taskPromptDefaults/versions.js@@ -37,7 +37,7 @@ export const PROMPT_VERSIONS = {'code-quality': 4, // v4: hands generated-artifact/hand-synced-registry/layout-coupling drift to the better-structural-drift lane and counted branching + reader cost to better-complexity / better-cognitive-load, keeping conventional maintainability defects — the split the sibling do:better lenses made possible. Previously v3: inventory structural drift, duplicate sources of truth, volatile generated artifacts, and incidental-layout coupling before conventional maintainability checks. v2: generic {appName} body (older default hardcoded "PortOS")'test-coverage': 3, // v3: carries {modeInstructions}, ranks gaps by consequence rather than percentage, tests at the highest practical public boundary, requires naming the regression a new test uniquely catches, and hands existing-test quality to better-test-quality. Previously v2: generic {appName} body (older default hardcoded "PortOS")'performance': 4, // v4: requires UI route-load, idle-network and large-collection evidence; missing measurements are explicitly unverified.- 'accessibility': 3, // v3: carries {modeInstructions}, names who is blocked and how far they get, and prefers a native element over a custom control with patched attributes. Previously v2: generic {appName} + the app UI (older default hardcoded "PortOS" + http://localhost:5555)+ 'accessibility': 4, // v4: checks for an existing JSX a11y linter (Biome's a11y group, jsx-a11y) first and skips findings it already catches deterministically (missing alt/labels, invalid/unsupported ARIA), so the live-agent budget goes to keyboard/focus/live-region/contrast/zoom issues static analysis can't establish. Previously v3: carries {modeInstructions}, names who is blocked and how far they get, and prefers a native element over a custom control with patched attributes. Previously v2: generic {appName} + the app UI (older default hardcoded "PortOS" + http://localhost:5555)'console-errors': 4, // v4: refer to framework-neutral UI lifecycle audit. v3: carries {modeInstructions}, collects real emitted output before diagnosing, groups duplicates by cause, and forbids "fixing" an error by suppressing it. Previously v2: unified `[Improvement: {appName}]` body (pre-unification defaults shipped separate self- and app-improvement bodies)'error-handling': 3, // v3: carries {modeInstructions} and covers resilience (timeouts, retry ceilings, degraded-dependency fallback, cleanup on the error path, actionable user-facing text) while handing swallowed errors and log context to observability. Previously v2: unified `[Improvement: {appName}]` body (older default used the `[App Improvement: {appName}]` header)'typing': 3, // v3: carries {modeInstructions}, exits cleanly on an untyped project, and targets boundary escape hatches and validator/type disagreement instead of a mechanical annotation sweep. Previously v2: unified `[Improvement: {appName}]` body (older default used the `[App Improvement: {appName}]` header)