Skip to content

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

fix: prevent CoS auto-start and remove example data on fresh installs

Adam Eivy71d8ceb8390e
diff --git a/.changelog/v1.17.x.md b/.changelog/v1.17.x.md
index b40d3fdb7d..e278312d9d 100644
--- a/.changelog/v1.17.x.md
+++ b/.changelog/v1.17.x.md
@@ -16,3 +16,6 @@ Split monolithic "Blood & Body" tab into separate focused pages for better navig
- **Fix "Provider not found" when changing default AI provider** — `PUT /active` was caught by the wildcard `PUT /:id` route, treating "active" as a provider ID; added explicit route before the wildcard (fixes #32)
- **Fix unhandled promise rejection on provider switch** — `handleSetActive` now catches errors gracefully instead of letting them bubble as unhandled rejections
+- **Fix CoS auto-starting on fresh installs** — sample state now sets `alwaysOn: false` so CoS doesn't immediately queue agent tasks on new machines without configured providers/CLIs
+- **Remove example apps from fresh install** — sample `apps.json` now only includes the PortOS self-reference app instead of two placeholder apps with fake paths
+- **Clear sample tasks** — removed example pending task from `data.sample/TASKS.md` to prevent agent spawning on first boot
diff --git a/data.sample/TASKS.md b/data.sample/TASKS.md
index ebbad1ef83..d4d12de509 100644
--- a/data.sample/TASKS.md
+++ b/data.sample/TASKS.md
@@ -1,9 +1,6 @@
# Tasks
## Pending
-- [ ] #task-sample01 | LOW | Example task: Review codebase documentation and suggest improvements
- - Model: claude-sonnet-4-20250514
- - Provider: claude-code
## In Progress
diff --git a/data.sample/apps.json b/data.sample/apps.json
index c73f2ed264..ab66cb8ba1 100644
--- a/data.sample/apps.json
+++ b/data.sample/apps.json
@@ -56,46 +56,6 @@
"ports": { "cdp": 5556, "health": 5557 }
}
]
- },
- "example-app-1": {
- "id": "example-app-1",
- "name": "My Web App",
- "repoPath": "/Users/you/projects/my-web-app",
- "type": "vite+express",
- "uiPort": 3000,
- "apiPort": 3001,
- "uiUrl": "http://localhost:3000",
- "startCommands": [
- "npm run dev"
- ],
- "pm2ProcessNames": [
- "my-web-app"
- ],
- "envFile": ".env",
- "icon": null,
- "editorCommand": "code .",
- "createdAt": "2024-01-01T00:00:00.000Z",
- "updatedAt": "2024-01-01T00:00:00.000Z"
- },
- "example-app-2": {
- "id": "example-app-2",
- "name": "API Server",
- "repoPath": "/Users/you/projects/api-server",
- "type": "single-node-server",
- "uiPort": null,
- "apiPort": 4000,
- "uiUrl": null,
- "startCommands": [
- "npm start"
- ],
- "pm2ProcessNames": [
- "api-server"
- ],
- "envFile": ".env",
- "icon": null,
- "editorCommand": "code .",
- "createdAt": "2024-01-01T00:00:00.000Z",
- "updatedAt": "2024-01-01T00:00:00.000Z"
}
}
}
diff --git a/data.sample/cos/state.json b/data.sample/cos/state.json
index f2ac03c3c4..dcb9c9f730 100644
--- a/data.sample/cos/state.json
+++ b/data.sample/cos/state.json
@@ -29,6 +29,7 @@
}
],
"autoStart": false,
+ "alwaysOn": false,
"selfImprovementEnabled": true,
"dynamicAvatar": true
},