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 docblock placement so each comment sits on the symbol it describes
[._.]/ Adam Eivyd65e01aa10dd
diff --git a/server/lib/cosValidation.js b/server/lib/cosValidation.jsindex 495e1308c6..5d1f39054a 100644--- a/server/lib/cosValidation.js+++ b/server/lib/cosValidation.js@@ -1644,6 +1644,7 @@ export const MAX_TOTAL_SPAWNS = 5;// allowlist — like `prAuthorFilter` / `issueAuthorFilter` — so a per-app// override can disable an individual rectification behavior and survive// sanitizeTaskMetadata.+// repo-sync's per-app / per-schedule action toggles. Each is ON unless// explicitly `false` (branch-reconcile's opt-out convention), EXCEPT// `reapRemotes`, which mutates `origin` and is therefore opt-IN. Lives here so@@ -1708,7 +1709,6 @@ export const PR_AUTHOR_FILTERS = ['any', 'self', 'others'];// vocabulary.export const ISSUE_AUTHOR_FILTERS = ['self', 'collaborators', 'owner', 'any'];-// repo-sync verify-mode vocabulary — when the coordinator agent is dispatched// after the deterministic sweep. 'always' verifies every run; 'when-changed'// (the default) verifies only a run that actually mutated a checkout, so a sweep@@ -1719,6 +1719,7 @@ export const ISSUE_AUTHOR_FILTERS = ['self', 'collaborators', 'owner', 'any'];// importing the git-heavy service (it is deliberately dependency-light).export const REPO_SYNC_VERIFY_MODES = ['always', 'when-changed', 'never'];export const DEFAULT_REPO_SYNC_VERIFY_MODE = 'when-changed';+// `issueExcludeLabels` — extra labels a user wants left for human contributors// (e.g. `good first issue`) rather than auto-claimed by claim-issue/claim-work.// Unioned with the fixed NON_ACTIONABLE_ISSUE_LABELS set at read timediff --git a/server/services/cosTaskGenerator.js b/server/services/cosTaskGenerator.jsindex 91a31efcba..9c037c9595 100644--- a/server/services/cosTaskGenerator.js+++ b/server/services/cosTaskGenerator.js@@ -1822,8 +1822,9 @@ export async function generateSelfImprovementTaskForType(taskType, state) {if (repoSync.skip) return null;if (repoSync.block) {// Function form — the report embeds branch names, git error text, and stash- // subjects, any of which may contain a dollar-sign backreference token, which a replacement STRING- // would read as a backreference (same reason as {referenceData}/{prData}).+ // subjects, any of which may contain a dollar-sign backreference token that a+ // replacement STRING would expand instead of inserting literally (same reason+ // as {referenceData}/{prData}).description = description.replace(/\{repoSyncReport\}/g, () => repoSync.block);}diff --git a/server/services/taskScheduleRegistry.js b/server/services/taskScheduleRegistry.jsindex 7f1d2a5ca0..8599a77bb7 100644--- a/server/services/taskScheduleRegistry.js+++ b/server/services/taskScheduleRegistry.js@@ -162,6 +162,9 @@ const CODE_REVIEWER_INTERVAL = { type: INTERVAL_TYPES.WEEKLY, enabled: false, we* ship without the key at all (absent/`null` ⇒ unbounded, their work-detector's* idle park remains the only brake) and only the reconcile scans carry a number.*/+export const PERPETUAL_DRAIN_DISPATCH_CAP = 5;+export const DEFAULT_BRANCHES_PER_AGENT = 3;+/*** Task types whose "Run Now" with NO app is the REAL run — they sweep every* managed app in one dispatch rather than acting on one. Surfaced per task on@@ -171,9 +174,6 @@ const CODE_REVIEWER_INTERVAL = { type: INTERVAL_TYPES.WEEKLY, enabled: false, we*/export const INSTALL_WIDE_TASK_TYPES = new Set(['repo-sync']);-export const PERPETUAL_DRAIN_DISPATCH_CAP = 5;-export const DEFAULT_BRANCHES_PER_AGENT = 3;-export const DEFAULT_TASK_INTERVALS = {'security': { type: INTERVAL_TYPES.WEEKLY, enabled: false, providerId: null, model: null, prompt: null, taskMetadata: { fileIssues: false } },'code-quality': { type: INTERVAL_TYPES.ROTATION, enabled: false, providerId: null, model: null, prompt: null, taskMetadata: { fileIssues: false } },