@aitne-sh/aitne 0.1.0

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 (249) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +464 -0
  3. package/agent-assets/agent-profiles/_safety.md +26 -0
  4. package/agent-assets/agent-profiles/conversational.md +33 -0
  5. package/agent-assets/agent-profiles/docs-qa.md +24 -0
  6. package/agent-assets/agent-profiles/observer.md +28 -0
  7. package/agent-assets/agent-profiles/profile-importer.md +63 -0
  8. package/agent-assets/agent-profiles/proxy.md +28 -0
  9. package/agent-assets/agent-profiles/routine.md +16 -0
  10. package/agent-assets/agent-profiles/task.md +18 -0
  11. package/agent-assets/docs/concepts/agent-day.md +88 -0
  12. package/agent-assets/docs/concepts/auth-health.md +75 -0
  13. package/agent-assets/docs/concepts/backends-and-tiers.md +126 -0
  14. package/agent-assets/docs/concepts/costs-and-quotas.md +103 -0
  15. package/agent-assets/docs/concepts/delegated-mode.md +223 -0
  16. package/agent-assets/docs/concepts/memory-model.md +118 -0
  17. package/agent-assets/docs/concepts/observations.md +80 -0
  18. package/agent-assets/docs/concepts/process-keys.md +89 -0
  19. package/agent-assets/docs/concepts/routines.md +108 -0
  20. package/agent-assets/docs/concepts/safety-and-execution.md +109 -0
  21. package/agent-assets/docs/concepts/safety-model.md +279 -0
  22. package/agent-assets/docs/concepts/skills.md +100 -0
  23. package/agent-assets/docs/features/integrations/calendar.md +92 -0
  24. package/agent-assets/docs/features/integrations/git.md +95 -0
  25. package/agent-assets/docs/features/integrations/github.md +170 -0
  26. package/agent-assets/docs/features/integrations/mail.md +106 -0
  27. package/agent-assets/docs/features/integrations/notion.md +69 -0
  28. package/agent-assets/docs/features/integrations/obsidian.md +71 -0
  29. package/agent-assets/docs/features/lifestyle/git.md +178 -0
  30. package/agent-assets/docs/features/lifestyle/reading.md +93 -0
  31. package/agent-assets/docs/features/lifestyle/receipts.md +71 -0
  32. package/agent-assets/docs/features/lifestyle/travel-bookings.md +44 -0
  33. package/agent-assets/docs/features/lifestyle/travel-time.md +52 -0
  34. package/agent-assets/docs/features/memory-files/agent-journal.md +105 -0
  35. package/agent-assets/docs/features/memory-files/projects.md +56 -0
  36. package/agent-assets/docs/features/memory-files/roadmap.md +61 -0
  37. package/agent-assets/docs/features/memory-files/schedule.md +112 -0
  38. package/agent-assets/docs/features/memory-files/today.md +73 -0
  39. package/agent-assets/docs/features/memory-files/user-profile.md +81 -0
  40. package/agent-assets/docs/features/messaging/dashboard-chat.md +93 -0
  41. package/agent-assets/docs/features/messaging/discord.md +50 -0
  42. package/agent-assets/docs/features/messaging/overview.md +111 -0
  43. package/agent-assets/docs/features/messaging/pairing-and-magic-phrase.md +69 -0
  44. package/agent-assets/docs/features/messaging/slack.md +51 -0
  45. package/agent-assets/docs/features/messaging/telegram.md +63 -0
  46. package/agent-assets/docs/features/messaging/whatsapp.md +48 -0
  47. package/agent-assets/docs/features/operations/activity-and-conversations.md +105 -0
  48. package/agent-assets/docs/features/operations/approvals.md +58 -0
  49. package/agent-assets/docs/features/operations/backend-routing.md +62 -0
  50. package/agent-assets/docs/features/operations/cost-tracking.md +59 -0
  51. package/agent-assets/docs/features/operations/notifications.md +69 -0
  52. package/agent-assets/docs/features/operations/quiet-hours.md +106 -0
  53. package/agent-assets/docs/features/operations/schedule-approaching.md +60 -0
  54. package/agent-assets/docs/features/routines/custom-routines.md +101 -0
  55. package/agent-assets/docs/features/routines/evening-review.md +81 -0
  56. package/agent-assets/docs/features/routines/hourly-check.md +85 -0
  57. package/agent-assets/docs/features/routines/monthly-review.md +65 -0
  58. package/agent-assets/docs/features/routines/morning-routine.md +123 -0
  59. package/agent-assets/docs/features/routines/weekly-review.md +70 -0
  60. package/agent-assets/docs/getting-started/01-what-is-this.md +192 -0
  61. package/agent-assets/docs/getting-started/02-first-steps.md +80 -0
  62. package/agent-assets/docs/getting-started/03-what-can-this-do.md +110 -0
  63. package/agent-assets/docs/getting-started/04-first-day.md +287 -0
  64. package/agent-assets/docs/glossary.md +116 -0
  65. package/agent-assets/docs/guides/add-a-custom-routine.md +71 -0
  66. package/agent-assets/docs/guides/backup-and-restore.md +54 -0
  67. package/agent-assets/docs/guides/change-which-model-handles-x.md +47 -0
  68. package/agent-assets/docs/guides/connect-a-new-mail-account.md +59 -0
  69. package/agent-assets/docs/guides/import-knowledge-file.md +275 -0
  70. package/agent-assets/docs/guides/install-and-run.md +72 -0
  71. package/agent-assets/docs/guides/migrate-machines.md +52 -0
  72. package/agent-assets/docs/guides/pause-the-agent.md +65 -0
  73. package/agent-assets/docs/guides/reinstall-cleanly.md +52 -0
  74. package/agent-assets/docs/guides/setup-wizard.md +107 -0
  75. package/agent-assets/docs/guides/switch-default-backend.md +60 -0
  76. package/agent-assets/docs/reference/api.md +51 -0
  77. package/agent-assets/docs/reference/cli-commands.md +121 -0
  78. package/agent-assets/docs/reference/config.md +74 -0
  79. package/agent-assets/docs/reference/disallowed-tools.md +76 -0
  80. package/agent-assets/docs/reference/keyboard-shortcuts.md +39 -0
  81. package/agent-assets/docs/reference/process-keys.md +59 -0
  82. package/agent-assets/docs/reference/skills.md +50 -0
  83. package/agent-assets/docs/troubleshooting/auth-failed.md +57 -0
  84. package/agent-assets/docs/troubleshooting/dashboard-shows-degraded.md +55 -0
  85. package/agent-assets/docs/troubleshooting/fallback-keeps-firing.md +54 -0
  86. package/agent-assets/docs/troubleshooting/messaging-not-pairing.md +53 -0
  87. package/agent-assets/docs/troubleshooting/morning-routine-didnt-run.md +75 -0
  88. package/agent-assets/docs/troubleshooting/observation-not-detected.md +57 -0
  89. package/agent-assets/docs/troubleshooting/quota-exhausted.md +57 -0
  90. package/agent-assets/optimizer-skills/drift-analysis/SKILL.md +75 -0
  91. package/agent-assets/optimizer-skills/knowledge-map/SKILL.md +71 -0
  92. package/agent-assets/optimizer-skills/skill-curation/SKILL.md +108 -0
  93. package/agent-assets/project-doc-templates/git-repo.md +21 -0
  94. package/agent-assets/project-doc-templates/project.md +38 -0
  95. package/agent-assets/skills/attach/SKILL.md +104 -0
  96. package/agent-assets/skills/context/SKILL.md +257 -0
  97. package/agent-assets/skills/context/curation.json +37 -0
  98. package/agent-assets/skills/context/seeds/file-responsibilities.seed.json +13 -0
  99. package/agent-assets/skills/context/seeds/frontmatter-requirements.seed.json +40 -0
  100. package/agent-assets/skills/docs-search/SKILL.md +176 -0
  101. package/agent-assets/skills/external-services/SKILL.delegated.claude.md +369 -0
  102. package/agent-assets/skills/external-services/SKILL.delegated.codex.md +349 -0
  103. package/agent-assets/skills/external-services/SKILL.delegated.gemini.md +347 -0
  104. package/agent-assets/skills/external-services/SKILL.md +371 -0
  105. package/agent-assets/skills/mail/SKILL.delegated.claude.md +284 -0
  106. package/agent-assets/skills/mail/SKILL.delegated.codex.md +261 -0
  107. package/agent-assets/skills/mail/SKILL.delegated.gemini.md +255 -0
  108. package/agent-assets/skills/mail/SKILL.md +313 -0
  109. package/agent-assets/skills/mail/references/errors.md +17 -0
  110. package/agent-assets/skills/mail/references/providers.md +40 -0
  111. package/agent-assets/skills/mail/references/query-grammar.md +24 -0
  112. package/agent-assets/skills/management-policy/SKILL.md +307 -0
  113. package/agent-assets/skills/management-policy/curation.json +13 -0
  114. package/agent-assets/skills/management-policy/seeds/policy-file-shape.seed.json +16 -0
  115. package/agent-assets/skills/management-task-modify/SKILL.md +202 -0
  116. package/agent-assets/skills/management-task-register/SKILL.md +330 -0
  117. package/agent-assets/skills/management-task-stop/SKILL.md +166 -0
  118. package/agent-assets/skills/notify/SKILL.md +196 -0
  119. package/agent-assets/skills/notion/SKILL.delegated.claude.md +254 -0
  120. package/agent-assets/skills/notion/SKILL.delegated.codex.md +195 -0
  121. package/agent-assets/skills/notion/SKILL.delegated.gemini.md +194 -0
  122. package/agent-assets/skills/notion/SKILL.md +86 -0
  123. package/agent-assets/skills/observations/SKILL.md +234 -0
  124. package/agent-assets/skills/observations/curation.json +13 -0
  125. package/agent-assets/skills/observations/seeds/source-namespacing.seed.json +20 -0
  126. package/agent-assets/skills/project-doc/SKILL.md +86 -0
  127. package/agent-assets/skills/project-doc/curation.json +21 -0
  128. package/agent-assets/skills/project-doc/seeds/project-shape.seed.json +25 -0
  129. package/agent-assets/skills/project-doc/seeds/slug-grammar.seed.json +20 -0
  130. package/agent-assets/skills/reading/SKILL.md +198 -0
  131. package/agent-assets/skills/reading/references/reading-taste.md +197 -0
  132. package/agent-assets/skills/receipts/SKILL.md +134 -0
  133. package/agent-assets/skills/roadmap/SKILL.md +276 -0
  134. package/agent-assets/skills/roadmap/curation.json +13 -0
  135. package/agent-assets/skills/roadmap/references/horizon-tags.md +40 -0
  136. package/agent-assets/skills/roadmap/references/preparation-timeline.md +47 -0
  137. package/agent-assets/skills/roadmap/seeds/entry-types.seed.json +16 -0
  138. package/agent-assets/skills/schedule/SKILL.md +228 -0
  139. package/agent-assets/skills/scheduled-managed-task/SKILL.md +392 -0
  140. package/agent-assets/skills/today/SKILL.md +198 -0
  141. package/agent-assets/skills/today/curation.json +21 -0
  142. package/agent-assets/skills/today/seeds/agent-notes-flavors.seed.json +17 -0
  143. package/agent-assets/skills/today/seeds/section-shape.seed.json +17 -0
  144. package/agent-assets/skills/travel/SKILL.md +132 -0
  145. package/agent-assets/skills/travel-time/SKILL.md +149 -0
  146. package/agent-assets/skills/user-interview/SKILL.md +323 -0
  147. package/agent-assets/skills/user-interview/references/sweep-and-fallback.md +94 -0
  148. package/agent-assets/skills/user-profile/SKILL.md +210 -0
  149. package/agent-assets/skills/user-profile/curation.json +29 -0
  150. package/agent-assets/skills/user-profile/seeds/learned-context-format.seed.json +14 -0
  151. package/agent-assets/skills/user-profile/seeds/routing-table.seed.json +53 -0
  152. package/agent-assets/skills/user-profile/seeds/topic-files.seed.json +27 -0
  153. package/agent-assets/task-flows/dashboard.docs_qa.md +43 -0
  154. package/agent-assets/task-flows/default.md +11 -0
  155. package/agent-assets/task-flows/git.branch.created.md +25 -0
  156. package/agent-assets/task-flows/git.lifecycle.poll.md +52 -0
  157. package/agent-assets/task-flows/git.local_ahead.stale.md +34 -0
  158. package/agent-assets/task-flows/git.merge_to_default.md +30 -0
  159. package/agent-assets/task-flows/git.project.refresh_architecture.md +100 -0
  160. package/agent-assets/task-flows/git.project.retemplate.md +73 -0
  161. package/agent-assets/task-flows/git.push.detected.md +32 -0
  162. package/agent-assets/task-flows/git.push.force_pushed.md +36 -0
  163. package/agent-assets/task-flows/git.tag.created.md +24 -0
  164. package/agent-assets/task-flows/github.assigned.md +43 -0
  165. package/agent-assets/task-flows/github.pull_request.review_requested.md +57 -0
  166. package/agent-assets/task-flows/github.security_alert.md +45 -0
  167. package/agent-assets/task-flows/github.workflow_run.failed.md +57 -0
  168. package/agent-assets/task-flows/knowledge.import.md +161 -0
  169. package/agent-assets/task-flows/message.received.dm.md +142 -0
  170. package/agent-assets/task-flows/message.received.dm_first.md +117 -0
  171. package/agent-assets/task-flows/message.received.md +14 -0
  172. package/agent-assets/task-flows/routine.custom.md +38 -0
  173. package/agent-assets/task-flows/routine.evening_review.md +323 -0
  174. package/agent-assets/task-flows/routine.hourly_check.delegated.claude.md +405 -0
  175. package/agent-assets/task-flows/routine.hourly_check.delegated.codex.md +400 -0
  176. package/agent-assets/task-flows/routine.hourly_check.delegated.gemini.md +404 -0
  177. package/agent-assets/task-flows/routine.hourly_check.md +184 -0
  178. package/agent-assets/task-flows/routine.hourly_check.triage.md +93 -0
  179. package/agent-assets/task-flows/routine.monthly_review.md +250 -0
  180. package/agent-assets/task-flows/routine.morning_routine.md +300 -0
  181. package/agent-assets/task-flows/routine.morning_routine_initial.md +184 -0
  182. package/agent-assets/task-flows/routine.roadmap_refresh.md +275 -0
  183. package/agent-assets/task-flows/routine.today_refresh.md +172 -0
  184. package/agent-assets/task-flows/routine.user_profile_sweep.md +242 -0
  185. package/agent-assets/task-flows/routine.weekly_review.md +247 -0
  186. package/agent-assets/task-flows/schedule.approaching.md +124 -0
  187. package/agent-assets/task-flows/scheduled.dm.md +391 -0
  188. package/agent-assets/task-flows/scheduled.task.md +141 -0
  189. package/agent-assets/task-flows/setup.initial.md +277 -0
  190. package/agent-assets/task-flows/setup.update.md +53 -0
  191. package/agent-assets/templates/README.md +85 -0
  192. package/agent-assets/templates/_index.md +39 -0
  193. package/agent-assets/templates/_manifest.json +103 -0
  194. package/agent-assets/templates/agent/journal.md +10 -0
  195. package/agent-assets/templates/agent/profile-questions.md +74 -0
  196. package/agent-assets/templates/context-index.md +42 -0
  197. package/agent-assets/templates/dossiers/_index.md +22 -0
  198. package/agent-assets/templates/dossiers/evening.md +23 -0
  199. package/agent-assets/templates/dossiers/hourly.md +23 -0
  200. package/agent-assets/templates/dossiers/monthly.md +23 -0
  201. package/agent-assets/templates/dossiers/morning.md +23 -0
  202. package/agent-assets/templates/dossiers/roadmap.md +23 -0
  203. package/agent-assets/templates/dossiers/weekly.md +23 -0
  204. package/agent-assets/templates/projects/_active.base +14 -0
  205. package/agent-assets/templates/projects/_index.md +29 -0
  206. package/agent-assets/templates/roadmap.md +15 -0
  207. package/agent-assets/templates/routines/_index.md +20 -0
  208. package/agent-assets/templates/routines/evening.md +22 -0
  209. package/agent-assets/templates/routines/hourly.md +30 -0
  210. package/agent-assets/templates/routines/monthly.md +25 -0
  211. package/agent-assets/templates/routines/morning.md +26 -0
  212. package/agent-assets/templates/routines/weekly.md +23 -0
  213. package/agent-assets/templates/rules/_index.md +19 -0
  214. package/agent-assets/templates/rules/journal-export.md +41 -0
  215. package/agent-assets/templates/rules/journal-format.md +61 -0
  216. package/agent-assets/templates/rules/management.md +48 -0
  217. package/agent-assets/templates/rules/mcp.md +40 -0
  218. package/agent-assets/templates/rules/policies/_index.md +22 -0
  219. package/agent-assets/templates/rules/redaction.md +30 -0
  220. package/agent-assets/templates/today.md +13 -0
  221. package/agent-assets/templates/user/_index.md +16 -0
  222. package/agent-assets/templates/user/expertise.md +7 -0
  223. package/agent-assets/templates/user/goals.md +7 -0
  224. package/agent-assets/templates/user/people.md +7 -0
  225. package/agent-assets/templates/user/personal.md +7 -0
  226. package/agent-assets/templates/user/profile.md +28 -0
  227. package/agent-assets/templates/user/work.md +7 -0
  228. package/bin/aitne.mjs +1096 -0
  229. package/package.json +78 -0
  230. package/personal-agent.mjs +39 -0
  231. package/scripts/browser.mjs +99 -0
  232. package/scripts/check-redaction-coverage.mjs +109 -0
  233. package/scripts/commands/audit.mjs +309 -0
  234. package/scripts/commands/doctor.mjs +437 -0
  235. package/scripts/commands/open.mjs +40 -0
  236. package/scripts/commands/setup.mjs +21 -0
  237. package/scripts/commands/uninstall.mjs +114 -0
  238. package/scripts/commands/update.mjs +96 -0
  239. package/scripts/commands/version.mjs +62 -0
  240. package/scripts/commands.md +0 -0
  241. package/scripts/lib/sqlite-loader.mjs +49 -0
  242. package/scripts/message-discipline-digest.mjs +535 -0
  243. package/scripts/poc/google-connector-inheritance/REPORT.md +197 -0
  244. package/scripts/poc/google-connector-inheritance/claude-sdk-probe.mjs +79 -0
  245. package/scripts/remint-roadmap-ids.mjs +257 -0
  246. package/scripts/rm-paths.mjs +22 -0
  247. package/scripts/run-node.mjs +223 -0
  248. package/scripts/smoke-obsidian-api.mjs +166 -0
  249. package/scripts/start.mjs +160 -0
@@ -0,0 +1,123 @@
1
+ ---
2
+ schema_version: 1
3
+ slug: features/routines/morning-routine
4
+ title: Morning Routine
5
+ id: morning-routine
6
+ aliases:
7
+ - morning_routine
8
+ - daily morning routine
9
+ - morning report
10
+ - morning briefing
11
+ category: features
12
+ summary: |
13
+ The autonomous routine that runs once per agent-day at the configured
14
+ morning hour to produce today.md and the day's plan.
15
+ section: routines
16
+ tags:
17
+ - routine
18
+ - autonomous
19
+ - daily
20
+ - heavy-tier
21
+ - core
22
+ status: stable
23
+ ask_examples:
24
+ - When does morning routine run?
25
+ - How do I disable morning routine?
26
+ - Where does its output go?
27
+ - What model does morning routine use?
28
+ locale: en-US
29
+ created: 2026-04-25
30
+ updated: 2026-04-25
31
+ keywords:
32
+ - morning
33
+ - day plan
34
+ - 04:00
35
+ - day boundary
36
+ related:
37
+ - concepts/agent-day
38
+ - features/memory-files/today
39
+ prerequisites:
40
+ - concepts/agent-day
41
+ ui_anchors:
42
+ - /settings/routines
43
+ - /
44
+ process_keys:
45
+ - routine.morning_routine
46
+ - routine.morning_routine_initial
47
+ config_keys:
48
+ - dayBoundaryHour
49
+ context_files:
50
+ - today.md
51
+ - daily/<date>.md
52
+ ---
53
+
54
+ # Morning Routine
55
+
56
+ ## In One Sentence
57
+
58
+ Once per agent day, at `dayBoundaryHour` local time, Aitne
59
+ rebuilds `today.md` and the day's schedule from your calendar, mail,
60
+ roadmap, and recent observations.
61
+
62
+ ## What It Does
63
+
64
+ The morning routine is the single highest-value process in Aitne.
65
+ It runs at the **heavy tier** (default Opus 4.7 on Claude, GPT-5.5 on
66
+ Codex, Gemini 3 Pro on Gemini) because every downstream routine for
67
+ the next 24 hours reads its output. A bad morning briefing degrades
68
+ the entire day.
69
+
70
+ In sequence, the routine:
71
+
72
+ 1. Reads the previous day's `today.md` and rolls forward unfinished items.
73
+ 2. Pulls today's calendar events from any connected calendar integration.
74
+ 3. Scans recent unread mail and surfaces the few that need owner attention.
75
+ 4. Walks the roadmap looking for items whose **Preparation Timeline** rows fire today.
76
+ 5. Consumes any pending observations the hourly check has already dropped into the queue.
77
+ 6. Writes the rebuilt `today.md` and the per-date snapshot at `daily/YYYY-MM-DD.md`.
78
+ 7. Logs a single status line to the dashboard activity feed.
79
+
80
+ ## When It Runs / How It Is Triggered
81
+
82
+ The morning routine fires at **`dayBoundaryHour`** local time (default
83
+ `4`). The scheduler uses the agent-day boundary, not the calendar day,
84
+ so a post-midnight install does not run two morning routines back-to-back.
85
+ There is no separate `morningRoutineHour` — the morning routine and the
86
+ agent-day rollover are the same instant.
87
+
88
+ `routine.morning_routine_initial` is a one-shot heavy-tier variant fired
89
+ during the setup wizard's first day. After the first run, only
90
+ `routine.morning_routine` triggers.
91
+
92
+ ## What It Outputs
93
+
94
+ - A rebuilt `today.md` with sections for User Schedule, Tasks, Agent Plan, Agent Log, and Handoff.
95
+ - A per-date `daily/YYYY-MM-DD.md` capturing the day's calendar snapshot.
96
+ - A short notification ("Good morning, here's today...") when notifications are enabled and quiet hours have ended.
97
+ - An entry in the Activity feed.
98
+
99
+ ## Where in the Dashboard
100
+
101
+ - **Schedule view** — the column for today is rebuilt against the new schedule file.
102
+ - **Activity feed** — a `routine.morning_routine` row appears at the run timestamp.
103
+ - **Settings → Models** — the routine's backend, model, max-turns, and budget cap are configured here.
104
+
105
+ ## Configuration
106
+
107
+ | Setting | Default | Notes |
108
+ |---|---|---|
109
+ | `dayBoundaryHour` | `4` | Both the agent-day boundary and the morning-routine fire time. See [Agent Day](../../concepts/agent-day.md). |
110
+ | Tier (heavy/light) | heavy | Forced heavy by default — Sonnet/Flash routines tend to skip critical context. |
111
+ | Max turns | 50 (router cap, P95+) | Adjustable per-process in Settings → Models. |
112
+ | Max budget USD | 5.00 | Per-execute cap. The router enforces this before token costs accumulate. |
113
+
114
+ ## When Something Goes Wrong
115
+
116
+ - The most common failure is **morning routine did not run** because the daemon was offline at the trigger window. The next launch picks the run up via the catch-up scheduler if it is still the same agent day.
117
+ - A failed morning routine emits a fallback-success notification when the secondary backend caught the run, or a fallback-failed notification (high priority) when both failed.
118
+ - Heavy-tier quota exhaustion (Claude Max5/Max20 5-hour Opus window) is the second most common cause. Switch the routine's model to a different heavy-tier option in Settings → Models or wait out the window.
119
+
120
+ ## Related
121
+
122
+ - [Agent Day](../../concepts/agent-day.md) — boundary semantics that shift "today".
123
+ - [today.md](../memory-files/today.md) — the file the routine rebuilds.
@@ -0,0 +1,70 @@
1
+ ---
2
+ schema_version: 1
3
+ slug: features/routines/weekly-review
4
+ title: Weekly Review
5
+ id: weekly-review
6
+ aliases:
7
+ - weekly retro
8
+ - sunday review
9
+ category: features
10
+ summary: |
11
+ Once a week, the agent reads the past seven days of journal
12
+ entries, completed tasks, and roadmap progress, then writes a
13
+ weekly retro into the weekly/ directory.
14
+ section: routines
15
+ tags:
16
+ - routine
17
+ - autonomous
18
+ - light-tier
19
+ status: stable
20
+ ask_examples:
21
+ - When does the weekly review run?
22
+ - What does the weekly retro look at?
23
+ - Where do weekly retros get stored?
24
+ locale: en-US
25
+ created: 2026-04-25
26
+ updated: 2026-04-25
27
+ related:
28
+ - concepts/routines
29
+ - features/memory-files/agent-journal
30
+ process_keys:
31
+ - routine.weekly_review
32
+ ---
33
+
34
+ # Weekly Review
35
+
36
+ ## In One Sentence
37
+
38
+ A light-tier weekly retro fires once per week and writes a synthesis
39
+ into `weekly/<YYYY-MM-DD>.md`.
40
+
41
+ ## What It Does
42
+
43
+ - Reads journal entries since the last weekly retro.
44
+ - Reads completed tasks and roadmap movement.
45
+ - Writes a synthesis: what shipped, what slipped, what surprised.
46
+
47
+ ## When It Runs / How It Is Triggered
48
+
49
+ Every **Friday at 18:00 local time**. The schedule is fixed in
50
+ `packages/daemon/src/core/scheduler.ts` and is not operator-configurable.
51
+
52
+ ## What It Outputs
53
+
54
+ - One file per week under `~/.personal-agent/context/weekly/`.
55
+
56
+ ## Configuration
57
+
58
+ This routine has no operator-tunable knobs. The fire time, day-of-week,
59
+ and tier are fixed in code.
60
+
61
+ ## When Something Goes Wrong
62
+
63
+ - The retro **doesn't fire**: catch-up does not span more than one
64
+ week — if the daemon was offline for several days the retro is
65
+ skipped.
66
+
67
+ ## Related
68
+
69
+ - [Evening Review](evening-review.md)
70
+ - [Monthly Review](monthly-review.md)
@@ -0,0 +1,192 @@
1
+ ---
2
+ schema_version: 1
3
+ slug: getting-started/01-what-is-this
4
+ title: What is Aitne?
5
+ id: what-is-this
6
+ category: getting-started
7
+ summary: |
8
+ Aitne is a local-first proactive personal AI agent. It runs
9
+ as a daemon on your own machine, uses your Claude / Codex / Gemini
10
+ subscription, and stores all memory as plain Markdown files.
11
+ section: getting-started
12
+ tags:
13
+ - core
14
+ - getting-started
15
+ status: stable
16
+ ask_examples:
17
+ - What is Aitne?
18
+ - How is this different from ChatGPT?
19
+ - Where does my data live?
20
+ - What can Aitne actually do for me?
21
+ locale: en-US
22
+ created: 2026-04-25
23
+ updated: 2026-04-27
24
+ related:
25
+ - getting-started/02-first-steps
26
+ - getting-started/03-what-can-this-do
27
+ - getting-started/04-first-day
28
+ - concepts/memory-model
29
+ - concepts/backends-and-tiers
30
+ ---
31
+
32
+ # What is Aitne?
33
+
34
+ Aitne is a local-first personal AI agent. It runs as a long-running
35
+ daemon on your own machine, uses an LLM subscription you already own
36
+ (Claude, Codex, or Gemini), and keeps all of its memory as plain
37
+ Markdown files under `~/.personal-agent/`.
38
+
39
+ Unlike a chat assistant that only responds when you type, Aitne also
40
+ runs on its own — on a schedule, in reaction to changes it sees in
41
+ your apps, or when you DM it from a messenger.
42
+
43
+ ## What It Can Do
44
+
45
+ ### Run on a schedule
46
+
47
+ Aitne can run [routines](../concepts/routines.md) without being asked.
48
+ By default:
49
+
50
+ - Every morning, it reads your calendar, unread mail, open tasks, and
51
+ recent notes, and writes today's plan into
52
+ [`today.md`](../features/memory-files/today.md).
53
+ - Every evening, it reviews how the day went and updates
54
+ [`journal.md`](../features/memory-files/agent-journal.md).
55
+ - Once a week and once a month, it rolls those journals up.
56
+ - Once an hour during active hours, it checks
57
+ [observations](../concepts/observations.md) it has collected from
58
+ the integrations below.
59
+
60
+ You can change the times, disable any of them, or add your own.
61
+
62
+ → [Morning Routine](../features/routines/morning-routine.md) ·
63
+ [Evening Review](../features/routines/evening-review.md) ·
64
+ [Hourly Check](../features/routines/hourly-check.md) ·
65
+ [Custom Routines](../features/routines/custom-routines.md)
66
+
67
+ ### Reach you through a messenger
68
+
69
+ When something the agent notices needs your attention — a moved
70
+ meeting, a flight confirmation it wants to file, a reply you said
71
+ you'd send — it can DM you. You can also DM it back to ask questions
72
+ or give instructions.
73
+
74
+ Supported channels:
75
+
76
+ - [Telegram](../features/messaging/telegram.md)
77
+ - [Slack](../features/messaging/slack.md)
78
+ - [Discord](../features/messaging/discord.md)
79
+ - [WhatsApp](../features/messaging/whatsapp.md)
80
+ - [Dashboard chat](../features/messaging/dashboard-chat.md) (built in)
81
+
82
+ Pairing is one-time per channel.
83
+
84
+ → [Messaging Overview](../features/messaging/overview.md) ·
85
+ [Pairing & Magic Phrase](../features/messaging/pairing-and-magic-phrase.md)
86
+
87
+ ### Watch the apps you connect
88
+
89
+ When you connect an integration, the agent polls it on a schedule and
90
+ records anything that looks relevant as an
91
+ [observation](../concepts/observations.md). The hourly routine then
92
+ decides what (if anything) is worth telling you about.
93
+
94
+ - [Mail](../features/integrations/mail.md) — Gmail, Outlook, Yahoo,
95
+ iCloud, or any IMAP server. Searches your messages locally via
96
+ FTS5. Auto-classifies into
97
+ [reading list](../features/lifestyle/reading.md),
98
+ [receipts](../features/lifestyle/receipts.md), and
99
+ [travel bookings](../features/lifestyle/travel-bookings.md).
100
+ - [Calendar](../features/integrations/calendar.md) — including
101
+ [travel-time](../features/lifestyle/travel-time.md) lookups before
102
+ events.
103
+ - [Obsidian](../features/integrations/obsidian.md) — watches a vault
104
+ for new notes.
105
+ - [Notion](../features/integrations/notion.md) — watches selected
106
+ pages and databases.
107
+ - [Git](../features/integrations/git.md) /
108
+ [GitHub](../features/integrations/github.md) — watches local repos
109
+ and tracked GitHub repositories.
110
+
111
+ ### Remember things in plain Markdown
112
+
113
+ Everything the agent learns about you is written as Markdown files
114
+ you can read, edit, and version yourself. Nothing important lives in
115
+ an opaque vector store.
116
+
117
+ - [`user/profile.md`](../features/memory-files/user-profile.md) —
118
+ what the agent knows about you.
119
+ - [`projects/*.md`](../features/memory-files/projects.md) — one file
120
+ per active project.
121
+ - [`roadmap.md`](../features/memory-files/roadmap.md) — longer-term
122
+ goals.
123
+ - [`schedule/YYYY-MM-DD.md`](../features/memory-files/schedule.md) —
124
+ per-day plans.
125
+ - [`today.md`](../features/memory-files/today.md) — today's plan.
126
+ - [`agent/journal.md`](../features/memory-files/agent-journal.md) —
127
+ what the agent did and noticed.
128
+
129
+ → [Memory Model](../concepts/memory-model.md)
130
+
131
+ ### Use the LLM subscription you already have
132
+
133
+ You can point Aitne at one or more of your existing subscriptions.
134
+ Each kind of work (heavy reasoning vs. a quick reply) is mapped to a
135
+ backend; you can change the mapping any time.
136
+
137
+ - Claude (via Claude Code)
138
+ - Codex (via Codex CLI)
139
+ - Gemini (via Gemini CLI)
140
+
141
+ → [Backends and Tiers](../concepts/backends-and-tiers.md) ·
142
+ [Costs and Quotas](../concepts/costs-and-quotas.md) ·
143
+ [Backend Routing](../features/operations/backend-routing.md)
144
+
145
+ ### Stay within limits you set
146
+
147
+ - [Quiet hours](../features/operations/quiet-hours.md) — windows
148
+ during which the agent will not DM you or run autonomous routines.
149
+ - [Approvals](../features/operations/approvals.md) — write actions
150
+ the agent must ask about before executing.
151
+ - An always-disallowed list of operations the agent cannot perform
152
+ even with permission widened (see
153
+ [safety model](../concepts/safety-model.md)).
154
+ - No automated social posting and no financial transactions, by
155
+ design.
156
+
157
+ → [Safety Model](../concepts/safety-model.md) ·
158
+ [Safety and Execution](../concepts/safety-and-execution.md)
159
+
160
+ ## What It Is Not
161
+
162
+ - **Cloud-hosted**: nothing leaves your machine except per-turn LLM
163
+ calls (and only the prompt text, not your raw vault).
164
+ - **Multi-user**: single-owner by design. DMs and mentions only;
165
+ group chats are filtered out.
166
+ - **An IDE plugin**: Claude Code is one of its backends, but the
167
+ agent daemon is the surface, not the editor.
168
+ - **A separate subscription**: Aitne itself does not bill you; you
169
+ pay your LLM provider directly.
170
+
171
+ ## Where to Start
172
+
173
+ If the dashboard is already open, the daemon is running — start here:
174
+
175
+ - [First Steps](02-first-steps.md) — finish the setup wizard, pair
176
+ messaging.
177
+ - [What This App Can Do](03-what-can-this-do.md) — the full
178
+ capability tour with one-line summaries.
179
+ - [Your First Day](04-first-day.md) — what to expect once the agent
180
+ starts running on its own.
181
+
182
+ If you are still installing:
183
+
184
+ - [Install and Run](../guides/install-and-run.md)
185
+ - [CLI Commands](../reference/cli-commands.md)
186
+
187
+ ## Related
188
+
189
+ - [Memory Model](../concepts/memory-model.md)
190
+ - [Backends and Tiers](../concepts/backends-and-tiers.md)
191
+ - [Routines](../concepts/routines.md)
192
+ - [Agent Day](../concepts/agent-day.md)
@@ -0,0 +1,80 @@
1
+ ---
2
+ schema_version: 1
3
+ slug: getting-started/02-first-steps
4
+ title: First Steps in the Dashboard
5
+ id: first-steps
6
+ category: getting-started
7
+ summary: |
8
+ What to do the moment the dashboard opens — finish the setup wizard,
9
+ pair a messaging app, and arrive at a green health pill.
10
+ section: getting-started
11
+ tags:
12
+ - core
13
+ - getting-started
14
+ status: stable
15
+ ask_examples:
16
+ - I just opened the dashboard. What now?
17
+ - How do I get the agent to talk to me?
18
+ - Do I have to connect every integration?
19
+ locale: en-US
20
+ created: 2026-04-27
21
+ updated: 2026-04-27
22
+ related:
23
+ - getting-started/01-what-is-this
24
+ - getting-started/03-what-can-this-do
25
+ - getting-started/04-first-day
26
+ - guides/setup-wizard
27
+ ---
28
+
29
+ # First Steps in the Dashboard
30
+
31
+ ## Goal
32
+
33
+ Get from a fresh dashboard to "the agent can reach me" — a green
34
+ health pill, a paired messaging app, and a backend the agent can call.
35
+
36
+ ## What you should see right now
37
+
38
+ If the dashboard just opened, you are on `/setup` — the setup wizard.
39
+ The dashboard refuses to leave this page until the minimum is filled
40
+ in (a backend, a messaging pair). Run through it once, top to bottom.
41
+
42
+ ## Steps
43
+
44
+ 1. **Finish the setup wizard.** Each step is small and rerunnable.
45
+ The walkthrough — what each step asks for and why — lives in
46
+ [Setup Wizard](../guides/setup-wizard.md).
47
+ 2. **Pair at least one messaging app.** Telegram is the easiest. The
48
+ wizard's Messaging step prints a magic phrase you DM to the bot;
49
+ the daemon claims you as the owner. See
50
+ [Messaging Overview](../features/messaging/overview.md) for the
51
+ list of supported apps and what each one does well.
52
+ 3. **Pick a main backend and plan.** This is the LLM the agent uses
53
+ for "think hard" turns. Defaults are sensible; you can change it
54
+ later from `/settings/models`. Background:
55
+ [Backends and Tiers](../concepts/backends-and-tiers.md).
56
+ 4. **Skip integrations you do not need yet.** Mail, calendar, git,
57
+ Notion, Obsidian are all optional and re-runnable any time from
58
+ `/connections`.
59
+
60
+ ## Verification
61
+
62
+ - The Overview page (`/`) shows a green health pill.
63
+ - The Messaging card lists at least one paired app.
64
+ - A DM you send from the paired app shows up in
65
+ `/activity` within a few seconds.
66
+
67
+ ## If It Fails
68
+
69
+ - Can't get past a wizard step → check `pnpm logs` and look for the
70
+ underlying daemon error. Most failures are credential-shape issues.
71
+ - Backend won't authenticate → see [Auth Failed](../troubleshooting/auth-failed.md).
72
+ - Messaging never claims you → see [Messaging Not Pairing](../troubleshooting/messaging-not-pairing.md).
73
+
74
+ ## Related
75
+
76
+ - [What is Aitne?](01-what-is-this.md) — the orientation.
77
+ - [What This App Can Do](03-what-can-this-do.md) — once setup is
78
+ done, here is the tour.
79
+ - [Your First Day](04-first-day.md) — what happens once the agent
80
+ starts running on its own.
@@ -0,0 +1,110 @@
1
+ ---
2
+ schema_version: 1
3
+ slug: getting-started/03-what-can-this-do
4
+ title: What This App Can Do
5
+ id: what-can-this-do
6
+ category: getting-started
7
+ summary: |
8
+ A tour of Aitne's capabilities at a beginner-friendly
9
+ granularity, with a link to the detailed feature doc for each.
10
+ section: getting-started
11
+ tags:
12
+ - core
13
+ - getting-started
14
+ - overview
15
+ status: stable
16
+ ask_examples:
17
+ - What can Aitne actually do?
18
+ - What features should I try first?
19
+ - How does the agent reach out to me?
20
+ locale: en-US
21
+ created: 2026-04-27
22
+ updated: 2026-04-27
23
+ related:
24
+ - getting-started/01-what-is-this
25
+ - getting-started/02-first-steps
26
+ - getting-started/04-first-day
27
+ - concepts/routines
28
+ - concepts/memory-model
29
+ ---
30
+
31
+ # What This App Can Do
32
+
33
+ A short tour. Each capability has a one-line summary plus a link to
34
+ the doc that goes deep.
35
+
36
+ ## Plan your day, on its own
37
+
38
+ The agent runs **routines** on a schedule. The morning routine builds
39
+ `today.md` from your calendar, mail, tasks, and notes; the evening
40
+ review writes a journal entry; weekly and monthly summaries roll up.
41
+
42
+ - [Routines](../concepts/routines.md) — what runs and when.
43
+ - [Morning Routine](../features/routines/morning-routine.md)
44
+ - [Evening Review](../features/routines/evening-review.md)
45
+
46
+ ## Talk to it from any messaging app
47
+
48
+ DM the agent from Telegram, Slack, Discord, WhatsApp, or the
49
+ dashboard's own chat. It answers, remembers, and can DM you back when
50
+ something comes up.
51
+
52
+ - [Messaging Overview](../features/messaging/overview.md) — supported
53
+ apps and how pairing works.
54
+ - [Dashboard Chat](../features/messaging/dashboard-chat.md) — the
55
+ in-dashboard chat surface.
56
+
57
+ ## Watch what changes around you
58
+
59
+ Mail, calendar, git repos, your Obsidian vault, and Notion — the
60
+ agent watches the ones you connect and reacts when something worth
61
+ noticing happens.
62
+
63
+ - [Mail](../features/integrations/mail.md)
64
+ - [Calendar](../features/integrations/calendar.md)
65
+ - [Git](../features/integrations/git.md)
66
+ - [Obsidian](../features/integrations/obsidian.md)
67
+ - [Notion](../features/integrations/notion.md)
68
+
69
+ ## Remember things in plain Markdown
70
+
71
+ Everything the agent learns about you lives as Markdown files under
72
+ `~/.personal-agent/context/`. You can read them, edit them, version
73
+ them — the agent reads what's there next time it runs.
74
+
75
+ - [Memory Model](../concepts/memory-model.md) — the layout and the
76
+ rules around it.
77
+ - [user/profile.md](../features/memory-files/user-profile.md) — what
78
+ the agent knows about you.
79
+ - [today.md](../features/memory-files/today.md) — today's plan.
80
+ - [agent/journal.md](../features/memory-files/agent-journal.md) —
81
+ what the agent did and what it noticed.
82
+
83
+ ## Help with the small lifestyle stuff
84
+
85
+ Reading lists, receipts, travel bookings, travel-time estimates — the
86
+ agent collects what arrives in mail and surfaces it in the right tab.
87
+
88
+ - [Reading](../features/lifestyle/reading.md)
89
+ - [Receipts](../features/lifestyle/receipts.md)
90
+ - [Travel Bookings](../features/lifestyle/travel-bookings.md)
91
+ - [Travel Time](../features/lifestyle/travel-time.md)
92
+
93
+ ## Stay in control
94
+
95
+ Quiet hours, approvals, and a strict set of always-disallowed
96
+ operations keep the agent from doing anything you don't want.
97
+
98
+ - [Safety Model](../concepts/safety-model.md) — what the agent will
99
+ never do.
100
+ - [Approvals](../features/operations/approvals.md) — when it asks
101
+ before acting.
102
+ - [Quiet Hours](../features/operations/quiet-hours.md) — when it
103
+ stays silent.
104
+
105
+ ## Related
106
+
107
+ - [Your First Day](04-first-day.md) — what to expect when the agent
108
+ begins running on its own.
109
+ - [What is Aitne?](01-what-is-this.md) — the elevator pitch.
110
+ - [First Steps](02-first-steps.md) — finish setup before exploring.