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: default all CoS self-improvement features to disabled for safer new installs
Adam Eivyb1264e7b786c
diff --git a/.changelog/v0.21.1.md b/.changelog/v0.21.1.mdindex b3b98c47e0..08207612ff 100644--- a/.changelog/v0.21.1.md+++ b/.changelog/v0.21.1.md@@ -14,3 +14,11 @@ Theme support with 5 dark themes.- Selection persists across sessions via localStorage- All existing `port-*` Tailwind classes respond automatically via CSS custom properties — zero component changes needed- Shell terminal, toast notifications, scrollbars, and focus rings all adapt to the active theme++## Changed++### Safer defaults for new installations+- All 13 CoS self-improvement tasks default to **disabled** — users opt in to the ones they want+- Master `selfImprovementEnabled` switch defaults to off+- Default autonomy level changed from `manager` to `standby`+- Autobiography story prompt defaults to disableddiff --git a/server/services/autobiography.js b/server/services/autobiography.jsindex f4ae28cb7a..e73d418528 100644--- a/server/services/autobiography.js+++ b/server/services/autobiography.js@@ -155,7 +155,7 @@ const PROMPT_THEMES = [const DEFAULT_CONFIG = {intervalHours: 24,- enabled: true,+ enabled: false,lastPromptAt: null,lastPromptId: null};diff --git a/server/services/cos.js b/server/services/cos.jsindex a7767cb45d..734300e157 100644--- a/server/services/cos.js+++ b/server/services/cos.js@@ -168,7 +168,7 @@ const DEFAULT_CONFIG = {{ name: 'puppeteer', command: 'npx', args: ['-y', '@anthropic/mcp-puppeteer', '--isolated'] }],autoStart: false, // Legacy: use alwaysOn instead- selfImprovementEnabled: true, // Allow CoS to improve itself (PortOS codebase)+ selfImprovementEnabled: false, // Allow CoS to improve itself (PortOS codebase)appImprovementEnabled: true, // Allow CoS to improve managed appsavatarStyle: 'svg', // UI preference: 'svg' | 'ascii' | 'cyber' | 'sigil'// Always-on mode settings@@ -180,7 +180,7 @@ const DEFAULT_CONFIG = {immediateExecution: true, // Execute new tasks immediately, don't wait for intervalproactiveMode: true, // Be proactive about finding workautonomousJobsEnabled: true, // Enable recurring autonomous jobs (git maintenance, brain processing, etc.)- autonomyLevel: 'manager', // Default autonomy level preset (standby/assistant/manager/yolo)+ autonomyLevel: 'standby', // Default autonomy level preset (standby/assistant/manager/yolo)rehabilitationGracePeriodDays: 7, // Days before auto-retrying skipped task types (learning-based)autoFixThresholds: {maxLinesChanged: 50, // Auto-approve if <= this many lines changeddiff --git a/server/services/taskSchedule.js b/server/services/taskSchedule.jsindex c540c06c1f..c4c9a45a4a 100644--- a/server/services/taskSchedule.js+++ b/server/services/taskSchedule.js@@ -484,19 +484,19 @@ IMPORTANT: Always use \`git pull --rebase --autostash\` before pushing (dev bran// Default interval settings for self-improvement task typesconst DEFAULT_SELF_IMPROVEMENT_INTERVALS = {- 'ui-bugs': { type: INTERVAL_TYPES.ROTATION, enabled: true, providerId: null, model: null, prompt: null },- 'mobile-responsive': { type: INTERVAL_TYPES.WEEKLY, enabled: true, providerId: null, model: null, prompt: null },- 'security': { type: INTERVAL_TYPES.WEEKLY, enabled: true, providerId: null, model: null, prompt: null },- 'code-quality': { type: INTERVAL_TYPES.ROTATION, enabled: true, providerId: null, model: null, prompt: null },- 'console-errors': { type: INTERVAL_TYPES.ROTATION, enabled: true, providerId: null, model: null, prompt: null },- 'performance': { type: INTERVAL_TYPES.WEEKLY, enabled: true, providerId: null, model: null, prompt: null },- 'cos-enhancement': { type: INTERVAL_TYPES.ROTATION, enabled: true, providerId: null, model: null, prompt: null },- 'test-coverage': { type: INTERVAL_TYPES.WEEKLY, enabled: true, providerId: null, model: null, prompt: null },- 'documentation': { type: INTERVAL_TYPES.WEEKLY, enabled: true, providerId: null, model: null, prompt: null },- 'feature-ideas': { type: INTERVAL_TYPES.DAILY, enabled: true, providerId: null, model: null, prompt: null },- 'accessibility': { type: INTERVAL_TYPES.WEEKLY, enabled: true, providerId: null, model: null, prompt: null },- 'dependency-updates': { type: INTERVAL_TYPES.WEEKLY, enabled: true, providerId: null, model: null, prompt: null },- 'release-check': { type: INTERVAL_TYPES.WEEKLY, enabled: true, providerId: null, model: null, prompt: null }+ 'ui-bugs': { type: INTERVAL_TYPES.ROTATION, enabled: false, providerId: null, model: null, prompt: null },+ 'mobile-responsive': { type: INTERVAL_TYPES.WEEKLY, enabled: false, providerId: null, model: null, prompt: null },+ 'security': { type: INTERVAL_TYPES.WEEKLY, enabled: false, providerId: null, model: null, prompt: null },+ 'code-quality': { type: INTERVAL_TYPES.ROTATION, enabled: false, providerId: null, model: null, prompt: null },+ 'console-errors': { type: INTERVAL_TYPES.ROTATION, enabled: false, providerId: null, model: null, prompt: null },+ 'performance': { type: INTERVAL_TYPES.WEEKLY, enabled: false, providerId: null, model: null, prompt: null },+ 'cos-enhancement': { type: INTERVAL_TYPES.ROTATION, enabled: false, providerId: null, model: null, prompt: null },+ 'test-coverage': { type: INTERVAL_TYPES.WEEKLY, enabled: false, providerId: null, model: null, prompt: null },+ 'documentation': { type: INTERVAL_TYPES.WEEKLY, enabled: false, providerId: null, model: null, prompt: null },+ 'feature-ideas': { type: INTERVAL_TYPES.DAILY, enabled: false, providerId: null, model: null, prompt: null },+ 'accessibility': { type: INTERVAL_TYPES.WEEKLY, enabled: false, providerId: null, model: null, prompt: null },+ 'dependency-updates': { type: INTERVAL_TYPES.WEEKLY, enabled: false, providerId: null, model: null, prompt: null },+ 'release-check': { type: INTERVAL_TYPES.WEEKLY, enabled: false, providerId: null, model: null, prompt: null }};// Default prompts for app improvement task types (templates with {appName} and {repoPath} variables)