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: remove example Brain data from fresh installs

Adam Eivy5f256205dea2
diff --git a/.changelog/v1.17.0.md b/.changelog/v1.17.0.md
index 7d31a8596b..e4058b8b3f 100644
--- a/.changelog/v1.17.0.md
+++ b/.changelog/v1.17.0.md
@@ -19,3 +19,4 @@ Split monolithic "Blood & Body" tab into separate focused pages for better navig
- **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
+- **Remove Brain sample data** — cleared all example people (Sarah Chen, etc.), projects, ideas, admin tasks, inbox items, digests, and reviews from `data.sample/brain/` so fresh installs start with an empty brain
diff --git a/data.sample/brain/admin.json b/data.sample/brain/admin.json
index b6111a83f1..79802cb55a 100644
--- a/data.sample/brain/admin.json
+++ b/data.sample/brain/admin.json
@@ -1,31 +1,3 @@
{
- "records": {
- "ad1a2b3c-d4e5-4f6a-7b8c-9d0e1f2a3b4c": {
- "title": "Renew car registration",
- "status": "open",
- "dueDate": "2024-01-31T23:59:59.000Z",
- "nextAction": "Go to DMV website and complete renewal",
- "notes": "Registration expires end of January. Can do online.",
- "createdAt": "2024-01-02T09:00:00.000Z",
- "updatedAt": "2024-01-02T09:00:00.000Z"
- },
- "ad2b3c4d-e5f6-4a7b-8c9d-0e1f2a3b4c5d": {
- "title": "Schedule annual physical",
- "status": "waiting",
- "dueDate": "2024-02-15T23:59:59.000Z",
- "nextAction": "Waiting for callback from doctor's office",
- "notes": "Called and left message. They said they'd call back to schedule.",
- "createdAt": "2024-01-05T10:00:00.000Z",
- "updatedAt": "2024-01-08T09:00:00.000Z"
- },
- "ad3c4d5e-f6a7-4b8c-9d0e-1f2a3b4c5d6e": {
- "title": "File Q4 expenses",
- "status": "done",
- "dueDate": "2024-01-10T23:59:59.000Z",
- "nextAction": null,
- "notes": "Submitted all Q4 expense reports. Approved and reimbursement processed.",
- "createdAt": "2024-01-03T09:00:00.000Z",
- "updatedAt": "2024-01-09T11:00:00.000Z"
- }
- }
+ "records": {}
}
diff --git a/data.sample/brain/digests.jsonl b/data.sample/brain/digests.jsonl
index 487579ae77..e69de29bb2 100644
--- a/data.sample/brain/digests.jsonl
+++ b/data.sample/brain/digests.jsonl
@@ -1,2 +0,0 @@
-{"id":"dg1a2b3c-d4e5-4f6a-7b8c-9d0e1f2a3b4c","generatedAt":"2024-01-09T09:00:00.000Z","digestText":"Today: Focus on Brain classifier implementation. You have 2 items needing review in your inbox - clear those first. Sarah is waiting on API timeline follow-up. Car registration due in 22 days. Standing desk arriving next week - plan your office rearrangement.","topActions":["Clear 2 inbox items needing review","Follow up with Sarah on API timeline","Start Brain classifier prompt template"],"stuckThing":"Blog post series blocked on design team images","smallWin":"Q1 planning doc got approved","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-daily-digest"}}
-{"id":"dg2b3c4d-e5f6-4a7b-8c9d-0e1f2a3b4c5d","generatedAt":"2024-01-08T09:00:00.000Z","digestText":"Start of the week. Brain feature is your main active project - good momentum. 1 person follow-up due (Jake for bathroom quote). Admin: car registration and physical scheduling both need attention this month. Your idea backlog is growing - consider time-boxing idea capture.","topActions":["Continue Brain implementation","Contact Jake for bathroom quote","Schedule annual physical"],"stuckThing":"Blog post still waiting on images","smallWin":"Home office desk ordered","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-daily-digest"}}
diff --git a/data.sample/brain/ideas.json b/data.sample/brain/ideas.json
index b027311b30..79802cb55a 100644
--- a/data.sample/brain/ideas.json
+++ b/data.sample/brain/ideas.json
@@ -1,28 +1,3 @@
{
- "records": {
- "i1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c": {
- "title": "Voice-first capture mode",
- "oneLiner": "Add voice transcription to Brain so thoughts can be captured hands-free via Whisper",
- "notes": "Could use OpenAI Whisper API or local whisper.cpp. Would be great for capturing ideas while walking or driving.",
- "tags": ["brain", "feature", "voice"],
- "createdAt": "2024-01-07T08:00:00.000Z",
- "updatedAt": "2024-01-07T08:00:00.000Z"
- },
- "i2b3c4d5-e6f7-4a8b-9c0d-1e2f3a4b5c6d": {
- "title": "Weekly email digest",
- "oneLiner": "Send the weekly review as an email so it reaches me even when I'm not using PortOS",
- "notes": "Could integrate with SendGrid or use local SMTP. Include quick action links.",
- "tags": ["brain", "email"],
- "createdAt": "2024-01-06T14:00:00.000Z",
- "updatedAt": "2024-01-06T14:00:00.000Z"
- },
- "i3c4d5e6-f7a8-4b9c-0d1e-2f3a4b5c6d7e": {
- "title": "Spaced repetition for people",
- "oneLiner": "Surface people you haven't contacted in a while using spaced repetition algorithm",
- "notes": "Like Anki but for relationships. Remind me to reach out to people before the connection goes cold.",
- "tags": ["brain", "people", "relationships"],
- "createdAt": "2024-01-04T11:00:00.000Z",
- "updatedAt": "2024-01-04T11:00:00.000Z"
- }
- }
+ "records": {}
}
diff --git a/data.sample/brain/inbox_log.jsonl b/data.sample/brain/inbox_log.jsonl
index 2612a4cbca..e69de29bb2 100644
--- a/data.sample/brain/inbox_log.jsonl
+++ b/data.sample/brain/inbox_log.jsonl
@@ -1,10 +0,0 @@
-{"id":"il1a2b3c-d4e5-4f6a-7b8c-9d0e1f2a3b4c","capturedText":"Need to follow up with Sarah about the API redesign timeline","capturedAt":"2024-01-09T10:30:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"people","confidence":0.85,"title":"Sarah API follow-up","extracted":{"name":"Sarah Chen","context":"","followUps":["Follow up about API redesign timeline"],"tags":[]},"reasons":["Mentions specific person by name","Contains action item for that person"]},"status":"filed","filed":{"destination":"people","destinationId":"a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"}}
-{"id":"il2b3c4d-e5f6-4a7b-8c9d-0e1f2a3b4c5d","capturedText":"Start working on the classifier prompt template for Brain","capturedAt":"2024-01-09T09:00:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"projects","confidence":0.92,"title":"Brain classifier work","extracted":{"name":"PortOS Brain Feature","status":"active","nextAction":"Implement the classifier prompt template","tags":["brain","ai"]},"reasons":["Clear project task","Actionable next step"]},"status":"filed","filed":{"destination":"projects","destinationId":"p1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c"}}
-{"id":"il3c4d5e-f6a7-4b8c-9d0e-1f2a3b4c5d6e","capturedText":"What if Brain could surface people I haven't talked to in a while using spaced repetition?","capturedAt":"2024-01-08T14:00:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"ideas","confidence":0.88,"title":"Spaced repetition for people","extracted":{"title":"Spaced repetition for people","oneLiner":"Surface people you haven't contacted in a while using spaced repetition algorithm","tags":["brain","people"]},"reasons":["Starts with 'What if'","Novel concept","Not actionable yet"]},"status":"filed","filed":{"destination":"ideas","destinationId":"i3c4d5e6-f7a8-4b9c-0d1e-2f3a4b5c6d7e"}}
-{"id":"il4d5e6f-a7b8-4c9d-0e1f-2a3b4c5d6e7f","capturedText":"Car registration due end of January - need to renew online","capturedAt":"2024-01-07T11:00:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"admin","confidence":0.95,"title":"Car registration renewal","extracted":{"title":"Renew car registration","status":"open","dueDate":"2024-01-31T23:59:59.000Z","nextAction":"Go to DMV website and complete renewal"},"reasons":["Administrative task","Has clear deadline","One-time action"]},"status":"filed","filed":{"destination":"admin","destinationId":"ad1a2b3c-d4e5-4f6a-7b8c-9d0e1f2a3b4c"}}
-{"id":"il5e6f7a-b8c9-4d0e-1f2a-3b4c5d6e7f8a","capturedText":"something about that thing we discussed","capturedAt":"2024-01-06T16:00:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"unknown","confidence":0.35,"title":"Unclear reference","extracted":{},"reasons":["Too vague","No clear subject","Cannot determine category"]},"status":"needs_review"}
-{"id":"il6f7a8b-c9d0-4e1f-2a3b-4c5d6e7f8a9b","capturedText":"Maybe use voice transcription for Brain input - Whisper could work","capturedAt":"2024-01-05T08:30:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"ideas","confidence":0.82,"title":"Voice input for Brain","extracted":{"title":"Voice-first capture mode","oneLiner":"Add voice transcription to Brain so thoughts can be captured hands-free via Whisper","tags":["brain","voice"]},"reasons":["Explores potential feature","Not immediately actionable","Speculative"]},"status":"filed","filed":{"destination":"ideas","destinationId":"i1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c"}}
-{"id":"il7a8b9c-d0e1-4f2a-3b4c-5d6e7f8a9b0c","capturedText":"Jake the contractor - ask him for bathroom renovation quote","capturedAt":"2024-01-04T10:00:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"people","confidence":0.78,"title":"Jake bathroom quote","extracted":{"name":"Jake Reynolds","context":"Contractor","followUps":["Get quote for bathroom work"],"tags":["contractor"]},"reasons":["References specific person","Action item related to person"]},"status":"filed","filed":{"destination":"people","destinationId":"d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a"}}
-{"id":"il8b9c0d-e1f2-4a3b-4c5d-6e7f8a9b0c1d","capturedText":"ordered standing desk today - should arrive jan 15","capturedAt":"2024-01-03T14:00:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"projects","confidence":0.75,"title":"Standing desk order","extracted":{"name":"Home Office Setup","status":"waiting","nextAction":"Wait for standing desk delivery (ETA Jan 15)","tags":["home"]},"reasons":["Part of ongoing project","Has timeline","Waiting state"]},"status":"filed","filed":{"destination":"projects","destinationId":"p2b3c4d5-e6f7-4a8b-9c0d-1e2f3a4b5c6d"}}
-{"id":"il9c0d1e-f2a3-4b4c-5d6e-7f8a9b0c1d2e","capturedText":"quarterly catch up with Lisa - she gives great career advice","capturedAt":"2024-01-02T09:00:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"people","confidence":0.88,"title":"Lisa quarterly catchup","extracted":{"name":"Lisa Park","context":"Mentor, career advice","followUps":["Schedule quarterly catch-up"],"tags":["mentor"]},"reasons":["References specific person","Recurring action"]},"status":"filed","filed":{"destination":"people","destinationId":"e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b"}}
-{"id":"ila0d1e2-f3a4-4b5c-6d7e-8f9a0b1c2d3e","capturedText":"review that thing from last week meeting","capturedAt":"2024-01-01T15:00:00.000Z","source":"brain_ui","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-classifier"},"classification":{"destination":"unknown","confidence":0.28,"title":"Unclear meeting reference","extracted":{},"reasons":["No specific subject","Cannot identify what 'that thing' refers to","Needs clarification"]},"status":"needs_review"}
diff --git a/data.sample/brain/people.json b/data.sample/brain/people.json
index 5019e25507..79802cb55a 100644
--- a/data.sample/brain/people.json
+++ b/data.sample/brain/people.json
@@ -1,49 +1,3 @@
{
- "records": {
- "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d": {
- "name": "Sarah Chen",
- "context": "Product manager at Acme Corp. Met at tech conference in Austin. Works on developer tools.",
- "followUps": ["Ask about the API redesign project", "Follow up on coffee meeting"],
- "lastTouched": "2024-01-05T10:30:00.000Z",
- "tags": ["work", "product"],
- "createdAt": "2024-01-01T09:00:00.000Z",
- "updatedAt": "2024-01-05T10:30:00.000Z"
- },
- "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e": {
- "name": "Marcus Johnson",
- "context": "Old college friend. Now runs a startup in the AI space. Good for advice on fundraising.",
- "followUps": ["Congratulate on Series A"],
- "lastTouched": "2024-01-02T14:00:00.000Z",
- "tags": ["friend", "startup"],
- "createdAt": "2024-01-01T09:00:00.000Z",
- "updatedAt": "2024-01-02T14:00:00.000Z"
- },
- "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f": {
- "name": "Dr. Emily Foster",
- "context": "Dentist. Annual checkups. Office on Main Street.",
- "followUps": [],
- "lastTouched": "2023-12-15T09:00:00.000Z",
- "tags": ["health"],
- "createdAt": "2023-12-15T09:00:00.000Z",
- "updatedAt": "2023-12-15T09:00:00.000Z"
- },
- "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a": {
- "name": "Jake Reynolds",
- "context": "Contractor who did the kitchen renovation. Reliable, fair pricing.",
- "followUps": ["Get quote for bathroom work"],
- "lastTouched": "2024-01-03T11:00:00.000Z",
- "tags": ["home", "contractor"],
- "createdAt": "2023-11-01T09:00:00.000Z",
- "updatedAt": "2024-01-03T11:00:00.000Z"
- },
- "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b": {
- "name": "Lisa Park",
- "context": "Mentor from previous job. VP of Engineering at TechGiant. Great career advice.",
- "followUps": ["Schedule quarterly catch-up", "Ask about engineering leadership books"],
- "lastTouched": "2023-12-20T16:00:00.000Z",
- "tags": ["mentor", "career"],
- "createdAt": "2023-06-01T09:00:00.000Z",
- "updatedAt": "2023-12-20T16:00:00.000Z"
- }
- }
+ "records": {}
}
diff --git a/data.sample/brain/projects.json b/data.sample/brain/projects.json
index becb8835db..79802cb55a 100644
--- a/data.sample/brain/projects.json
+++ b/data.sample/brain/projects.json
@@ -1,49 +1,3 @@
{
- "records": {
- "p1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c": {
- "name": "PortOS Brain Feature",
- "status": "active",
- "nextAction": "Implement the AI classifier prompt template",
- "notes": "Building a second-brain capture system for PortOS. Core workflow: capture -> classify -> store -> surface.",
- "tags": ["portos", "feature", "ai"],
- "createdAt": "2024-01-08T09:00:00.000Z",
- "updatedAt": "2024-01-09T14:00:00.000Z"
- },
- "p2b3c4d5-e6f7-4a8b-9c0d-1e2f3a4b5c6d": {
- "name": "Home Office Setup",
- "status": "waiting",
- "nextAction": "Wait for standing desk delivery (ETA Jan 15)",
- "notes": "Upgrading home office. Ordered standing desk, need to get monitor arm next.",
- "tags": ["home", "setup"],
- "createdAt": "2024-01-02T10:00:00.000Z",
- "updatedAt": "2024-01-06T11:00:00.000Z"
- },
- "p3c4d5e6-f7a8-4b9c-0d1e-2f3a4b5c6d7e": {
- "name": "Learn Rust",
- "status": "someday",
- "nextAction": "Buy the Rust Programming Language book",
- "notes": "Want to learn Rust for systems programming. Low priority for now.",
- "tags": ["learning", "programming"],
- "createdAt": "2023-11-15T09:00:00.000Z",
- "updatedAt": "2023-11-15T09:00:00.000Z"
- },
- "p4d5e6f7-a8b9-4c0d-1e2f-3a4b5c6d7e8f": {
- "name": "Q1 Planning Document",
- "status": "done",
- "nextAction": "N/A - Completed",
- "notes": "Created and shared Q1 planning doc with team. Got approval from leadership.",
- "tags": ["work", "planning"],
- "createdAt": "2023-12-01T09:00:00.000Z",
- "updatedAt": "2024-01-05T16:00:00.000Z"
- },
- "p5e6f7a8-b9c0-4d1e-2f3a-4b5c6d7e8f9a": {
- "name": "Blog Post Series",
- "status": "blocked",
- "nextAction": "Wait for design team to provide header images",
- "notes": "Writing a 3-part series on AI tooling. Part 1 drafted, need images before publishing.",
- "tags": ["writing", "blog"],
- "createdAt": "2024-01-03T09:00:00.000Z",
- "updatedAt": "2024-01-07T10:00:00.000Z"
- }
- }
+ "records": {}
}
diff --git a/data.sample/brain/reviews.jsonl b/data.sample/brain/reviews.jsonl
index 9a81ac4fc9..e69de29bb2 100644
--- a/data.sample/brain/reviews.jsonl
+++ b/data.sample/brain/reviews.jsonl
@@ -1 +0,0 @@
-{"id":"rv1a2b3c-d4e5-4f6a-7b8c-9d0e1f2a3b4c","generatedAt":"2024-01-07T16:00:00.000Z","reviewText":"This week you captured 10 thoughts, filed 8 successfully. Brain feature made good progress - you're in the implementation phase now. Relationship maintenance: 3 people have pending follow-ups. Admin is under control with only 2 open items. Your biggest open loop is the blog post blocked on design. Consider: you've had several ideas about Brain enhancements - might be worth a dedicated brainstorm session.","whatHappened":["Started Brain feature implementation","Ordered standing desk for home office","Completed Q1 planning doc","Captured 10 thoughts, 80% auto-filed"],"biggestOpenLoops":["Blog post series waiting on design images","Follow up with Sarah on API timeline","Schedule annual physical"],"suggestedActionsNextWeek":["Complete Brain classifier implementation","Clear the 2 inbox items needing review","Ping design team about blog images"],"recurringTheme":"You're generating good ideas but some inbox items need more context to be useful - try adding a sentence of context when capturing.","ai":{"providerId":"lmstudio","modelId":"gptoss-20b","promptTemplateId":"brain-weekly-review"}}