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
add UI descriptions for claim-work and three other scheduled task types
[._.]/ Adam Eivyc7b26ada1c7b
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 32ba9e24b6..995d17fbbf 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -8,3 +8,4 @@## Fixed- **The GitHub Release workflow no longer crashes on a large changelog.** The v2.22.0 release (a ~175KB changelog) failed at the "Create Release" step with `Argument list too long`: the changelog was passed to `softprops/action-gh-release` as the `body:` input, which GitHub materializes as an `INPUT_BODY` environment variable, and a 175KB env var overflows `ARG_MAX` when the action's Node process is exec'd. The body also exceeds GitHub's hard 125,000-character release-note limit (a separate HTTP 422). The workflow now writes the (placeholder-substituted) changelog to a file and feeds it via `body_path:` instead of an env var, and caps it at 120,000 chars on a whole-line boundary — appending a pointer to the full changelog file at the tag when truncated. (`.github/workflows/release.yml`)+- Scheduled-task descriptions in the Automation UI no longer fall back to a raw dasherized label. `claim-work` (the single-source work-tracker router), `code-reviewer-a`/`code-reviewer-b`, and `do-replan` now show real one-line descriptions instead of "claim work" / "code reviewer a", which read as orphaned/legacy tasks. A parity guard test now keeps the description map in sync with the task-type list.diff --git a/server/services/taskSchedule.js b/server/services/taskSchedule.jsindex 3428af441a..28ba342654 100644--- a/server/services/taskSchedule.js+++ b/server/services/taskSchedule.js@@ -1217,31 +1217,41 @@ function formatRelativeTime(timestamp) {return 'just now';}+// Short human-readable blurb per task type, shown in the schedule UI's+// upcoming-tasks list. Every entry in SELF_IMPROVEMENT_TASK_TYPES must have a+// key here — a missing one falls back to a dasherized label ("claim work"),+// which reads as an orphaned/legacy task. A parity guard in taskSchedule.test.js+// fails the suite if the two ever drift apart.+export const TASK_TYPE_DESCRIPTIONS = {+ 'ui-bugs': 'Find and fix UI bugs',+ 'mobile-responsive': 'Check mobile responsiveness',+ 'security': 'Security vulnerability audit',+ 'code-quality': 'Code quality improvements',+ 'console-errors': 'Fix console errors',+ 'performance': 'Performance optimization',+ 'test-coverage': 'Improve test coverage',+ 'documentation': 'Update documentation',+ 'feature-ideas': 'Implement next planned feature or brainstorm new one',+ 'plan-task': 'Execute next PLAN.md item, remove it from PLAN.md, log to changelog (worktree+PR)',+ 'claim-issue': 'Claim and ship the next open GitHub issue (owner-filed or any author), PR closes it',+ 'claim-work': "Ship the next work item from the app's configured tracker (PLAN.md, GitHub/GitLab issues, or JIRA), routed automatically",+ 'accessibility': 'Accessibility audit',+ 'branch-cleanup': 'Clean up merged branches',+ 'dependency-updates': 'Update dependencies',+ 'release-check': 'Check for release readiness',+ 'error-handling': 'Improve error handling',+ 'typing': 'Improve TypeScript types',+ 'pr-reviewer': 'Review open PRs from contributors',+ 'pr-watcher': 'Run a custom prompt on PRs newly opened against the default branch',+ 'code-reviewer-a': 'Review the codebase and triage/implement findings (independent provider/model instance A)',+ 'code-reviewer-b': 'Review the codebase and triage/implement findings (independent provider/model instance B)',+ 'do-replan': 'Audit and prune PLAN.md after merges and branch cleanup so it reflects what actually shipped',+ 'jira-sprint-manager': 'Triage and implement JIRA sprint tickets',+ 'jira-status-report': 'Generate JIRA weekly status report',+ 'reference-watch': 'Watch reference repos and append PLAN.md items for new upstream work',+ 'refresh-local-llm-catalog': "Refresh PortOS's bundled suggested local-model catalog + editorial ranking (PortOS repo only)"+};+function getTaskTypeDescription(taskType) {- const descriptions = {- 'ui-bugs': 'Find and fix UI bugs',- 'mobile-responsive': 'Check mobile responsiveness',- 'security': 'Security vulnerability audit',- 'code-quality': 'Code quality improvements',- 'console-errors': 'Fix console errors',- 'performance': 'Performance optimization',- 'test-coverage': 'Improve test coverage',- 'documentation': 'Update documentation',- 'feature-ideas': 'Implement next planned feature or brainstorm new one',- 'plan-task': 'Execute next PLAN.md item, remove it from PLAN.md, log to changelog (worktree+PR)',- 'claim-issue': 'Claim and ship the next open GitHub issue (owner-filed or any author), PR closes it',- 'accessibility': 'Accessibility audit',- 'branch-cleanup': 'Clean up merged branches',- 'dependency-updates': 'Update dependencies',- 'release-check': 'Check for release readiness',- 'error-handling': 'Improve error handling',- 'typing': 'Improve TypeScript types',- 'pr-reviewer': 'Review open PRs from contributors',- 'pr-watcher': 'Run a custom prompt on PRs newly opened against the default branch',- 'jira-sprint-manager': 'Triage and implement JIRA sprint tickets',- 'jira-status-report': 'Generate JIRA weekly status report',- 'reference-watch': 'Watch reference repos and append PLAN.md items for new upstream work',- 'refresh-local-llm-catalog': "Refresh PortOS's bundled suggested local-model catalog + editorial ranking (PortOS repo only)"- };- return descriptions[taskType] || taskType.replace(/-/g, ' ');+ return TASK_TYPE_DESCRIPTIONS[taskType] || taskType.replace(/-/g, ' ');}diff --git a/server/services/taskSchedule.test.js b/server/services/taskSchedule.test.jsindex 799cbf673a..355d97e8ac 100644--- a/server/services/taskSchedule.test.js+++ b/server/services/taskSchedule.test.js@@ -95,6 +95,7 @@ import {PROMPT_VERSIONS,DEFAULT_TASK_INTERVALS,MANAGED_AGENT_OPTIONS,+ TASK_TYPE_DESCRIPTIONS,REFERENCE_WATCH_AUDITED_VERSION} from './taskSchedule.js'@@ -168,6 +169,33 @@ describe('taskSchedule', () => {})})+ describe('TASK_TYPE_DESCRIPTIONS', () => {+ // Guards against the "orphaned task" bug: a task type with no description+ // entry falls back to a dasherized label ("claim work") in the schedule UI,+ // which reads as a legacy leftover. Every scheduled task type must carry an+ // explicit, human-readable blurb.+ it('has an explicit description for every SELF_IMPROVEMENT_TASK_TYPES entry', () => {+ const missing = SELF_IMPROVEMENT_TASK_TYPES.filter(+ (t) => !Object.prototype.hasOwnProperty.call(TASK_TYPE_DESCRIPTIONS, t)+ )+ expect(missing).toEqual([])+ })++ it('has no description keys that are not real task types', () => {+ const orphaned = Object.keys(TASK_TYPE_DESCRIPTIONS).filter(+ (t) => !SELF_IMPROVEMENT_TASK_TYPES.includes(t)+ )+ expect(orphaned).toEqual([])+ })++ it('every description is a non-empty string', () => {+ for (const [taskType, desc] of Object.entries(TASK_TYPE_DESCRIPTIONS)) {+ expect(typeof desc, taskType).toBe('string')+ expect(desc.trim().length, taskType).toBeGreaterThan(0)+ }+ })+ })+describe('do-replan task type', () => {it('should default to weekly, disabled, with worktree+PR metadata', async () => {const interval = await getTaskInterval('do-replan')