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: make UI lifecycle quality audits framework neutral
[._.]/ Adam Eivybfbaf5aaf361
diff --git a/docs/features/self-improvement-audits.md b/docs/features/self-improvement-audits.mdindex bd8569abed..5a24427093 100644--- a/docs/features/self-improvement-audits.md+++ b/docs/features/self-improvement-audits.md@@ -43,7 +43,7 @@ the operator's live checkout.| `simplify` | Dead code, duplication, YAGNI | `code-quality`, `simplify` | file | || `module-hygiene` | Responsibility boundaries, reuse, discoverability | `code-quality`, `module-hygiene` | file | yes || `api-contract` | Route validation, client/server drift, envelopes | `api-contract` | file | |-| `react-lifecycle` | Effect teardown, stale closures, render races | `react-lifecycle` | file | |+| `react-lifecycle` | UI resource lifetimes, stale data, async ordering, state continuity | `react-lifecycle` | file | || `observability` | Silent catches, log noise, missing error context | `code-quality`, `observability` | file | || `copy` | User-facing wording | `ux`, `copy` | file | || `better-complexity` | Counted branching per function | `code-quality`, `complexity` | file | yes |@@ -71,7 +71,9 @@ problem:- **Defects are split four ways.** `better-runtime-safety` reads source forlatent defects; `console-errors` collects what actually errors at runtime;`error-handling` owns the failure path once something goes wrong; and- `react-lifecycle` owns component effects.+ `react-lifecycle` owns UI lifecycle and state correctness across UI runtimes.+ Its legacy task ID and tracking labels remain stable; its display name is+ **UI lifecycle & state** and its checks follow the target app’s own semantics.- **Tests are split two ways.** `test-coverage` owns the gaps;`better-test-quality` owns the tests that already exist.diff --git a/server/lib/auditCatalog.js b/server/lib/auditCatalog.jsindex 5f665d560b..1a5d68add8 100644--- a/server/lib/auditCatalog.js+++ b/server/lib/auditCatalog.js@@ -297,17 +297,18 @@ export const AUDIT_DEFINITIONS = Object.freeze({noun: 'API contract finding(s)',}),},+ // Legacy IDs and filing labels preserve saved schedules and audit history.'react-lifecycle': {quotaBurnId: 'react-lifecycle-audit',- label: 'React lifecycle & state',- description: 'React lifecycle audit — configurable: file issues (default) or implement fixes',+ label: 'UI lifecycle & state',+ description: 'UI lifecycle audit — configurable: file issues (default) or implement fixes',defaultFileIssues: true,filing: filing({slugPrefix: 'react-lifecycle-',label: 'react-lifecycle-audit',issueLabel: 'react-lifecycle',- labelDescription: 'Proposed from a React lifecycle/state audit',- noun: 'React lifecycle finding(s)',+ labelDescription: 'Proposed from a UI lifecycle/state audit',+ noun: 'UI lifecycle finding(s)',}),},observability: {diff --git a/server/lib/auditQuality.js b/server/lib/auditQuality.jsindex 33fc54f494..c9e5db31ec 100644--- a/server/lib/auditQuality.js+++ b/server/lib/auditQuality.js@@ -22,7 +22,7 @@ export const AUDIT_DISCOVERY = Object.freeze({simplify: 'Scan source exports, callers and repeated blocks across the repository; rank proven dead subsystems and duplicated behavior by maintenance cost and drift.','module-hygiene': 'Inventory module sizes, imports, responsibilities and catalogs across source roots; inspect the largest responsibility tangles and most reused missing abstractions.','api-contract': 'Inventory all routes, schemas and clients; compare request/response and version contracts, prioritizing destructive writes and widely consumed APIs.',- 'react-lifecycle': 'Scan effects, subscriptions, async state updates and shared hooks across components; rank resource leaks, stale writes and corrupted user state.',+ 'react-lifecycle': 'Identify the UI runtime, then scan resource lifetimes, subscriptions, async state updates and shared state across views; rank resource leaks, stale writes and corrupted user state.',observability: 'Inventory critical workflows and their failure/status signals; rank invisible data loss, silent failures and operations that cannot be diagnosed.',copy: 'Inventory shared messages, destructive confirmations, setup and empty/error screens; rank wording that causes wrong actions or prevents task completion.','better-complexity': 'Run an available language-aware complexity analyzer over all first-party source roots. Otherwise use repository-wide branching searches to shortlist functions, then count decision points manually. Publish the top measured functions and counts; file length is only a discovery hint.',diff --git a/server/lib/quotaBurnPresets.js b/server/lib/quotaBurnPresets.jsindex c53fec4613..8cd5e01343 100644--- a/server/lib/quotaBurnPresets.js+++ b/server/lib/quotaBurnPresets.js@@ -554,33 +554,45 @@ invalid shape, and the concrete failure that occurs.`,auditPreset({id: 'react-lifecycle-audit',- label: 'React lifecycle & state',- summary: 'Stale closures, effect cleanups, state sync, and unmount safety in UI code.',+ label: 'UI lifecycle & state',+ summary: 'Resource cleanup, stale data, async ordering, and state continuity in interactive UI code.',labels: '`bug`, `area:ui`, `plan`',- dedupeSearch: 'react lifecycle effect cleanup state closure',+ dedupeSearch: 'lifecycle state cleanup subscription stale race',mission: `-# React lifecycle audit — file issues, change nothing--Audit React components, custom hooks, and state lifecycles for memory leaks,-stale closures, and race conditions, and file them as GitHub issues. No code changes.--Inspect UI components and hooks:--- **Missing effect teardowns** — \`useEffect\` listeners (\`window\`/\`document\`),- timers, sockets, or observers without cleanup functions on unmount.-- **Stale closures** — callbacks and timers capturing state/props without- up-to-date refs or dependencies, operating on stale data.-- **Unmounted state updates** — async operations setting state after unmount- or when superseded by a newer request.-- **Derived state anti-patterns** — mirroring props in local state synced via- \`useEffect\`, causing visual flashes and desync instead of \`useMemo\`.-- **Render-time side-effects** — mutating refs or triggering side-effects during- render rather than in effects/handlers.-- **Broken dependencies** — missing dependencies causing stale reads, or inline- object literals triggering runaway render loops.--Trace the sequence of user interactions and state transitions that triggers-each defect.`,+# UI lifecycle and state audit — file issues, change nothing++Audit UI resource lifetimes and state correctness, and file confirmed defects+as GitHub issues. No code changes.++First identify the application's UI runtime, rendering model, and state-management+conventions from its dependencies and code. Apply checks only where those+mechanisms exist, including client navigation and hydrated interactive regions.+Use the project's own lifecycle and reactivity semantics; do not prescribe a+framework, API, or state library. If there is no applicable interactive UI,+report the check as not applicable rather than inventing findings.++Inspect UI components, shared state, subscriptions, and asynchronous work for:++- **Resource lifetime leaks** — listeners, timers, sockets, observers, or+ subscriptions surviving the view or owner that should release them.+- **Stale reads** — callbacks, cached computations, or reactive dependencies+ using outdated input and producing an incorrect visible result.+- **Async ordering and disposal** — an earlier response overwriting newer user+ intent, or work completing after its owner is disposed and causing observable+ damage. Verify the runtime's actual behavior before treating a late update as+ a defect.+- **State ownership and synchronization** — duplicated or derived state drifting+ from its source, lost edits, or shared state leaking between views or sessions.+- **Repeated or misplaced work** — rendering or reactive updates triggering+ duplicate side effects, feedback loops, or unnecessary persistent resources.+- **Navigation and hydration continuity** — applicable view transitions or+ server-to-client handoffs resetting user state, duplicating subscriptions, or+ applying state to the wrong view.++For each finding, trace the interaction sequence and state transitions, cite+the affected code, and show the user-visible failure or resource leak. A code+pattern alone is not a finding; verify it against the installed runtime's+semantics and existing safeguards.`,}),auditPreset({diff --git a/server/lib/scheduledTaskTypes.js b/server/lib/scheduledTaskTypes.jsindex e858cf1ed6..5ba7c3b4cd 100644--- a/server/lib/scheduledTaskTypes.js+++ b/server/lib/scheduledTaskTypes.js@@ -46,8 +46,8 @@ export const SELF_IMPROVEMENT_TASK_TYPES = [// Quota-burn `api-contract-audit` counterpart. Route validation, client/server// drift, status envelopes, and missing `asyncHandler`. Defaults to file-issues.'api-contract',- // Quota-burn `react-lifecycle-audit` counterpart. Effect teardowns, stale- // closures, and post-unmount state — distinct from `ui-bugs` (console errors)+ // Quota-burn `react-lifecycle-audit` counterpart. UI resource cleanup, stale+ // reads, and async state ordering — distinct from `ui-bugs` (console errors)// and `accessibility`. Defaults to file-issues.'react-lifecycle',// Quota-burn `observability-audit` counterpart. Silent catches, log noise, and@@ -81,7 +81,7 @@ export const SELF_IMPROVEMENT_TASK_TYPES = [// rejections, unguarded null access, resource leaks, races, unbounded// reads. Distinct from `console-errors` (observed at runtime),// `error-handling` (failure paths + resilience) and `react-lifecycle`- // (component effects). Files under `bug` plus the `runtime-safety` metric label.+ // (UI lifecycle and state). Files under `bug` plus the `runtime-safety` metric label.'better-runtime-safety',// Third-party dependency NECESSITY (the `do:depfree` lens) — replace// micro-packages and native-API wrappers with in-repo code. Distinct fromdiff --git a/server/services/taskPromptDefaults.test.js b/server/services/taskPromptDefaults.test.jsindex 867030e154..f39cb1ca86 100644--- a/server/services/taskPromptDefaults.test.js+++ b/server/services/taskPromptDefaults.test.js@@ -118,7 +118,7 @@ describe('taskPromptDefaults integrity snapshot', () => {['better-test-quality', ['Vacuous', 'mutation probe', 'Deletion is a valid outcome', 'Missing coverage is separate work']],])('%s states the discipline that makes it its own lane', (key, markers) => {const current = DEFAULT_TASK_PROMPTS[key];- expect(PROMPT_VERSIONS[key]).toBe(key === 'better-complexity' ? 2 : 1);+ expect(PROMPT_VERSIONS[key]).toBe(['better-complexity', 'better-runtime-safety'].includes(key) ? 2 : 1);for (const marker of markers) expect(current, key).toContain(marker);});diff --git a/server/services/taskPromptDefaults/integrity.snapshot.json b/server/services/taskPromptDefaults/integrity.snapshot.jsonindex 8b30975326..9ffdddfe32 100644--- a/server/services/taskPromptDefaults/integrity.snapshot.json+++ b/server/services/taskPromptDefaults/integrity.snapshot.json@@ -5,7 +5,7 @@"better-cognitive-load": "a1fe22f6ef936131456c55a6b0623204","better-complexity": "c99f67b43ff54a1c8cf0176c721d9c06","better-dependency-freedom": "8a79c8be829f926bbc7720ee29818d53",- "better-runtime-safety": "4259ab85dd3eaf8efb16a250187bd857",+ "better-runtime-safety": "1038ac5008cb52e418460f53f262ad22","better-structural-drift": "941389a1f1c8983eef4f87af1241fbf9","better-test-quality": "ab53a477cd194a5c4fbda09d901a3775","branch-cleanup": "8fdeb4acc2749816a47ca318b6602721",@@ -16,7 +16,7 @@"code-quality": "6762542233cdffb86d4e2244945bf52b","code-reviewer-implement": "2e10cac7c1e1cd021d06bfddb5c1eaf2","code-reviewer-review": "27ded42013f28e7d327d8f1cc624aac1",- "console-errors": "eec33a9293f9393019917a6632dd964e",+ "console-errors": "5a7f6fd0b119db9d0e01c7f44a7a061c","copy": "6a0959e898d37fb4d4d7445dfc8008c9","data-safety": "86b07f51abdbcbe7016f840b5bb0cd9b","dependency-updates": "1d59f04bea630a85a3085829db8599e7",@@ -40,7 +40,7 @@"pr-reviewer-review": "a4b35a1dc44e03b3d0ecf1a4e1bae6df","pr-reviewer-security": "d1e99626b12939ee39ab38eaa7d23f59","pr-watcher": "5246968aa90bb2bbf7957dcd9ae13a51",- "react-lifecycle": "14b3816d1bcc10f0d7d6357e55cc5e69",+ "react-lifecycle": "d2eaa653e57897d3fb8b6c52c2c18e38","reference-watch": "e0e20754700fb08d5159b8437d9c260b","refresh-local-llm-catalog": "9741ca6a8419fcdea2743e3b64781a8b","release-check": "5a82eec9f86ad05185ed77a42dbfd9d4",@@ -60,7 +60,7 @@"better-cognitive-load": 1,"better-complexity": 2,"better-dependency-freedom": 1,- "better-runtime-safety": 1,+ "better-runtime-safety": 2,"better-structural-drift": 1,"better-test-quality": 1,"branch-reconcile": 5,@@ -70,7 +70,7 @@"code-quality": 4,"code-reviewer-a": 1,"code-reviewer-b": 1,- "console-errors": 3,+ "console-errors": 4,"copy": 1,"data-safety": 1,"dependency-updates": 4,@@ -90,7 +90,7 @@"plan-task": 18,"pr-reviewer": 5,"pr-watcher": 2,- "react-lifecycle": 1,+ "react-lifecycle": 2,"reference-watch": 3,"refresh-local-llm-catalog": 4,"release-check": 13,@@ -114,6 +114,9 @@"better-complexity": ["c92b99080d0453d70bb26a412fb48ce9"],+ "better-runtime-safety": [+ "4259ab85dd3eaf8efb16a250187bd857"+ ],"branch-reconcile": ["7ef2b5f7d8f05937d4912b26ad45f42e","ecb0621588a751b1383ecd89cf514382",@@ -196,7 +199,8 @@"console-errors": ["23b1a2e33cb414f27d4002b51d315e83","3e3f690729ead5e312927ae4bce330c0",- "2b6ed595287f0742bed9ecba6788afe6"+ "2b6ed595287f0742bed9ecba6788afe6",+ "eec33a9293f9393019917a6632dd964e"],"dependency-updates": ["020d66b93698341c556eca1eee851bee",@@ -280,6 +284,9 @@"pr-watcher": ["53ead8e26d396849bfa78f28550bd691"],+ "react-lifecycle": [+ "14b3816d1bcc10f0d7d6357e55cc5e69"+ ],"reference-watch": ["f9322140bff7d3f603799c09ce468da9","722ca590fb4b6323c98850a176b9b309"diff --git a/server/services/taskPromptDefaults/prompts.js b/server/services/taskPromptDefaults/prompts.jsindex ef66176ac9..1db572a7d5 100644--- a/server/services/taskPromptDefaults/prompts.js+++ b/server/services/taskPromptDefaults/prompts.js@@ -384,7 +384,7 @@ document why it is expected where the next person will see it.A missing log, a swallowed error, or log noise as a design problem belongs tothe observability work. Component effect and lifecycle defects belong to the-React lifecycle work. Fix what actually errors; name overlaps and leave them.+UI lifecycle and state work. Fix what actually errors; name overlaps and leave them.For each finding: the message, the trigger, the root cause with \`file:LINE\`, andthe fix. In implement mode, re-run the same exercise and confirm the message is@@ -970,32 +970,43 @@ Trace client callers through to server routes and schemas, hunting for:For each finding, name the caller AND the route with \`file.js:LINE\`, the shapethat gets through, and the concrete failure it produces.`,- 'react-lifecycle': `[Improvement: {appName}] React lifecycle and state audit+ 'react-lifecycle': `[Improvement: {appName}] UI lifecycle and state audit-Audit {appName}'s React components, hooks, and state lifecycles for leaks,-stale closures, and render races.+Audit {appName}'s UI resource lifetimes and state correctness.Repository: {repoPath}{modeInstructions}-Hunt specifically for:--- **Missing effect teardowns** — \`window\`/\`document\` listeners, timers,- sockets, or observers created in \`useEffect\` with no cleanup on unmount.-- **Stale closures** — a callback or timer capturing state/props with no ref or- dependency keeping it current, so it acts on data that has already moved on.-- **Unmounted state updates** — an async resolution setting state after unmount,- or an earlier request's response overwriting a newer one's.-- **Derived-state anti-patterns** — a prop mirrored into local state and synced- by an effect, which flashes the stale value before correcting itself.-- **Render-time side effects** — mutating a ref or firing work during render- rather than in an effect or a handler.-- **Broken dependencies** — a missing dependency causing a stale read, or an- inline object/array literal retriggering the effect every render.--Give the interaction sequence that triggers each defect, not just the code-shape: which action, in what order, leaving what on screen.`,+First identify the application's UI runtime, rendering model, and state-management+conventions from its dependencies and code. Apply checks only where those+mechanisms exist, including client navigation and hydrated interactive regions.+Use the project's own lifecycle and reactivity semantics; do not prescribe a+framework, API, or state library. If there is no applicable interactive UI,+report the check as not applicable rather than inventing findings.++Inspect UI components, shared state, subscriptions, and asynchronous work for:++- **Resource lifetime leaks** — listeners, timers, sockets, observers, or+ subscriptions surviving the view or owner that should release them.+- **Stale reads** — callbacks, cached computations, or reactive dependencies+ using outdated input and producing an incorrect visible result.+- **Async ordering and disposal** — an earlier response overwriting newer user+ intent, or work completing after its owner is disposed and causing observable+ damage. Verify the runtime's actual behavior before treating a late update as+ a defect.+- **State ownership and synchronization** — duplicated or derived state drifting+ from its source, lost edits, or shared state leaking between views or sessions.+- **Repeated or misplaced work** — rendering or reactive updates triggering+ duplicate side effects, feedback loops, or unnecessary persistent resources.+- **Navigation and hydration continuity** — applicable view transitions or+ server-to-client handoffs resetting user state, duplicating subscriptions, or+ applying state to the wrong view.++For each finding, trace the interaction sequence and state transitions, cite+the affected code, and show the user-visible failure or resource leak. A code+pattern alone is not a finding; verify it against the installed runtime's+semantics and existing safeguards.`,'observability': `[Improvement: {appName}] Logging and observability audit@@ -1317,8 +1328,8 @@ Repository: {repoPath}Performance shapes (N+1 queries, quadratic loops, missing indexes) belong to theperformance work; retries, timeouts, fallbacks, and health checks to theerror-handling work; swallowed errors and missing log context to the-observability work; component effect teardown and stale closures to the React-lifecycle work. Mentioning an overlap is fine; filing it twice is noise.+observability work; UI resource lifetimes and state correctness to the UI+lifecycle and state work. Mentioning an overlap is fine; filing it twice is noise.## The bar: a failure scenario, not a code shapediff --git a/server/services/taskPromptDefaults/versions.js b/server/services/taskPromptDefaults/versions.jsindex 8b4da163a4..d9927cbbc3 100644--- a/server/services/taskPromptDefaults/versions.js+++ b/server/services/taskPromptDefaults/versions.js@@ -38,7 +38,7 @@ export const PROMPT_VERSIONS = {'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': 3, // v3: carries {modeInstructions} and requires a quantity (frequency x size, or a stated growth term) per finding — the pre-v3 body invited unmeasured micro-optimization. Previously v2: generic {appName} body (older default hardcoded "PortOS")'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)- 'console-errors': 3, // 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)+ '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)'dependency-updates': 4, // v4: the Phase 1 GitLab MR listing gains `--output json` — without it glab answers with the human table, which carries the head branch but NOT the author, while the classification right below it reads both. The same bump drops `--state` from the MR-list recipes — that flag does not exist (MR state is selected by presence flags `--merged`/`--closed`/`--all`, and OPEN is the default), so `--state opened` exited 1 with `Unknown flag: --state` and Phase 1 skipped its bot-PR triage entirely on GitLab repos. v3: Phase 1 triages open Dependabot/Renovate PRs first (evidence → MERGE / FIX-THEN-MERGE / CLOSE / LEAVE, including conflict + CI-failure repair on the bot branch) before Phase 2 updates anything the bots didn't cover — an agent that bumped packages itself was duplicating and conflicting with open bot PRs. v2: generic {appName} body (older default hardcoded "PortOS")@@ -50,7 +50,7 @@ export const PROMPT_VERSIONS = {'simplify': 1, // v1: dead-code/duplication audit. Mode injected at dispatch.'module-hygiene': 1, // v1: evidence-led complexity, responsibility, reuse, and reusable-surface discoverability audit. Mode injected at dispatch.'api-contract': 1, // v1: API/route-contract audit (validation gaps, client/server drift, status envelopes, asyncHandler). Net-new type (no retired-hash history needed). Mode injected at dispatch.- 'react-lifecycle': 1, // v1: React lifecycle/state audit (effect teardowns, stale closures, unmounted setState, derived state). Net-new type. Mode injected at dispatch.+ 'react-lifecycle': 2, // v2: framework-neutral UI lifecycle and state correctness. v1: React lifecycle/state audit (effect teardowns, stale closures, unmounted setState, derived state). Net-new type. Mode injected at dispatch.'observability': 1, // v1: logging/observability audit (silent catches, log noise, missing error context, uninstrumented pipelines). Net-new type. Mode injected at dispatch.'copy': 1, // v1: copy/text-clarity audit (jargon, ambiguous action verbs, dead-end errors, pluralization). Net-new type. Mode injected at dispatch.@@ -65,7 +65,7 @@ export const PROMPT_VERSIONS = {'better-complexity': 2, // v2: compare repository-wide worst offenders; low churn is not an exclusion. v1: counted branching per function, ranked by churn/fan-in, with a named transformation and a behavior-preservation contract.'better-cognitive-load': 1, // v1: reader cost (mixed abstraction, flag arguments, lying names, action at a distance) — explicitly NOT the size/nesting thresholds its siblings own.'better-structural-drift': 1, // v1: derived artifacts as a second source of truth, position-keyed records, hand-synced registries, incidental-layout coupling — carved out of code-quality v3.- 'better-runtime-safety': 1, // v1: latent defects (floating promises, unowned rejections, unguarded access, sentinel confusion, races, leaks) requiring a concrete failure scenario.+ 'better-runtime-safety': 2, // Framework-neutral UI lifecycle overlap. Previous version: v1: latent defects (floating promises, unowned rejections, unguarded access, sentinel confusion, races, leaks) requiring a concrete failure scenario.'better-dependency-freedom': 1, // v1: dependency NECESSITY (the do:depfree lens) — classify, prove usage, size the replacement. Distinct from dependency-updates, which bumps what stays.'better-test-quality': 1, // v1: vacuous/weak/redundant existing tests, proven with a mutation probe. Distinct from test-coverage, which owns the gaps.'stash-cleanup': 2, // v2: the STALE/ABANDONED heuristic names `AGENTS.md` (or `CLAUDE.md`) as the policy file to check before assuming a stash contradicts current architecture (#4852). v1: triage git stash list — supersession check against main, drop superseded/stale entries, leave real unlanded work in place. Net-new type (no retired-hash history needed).diff --git a/server/services/taskScheduleRegistry.js b/server/services/taskScheduleRegistry.jsindex de7013e2a6..5433cd17b6 100644--- a/server/services/taskScheduleRegistry.js+++ b/server/services/taskScheduleRegistry.js@@ -543,7 +543,7 @@ export const TASK_TYPE_DESCRIPTIONS = {'simplify': 'Dead-code/duplication audit — file issues (default) or implement removals','module-hygiene': 'Module hygiene — complexity, reuse, ownership, and discoverability; file issues (default) or implement one refactor','api-contract': 'API/route-contract audit — file issues (default) or implement fixes',- 'react-lifecycle': 'React lifecycle/state audit — file issues (default) or implement fixes',+ 'react-lifecycle': 'UI lifecycle/state audit — file issues (default) or implement fixes','observability': 'Logging/observability audit — file issues (default) or implement fixes','copy': 'Copy/text-clarity audit — file issues (default) or implement rewrites','better-complexity': 'Cyclomatic complexity — measure branching per function, reduce the hottest offenders; file issues (default) or implement one refactor',