@aitne-sh/aitne 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +218 -161
- package/agent-assets/agent-profiles/_safety.md +3 -3
- package/agent-assets/agent-profiles/browser-task.md +108 -0
- package/agent-assets/agent-profiles/conversational.md +3 -3
- package/agent-assets/agent-profiles/profile-importer.md +2 -2
- package/agent-assets/agent-profiles/routine-fetch-window.md +30 -19
- package/agent-assets/agents/context-index-reconcile/agent.md +52 -0
- package/agent-assets/agents/evening-review/agent.md +53 -0
- package/agent-assets/agents/hourly-check/agent.md +62 -0
- package/agent-assets/agents/monthly-review/agent.md +55 -0
- package/agent-assets/agents/morning-routine/agent.md +78 -0
- package/agent-assets/agents/roadmap-maintenance/agent.md +52 -0
- package/agent-assets/agents/skill-curation/agent.md +52 -0
- package/agent-assets/agents/user-profile-sweep-evening/agent.md +48 -0
- package/agent-assets/agents/user-profile-sweep-morning/agent.md +53 -0
- package/agent-assets/agents/weekly-review/agent.md +51 -0
- package/agent-assets/docs/concepts/agent-day.md +13 -11
- package/agent-assets/docs/concepts/auth-health.md +47 -10
- package/agent-assets/docs/concepts/backends-and-tiers.md +66 -31
- package/agent-assets/docs/concepts/costs-and-quotas.md +50 -15
- package/agent-assets/docs/concepts/delegated-mode.md +52 -13
- package/agent-assets/docs/concepts/memory-model.md +72 -32
- package/agent-assets/docs/concepts/observations.md +49 -11
- package/agent-assets/docs/concepts/process-keys.md +56 -22
- package/agent-assets/docs/concepts/routines.md +60 -33
- package/agent-assets/docs/concepts/safety-and-execution.md +50 -21
- package/agent-assets/docs/concepts/safety-model.md +42 -34
- package/agent-assets/docs/concepts/skills.md +33 -17
- package/agent-assets/docs/features/integrations/browser-history.md +195 -0
- package/agent-assets/docs/features/integrations/calendar.md +39 -29
- package/agent-assets/docs/features/integrations/git.md +18 -7
- package/agent-assets/docs/features/integrations/github.md +84 -33
- package/agent-assets/docs/features/integrations/mail.md +59 -16
- package/agent-assets/docs/features/integrations/notion.md +18 -6
- package/agent-assets/docs/features/integrations/obsidian.md +28 -5
- package/agent-assets/docs/features/lifestyle/git.md +42 -38
- package/agent-assets/docs/features/lifestyle/reading.md +50 -22
- package/agent-assets/docs/features/lifestyle/receipts.md +51 -21
- package/agent-assets/docs/features/lifestyle/travel-bookings.md +76 -14
- package/agent-assets/docs/features/memory-files/agent-journal.md +111 -50
- package/agent-assets/docs/features/memory-files/projects.md +71 -17
- package/agent-assets/docs/features/memory-files/roadmap.md +50 -10
- package/agent-assets/docs/features/memory-files/schedule.md +113 -70
- package/agent-assets/docs/features/memory-files/today.md +46 -21
- package/agent-assets/docs/features/memory-files/user-profile.md +63 -33
- package/agent-assets/docs/features/messaging/bang-commands.md +113 -36
- package/agent-assets/docs/features/messaging/dashboard-chat.md +43 -21
- package/agent-assets/docs/features/messaging/discord.md +35 -4
- package/agent-assets/docs/features/messaging/overview.md +37 -19
- package/agent-assets/docs/features/messaging/pairing-and-magic-phrase.md +94 -27
- package/agent-assets/docs/features/messaging/slack.md +67 -14
- package/agent-assets/docs/features/messaging/telegram.md +18 -5
- package/agent-assets/docs/features/messaging/whatsapp.md +71 -17
- package/agent-assets/docs/features/operations/activity-and-conversations.md +44 -15
- package/agent-assets/docs/features/operations/approvals.md +48 -16
- package/agent-assets/docs/features/operations/backend-routing.md +68 -16
- package/agent-assets/docs/features/operations/cost-tracking.md +84 -17
- package/agent-assets/docs/features/operations/managed-chromium.md +221 -0
- package/agent-assets/docs/features/operations/notifications.md +52 -11
- package/agent-assets/docs/features/operations/quiet-hours.md +63 -40
- package/agent-assets/docs/features/operations/schedule-approaching.md +54 -24
- package/agent-assets/docs/features/routines/custom-routines.md +88 -20
- package/agent-assets/docs/features/routines/evening-review.md +74 -21
- package/agent-assets/docs/features/routines/hourly-check.md +149 -29
- package/agent-assets/docs/features/routines/morning-routine.md +53 -35
- package/agent-assets/docs/features/routines/weekly-review.md +40 -21
- package/agent-assets/docs/features/wiki/commands.md +26 -16
- package/agent-assets/docs/features/wiki/cost-and-approval.md +240 -0
- package/agent-assets/docs/features/wiki/dashboard.md +255 -0
- package/agent-assets/docs/features/wiki/overview.md +68 -10
- package/agent-assets/docs/features/wiki/search.md +248 -0
- package/agent-assets/docs/features/wiki/workspaces.md +254 -0
- package/agent-assets/docs/getting-started/01-what-is-this.md +34 -23
- package/agent-assets/docs/getting-started/02-first-steps.md +13 -8
- package/agent-assets/docs/getting-started/03-what-can-this-do.md +25 -14
- package/agent-assets/docs/getting-started/04-first-day.md +38 -20
- package/agent-assets/docs/glossary.md +235 -24
- package/agent-assets/docs/guides/add-a-custom-routine.md +63 -23
- package/agent-assets/docs/guides/backup-and-restore.md +80 -16
- package/agent-assets/docs/guides/budget-and-cost-for-wiki.md +56 -25
- package/agent-assets/docs/guides/build-your-wiki.md +22 -9
- package/agent-assets/docs/guides/change-which-model-handles-x.md +64 -10
- package/agent-assets/docs/guides/connect-a-new-mail-account.md +64 -15
- package/agent-assets/docs/guides/explore-with-trace-and-connect.md +28 -11
- package/agent-assets/docs/guides/import-knowledge-file.md +50 -40
- package/agent-assets/docs/guides/install-and-run.md +48 -19
- package/agent-assets/docs/guides/maintain-wiki-health.md +35 -10
- package/agent-assets/docs/guides/migrate-machines.md +74 -18
- package/agent-assets/docs/guides/multiple-wikis-for-multiple-domains.md +111 -60
- package/agent-assets/docs/guides/pause-the-agent.md +65 -24
- package/agent-assets/docs/guides/reinstall-cleanly.md +88 -18
- package/agent-assets/docs/guides/setup-wizard.md +113 -54
- package/agent-assets/docs/guides/switch-default-backend.md +62 -16
- package/agent-assets/docs/guides/use-an-existing-obsidian-vault.md +26 -10
- package/agent-assets/docs/reference/api.md +143 -32
- package/agent-assets/docs/reference/cli-commands.md +38 -17
- package/agent-assets/docs/reference/config.md +224 -49
- package/agent-assets/docs/reference/disallowed-tools.md +29 -10
- package/agent-assets/docs/reference/keyboard-shortcuts.md +34 -10
- package/agent-assets/docs/reference/knowledge-layout.md +620 -0
- package/agent-assets/docs/reference/process-keys.md +61 -5
- package/agent-assets/docs/reference/skills.md +38 -12
- package/agent-assets/docs/troubleshooting/auth-failed.md +48 -19
- package/agent-assets/docs/troubleshooting/dashboard-shows-degraded.md +90 -28
- package/agent-assets/docs/troubleshooting/fallback-keeps-firing.md +86 -22
- package/agent-assets/docs/troubleshooting/messaging-not-pairing.md +68 -24
- package/agent-assets/docs/troubleshooting/morning-routine-didnt-run.md +80 -20
- package/agent-assets/docs/troubleshooting/observation-not-detected.md +73 -21
- package/agent-assets/docs/troubleshooting/quota-exhausted.md +29 -5
- package/agent-assets/docs/troubleshooting/wiki-ingest-full-blocked.md +126 -54
- package/agent-assets/docs/troubleshooting/wiki-write-failed.md +29 -12
- package/agent-assets/optimizer-skills/drift-analysis/SKILL.md +1 -1
- package/agent-assets/optimizer-skills/knowledge-map/SKILL.md +1 -1
- package/agent-assets/optimizer-skills/skill-curation/SKILL.md +1 -1
- package/agent-assets/sandbox/linux/aitne-chromium.apparmor +91 -0
- package/agent-assets/sandbox/macos/aitne-chromium.sb +156 -0
- package/agent-assets/skills/agent-actions/SKILL.md +2 -2
- package/agent-assets/skills/agent-create/SKILL.md +149 -0
- package/agent-assets/skills/attach/SKILL.md +2 -2
- package/agent-assets/skills/browser-history/SKILL.md +198 -0
- package/agent-assets/skills/browser-history-respond/SKILL.md +106 -0
- package/agent-assets/skills/browser-task/SKILL.md +169 -0
- package/agent-assets/skills/context/SKILL.md +12 -12
- package/agent-assets/skills/context/curation.json +2 -2
- package/agent-assets/skills/context/references/api.md +43 -31
- package/agent-assets/skills/context/references/required-frontmatter.md +3 -3
- package/agent-assets/skills/context/references/snapshot-files.md +6 -6
- package/agent-assets/skills/context/seeds/file-responsibilities.seed.json +3 -3
- package/agent-assets/skills/docs-search/SKILL.md +4 -3
- package/agent-assets/skills/external-services/SKILL.delegated.claude.md +11 -21
- package/agent-assets/skills/external-services/SKILL.delegated.codex.md +11 -21
- package/agent-assets/skills/external-services/SKILL.delegated.gemini.md +11 -21
- package/agent-assets/skills/external-services/SKILL.md +3 -3
- package/agent-assets/skills/external-services/SKILL.native.claude.md +5 -5
- package/agent-assets/skills/external-services/SKILL.native.codex.md +7 -7
- package/agent-assets/skills/external-services/SKILL.native.gemini.md +4 -4
- package/agent-assets/skills/external-services/references/calendar-apple.md +2 -2
- package/agent-assets/skills/external-services/references/calendar-outlook.md +1 -1
- package/agent-assets/skills/external-services/references/obsidian.md +2 -2
- package/agent-assets/skills/gmail-lifestyle/SKILL.md +9 -82
- package/agent-assets/skills/mail/SKILL.delegated.claude.md +14 -5
- package/agent-assets/skills/mail/SKILL.delegated.codex.md +8 -4
- package/agent-assets/skills/mail/SKILL.delegated.gemini.md +8 -4
- package/agent-assets/skills/mail/references/api.md +4 -2
- package/agent-assets/skills/mail/references/providers.md +1 -1
- package/agent-assets/skills/managed-tasks/SKILL.md +9 -9
- package/agent-assets/skills/managed-tasks/references/errors.md +9 -6
- package/agent-assets/skills/managed-tasks/references/recurrence-rule.md +1 -1
- package/agent-assets/skills/management-policy/SKILL.md +32 -31
- package/agent-assets/skills/management-policy/curation.json +1 -1
- package/agent-assets/skills/management-policy/references/policy-workflow.md +9 -9
- package/agent-assets/skills/management-policy/seeds/policy-file-shape.seed.json +1 -1
- package/agent-assets/skills/notify/SKILL.md +4 -4
- package/agent-assets/skills/notify/references/priority.md +9 -4
- package/agent-assets/skills/notion/SKILL.delegated.claude.md +1 -1
- package/agent-assets/skills/notion/SKILL.delegated.codex.md +1 -1
- package/agent-assets/skills/notion/SKILL.delegated.gemini.md +1 -1
- package/agent-assets/skills/notion/SKILL.native.claude.md +10 -6
- package/agent-assets/skills/notion/SKILL.native.codex.md +9 -4
- package/agent-assets/skills/notion/SKILL.native.gemini.md +9 -4
- package/agent-assets/skills/observations/SKILL.md +24 -8
- package/agent-assets/skills/project-doc/SKILL.md +1 -1
- package/agent-assets/skills/project-doc/curation.json +3 -3
- package/agent-assets/skills/project-doc/seeds/project-shape.seed.json +7 -4
- package/agent-assets/skills/project-doc/seeds/slug-grammar.seed.json +3 -3
- package/agent-assets/skills/reading/SKILL.md +10 -0
- package/agent-assets/skills/reading/references/reading-taste.md +2 -2
- package/agent-assets/skills/roadmap/SKILL.md +5 -5
- package/agent-assets/skills/roadmap/curation.json +1 -1
- package/agent-assets/skills/roadmap/references/api.md +7 -7
- package/agent-assets/skills/roadmap/references/cross-check.md +15 -8
- package/agent-assets/skills/roadmap/references/migration.md +4 -4
- package/agent-assets/skills/roadmap/seeds/entry-types.seed.json +1 -1
- package/agent-assets/skills/schedule/SKILL.md +42 -34
- package/agent-assets/skills/schedule/references/batch.md +2 -2
- package/agent-assets/skills/schedule/references/errors.md +7 -4
- package/agent-assets/skills/schedule/references/model-selection.md +3 -3
- package/agent-assets/skills/schedule/references/recurrence-rule.md +1 -1
- package/agent-assets/skills/scheduled-managed-task/SKILL.md +46 -36
- package/agent-assets/skills/today/SKILL.md +9 -9
- package/agent-assets/skills/today/curation.json +3 -3
- package/agent-assets/skills/today/references/agent-plan-lifecycle.md +6 -5
- package/agent-assets/skills/today/seeds/section-shape.seed.json +1 -1
- package/agent-assets/skills/user-interview/SKILL.md +12 -9
- package/agent-assets/skills/user-interview/references/op-briefing.md +2 -2
- package/agent-assets/skills/user-interview/references/sweep-and-fallback.md +8 -0
- package/agent-assets/skills/user-profile/SKILL.md +17 -17
- package/agent-assets/skills/user-profile/curation.json +2 -2
- package/agent-assets/skills/user-profile/references/character-preferences.md +2 -2
- package/agent-assets/skills/user-profile/seeds/routing-table.seed.json +8 -8
- package/agent-assets/skills/user-profile/seeds/topic-files.seed.json +6 -6
- package/agent-assets/skills/wiki/wiki-compile/SKILL.md +4 -4
- package/agent-assets/system-prompts/routine-fetch-window.md +22 -12
- package/agent-assets/task-flows/_partials/calendar-acquire.google_calendar.md +4 -2
- package/agent-assets/task-flows/_partials/calendar-acquire.outlook_calendar.md +4 -2
- package/agent-assets/task-flows/_partials/capture-user-info.md +2 -2
- package/agent-assets/task-flows/_partials/dm-intent.long-horizon.md +1 -1
- package/agent-assets/task-flows/_partials/dm-intent.project.md +9 -9
- package/agent-assets/task-flows/_partials/mail-acquire.outlook_mail.md +3 -2
- package/agent-assets/task-flows/_partials/notion-acquire.notion.md +10 -5
- package/agent-assets/task-flows/browser_task.md +84 -0
- package/agent-assets/task-flows/github.assigned.md +1 -1
- package/agent-assets/task-flows/github.pull_request.review_requested.md +2 -2
- package/agent-assets/task-flows/github.workflow_run.failed.md +2 -2
- package/agent-assets/task-flows/knowledge.import.md +14 -14
- package/agent-assets/task-flows/message.received.dm.md +9 -4
- package/agent-assets/task-flows/message.received.dm_first.md +3 -3
- package/agent-assets/task-flows/routine.custom.md +3 -3
- package/agent-assets/task-flows/routine.evening_review.md +8 -8
- package/agent-assets/task-flows/routine.fetch_window.md +2 -2
- package/agent-assets/task-flows/routine.hourly_check.md +16 -12
- package/agent-assets/task-flows/routine.monthly_review.md +21 -21
- package/agent-assets/task-flows/routine.morning_routine_journal.md +119 -97
- package/agent-assets/task-flows/routine.morning_routine_today.md +43 -43
- package/agent-assets/task-flows/routine.research_cluster_update.md +35 -0
- package/agent-assets/task-flows/routine.research_dispatch.md +38 -0
- package/agent-assets/task-flows/routine.research_offer_dm.md +125 -0
- package/agent-assets/task-flows/routine.research_wiki_summary.md +53 -0
- package/agent-assets/task-flows/routine.roadmap_refresh.md +10 -10
- package/agent-assets/task-flows/routine.today_refresh.md +4 -4
- package/agent-assets/task-flows/routine.user_profile_sweep.md +10 -10
- package/agent-assets/task-flows/routine.weekly_review.md +93 -24
- package/agent-assets/task-flows/schedule.approaching.md +0 -1
- package/agent-assets/task-flows/scheduled.dm.md +5 -5
- package/agent-assets/task-flows/scheduled.task.md +4 -4
- package/agent-assets/task-flows/setup.initial.md +21 -21
- package/agent-assets/task-flows/setup.update.md +2 -2
- package/agent-assets/templates/README.md +27 -20
- package/agent-assets/templates/_index.md +42 -26
- package/agent-assets/templates/_manifest.json +34 -99
- package/agent-assets/templates/{user → identity}/_index.md +1 -1
- package/agent-assets/templates/{user → identity}/profile.md +2 -2
- package/agent-assets/templates/{dossiers → knowledge/dossiers}/_index.md +1 -1
- package/agent-assets/templates/{projects → plans/projects}/_active.base +1 -1
- package/agent-assets/templates/policies/_index.md +21 -0
- package/agent-assets/templates/{rules → policies}/journal-export.md +1 -1
- package/agent-assets/templates/{rules → policies}/journal-format.md +5 -5
- package/agent-assets/templates/{rules/policies → policies/management-captures}/_index.md +2 -2
- package/agent-assets/templates/{rules → policies}/management.md +3 -3
- package/agent-assets/templates/{rules → policies}/mcp.md +1 -1
- package/agent-assets/templates/{rules → policies}/redaction.md +1 -1
- package/agent-assets/templates/{routines → policies/routines}/_index.md +1 -1
- package/agent-assets/templates/{routines → policies/routines}/evening.md +2 -2
- package/agent-assets/templates/{routines → policies/routines}/hourly.md +1 -1
- package/agent-assets/templates/{routines → policies/routines}/monthly.md +2 -2
- package/bin/aitne.mjs +13 -4
- package/package.json +5 -4
- package/scripts/commands/doctor.mjs +14 -8
- package/scripts/commands/run-now.mjs +6 -21
- package/scripts/lib/ports.d.mts +27 -0
- package/scripts/lib/ports.mjs +36 -0
- package/scripts/lib/read-api-token.mjs +176 -0
- package/scripts/start.mjs +2 -1
- package/agent-assets/docs/features/lifestyle/travel-time.md +0 -58
- package/agent-assets/skills/gmail-lifestyle/references/travel-time-api.md +0 -59
- package/agent-assets/skills/schedule/references/recurring.md +0 -185
- package/agent-assets/templates/context-index.md +0 -42
- package/agent-assets/templates/rules/_index.md +0 -19
- /package/agent-assets/templates/{user → identity}/expertise.md +0 -0
- /package/agent-assets/templates/{user → identity}/goals.md +0 -0
- /package/agent-assets/templates/{user → identity}/people.md +0 -0
- /package/agent-assets/templates/{user → identity}/personal.md +0 -0
- /package/agent-assets/templates/{user → identity}/work.md +0 -0
- /package/agent-assets/templates/{agent/journal.md → journal/agent.md} +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/evening.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/hourly.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/monthly.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/morning.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/roadmap.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/weekly.md +0 -0
- /package/agent-assets/templates/{projects → plans/projects}/_index.md +0 -0
- /package/agent-assets/templates/{roadmap.md → plans/roadmap.md} +0 -0
- /package/agent-assets/templates/{routines → policies/routines}/morning.md +0 -0
- /package/agent-assets/templates/{routines → policies/routines}/weekly.md +0 -0
- /package/agent-assets/templates/{agent → state}/profile-questions.md +0 -0
- /package/agent-assets/templates/{today.md → state/today.md} +0 -0
|
@@ -10,13 +10,15 @@ aliases:
|
|
|
10
10
|
category: guides
|
|
11
11
|
summary: |
|
|
12
12
|
Run more than one wiki workspace inside the same daemon. Address
|
|
13
|
-
them from DMs with `@<workspace>`,
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
them from DMs with `@<workspace>`, create and configure additional
|
|
14
|
+
workspaces through the daemon API, and keep their file trees isolated
|
|
15
|
+
on disk.
|
|
16
|
+
section: guides
|
|
16
17
|
tags:
|
|
17
|
-
-
|
|
18
|
+
- guides
|
|
18
19
|
- wiki
|
|
19
|
-
-
|
|
20
|
+
- workspaces
|
|
21
|
+
- knowledge
|
|
20
22
|
status: stable
|
|
21
23
|
ask_examples:
|
|
22
24
|
- How do I run multiple wikis?
|
|
@@ -24,26 +26,49 @@ ask_examples:
|
|
|
24
26
|
- What does `@research` do before a wiki command?
|
|
25
27
|
locale: en-US
|
|
26
28
|
created: 2026-05-12
|
|
27
|
-
updated: 2026-05-
|
|
29
|
+
updated: 2026-05-28
|
|
28
30
|
keywords:
|
|
29
31
|
- multi-workspace
|
|
30
32
|
- wiki workspace
|
|
31
33
|
- default workspace
|
|
32
|
-
- @workspace token
|
|
34
|
+
- "@workspace token"
|
|
33
35
|
related:
|
|
34
36
|
- features/wiki/overview
|
|
37
|
+
- features/wiki/workspaces
|
|
35
38
|
- features/wiki/commands
|
|
36
39
|
- guides/build-your-wiki
|
|
37
40
|
- guides/use-an-existing-obsidian-vault
|
|
41
|
+
ui_anchors:
|
|
42
|
+
- /settings/wiki
|
|
43
|
+
api_endpoints:
|
|
44
|
+
- /api/wiki/workspaces
|
|
45
|
+
- /api/wiki/workspaces/probe
|
|
46
|
+
- /api/wiki/workspaces/:workspace
|
|
47
|
+
- /api/wiki/workspaces/:workspace/archive
|
|
48
|
+
process_keys:
|
|
49
|
+
- wiki.ingest_url
|
|
50
|
+
- wiki.compile
|
|
51
|
+
- wiki.ask
|
|
52
|
+
- wiki.lint
|
|
53
|
+
- wiki.trace
|
|
54
|
+
- wiki.connect
|
|
38
55
|
---
|
|
39
56
|
|
|
40
57
|
# Multiple Wikis for Multiple Domains
|
|
41
58
|
|
|
42
|
-
|
|
43
|
-
knowledge bases — say, a research vault, a parenting
|
|
44
|
-
ops runbook —
|
|
45
|
-
|
|
46
|
-
|
|
59
|
+
Aitne can run more than one wiki workspace inside the same daemon. If
|
|
60
|
+
you keep distinct knowledge bases — say, a research vault, a parenting
|
|
61
|
+
journal, and an ops runbook — each can be its own wiki workspace. The
|
|
62
|
+
DM agent routes commands per workspace; the file trees never overlap.
|
|
63
|
+
|
|
64
|
+
> **Where this lives today.** The multi-workspace machinery is real at
|
|
65
|
+
> the daemon, API, and DM layers: you address any workspace from a DM
|
|
66
|
+
> with an `@<workspace>` token, and each row carries its own per-
|
|
67
|
+
> workspace settings. The dashboard's `/settings/wiki` page, however,
|
|
68
|
+
> currently manages only the **one active workspace** — it has no
|
|
69
|
+
> workspace picker and no "Add Workspace" button. Additional
|
|
70
|
+
> workspaces are created and archived through the daemon API
|
|
71
|
+
> (`POST /api/wiki/workspaces`), described below.
|
|
47
72
|
|
|
48
73
|
## Why you might want this
|
|
49
74
|
|
|
@@ -52,9 +77,9 @@ trees never overlap.
|
|
|
52
77
|
separate `_index.md` and `20_wiki/` trees so the agent never has to
|
|
53
78
|
filter across domains.
|
|
54
79
|
- **Different audiences.** A workspace synced via Obsidian to a shared
|
|
55
|
-
iCloud folder for a team is governed differently from
|
|
56
|
-
workspace
|
|
57
|
-
asymmetry.
|
|
80
|
+
iCloud folder for a team is governed differently from the daemon's
|
|
81
|
+
internal workspace under its data directory. Per-workspace settings
|
|
82
|
+
handle the asymmetry.
|
|
58
83
|
- **Different cadences.** A "current project" wiki gets multiple
|
|
59
84
|
ingests per day; a long-term commonplace book may compile weekly.
|
|
60
85
|
Per-workspace dispatch / cost / approval thresholds let you tune
|
|
@@ -62,21 +87,35 @@ trees never overlap.
|
|
|
62
87
|
|
|
63
88
|
## Creating a second workspace
|
|
64
89
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
90
|
+
The first workspace — the one named `default` — can be **internal**
|
|
91
|
+
(managed by the daemon under its own data directory at
|
|
92
|
+
`<contextDir>/knowledge/wiki/`) or **external** (an existing folder you
|
|
93
|
+
own). You pick that during initial setup on `/settings/wiki`.
|
|
94
|
+
|
|
95
|
+
Every *additional* workspace must be **external** — it points at a
|
|
96
|
+
folder on disk (an Obsidian vault, an iCloud-synced directory, a git
|
|
97
|
+
working copy). Only `default` is internal. Create a second workspace by
|
|
98
|
+
POSTing to the daemon API:
|
|
99
|
+
|
|
100
|
+
curl -X POST http://localhost:8321/api/wiki/workspaces \
|
|
101
|
+
-H 'content-type: application/json' \
|
|
102
|
+
-d '{"kind":"external","name":"research","rootPath":"/Users/you/vaults/research"}'
|
|
103
|
+
|
|
104
|
+
- **`name`** — unique, 1–64 chars matching `[A-Za-z0-9][A-Za-z0-9._-]*`
|
|
105
|
+
(letters, digits, `.`, `_`, `-`). This is what you address from DMs.
|
|
106
|
+
- **`rootPath`** — required for external workspaces. The daemon
|
|
107
|
+
validates it before creating the row: it refuses to nest a wiki
|
|
108
|
+
inside your primary vault, the data directory, or another active wiki
|
|
109
|
+
(see [Path collision rules](#path-collision-rules-recap)). A failed
|
|
110
|
+
validation returns a `4xx` with the collision reason — fix the path
|
|
111
|
+
and retry.
|
|
112
|
+
- **`language`** (optional) — defaults to the daemon's wiki language.
|
|
113
|
+
|
|
114
|
+
Use `POST /api/wiki/workspaces/probe` with `{ "rootPath": "…" }` first
|
|
115
|
+
if you want the read-only collision diagnostics before committing the
|
|
116
|
+
row. On success the vault skeleton (`00_inbox/`, `10_raw/`, `20_wiki/`,
|
|
117
|
+
`30_outputs/`, `90_meta/`) is seeded into the folder and the workspace
|
|
118
|
+
joins the active set.
|
|
80
119
|
|
|
81
120
|
## Addressing a workspace from DMs
|
|
82
121
|
|
|
@@ -122,17 +161,23 @@ you which workspace `!ask` (with no `@`) will route to.
|
|
|
122
161
|
|
|
123
162
|
## Configuring each workspace independently
|
|
124
163
|
|
|
125
|
-
|
|
126
|
-
more than one. Each workspace's panel carries its own:
|
|
164
|
+
Each workspace row carries its own settings:
|
|
127
165
|
|
|
128
166
|
- language (`en`, `ja`, …)
|
|
129
167
|
- dispatch mode (parallel / serial) and concurrency cap
|
|
130
168
|
- write strategy (`fs` / `cli` / `auto`) — external mode only
|
|
131
169
|
- full-compile approval threshold (USD)
|
|
132
170
|
- git pre-compile auto-commit toggle (external git vaults only)
|
|
133
|
-
- bridge feature gate + measurement mode + min confidence
|
|
171
|
+
- bridge feature gate + measurement mode + min confidence
|
|
134
172
|
- DM-agent bridge write toggle
|
|
135
173
|
|
|
174
|
+
The dashboard's `/settings/wiki` page edits these for the single active
|
|
175
|
+
workspace it surfaces. For any other workspace, PATCH the row directly:
|
|
176
|
+
|
|
177
|
+
curl -X PATCH http://localhost:8321/api/wiki/workspaces/research \
|
|
178
|
+
-H 'content-type: application/json' \
|
|
179
|
+
-d '{"dispatchMode":"serial","fullCompileApprovalThresholdUsd":2.0}'
|
|
180
|
+
|
|
136
181
|
`POST /api/backends/apply-defaults` re-seeds the per-process backend /
|
|
137
182
|
model / budget rows but leaves the per-workspace columns alone — those
|
|
138
183
|
are operator preferences, not install defaults.
|
|
@@ -146,34 +191,38 @@ bound to each key applies across all workspaces — they share the
|
|
|
146
191
|
binding because the daemon resolves the row by process key, not by
|
|
147
192
|
workspace.
|
|
148
193
|
|
|
149
|
-
|
|
150
|
-
|
|
194
|
+
There is no per-workspace model binding today. If you want a research
|
|
195
|
+
vault on Opus 4.8 and a parenting journal on Haiku 4.5 at the same
|
|
196
|
+
time, you cannot — the `wiki.ask` row resolves to one backend/model for
|
|
197
|
+
every workspace. The pragmatic shape is:
|
|
151
198
|
|
|
152
|
-
- Bind `wiki.ask` to medium-tier Sonnet
|
|
153
|
-
|
|
154
|
-
-
|
|
155
|
-
|
|
199
|
+
- Bind `wiki.ask` to its medium-tier default (Sonnet 4.6), a sensible
|
|
200
|
+
cross-workspace balance of cost and quality.
|
|
201
|
+
- Keep cost differences per workspace through each workspace's own
|
|
202
|
+
full-compile approval threshold (see above).
|
|
156
203
|
|
|
157
|
-
|
|
158
|
-
shape
|
|
159
|
-
|
|
204
|
+
Per-workspace model bindings are a possible future enhancement; the
|
|
205
|
+
present shape keeps `/settings/models` legible without a workspace
|
|
206
|
+
dimension.
|
|
160
207
|
|
|
161
208
|
## Archiving a workspace
|
|
162
209
|
|
|
163
|
-
|
|
164
|
-
|
|
210
|
+
`POST /api/wiki/workspaces/<name>/archive` flips a workspace's `active`
|
|
211
|
+
column to `0`. (The dashboard exposes a Stop/Remove control for the one
|
|
212
|
+
active workspace it surfaces; other workspaces are archived via the API
|
|
213
|
+
call.) Archived workspaces:
|
|
165
214
|
|
|
166
215
|
- disappear from `!wiki` listings,
|
|
167
|
-
- reject
|
|
216
|
+
- reject daemon API requests with `wiki_not_enabled`,
|
|
168
217
|
- drop out of `/search` and `/index`,
|
|
169
218
|
- keep their files on disk (you can re-activate later with no data
|
|
170
219
|
loss),
|
|
171
220
|
- have their `fts_wiki` rows cleared eagerly so a same-id re-enable
|
|
172
221
|
re-indexes from disk.
|
|
173
222
|
|
|
174
|
-
`DELETE /wiki/workspaces
|
|
175
|
-
contents are preserved — the daemon never deletes vault
|
|
176
|
-
this when you are sure you will not re-enable.
|
|
223
|
+
`DELETE /api/wiki/workspaces/<name>` removes the row entirely
|
|
224
|
+
(filesystem contents are preserved — the daemon never deletes vault
|
|
225
|
+
content). Use this when you are sure you will not re-enable.
|
|
177
226
|
|
|
178
227
|
## Path collision rules (recap)
|
|
179
228
|
|
|
@@ -181,21 +230,23 @@ Two active wiki workspaces cannot point at overlapping paths. Neither
|
|
|
181
230
|
can overlap:
|
|
182
231
|
|
|
183
232
|
- `primaryVaultPath` — your reactive-memory vault (`knowledge/`,
|
|
184
|
-
`today.md`, etc.).
|
|
233
|
+
`state/today.md`, etc.).
|
|
185
234
|
- `externalObsidianVaultPath` — your owner-facing Obsidian vault.
|
|
186
235
|
- `$PA_DATA_DIR` — the daemon's data home.
|
|
187
236
|
|
|
188
|
-
The
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
237
|
+
The pre-create validation (`POST /api/wiki/workspaces` and the
|
|
238
|
+
`/probe` endpoint) enforces this, and PATCH cannot widen past it. If
|
|
239
|
+
you want to migrate a workspace to a new disk location, archive the old
|
|
240
|
+
row, create a fresh row pointing at the new path, then manually copy
|
|
241
|
+
the vault contents.
|
|
192
242
|
|
|
193
243
|
## See also
|
|
194
244
|
|
|
195
|
-
-
|
|
196
|
-
|
|
197
|
-
-
|
|
198
|
-
|
|
199
|
-
-
|
|
200
|
-
|
|
201
|
-
-
|
|
245
|
+
- **features/wiki/overview** — what the wiki feature is and the four
|
|
246
|
+
vault layers.
|
|
247
|
+
- **features/wiki/workspaces** — workspace lifecycle, internal vs
|
|
248
|
+
external, and per-workspace settings in depth.
|
|
249
|
+
- **features/wiki/commands** — full bang-command reference, including
|
|
250
|
+
the `@<workspace>` token.
|
|
251
|
+
- **guides/use-an-existing-obsidian-vault** — pointing a workspace at a
|
|
252
|
+
folder you already own.
|
|
@@ -8,31 +8,41 @@ aliases:
|
|
|
8
8
|
- disable routines
|
|
9
9
|
category: guides
|
|
10
10
|
summary: |
|
|
11
|
-
Stop the agent from acting
|
|
12
|
-
|
|
11
|
+
Stop the agent from acting without uninstalling it — DM !stop to pause
|
|
12
|
+
every routine, or use dashboard toggles and quiet hours for finer control.
|
|
13
13
|
section: pause-the-agent
|
|
14
14
|
tags:
|
|
15
|
-
-
|
|
15
|
+
- guides
|
|
16
16
|
- operations
|
|
17
17
|
- messaging
|
|
18
|
+
- autonomous
|
|
19
|
+
- scheduler
|
|
18
20
|
status: stable
|
|
19
21
|
ask_examples:
|
|
20
22
|
- How do I pause the agent without uninstalling?
|
|
21
23
|
- Can I disable everything for a week?
|
|
22
24
|
locale: en-US
|
|
23
25
|
created: 2026-04-25
|
|
24
|
-
updated: 2026-
|
|
26
|
+
updated: 2026-05-28
|
|
25
27
|
keywords:
|
|
26
28
|
- pause agent
|
|
27
29
|
- stop agent
|
|
28
|
-
- !stop
|
|
29
|
-
- !start
|
|
30
|
+
- "!stop"
|
|
31
|
+
- "!start"
|
|
30
32
|
- disable autonomous
|
|
31
33
|
- go silent
|
|
32
34
|
related:
|
|
33
35
|
- features/operations/quiet-hours
|
|
34
36
|
- features/messaging/bang-commands
|
|
35
37
|
- concepts/routines
|
|
38
|
+
ui_anchors:
|
|
39
|
+
- /settings/schedule
|
|
40
|
+
- /settings/routines
|
|
41
|
+
config_keys:
|
|
42
|
+
- hourlyCheckEnabled
|
|
43
|
+
- monthlyReviewEnabled
|
|
44
|
+
- quietHoursStart
|
|
45
|
+
- quietHoursEnd
|
|
36
46
|
---
|
|
37
47
|
|
|
38
48
|
# Pause the Agent
|
|
@@ -46,32 +56,63 @@ losing your install.
|
|
|
46
56
|
|
|
47
57
|
- Daemon running.
|
|
48
58
|
|
|
49
|
-
##
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
## The fastest pause: `!stop`
|
|
60
|
+
|
|
61
|
+
DM `!stop` to the agent on any paired messaging app. This is the
|
|
62
|
+
recommended way to go silent and the only one you need for most cases:
|
|
63
|
+
|
|
64
|
+
- It pauses **every** cron-driven routine — morning, evening, weekly,
|
|
65
|
+
monthly, and the hourly check — not just one of them.
|
|
66
|
+
- Non-command DMs are declined with a paused notice (no LLM cost)
|
|
67
|
+
until you resume.
|
|
68
|
+
- The paused state is persisted, so a daemon restart does **not**
|
|
69
|
+
silently resume autonomous work.
|
|
70
|
+
- In-flight runs are not aborted; the pause takes effect from the next
|
|
71
|
+
scheduled tick.
|
|
72
|
+
|
|
73
|
+
Resume with `!start` whenever you want the agent active again. See
|
|
74
|
+
[Bang Commands](../features/messaging/bang-commands.md).
|
|
75
|
+
|
|
76
|
+
## Finer-grained control from the dashboard
|
|
77
|
+
|
|
78
|
+
If you want to mute specific behaviour rather than pause everything, use
|
|
79
|
+
`/settings/schedule`:
|
|
80
|
+
|
|
81
|
+
1. **Disable the hourly check** — toggle `hourlyCheckEnabled` off. This
|
|
82
|
+
leaves the morning, evening, weekly, and monthly routines running.
|
|
83
|
+
2. **Disable the monthly review** — toggle `monthlyReviewEnabled` off
|
|
84
|
+
(it ships off by default).
|
|
85
|
+
3. **Silence notifications without pausing work** — set an extended
|
|
86
|
+
quiet hours window: e.g. `quietHoursStart: "00:00"`,
|
|
87
|
+
`quietHoursEnd: "23:59"`. Both fields take an `HH:MM` string.
|
|
88
|
+
Routines still run; they just don't notify you.
|
|
89
|
+
|
|
90
|
+
Morning (fires at the day boundary, default 04:00), evening (18:00),
|
|
91
|
+
and weekly (Fri 18:00) reviews have no per-routine enable toggle in the
|
|
92
|
+
dashboard — to stop them, use `!stop` above. You can still edit each
|
|
93
|
+
routine's instructions on `/settings/routines`, but that page does not
|
|
94
|
+
turn them on or off.
|
|
95
|
+
|
|
96
|
+
## Last resort: stop the daemon
|
|
97
|
+
|
|
98
|
+
`aitne stop` shuts the daemon down entirely (graceful SIGTERM, then
|
|
99
|
+
SIGKILL after 10 seconds). Nothing runs — no routines, no messaging, no
|
|
100
|
+
dashboard. Use this only when you want the agent fully offline; for a
|
|
101
|
+
temporary pause that survives across days, prefer `!stop`. Restart with
|
|
102
|
+
`aitne start`.
|
|
65
103
|
|
|
66
104
|
## Verification
|
|
67
105
|
|
|
68
106
|
- The Activity feed shows no new routine fires.
|
|
69
107
|
- No notifications arrive.
|
|
108
|
+
- A DM to a paused agent is declined with a "paused" notice.
|
|
70
109
|
|
|
71
110
|
## If It Fails
|
|
72
111
|
|
|
73
|
-
- A routine
|
|
74
|
-
|
|
112
|
+
- A routine still fires after `!stop`: confirm the pause registered by
|
|
113
|
+
checking `!help` or the dashboard banner; re-send `!stop`.
|
|
114
|
+
- A toggle on `/settings/schedule` did not take effect: confirm it
|
|
115
|
+
saved — the dashboard's "Save" button must be clicked.
|
|
75
116
|
|
|
76
117
|
## Related
|
|
77
118
|
|
|
@@ -11,21 +11,26 @@ aliases:
|
|
|
11
11
|
- fresh install
|
|
12
12
|
category: guides
|
|
13
13
|
summary: |
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
Last-resort escape hatch — stop the daemon, delete the database, re-launch.
|
|
15
|
+
Almost never needed; Aitne upgrades via forward-only schema migrations
|
|
16
|
+
applied automatically at boot. Use this only when migrations fail or the
|
|
17
|
+
DB is genuinely corrupt.
|
|
17
18
|
section: reinstall-cleanly
|
|
18
19
|
tags:
|
|
19
20
|
- guide
|
|
20
21
|
- operations
|
|
21
22
|
- reinstall
|
|
23
|
+
- migration
|
|
24
|
+
- backup
|
|
22
25
|
status: stable
|
|
23
26
|
ask_examples:
|
|
24
27
|
- How do I reinstall Aitne?
|
|
28
|
+
- My DB seems corrupt — how do I start over?
|
|
25
29
|
- What does a clean reinstall delete?
|
|
30
|
+
- Do I need to wipe the DB to upgrade Aitne?
|
|
26
31
|
locale: en-US
|
|
27
32
|
created: 2026-04-25
|
|
28
|
-
updated: 2026-
|
|
33
|
+
updated: 2026-05-28
|
|
29
34
|
keywords:
|
|
30
35
|
- reinstall
|
|
31
36
|
- factory reset
|
|
@@ -33,35 +38,100 @@ keywords:
|
|
|
33
38
|
- fresh install
|
|
34
39
|
- PA_DATA_DIR
|
|
35
40
|
- aitne uninstall
|
|
41
|
+
- schema migration
|
|
42
|
+
- corrupt database
|
|
43
|
+
- clean-context
|
|
36
44
|
related:
|
|
37
45
|
- guides/backup-and-restore
|
|
46
|
+
- guides/migrate-machines
|
|
47
|
+
- guides/pause-the-agent
|
|
48
|
+
- glossary
|
|
38
49
|
---
|
|
39
50
|
|
|
40
51
|
# Reinstall Cleanly
|
|
41
52
|
|
|
42
|
-
##
|
|
53
|
+
## You Almost Never Need This
|
|
43
54
|
|
|
44
|
-
|
|
55
|
+
Aitne upgrades through **forward-only schema migrations** applied at
|
|
56
|
+
daemon boot — your DB and context files survive every
|
|
57
|
+
`npm install -g @aitne-sh/aitne@latest` upgrade. If you're reading this
|
|
58
|
+
because you just upgraded, **don't run the steps below**; restart the
|
|
59
|
+
daemon and let the migration runner do its job.
|
|
45
60
|
|
|
46
|
-
|
|
61
|
+
This guide is the last-resort escape hatch for:
|
|
47
62
|
|
|
48
|
-
-
|
|
63
|
+
- The DB is genuinely corrupt and `aitne start` fails with a SQLite
|
|
64
|
+
error you can't recover.
|
|
65
|
+
- You want to start over with a fresh setup wizard pass for an
|
|
66
|
+
unrelated reason (handing the install to someone else, debugging a
|
|
67
|
+
reproducible setup bug).
|
|
49
68
|
|
|
50
|
-
|
|
69
|
+
For everything else, prefer:
|
|
51
70
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
also clears the `-shm`/`-wal` companions left behind by WAL mode).
|
|
57
|
-
4. `aitne start`.
|
|
58
|
-
5. Walk the setup wizard again.
|
|
71
|
+
- **Moving to a new machine** → [Migrate Machines](migrate-machines.md).
|
|
72
|
+
- **Recovering from accidental edits** →
|
|
73
|
+
[Backup and Restore](backup-and-restore.md).
|
|
74
|
+
- **Just pausing the agent** → [Pause the Agent](pause-the-agent.md).
|
|
59
75
|
|
|
60
|
-
##
|
|
76
|
+
## Pick the Right Reset
|
|
77
|
+
|
|
78
|
+
This guide wipes **only the SQLite database** (sessions, actions,
|
|
79
|
+
observations) and keeps your context Markdown. Three other resets exist
|
|
80
|
+
with different scopes — make sure you're running the one you mean:
|
|
81
|
+
|
|
82
|
+
| You want to… | Run | Wipes |
|
|
83
|
+
|---|---|---|
|
|
84
|
+
| Reset the DB, keep memory | this guide (`rm …/personal_agent.db*`) | SQLite only |
|
|
85
|
+
| Reset memory, keep the DB | `aitne restart --clean-context` | `context/` + `md_file_snapshots` (tarball backup first; type `CLEAN` to confirm) |
|
|
86
|
+
| Remove Aitne entirely | `aitne uninstall --wipe-data` | the whole `~/.personal-agent` data dir |
|
|
87
|
+
| Keep all data, just remove the binary | `aitne uninstall --keep-data` | nothing under the data dir |
|
|
88
|
+
|
|
89
|
+
## Before You Wipe
|
|
90
|
+
|
|
91
|
+
1. **Read the daemon log** (`aitne logs -n 200`) and copy the failing
|
|
92
|
+
line. If it's a migration error, the fix is usually upstream — file
|
|
93
|
+
an issue rather than wiping the DB and losing your history.
|
|
94
|
+
2. **Back up context.**
|
|
95
|
+
```bash
|
|
96
|
+
cp -R ~/.personal-agent/context backup/
|
|
97
|
+
```
|
|
98
|
+
Context Markdown is what makes the agent know who you are; the DB is
|
|
99
|
+
recoverable, context is not.
|
|
100
|
+
3. **Back up the DB** if there's any chance you'll want to recover it
|
|
101
|
+
later:
|
|
102
|
+
```bash
|
|
103
|
+
cp ~/.personal-agent/data/personal_agent.db backup/
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## The Reset
|
|
107
|
+
|
|
108
|
+
1. Stop the daemon.
|
|
109
|
+
```bash
|
|
110
|
+
aitne stop
|
|
111
|
+
```
|
|
112
|
+
2. Delete the SQLite file and its WAL/SHM companions.
|
|
113
|
+
```bash
|
|
114
|
+
rm ~/.personal-agent/data/personal_agent.db*
|
|
115
|
+
```
|
|
116
|
+
(The `*` glob clears `-shm` / `-wal` left behind by WAL mode. The DB
|
|
117
|
+
lives inside `data/`, not at the top of the data dir.)
|
|
118
|
+
3. Start the daemon.
|
|
119
|
+
```bash
|
|
120
|
+
aitne start
|
|
121
|
+
```
|
|
122
|
+
4. Walk the setup wizard again. Your context files are still there;
|
|
123
|
+
the wizard re-pairs messaging, re-registers backends, and re-seeds
|
|
124
|
+
the schema from scratch.
|
|
125
|
+
|
|
126
|
+
## Verify
|
|
61
127
|
|
|
62
128
|
- A new `data/personal_agent.db` is created on launch.
|
|
63
|
-
-
|
|
129
|
+
- `aitne status` shows the daemon and dashboard both running.
|
|
130
|
+
- The setup wizard prompts you for credentials and pairing again.
|
|
64
131
|
|
|
65
132
|
## Related
|
|
66
133
|
|
|
67
134
|
- [Backup and Restore](backup-and-restore.md)
|
|
135
|
+
- [Migrate Machines](migrate-machines.md)
|
|
136
|
+
- [Schema Migration](../glossary.md#schema-migration) — the boring
|
|
137
|
+
alternative to this guide that runs automatically on every boot.
|