@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.
Files changed (276) hide show
  1. package/README.md +218 -161
  2. package/agent-assets/agent-profiles/_safety.md +3 -3
  3. package/agent-assets/agent-profiles/browser-task.md +108 -0
  4. package/agent-assets/agent-profiles/conversational.md +3 -3
  5. package/agent-assets/agent-profiles/profile-importer.md +2 -2
  6. package/agent-assets/agent-profiles/routine-fetch-window.md +30 -19
  7. package/agent-assets/agents/context-index-reconcile/agent.md +52 -0
  8. package/agent-assets/agents/evening-review/agent.md +53 -0
  9. package/agent-assets/agents/hourly-check/agent.md +62 -0
  10. package/agent-assets/agents/monthly-review/agent.md +55 -0
  11. package/agent-assets/agents/morning-routine/agent.md +78 -0
  12. package/agent-assets/agents/roadmap-maintenance/agent.md +52 -0
  13. package/agent-assets/agents/skill-curation/agent.md +52 -0
  14. package/agent-assets/agents/user-profile-sweep-evening/agent.md +48 -0
  15. package/agent-assets/agents/user-profile-sweep-morning/agent.md +53 -0
  16. package/agent-assets/agents/weekly-review/agent.md +51 -0
  17. package/agent-assets/docs/concepts/agent-day.md +13 -11
  18. package/agent-assets/docs/concepts/auth-health.md +47 -10
  19. package/agent-assets/docs/concepts/backends-and-tiers.md +66 -31
  20. package/agent-assets/docs/concepts/costs-and-quotas.md +50 -15
  21. package/agent-assets/docs/concepts/delegated-mode.md +52 -13
  22. package/agent-assets/docs/concepts/memory-model.md +72 -32
  23. package/agent-assets/docs/concepts/observations.md +49 -11
  24. package/agent-assets/docs/concepts/process-keys.md +56 -22
  25. package/agent-assets/docs/concepts/routines.md +60 -33
  26. package/agent-assets/docs/concepts/safety-and-execution.md +50 -21
  27. package/agent-assets/docs/concepts/safety-model.md +42 -34
  28. package/agent-assets/docs/concepts/skills.md +33 -17
  29. package/agent-assets/docs/features/integrations/browser-history.md +195 -0
  30. package/agent-assets/docs/features/integrations/calendar.md +39 -29
  31. package/agent-assets/docs/features/integrations/git.md +18 -7
  32. package/agent-assets/docs/features/integrations/github.md +84 -33
  33. package/agent-assets/docs/features/integrations/mail.md +59 -16
  34. package/agent-assets/docs/features/integrations/notion.md +18 -6
  35. package/agent-assets/docs/features/integrations/obsidian.md +28 -5
  36. package/agent-assets/docs/features/lifestyle/git.md +42 -38
  37. package/agent-assets/docs/features/lifestyle/reading.md +50 -22
  38. package/agent-assets/docs/features/lifestyle/receipts.md +51 -21
  39. package/agent-assets/docs/features/lifestyle/travel-bookings.md +76 -14
  40. package/agent-assets/docs/features/memory-files/agent-journal.md +111 -50
  41. package/agent-assets/docs/features/memory-files/projects.md +71 -17
  42. package/agent-assets/docs/features/memory-files/roadmap.md +50 -10
  43. package/agent-assets/docs/features/memory-files/schedule.md +113 -70
  44. package/agent-assets/docs/features/memory-files/today.md +46 -21
  45. package/agent-assets/docs/features/memory-files/user-profile.md +63 -33
  46. package/agent-assets/docs/features/messaging/bang-commands.md +113 -36
  47. package/agent-assets/docs/features/messaging/dashboard-chat.md +43 -21
  48. package/agent-assets/docs/features/messaging/discord.md +35 -4
  49. package/agent-assets/docs/features/messaging/overview.md +37 -19
  50. package/agent-assets/docs/features/messaging/pairing-and-magic-phrase.md +94 -27
  51. package/agent-assets/docs/features/messaging/slack.md +67 -14
  52. package/agent-assets/docs/features/messaging/telegram.md +18 -5
  53. package/agent-assets/docs/features/messaging/whatsapp.md +71 -17
  54. package/agent-assets/docs/features/operations/activity-and-conversations.md +44 -15
  55. package/agent-assets/docs/features/operations/approvals.md +48 -16
  56. package/agent-assets/docs/features/operations/backend-routing.md +68 -16
  57. package/agent-assets/docs/features/operations/cost-tracking.md +84 -17
  58. package/agent-assets/docs/features/operations/managed-chromium.md +221 -0
  59. package/agent-assets/docs/features/operations/notifications.md +52 -11
  60. package/agent-assets/docs/features/operations/quiet-hours.md +63 -40
  61. package/agent-assets/docs/features/operations/schedule-approaching.md +54 -24
  62. package/agent-assets/docs/features/routines/custom-routines.md +88 -20
  63. package/agent-assets/docs/features/routines/evening-review.md +74 -21
  64. package/agent-assets/docs/features/routines/hourly-check.md +149 -29
  65. package/agent-assets/docs/features/routines/morning-routine.md +53 -35
  66. package/agent-assets/docs/features/routines/weekly-review.md +40 -21
  67. package/agent-assets/docs/features/wiki/commands.md +26 -16
  68. package/agent-assets/docs/features/wiki/cost-and-approval.md +240 -0
  69. package/agent-assets/docs/features/wiki/dashboard.md +255 -0
  70. package/agent-assets/docs/features/wiki/overview.md +68 -10
  71. package/agent-assets/docs/features/wiki/search.md +248 -0
  72. package/agent-assets/docs/features/wiki/workspaces.md +254 -0
  73. package/agent-assets/docs/getting-started/01-what-is-this.md +34 -23
  74. package/agent-assets/docs/getting-started/02-first-steps.md +13 -8
  75. package/agent-assets/docs/getting-started/03-what-can-this-do.md +25 -14
  76. package/agent-assets/docs/getting-started/04-first-day.md +38 -20
  77. package/agent-assets/docs/glossary.md +235 -24
  78. package/agent-assets/docs/guides/add-a-custom-routine.md +63 -23
  79. package/agent-assets/docs/guides/backup-and-restore.md +80 -16
  80. package/agent-assets/docs/guides/budget-and-cost-for-wiki.md +56 -25
  81. package/agent-assets/docs/guides/build-your-wiki.md +22 -9
  82. package/agent-assets/docs/guides/change-which-model-handles-x.md +64 -10
  83. package/agent-assets/docs/guides/connect-a-new-mail-account.md +64 -15
  84. package/agent-assets/docs/guides/explore-with-trace-and-connect.md +28 -11
  85. package/agent-assets/docs/guides/import-knowledge-file.md +50 -40
  86. package/agent-assets/docs/guides/install-and-run.md +48 -19
  87. package/agent-assets/docs/guides/maintain-wiki-health.md +35 -10
  88. package/agent-assets/docs/guides/migrate-machines.md +74 -18
  89. package/agent-assets/docs/guides/multiple-wikis-for-multiple-domains.md +111 -60
  90. package/agent-assets/docs/guides/pause-the-agent.md +65 -24
  91. package/agent-assets/docs/guides/reinstall-cleanly.md +88 -18
  92. package/agent-assets/docs/guides/setup-wizard.md +113 -54
  93. package/agent-assets/docs/guides/switch-default-backend.md +62 -16
  94. package/agent-assets/docs/guides/use-an-existing-obsidian-vault.md +26 -10
  95. package/agent-assets/docs/reference/api.md +143 -32
  96. package/agent-assets/docs/reference/cli-commands.md +38 -17
  97. package/agent-assets/docs/reference/config.md +224 -49
  98. package/agent-assets/docs/reference/disallowed-tools.md +29 -10
  99. package/agent-assets/docs/reference/keyboard-shortcuts.md +34 -10
  100. package/agent-assets/docs/reference/knowledge-layout.md +620 -0
  101. package/agent-assets/docs/reference/process-keys.md +61 -5
  102. package/agent-assets/docs/reference/skills.md +38 -12
  103. package/agent-assets/docs/troubleshooting/auth-failed.md +48 -19
  104. package/agent-assets/docs/troubleshooting/dashboard-shows-degraded.md +90 -28
  105. package/agent-assets/docs/troubleshooting/fallback-keeps-firing.md +86 -22
  106. package/agent-assets/docs/troubleshooting/messaging-not-pairing.md +68 -24
  107. package/agent-assets/docs/troubleshooting/morning-routine-didnt-run.md +80 -20
  108. package/agent-assets/docs/troubleshooting/observation-not-detected.md +73 -21
  109. package/agent-assets/docs/troubleshooting/quota-exhausted.md +29 -5
  110. package/agent-assets/docs/troubleshooting/wiki-ingest-full-blocked.md +126 -54
  111. package/agent-assets/docs/troubleshooting/wiki-write-failed.md +29 -12
  112. package/agent-assets/optimizer-skills/drift-analysis/SKILL.md +1 -1
  113. package/agent-assets/optimizer-skills/knowledge-map/SKILL.md +1 -1
  114. package/agent-assets/optimizer-skills/skill-curation/SKILL.md +1 -1
  115. package/agent-assets/sandbox/linux/aitne-chromium.apparmor +91 -0
  116. package/agent-assets/sandbox/macos/aitne-chromium.sb +156 -0
  117. package/agent-assets/skills/agent-actions/SKILL.md +2 -2
  118. package/agent-assets/skills/agent-create/SKILL.md +149 -0
  119. package/agent-assets/skills/attach/SKILL.md +2 -2
  120. package/agent-assets/skills/browser-history/SKILL.md +198 -0
  121. package/agent-assets/skills/browser-history-respond/SKILL.md +106 -0
  122. package/agent-assets/skills/browser-task/SKILL.md +169 -0
  123. package/agent-assets/skills/context/SKILL.md +12 -12
  124. package/agent-assets/skills/context/curation.json +2 -2
  125. package/agent-assets/skills/context/references/api.md +43 -31
  126. package/agent-assets/skills/context/references/required-frontmatter.md +3 -3
  127. package/agent-assets/skills/context/references/snapshot-files.md +6 -6
  128. package/agent-assets/skills/context/seeds/file-responsibilities.seed.json +3 -3
  129. package/agent-assets/skills/docs-search/SKILL.md +4 -3
  130. package/agent-assets/skills/external-services/SKILL.delegated.claude.md +11 -21
  131. package/agent-assets/skills/external-services/SKILL.delegated.codex.md +11 -21
  132. package/agent-assets/skills/external-services/SKILL.delegated.gemini.md +11 -21
  133. package/agent-assets/skills/external-services/SKILL.md +3 -3
  134. package/agent-assets/skills/external-services/SKILL.native.claude.md +5 -5
  135. package/agent-assets/skills/external-services/SKILL.native.codex.md +7 -7
  136. package/agent-assets/skills/external-services/SKILL.native.gemini.md +4 -4
  137. package/agent-assets/skills/external-services/references/calendar-apple.md +2 -2
  138. package/agent-assets/skills/external-services/references/calendar-outlook.md +1 -1
  139. package/agent-assets/skills/external-services/references/obsidian.md +2 -2
  140. package/agent-assets/skills/gmail-lifestyle/SKILL.md +9 -82
  141. package/agent-assets/skills/mail/SKILL.delegated.claude.md +14 -5
  142. package/agent-assets/skills/mail/SKILL.delegated.codex.md +8 -4
  143. package/agent-assets/skills/mail/SKILL.delegated.gemini.md +8 -4
  144. package/agent-assets/skills/mail/references/api.md +4 -2
  145. package/agent-assets/skills/mail/references/providers.md +1 -1
  146. package/agent-assets/skills/managed-tasks/SKILL.md +9 -9
  147. package/agent-assets/skills/managed-tasks/references/errors.md +9 -6
  148. package/agent-assets/skills/managed-tasks/references/recurrence-rule.md +1 -1
  149. package/agent-assets/skills/management-policy/SKILL.md +32 -31
  150. package/agent-assets/skills/management-policy/curation.json +1 -1
  151. package/agent-assets/skills/management-policy/references/policy-workflow.md +9 -9
  152. package/agent-assets/skills/management-policy/seeds/policy-file-shape.seed.json +1 -1
  153. package/agent-assets/skills/notify/SKILL.md +4 -4
  154. package/agent-assets/skills/notify/references/priority.md +9 -4
  155. package/agent-assets/skills/notion/SKILL.delegated.claude.md +1 -1
  156. package/agent-assets/skills/notion/SKILL.delegated.codex.md +1 -1
  157. package/agent-assets/skills/notion/SKILL.delegated.gemini.md +1 -1
  158. package/agent-assets/skills/notion/SKILL.native.claude.md +10 -6
  159. package/agent-assets/skills/notion/SKILL.native.codex.md +9 -4
  160. package/agent-assets/skills/notion/SKILL.native.gemini.md +9 -4
  161. package/agent-assets/skills/observations/SKILL.md +24 -8
  162. package/agent-assets/skills/project-doc/SKILL.md +1 -1
  163. package/agent-assets/skills/project-doc/curation.json +3 -3
  164. package/agent-assets/skills/project-doc/seeds/project-shape.seed.json +7 -4
  165. package/agent-assets/skills/project-doc/seeds/slug-grammar.seed.json +3 -3
  166. package/agent-assets/skills/reading/SKILL.md +10 -0
  167. package/agent-assets/skills/reading/references/reading-taste.md +2 -2
  168. package/agent-assets/skills/roadmap/SKILL.md +5 -5
  169. package/agent-assets/skills/roadmap/curation.json +1 -1
  170. package/agent-assets/skills/roadmap/references/api.md +7 -7
  171. package/agent-assets/skills/roadmap/references/cross-check.md +15 -8
  172. package/agent-assets/skills/roadmap/references/migration.md +4 -4
  173. package/agent-assets/skills/roadmap/seeds/entry-types.seed.json +1 -1
  174. package/agent-assets/skills/schedule/SKILL.md +42 -34
  175. package/agent-assets/skills/schedule/references/batch.md +2 -2
  176. package/agent-assets/skills/schedule/references/errors.md +7 -4
  177. package/agent-assets/skills/schedule/references/model-selection.md +3 -3
  178. package/agent-assets/skills/schedule/references/recurrence-rule.md +1 -1
  179. package/agent-assets/skills/scheduled-managed-task/SKILL.md +46 -36
  180. package/agent-assets/skills/today/SKILL.md +9 -9
  181. package/agent-assets/skills/today/curation.json +3 -3
  182. package/agent-assets/skills/today/references/agent-plan-lifecycle.md +6 -5
  183. package/agent-assets/skills/today/seeds/section-shape.seed.json +1 -1
  184. package/agent-assets/skills/user-interview/SKILL.md +12 -9
  185. package/agent-assets/skills/user-interview/references/op-briefing.md +2 -2
  186. package/agent-assets/skills/user-interview/references/sweep-and-fallback.md +8 -0
  187. package/agent-assets/skills/user-profile/SKILL.md +17 -17
  188. package/agent-assets/skills/user-profile/curation.json +2 -2
  189. package/agent-assets/skills/user-profile/references/character-preferences.md +2 -2
  190. package/agent-assets/skills/user-profile/seeds/routing-table.seed.json +8 -8
  191. package/agent-assets/skills/user-profile/seeds/topic-files.seed.json +6 -6
  192. package/agent-assets/skills/wiki/wiki-compile/SKILL.md +4 -4
  193. package/agent-assets/system-prompts/routine-fetch-window.md +22 -12
  194. package/agent-assets/task-flows/_partials/calendar-acquire.google_calendar.md +4 -2
  195. package/agent-assets/task-flows/_partials/calendar-acquire.outlook_calendar.md +4 -2
  196. package/agent-assets/task-flows/_partials/capture-user-info.md +2 -2
  197. package/agent-assets/task-flows/_partials/dm-intent.long-horizon.md +1 -1
  198. package/agent-assets/task-flows/_partials/dm-intent.project.md +9 -9
  199. package/agent-assets/task-flows/_partials/mail-acquire.outlook_mail.md +3 -2
  200. package/agent-assets/task-flows/_partials/notion-acquire.notion.md +10 -5
  201. package/agent-assets/task-flows/browser_task.md +84 -0
  202. package/agent-assets/task-flows/github.assigned.md +1 -1
  203. package/agent-assets/task-flows/github.pull_request.review_requested.md +2 -2
  204. package/agent-assets/task-flows/github.workflow_run.failed.md +2 -2
  205. package/agent-assets/task-flows/knowledge.import.md +14 -14
  206. package/agent-assets/task-flows/message.received.dm.md +9 -4
  207. package/agent-assets/task-flows/message.received.dm_first.md +3 -3
  208. package/agent-assets/task-flows/routine.custom.md +3 -3
  209. package/agent-assets/task-flows/routine.evening_review.md +8 -8
  210. package/agent-assets/task-flows/routine.fetch_window.md +2 -2
  211. package/agent-assets/task-flows/routine.hourly_check.md +16 -12
  212. package/agent-assets/task-flows/routine.monthly_review.md +21 -21
  213. package/agent-assets/task-flows/routine.morning_routine_journal.md +119 -97
  214. package/agent-assets/task-flows/routine.morning_routine_today.md +43 -43
  215. package/agent-assets/task-flows/routine.research_cluster_update.md +35 -0
  216. package/agent-assets/task-flows/routine.research_dispatch.md +38 -0
  217. package/agent-assets/task-flows/routine.research_offer_dm.md +125 -0
  218. package/agent-assets/task-flows/routine.research_wiki_summary.md +53 -0
  219. package/agent-assets/task-flows/routine.roadmap_refresh.md +10 -10
  220. package/agent-assets/task-flows/routine.today_refresh.md +4 -4
  221. package/agent-assets/task-flows/routine.user_profile_sweep.md +10 -10
  222. package/agent-assets/task-flows/routine.weekly_review.md +93 -24
  223. package/agent-assets/task-flows/schedule.approaching.md +0 -1
  224. package/agent-assets/task-flows/scheduled.dm.md +5 -5
  225. package/agent-assets/task-flows/scheduled.task.md +4 -4
  226. package/agent-assets/task-flows/setup.initial.md +21 -21
  227. package/agent-assets/task-flows/setup.update.md +2 -2
  228. package/agent-assets/templates/README.md +27 -20
  229. package/agent-assets/templates/_index.md +42 -26
  230. package/agent-assets/templates/_manifest.json +34 -99
  231. package/agent-assets/templates/{user → identity}/_index.md +1 -1
  232. package/agent-assets/templates/{user → identity}/profile.md +2 -2
  233. package/agent-assets/templates/{dossiers → knowledge/dossiers}/_index.md +1 -1
  234. package/agent-assets/templates/{projects → plans/projects}/_active.base +1 -1
  235. package/agent-assets/templates/policies/_index.md +21 -0
  236. package/agent-assets/templates/{rules → policies}/journal-export.md +1 -1
  237. package/agent-assets/templates/{rules → policies}/journal-format.md +5 -5
  238. package/agent-assets/templates/{rules/policies → policies/management-captures}/_index.md +2 -2
  239. package/agent-assets/templates/{rules → policies}/management.md +3 -3
  240. package/agent-assets/templates/{rules → policies}/mcp.md +1 -1
  241. package/agent-assets/templates/{rules → policies}/redaction.md +1 -1
  242. package/agent-assets/templates/{routines → policies/routines}/_index.md +1 -1
  243. package/agent-assets/templates/{routines → policies/routines}/evening.md +2 -2
  244. package/agent-assets/templates/{routines → policies/routines}/hourly.md +1 -1
  245. package/agent-assets/templates/{routines → policies/routines}/monthly.md +2 -2
  246. package/bin/aitne.mjs +13 -4
  247. package/package.json +5 -4
  248. package/scripts/commands/doctor.mjs +14 -8
  249. package/scripts/commands/run-now.mjs +6 -21
  250. package/scripts/lib/ports.d.mts +27 -0
  251. package/scripts/lib/ports.mjs +36 -0
  252. package/scripts/lib/read-api-token.mjs +176 -0
  253. package/scripts/start.mjs +2 -1
  254. package/agent-assets/docs/features/lifestyle/travel-time.md +0 -58
  255. package/agent-assets/skills/gmail-lifestyle/references/travel-time-api.md +0 -59
  256. package/agent-assets/skills/schedule/references/recurring.md +0 -185
  257. package/agent-assets/templates/context-index.md +0 -42
  258. package/agent-assets/templates/rules/_index.md +0 -19
  259. /package/agent-assets/templates/{user → identity}/expertise.md +0 -0
  260. /package/agent-assets/templates/{user → identity}/goals.md +0 -0
  261. /package/agent-assets/templates/{user → identity}/people.md +0 -0
  262. /package/agent-assets/templates/{user → identity}/personal.md +0 -0
  263. /package/agent-assets/templates/{user → identity}/work.md +0 -0
  264. /package/agent-assets/templates/{agent/journal.md → journal/agent.md} +0 -0
  265. /package/agent-assets/templates/{dossiers → knowledge/dossiers}/evening.md +0 -0
  266. /package/agent-assets/templates/{dossiers → knowledge/dossiers}/hourly.md +0 -0
  267. /package/agent-assets/templates/{dossiers → knowledge/dossiers}/monthly.md +0 -0
  268. /package/agent-assets/templates/{dossiers → knowledge/dossiers}/morning.md +0 -0
  269. /package/agent-assets/templates/{dossiers → knowledge/dossiers}/roadmap.md +0 -0
  270. /package/agent-assets/templates/{dossiers → knowledge/dossiers}/weekly.md +0 -0
  271. /package/agent-assets/templates/{projects → plans/projects}/_index.md +0 -0
  272. /package/agent-assets/templates/{roadmap.md → plans/roadmap.md} +0 -0
  273. /package/agent-assets/templates/{routines → policies/routines}/morning.md +0 -0
  274. /package/agent-assets/templates/{routines → policies/routines}/weekly.md +0 -0
  275. /package/agent-assets/templates/{agent → state}/profile-questions.md +0 -0
  276. /package/agent-assets/templates/{today.md → state/today.md} +0 -0
@@ -1,18 +1,19 @@
1
1
  ---
2
2
  schema_version: 1
3
3
  slug: features/memory-files/user-profile
4
- title: user/profile.md
4
+ title: identity/profile.md
5
5
  id: user-profile
6
6
  aliases:
7
7
  - user.md
8
8
  - user/profile.md
9
+ - identity/profile.md
9
10
  - user profile
10
11
  - about-me
11
12
  category: features
12
13
  summary: |
13
- user/profile.md is the agent's stable profile of the operator — role,
14
- focus areas, preferences, names of important people. The agent reads
15
- it on every session and appends with the operator's permission.
14
+ identity/profile.md is the agent's stable profile of the operator — role,
15
+ focus areas, preferences, names of important people. The agent reads it
16
+ on every session and appends only with the operator's permission.
16
17
  section: memory-files
17
18
  tags:
18
19
  - memory
@@ -20,31 +21,36 @@ tags:
20
21
  - core
21
22
  status: stable
22
23
  ask_examples:
23
- - What is user/profile.md?
24
+ - What is identity/profile.md?
24
25
  - How do I tell the agent something about me?
25
26
  - Will the agent change my profile without asking?
26
27
  locale: en-US
27
28
  created: 2026-04-25
28
- updated: 2026-04-25
29
+ updated: 2026-05-28
29
30
  keywords:
30
31
  - user profile
31
- - user/profile.md
32
- - user slices
32
+ - identity/profile.md
33
+ - identity slices
33
34
  - people
34
35
  - expertise
35
36
  related:
36
37
  - getting-started/04-first-day
37
38
  - concepts/memory-model
39
+ process_keys:
40
+ - routine.user_profile_sweep
41
+ api_endpoints:
42
+ - PUT /api/context/*
43
+ - PATCH /api/context/*
38
44
  context_files:
39
- - user/profile.md
40
- - user/people.md
41
- - user/work.md
42
- - user/expertise.md
43
- - user/personal.md
44
- - user/goals.md
45
+ - identity/profile.md
46
+ - identity/people.md
47
+ - identity/work.md
48
+ - identity/expertise.md
49
+ - identity/personal.md
50
+ - identity/goals.md
45
51
  ---
46
52
 
47
- # user/profile.md
53
+ # identity/profile.md
48
54
 
49
55
  ## In One Sentence
50
56
 
@@ -53,35 +59,59 @@ every session and appends only with explicit permission.
53
59
 
54
60
  ## What It Does
55
61
 
56
- - Captures who you are, what you do, who matters in your life.
57
- - Pinned at the top of every session prompt so the agent has the
58
- same baseline understanding turn-to-turn.
59
- - The companion files in the `user/` directory split the dossier into
60
- topic-shaped slices: `user/people.md`, `user/work.md`,
61
- `user/expertise.md`, `user/personal.md`, `user/goals.md`. The agent
62
- loads them on demand instead of inlining everything.
62
+ - Captures who you are, what you do, and who matters in your life.
63
+ - Is pinned at the top of every session prompt, so the agent keeps
64
+ the same baseline understanding of you turn-to-turn.
65
+ - Anchors a set of companion slices in the `identity/` directory that
66
+ split the dossier into topic-shaped files:
67
+ `identity/people.md`, `identity/work.md`, `identity/expertise.md`,
68
+ `identity/personal.md`, `identity/goals.md`. The agent loads these on
69
+ demand instead of inlining everything into every prompt.
70
+
71
+ > Older docs and exports may call these files `user/profile.md`,
72
+ > `user/people.md`, and so on. `user/` is a legacy alias for
73
+ > `identity/`; the daemon rewrites it in-process, so the current
74
+ > canonical location is `identity/`.
63
75
 
64
76
  ## When It Runs / How It Is Triggered
65
77
 
66
- Read continuously. Written only when the operator says "remember
67
- that…" or during a profile sweep routine
68
- (`routine.user_profile_sweep`).
78
+ - **Read continuously** loaded at the start of every session.
79
+ - **Written** only when you say "remember that…" in a DM, or during
80
+ the profile sweep routine (`routine.user_profile_sweep`), which
81
+ routes captured facts into the appropriate `identity/*.md` slice.
82
+
83
+ The agent never edits these files directly. It writes through the
84
+ daemon's context API — for example
85
+ `PATCH /api/context/identity/profile.md` — the single validated write
86
+ path with locks and backup snapshots.
69
87
 
70
88
  ## Where in the Dashboard
71
89
 
72
- - **Knowledge → Context Files user/profile.md** to view and edit.
73
- The other `user/*.md` slices are listed alongside.
74
- - **Knowledge Upload** to seed `user/*.md` from a Markdown / text
75
- file useful for migrating an existing profile out of ChatGPT,
76
- Gemini, Obsidian, or Notion. See
77
- [Import a Knowledge File](../../guides/import-knowledge-file.md).
90
+ - **Knowledge → Context Files** (`/knowledge?tab=context-files`) to
91
+ view and edit `identity/profile.md`. The other `identity/*.md`
92
+ slices are listed alongside it.
93
+ - **Knowledge Upload** (`/knowledge?tab=upload`) to seed the
94
+ `identity/*.md` slices from a Markdown or text file — useful when
95
+ migrating an existing profile out of ChatGPT, Gemini, Obsidian, or
96
+ Notion. See [Import a Knowledge File](../../guides/import-knowledge-file.md).
97
+
98
+ ## Example
99
+
100
+ To tell the agent a durable fact about yourself, just say it in a DM:
101
+
102
+ > remember that my manager is Priya and we sync every Monday at 10am
103
+
104
+ The agent appends a line to the relevant slice (here `identity/people.md`)
105
+ after confirming, and recalls it in future sessions.
78
106
 
79
107
  ## When Something Goes Wrong
80
108
 
81
- - The agent forgets something it should remember: append it to
82
- the appropriate `user/*.md` slice by hand.
109
+ - **The agent forgets something it should remember:** open
110
+ **Knowledge Context Files** and append it to the appropriate
111
+ `identity/*.md` slice by hand.
83
112
 
84
113
  ## Related
85
114
 
86
115
  - [Memory Model](../../concepts/memory-model.md)
116
+ - [First Day](../../getting-started/04-first-day.md)
87
117
  - [Import a Knowledge File](../../guides/import-knowledge-file.md)
@@ -9,6 +9,8 @@ aliases:
9
9
  - "!cost"
10
10
  - "!report"
11
11
  - "!help"
12
+ - "!checks"
13
+ - "!research"
12
14
  - exclamation commands
13
15
  - chat commands
14
16
  category: features
@@ -16,21 +18,25 @@ summary: |
16
18
  Short owner-only commands typed in any paired DM (Slack, Telegram,
17
19
  Discord, WhatsApp, dashboard chat) that the daemon answers directly,
18
20
  with no agent backend involved and no cost. Use them to pause /
19
- resume, check spend, see recent failures, and list every command.
21
+ resume, check spend, see recent failures, manage research clusters,
22
+ and list every command.
20
23
  section: messaging
21
24
  tags:
22
25
  - core
23
26
  - messaging
24
27
  - operations
28
+ - bang-commands
25
29
  status: stable
26
30
  ask_examples:
27
31
  - How do I pause the agent from my phone?
28
32
  - What can I type in the DM to control Aitne?
29
33
  - How do I list all the commands?
30
34
  - Where do I see how much the agent spent this week?
35
+ - What did I keep refreshing today?
36
+ - How do I accept a research-cluster offer?
31
37
  locale: en-US
32
38
  created: 2026-05-12
33
- updated: 2026-05-12
39
+ updated: 2026-05-28
34
40
  keywords:
35
41
  - bang command
36
42
  - "!stop"
@@ -38,6 +44,8 @@ keywords:
38
44
  - "!cost"
39
45
  - "!report"
40
46
  - "!help"
47
+ - "!checks"
48
+ - "!research"
41
49
  - pause
42
50
  - resume
43
51
  related:
@@ -45,16 +53,26 @@ related:
45
53
  - features/messaging/pairing-and-magic-phrase
46
54
  - guides/pause-the-agent
47
55
  - features/operations/cost-tracking
56
+ - features/integrations/browser-history
48
57
  ui_anchors:
49
58
  - /settings/commands
59
+ process_keys:
60
+ - routine.research_dispatch
61
+ - routine.research_wiki_summary
62
+ - wiki.ingest_url
63
+ - wiki.compile
64
+ - wiki.ask
65
+ - wiki.lint
66
+ - wiki.trace
67
+ - wiki.connect
50
68
  ---
51
69
 
52
70
  # Bang Commands
53
71
 
54
- ## In One Sentence
55
-
56
72
  DM the agent a short word starting with `!` and the daemon answers
57
- directly — no LLM call, no cost, no session opened.
73
+ directly — no LLM call, no cost, no session opened. Use them to pause,
74
+ check spend, look at recent failures, manage research clusters, and
75
+ list every command.
58
76
 
59
77
  ## Who Can Use Them
60
78
 
@@ -65,27 +83,62 @@ Pair your messaging app first; see
65
83
 
66
84
  ## Available Commands
67
85
 
86
+ ### Lifecycle
87
+
88
+ | Command | What it does |
89
+ |---|---|
90
+ | `!help` | List every registered command — built-ins plus enabled user commands. |
91
+ | `!stop` | Pause cron-driven autonomous work (hourly check, morning / evening / weekly routines, scheduled tasks). In-flight runs are **not** aborted. |
92
+ | `!start` | Resume autonomous work after `!stop`. |
93
+ | `!close` | Close the active DM session for the current routing tuple so the next DM starts a fresh conversation. |
94
+
95
+ ### Reporting (pure DB reads, safe while paused)
96
+
68
97
  | Command | What it does |
69
98
  |---|---|
70
- | `!help` | Lists every command currently registered — built-ins plus any custom user commands. |
71
- | `!stop` | Pauses cron-driven autonomous work (hourly check, morning / evening / weekly routines, scheduled tasks). In-flight runs are **not** aborted. |
72
- | `!start` | Resumes autonomous work after `!stop`. |
73
- | `!close` | Closes the active DM session for the current routing tuple so the next DM starts a fresh conversation. Returns `null` if no session was open. |
74
99
  | `!cost` | Last-7-day spend across all backends. |
75
- | `!cost claude` / `!cost codex` / `!cost gemini` / `!cost opencode` | Spend for a single backend (one row per registered backend). |
100
+ | `!cost claude` · `!cost codex` · `!cost gemini` · `!cost opencode` | Spend for a single backend (one row per registered backend). |
76
101
  | `!report` | Recent agent failures (last 7 days, top groups, most recent sample). |
77
- | `!wiki` | Wiki status snapshot (workspaces, recent ingests / compiles, queue depth). |
78
- | `!ingest <url>` | Ingest a URL into the wiki raw layer. Enqueues `wiki.ingest_url`. |
79
- | `!compile [full]` | Run wiki compile (raw → wiki synthesis). `full` mode crosses the per-workspace cost threshold and routes through the dashboard approval queue. |
80
- | `!ask <question>` | Q&A against the compiled wiki. Reply lands back on the same channel. |
81
- | `!lint` | Wiki health pass writes `90_meta/health/<date>.md`. |
82
- | `!trace <idea>` | Chronological evolution of an idea across raw / wiki / outputs layers. |
83
- | `!connect <A> <B>` | Bridge two domains; writes `30_outputs/<date>-connect-<slug>.md`. |
102
+ | `!checks` | Today's top browser reload patterns (domain + first path segment). Pure read on `browser_reload_signals`; anchored on the agent-day (`dayBoundaryHour`). Empty state is the common case for a quiet day. |
103
+
104
+ ### Research clusters (browser-history)
105
+
106
+ `!research` is a prefix command that takes a subcommand. Clusters are
107
+ derived from your browser history when a topic crosses the
108
+ meaningful-visits threshold; see
109
+ [Browser History](../integrations/browser-history.md).
110
+
111
+ | Command | What it does |
112
+ |---|---|
113
+ | `!research` | List active + dormant clusters (top 12, with visits / hours / domains / status). |
114
+ | `!research <slug>` | Show full detail for one cluster. |
115
+ | `!research accept <slug>` | Accept a research-dive offer. Enqueues `routine.research_dispatch`. |
116
+ | `!research wiki <slug>` | Accept a wiki-summary offer. Enqueues `routine.research_wiki_summary`. |
117
+ | `!research decline <slug>` | Silence offers for 14 days; cluster journal keeps updating. |
118
+ | `!research mute <slug>` / `unmute <slug>` | Toggle offers off (until unmute) / restore. |
119
+ | `!research rename <slug> <new name>` | Change display name (≤ 120 chars). |
120
+ | `!research conclude <slug>` | Mark concluded; the `context/research/<slug>.md` journal is preserved. |
121
+
122
+ ### Wiki
84
123
 
85
124
  Wiki commands accept an optional `@<workspace>` suffix
86
- (e.g. `!compile @work`) to target a specific workspace when multiple
87
- are configured. Custom commands added at `/settings/commands` show
88
- up in `!help` automatically — no restart needed.
125
+ (e.g. `!compile @work`) to target a non-default workspace. See
126
+ [Wiki Commands](../wiki/commands.md) for the full reference and the
127
+ cost-gate / approval semantics.
128
+
129
+ | Command | What it does |
130
+ |---|---|
131
+ | `!wiki` | Workspace status (per-workspace counts when multiple are configured). |
132
+ | `!wiki help` | Wiki command list. |
133
+ | `!ingest <url> [url…]` | Capture URLs into the workspace's `10_raw/` layer (max 10 per batch). |
134
+ | `!compile [full] [--preview]` | Synthesise raw → wiki. `full` triggers an approval gate above the per-workspace cost threshold; `--preview` is a JS-only dry-run. |
135
+ | `!ask <question>` | Cited Q&A against the compiled wiki. Reply lands on the same channel; output saved to `30_outputs/`. |
136
+ | `!lint` | Wiki health pass — writes `90_meta/health/<date>.md`. |
137
+ | `!trace <idea>` | Chronological evolution of an idea across `10_raw` / `20_wiki` / `30_outputs`. |
138
+ | `!connect <A>, <B>` | Bridge two domains; writes `30_outputs/<date>-connect-<slug>.md`. |
139
+
140
+ Custom commands added at `/settings/commands` show up in `!help`
141
+ automatically — no restart needed.
89
142
 
90
143
  ## How They Look
91
144
 
@@ -96,49 +149,71 @@ at a glance it came from the daemon, not the agent:
96
149
  [SYSTEM · !cost · last 7d]
97
150
  Total: $1.42 (37 sessions)
98
151
 
99
- - claude: $1.10 (29 sessions)
100
- - codex: $0.32 ( 8 sessions)
101
- - gemini: $0.00 ( 0 sessions)
152
+ By backend:
153
+ - claude: $1.10 (29)
154
+ - codex: $0.32 (8)
102
155
  ```
103
156
 
104
- `!help` lists each entry with the name on its own line and the
105
- description indented:
157
+ Only backends with recorded spend appear; a quiet week shows
158
+ `No agent runs recorded with a billed cost.`
159
+
160
+ `!help` leads with a total count, then lists each entry alphabetically
161
+ with the name on its own line and the description indented:
106
162
 
107
163
  ```
108
164
  [SYSTEM · !help]
165
+ 18 commands total
109
166
 
110
167
  Built-in:
111
168
 
169
+ !ask
170
+ ask a question against the wiki (`@<workspace>` optional)
171
+
112
172
  !cost
113
- Show last-7-day Claude / Codex / Gemini spend.
173
+ Agent spend over the past 7 days.
114
174
 
115
175
  !help
116
176
  Show every registered command.
117
177
 
118
178
  !report
119
- Show recent agent failures.
179
+ Agent errors over the past 7 days.
120
180
 
121
181
  !start
122
- Resume autonomous work after !stop.
182
+ Resume autonomous work paused by !stop.
123
183
 
124
184
  !stop
125
185
  Pause cron-driven autonomous work. In-flight runs are not aborted.
126
186
  ```
127
187
 
128
188
  The `Custom:` section appears below the built-ins when you have
129
- enabled user commands at `/settings/commands`.
189
+ enabled user commands at `/settings/commands`. On a long list the reply
190
+ is trimmed for mobile with a "open the dashboard to browse the full
191
+ list" footer; the count line always survives so you can tell entries
192
+ were hidden.
130
193
 
131
194
  ## How They Behave
132
195
 
133
- - **Exact match.** `!stop`, `!cost`, `!cost claude` are recognised;
134
- `!stop now please` is not it falls through to the agent path.
196
+ - **Exact match for atomic commands** (`!stop`, `!cost`, `!checks`)
197
+ and **prefix match for parameterised ones** (`!cost claude`,
198
+ `!research accept <slug>`, `!compile @work full`). Anything
199
+ spanning newlines falls through to the agent path so a
200
+ `"!stop\nignore me"` payload cannot spoof a command.
135
201
  - **DM only.** Bangs typed into a shared channel are ignored.
136
- - **No cost.** No LLM is invoked; no `conversation_sessions` row is
137
- opened. Every invocation writes one `bang_command` row to
138
- `agent_actions` for the activity log.
202
+ - **No agent cost on built-ins.** No LLM is invoked for the
203
+ daemon-side commands; one `bang_command` row is appended to
204
+ `agent_actions` for the activity log. `!compile`, `!ingest`,
205
+ `!ask`, `!lint`, `!trace`, `!connect`, and `!research accept|wiki`
206
+ *do* enqueue agent sessions and therefore *do* cost.
139
207
  - **While paused**, any DM (bang or not) replies with the paused
140
- notice; only `!start`, `!cost`, `!report`, `!help`, and `!close`
141
- continue to run.
208
+ notice; only commands that opt into `runsWhilePaused` continue to
209
+ run: `!stop`, `!start`, `!close`, `!cost` (and `!cost <backend>`),
210
+ `!report`, `!help`, `!checks`, `!wiki` (status), and `!wiki help`.
211
+ Every other command — including **all** `!research` subcommands and
212
+ the LLM-dispatching wiki commands (`!ingest`, `!compile`, `!ask`,
213
+ `!lint`, `!trace`, `!connect`) — replies with a command-aware
214
+ "unavailable while paused" notice instead of executing. Pause-gating
215
+ is per *command*, so `!research` is blocked as a whole even for its
216
+ read-only subcommands.
142
217
  - **Replies land where the command did** — same platform, same
143
218
  channel, same thread.
144
219
 
@@ -169,3 +244,5 @@ window version.
169
244
  - [Pairing & Magic Phrase](pairing-and-magic-phrase.md)
170
245
  - [Pause the Agent](../../guides/pause-the-agent.md)
171
246
  - [Cost Tracking](../operations/cost-tracking.md)
247
+ - [Browser History](../integrations/browser-history.md) — source of
248
+ `!checks` and the `!research` clusters.
@@ -26,17 +26,29 @@ ask_examples:
26
26
  - Why are my dashboard chat replies different from my Telegram replies?
27
27
  locale: en-US
28
28
  created: 2026-04-25
29
- updated: 2026-04-25
29
+ updated: 2026-05-28
30
30
  keywords:
31
31
  - chat
32
32
  - dashboard
33
33
  - in-browser
34
+ - sse
35
+ - session
34
36
  related:
35
37
  - features/messaging/overview
36
38
  - concepts/backends-and-tiers
39
+ - concepts/process-keys
37
40
  - features/operations/activity-and-conversations
41
+ process_keys:
42
+ - dashboard.chat
43
+ config_keys:
44
+ - sessionTimeoutDashboardMinutes
45
+ api_endpoints:
46
+ - POST /api/chat/messages
47
+ - GET /api/chat/stream
38
48
  ui_anchors:
39
49
  - /chat
50
+ - /conversations
51
+ - /settings/models
40
52
  ---
41
53
 
42
54
  # Dashboard Chat
@@ -48,46 +60,56 @@ conversational surface separate from any paired messaging app.
48
60
 
49
61
  ## What It Does
50
62
 
51
- - **Real-time** message stream over SSE.
63
+ - **Real-time** message stream over SSE — the same conversational
64
+ experience as a paired DM, but in the browser.
52
65
  - **Tool progress** rendered inline (which tool, which file, which
53
66
  endpoint) so you can watch the agent work.
54
67
  - **Session history** persisted to SQLite (`scope='dashboard_chat'`)
55
- and visible from Activity → Conversations.
68
+ and re-openable from Conversations.
56
69
  - **Independent backend binding** — `dashboard.chat` is its own
57
70
  ProcessKey, so the model used here can differ from the one your
58
- Telegram DM uses.
71
+ Telegram (or Slack/Discord) DM uses.
59
72
 
60
- ## When It Runs / How It Is Triggered
73
+ ## How It Is Triggered
61
74
 
62
- Whenever you press send. The page connects to `POST /api/chat/messages`
63
- to enqueue and `GET /api/chat/stream` to listen.
75
+ Whenever you press send. The page POSTs to `POST /api/chat/messages`
76
+ to enqueue your message, then listens on `GET /api/chat/stream` (SSE)
77
+ for the streamed reply and inline tool calls. Every send and reply is
78
+ persisted under the chat session.
64
79
 
65
- ## What It Outputs
66
-
67
- - Inline tool calls and replies.
68
- - Persisted messages under the chat session.
80
+ Like a DM, `dashboard.chat` is a **reactive** ProcessKey: it runs on
81
+ demand when you send, never on a schedule. Its default tier is
82
+ **medium** (Claude Sonnet 4.6 by default) — the same tier as
83
+ `message.dm`.
69
84
 
70
85
  ## Where in the Dashboard
71
86
 
72
87
  - **Chat (`/chat`)** is the live surface.
73
- - **Conversations** lets you re-open a past session.
88
+ - **Conversations (`/conversations`)** lists past sessions; open one to
89
+ re-read it.
74
90
 
75
91
  ## Configuration
76
92
 
77
- - **Settings → Models** lets you pick which backend `dashboard.chat`
78
- binds to (default: same as `message.dm`, but operator-overridable).
79
- - **Settings Models Session Timeouts Dashboard Timeout** is the
80
- per-session wall-clock cap for `/chat`.
93
+ - **Settings → Models** (`/settings/models`) lets you pick which backend
94
+ `dashboard.chat` binds to. It defaults to the same medium-tier preset
95
+ as `message.dm`, but you can override it independently give `/chat`
96
+ a faster model for quick questions, or a heavier one for deep work.
97
+ - **Settings → Models → Session Timeouts → Dashboard Timeout**
98
+ (`sessionTimeoutDashboardMinutes`, default **120** minutes) is the
99
+ per-session wall-clock cap for `/chat`. After it lapses, the next
100
+ message starts a fresh session.
81
101
 
82
102
  ## When Something Goes Wrong
83
103
 
84
- - A **stalled session** with no progress: check Activity for the
85
- session row — it may be waiting for an SSE event the daemon
86
- dropped.
87
- - A **chat that uses the wrong model**: check `/settings/models` —
88
- `dashboard.chat`'s row is independent from `message.dm`'s.
104
+ - **A stalled session with no progress** check the session row under
105
+ Conversations; it may be waiting for an SSE event the daemon dropped.
106
+ Reloading `/chat` reconnects the stream.
107
+ - **A chat that uses the wrong model** check `/settings/models`.
108
+ `dashboard.chat`'s row is independent from `message.dm`'s, so an
109
+ override there is the usual cause.
89
110
 
90
111
  ## Related
91
112
 
92
113
  - [Messaging Overview](overview.md)
93
114
  - [Backends and Tiers](../../concepts/backends-and-tiers.md)
115
+ - [Process Keys](../../concepts/process-keys.md)
@@ -16,19 +16,25 @@ section: messaging
16
16
  tags:
17
17
  - messaging
18
18
  - integrations
19
- - discord
19
+ - pairing
20
20
  status: stable
21
21
  ask_examples:
22
22
  - How do I pair Discord?
23
+ - Why won't my Discord bot reply to DMs?
24
+ - Does the agent respond to mentions in Discord servers?
25
+ ui_anchors:
26
+ - /connections/messaging
23
27
  locale: en-US
24
28
  created: 2026-04-25
25
- updated: 2026-04-25
29
+ updated: 2026-05-28
26
30
  keywords:
27
31
  - discord
28
32
  - bot token
29
33
  - DM
30
34
  - owner channel
31
35
  - messaging adapter
36
+ - magic phrase
37
+ - message content intent
32
38
  related:
33
39
  - features/messaging/overview
34
40
  - features/messaging/pairing-and-magic-phrase
@@ -41,21 +47,46 @@ related:
41
47
  A Discord bot becomes the agent's surface; pair via DM after
42
48
  installing the bot in the developer portal.
43
49
 
50
+ ## How to Set Up
51
+
52
+ 1. Create an application and bot at the
53
+ [Discord Developer Portal](https://discord.com/developers).
54
+ 2. Under **Bot** settings, copy the bot token.
55
+ 3. In the bot's **Privileged Gateway Intents**, enable the
56
+ **Message Content Intent**. This is required — the agent cannot read
57
+ DM or mention text without it.
58
+ 4. Invite the bot to any servers where you want mentions to work.
59
+ 5. Paste the token under **Connections → Messaging → Discord**.
60
+ 6. DM the magic phrase from your own Discord account to complete
61
+ pairing.
62
+
44
63
  ## What It Does
45
64
 
46
65
  - Listens for DMs from the paired owner.
47
66
  - Listens for mentions in shared servers.
48
67
  - Sends notifications back via DM.
49
68
 
69
+ ## Configuration
70
+
71
+ | Field | Notes |
72
+ | --- | --- |
73
+ | Bot Token | From the Discord Developer Portal (Bot settings). |
74
+ | Owner Channel | Auto-set on successful magic-phrase pairing. |
75
+
50
76
  ## Where in the Dashboard
51
77
 
52
78
  - **Connections → Messaging → Discord**.
53
79
 
54
80
  ## When Something Goes Wrong
55
81
 
56
- - DMs disabled in the operator's privacy settings: enable "Allow
57
- direct messages from server members".
82
+ - Bot connects but never responds to DMs/mentions: confirm the
83
+ **Message Content Intent** is enabled under the bot's Privileged
84
+ Gateway Intents in the developer portal.
85
+ - Bot cannot DM you: in Discord, open the server where the bot lives →
86
+ **Privacy Settings** and enable "Allow direct messages from server
87
+ members". Discord blocks bot DMs to users who have this off.
58
88
 
59
89
  ## Related
60
90
 
61
91
  - [Messaging Overview](overview.md)
92
+ - [Pairing & Magic Phrase](pairing-and-magic-phrase.md)