@aitne-sh/aitne 0.1.9 → 0.1.11
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 +41 -11
- package/agent-assets/agent-profiles/background-task.md +53 -0
- package/agent-assets/agent-profiles/conversational.md +1 -0
- package/agent-assets/agent-profiles/routine-fetch-window.md +14 -75
- package/agent-assets/agent-profiles/routine.md +1 -1
- package/agent-assets/agents/{hourly-check → activity-scan}/agent.md +22 -17
- package/agent-assets/agents/monthly-review/agent.md +6 -5
- package/agent-assets/docs/concepts/agent-day.md +6 -7
- package/agent-assets/docs/concepts/auth-health.md +23 -20
- package/agent-assets/docs/concepts/backends-and-tiers.md +13 -9
- package/agent-assets/docs/concepts/costs-and-quotas.md +14 -12
- package/agent-assets/docs/concepts/delegated-mode.md +18 -17
- package/agent-assets/docs/concepts/memory-model.md +16 -9
- package/agent-assets/docs/concepts/observations.md +24 -20
- package/agent-assets/docs/concepts/process-keys.md +10 -9
- package/agent-assets/docs/concepts/routines.md +34 -31
- package/agent-assets/docs/concepts/safety-and-execution.md +11 -7
- package/agent-assets/docs/concepts/safety-model.md +39 -25
- package/agent-assets/docs/concepts/skills.md +12 -10
- package/agent-assets/docs/features/integrations/browser-history.md +23 -18
- package/agent-assets/docs/features/integrations/calendar.md +28 -17
- package/agent-assets/docs/features/integrations/git.md +13 -11
- package/agent-assets/docs/features/integrations/github.md +22 -14
- package/agent-assets/docs/features/integrations/mail.md +25 -22
- package/agent-assets/docs/features/integrations/notion.md +35 -11
- package/agent-assets/docs/features/integrations/obsidian.md +8 -8
- package/agent-assets/docs/features/lifestyle/git.md +27 -23
- package/agent-assets/docs/features/lifestyle/reading.md +20 -11
- package/agent-assets/docs/features/lifestyle/receipts.md +11 -10
- package/agent-assets/docs/features/lifestyle/travel-bookings.md +4 -3
- package/agent-assets/docs/features/memory-files/agent-journal.md +53 -26
- package/agent-assets/docs/features/memory-files/agent-lessons.md +178 -0
- package/agent-assets/docs/features/memory-files/projects.md +11 -8
- package/agent-assets/docs/features/memory-files/roadmap.md +17 -14
- package/agent-assets/docs/features/memory-files/schedule.md +6 -3
- package/agent-assets/docs/features/memory-files/today.md +10 -7
- package/agent-assets/docs/features/memory-files/user-profile.md +14 -9
- package/agent-assets/docs/features/messaging/bang-commands.md +21 -6
- package/agent-assets/docs/features/messaging/overview.md +17 -14
- package/agent-assets/docs/features/messaging/telegram.md +10 -9
- package/agent-assets/docs/features/operations/activity-and-conversations.md +6 -5
- package/agent-assets/docs/features/operations/approvals.md +6 -5
- package/agent-assets/docs/features/operations/browser-tasks.md +184 -0
- package/agent-assets/docs/features/operations/cost-tracking.md +11 -1
- package/agent-assets/docs/features/operations/managed-chromium.md +4 -2
- package/agent-assets/docs/features/operations/notifications.md +11 -1
- package/agent-assets/docs/features/operations/quiet-hours.md +41 -11
- package/agent-assets/docs/features/operations/schedule-approaching.md +2 -2
- package/agent-assets/docs/features/routines/activity-scan.md +220 -0
- package/agent-assets/docs/features/routines/custom-routines.md +82 -134
- package/agent-assets/docs/features/routines/evening-review.md +23 -13
- package/agent-assets/docs/features/routines/morning-routine.md +7 -5
- package/agent-assets/docs/features/routines/weekly-review.md +24 -3
- package/agent-assets/docs/features/wiki/commands.md +4 -4
- package/agent-assets/docs/features/wiki/cost-and-approval.md +4 -3
- package/agent-assets/docs/features/wiki/dashboard.md +7 -6
- package/agent-assets/docs/features/wiki/overview.md +3 -3
- package/agent-assets/docs/features/wiki/search.md +5 -5
- package/agent-assets/docs/features/wiki/workspaces.md +2 -2
- package/agent-assets/docs/getting-started/01-what-is-this.md +3 -3
- package/agent-assets/docs/getting-started/02-first-steps.md +5 -3
- package/agent-assets/docs/getting-started/04-first-day.md +27 -30
- package/agent-assets/docs/glossary.md +8 -8
- package/agent-assets/docs/guides/add-a-custom-routine.md +122 -68
- package/agent-assets/docs/guides/budget-and-cost-for-wiki.md +2 -2
- package/agent-assets/docs/guides/connect-a-new-mail-account.md +4 -2
- package/agent-assets/docs/guides/explore-with-trace-and-connect.md +5 -4
- package/agent-assets/docs/guides/install-and-run.md +2 -2
- package/agent-assets/docs/guides/maintain-wiki-health.md +2 -2
- package/agent-assets/docs/guides/pause-the-agent.md +27 -21
- package/agent-assets/docs/guides/reinstall-cleanly.md +2 -0
- package/agent-assets/docs/guides/setup-wizard.md +12 -6
- package/agent-assets/docs/guides/use-an-existing-obsidian-vault.md +6 -6
- package/agent-assets/docs/reference/api.md +26 -5
- package/agent-assets/docs/reference/cli-commands.md +3 -3
- package/agent-assets/docs/reference/config.md +51 -24
- package/agent-assets/docs/reference/disallowed-tools.md +6 -4
- package/agent-assets/docs/reference/keyboard-shortcuts.md +2 -2
- package/agent-assets/docs/reference/knowledge-layout.md +25 -12
- package/agent-assets/docs/reference/process-keys.md +9 -9
- package/agent-assets/docs/reference/skills.md +10 -6
- package/agent-assets/docs/troubleshooting/auth-failed.md +9 -8
- package/agent-assets/docs/troubleshooting/dashboard-shows-degraded.md +16 -9
- package/agent-assets/docs/troubleshooting/messaging-not-pairing.md +2 -2
- package/agent-assets/docs/troubleshooting/morning-routine-didnt-run.md +32 -16
- package/agent-assets/docs/troubleshooting/observation-not-detected.md +26 -24
- package/agent-assets/docs/troubleshooting/quota-exhausted.md +7 -6
- package/agent-assets/docs/troubleshooting/wiki-write-failed.md +3 -3
- package/agent-assets/skills/agent-actions/SKILL.md +23 -39
- package/agent-assets/skills/agent-create/SKILL.md +26 -6
- package/agent-assets/skills/attach/SKILL.md +8 -27
- package/agent-assets/skills/background-task/SKILL.md +184 -0
- package/agent-assets/skills/background-task-reply/SKILL.md +100 -0
- package/agent-assets/skills/browser-history/SKILL.md +60 -29
- package/agent-assets/skills/browser-history-respond/SKILL.md +6 -1
- package/agent-assets/skills/browser-task/SKILL.md +33 -31
- package/agent-assets/skills/context/SKILL.md +26 -34
- package/agent-assets/skills/context/curation.json +12 -12
- package/agent-assets/skills/context/references/api.md +22 -20
- package/agent-assets/skills/context/references/required-frontmatter.md +10 -9
- package/agent-assets/skills/context/references/snapshot-files.md +16 -15
- package/agent-assets/skills/context/seeds/file-responsibilities.seed.json +5 -5
- package/agent-assets/skills/context/seeds/frontmatter-requirements.seed.json +3 -3
- package/agent-assets/skills/docs-search/SKILL.md +19 -31
- package/agent-assets/skills/external-services/SKILL.delegated.claude.md +8 -95
- package/agent-assets/skills/external-services/SKILL.delegated.codex.md +8 -94
- package/agent-assets/skills/external-services/SKILL.delegated.gemini.md +8 -94
- package/agent-assets/skills/external-services/SKILL.native.claude.md +15 -9
- package/agent-assets/skills/external-services/SKILL.native.codex.md +11 -5
- package/agent-assets/skills/external-services/SKILL.native.gemini.md +11 -5
- package/agent-assets/skills/external-services/references/exec-errors.md +32 -0
- package/agent-assets/skills/external-services/references/skills-crud.md +5 -5
- package/agent-assets/skills/gmail-lifestyle/SKILL.md +3 -2
- package/agent-assets/skills/gmail-lifestyle/references/receipts-api.md +4 -0
- package/agent-assets/skills/gmail-lifestyle/references/travel-bookings-api.md +9 -0
- package/agent-assets/skills/mail/SKILL.delegated.claude.md +13 -25
- package/agent-assets/skills/mail/SKILL.delegated.codex.md +3 -2
- package/agent-assets/skills/mail/SKILL.delegated.gemini.md +3 -2
- package/agent-assets/skills/mail/SKILL.md +12 -20
- package/agent-assets/skills/mail/SKILL.native.claude.md +24 -16
- package/agent-assets/skills/mail/SKILL.native.codex.md +16 -9
- package/agent-assets/skills/mail/SKILL.native.gemini.md +12 -6
- package/agent-assets/skills/mail/references/api.md +6 -1
- package/agent-assets/skills/mail/references/examples.md +2 -1
- package/agent-assets/skills/managed-tasks/SKILL.md +44 -77
- package/agent-assets/skills/managed-tasks/references/errors.md +25 -14
- package/agent-assets/skills/managed-tasks/references/output-path.md +33 -17
- package/agent-assets/skills/managed-tasks/references/recurrence-rule.md +26 -16
- package/agent-assets/skills/management-policy/SKILL.md +36 -28
- package/agent-assets/skills/management-policy/curation.json +1 -1
- package/agent-assets/skills/management-policy/references/policy-workflow.md +30 -18
- package/agent-assets/skills/notify/SKILL.md +16 -13
- package/agent-assets/skills/notify/references/priority.md +42 -26
- 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.md +18 -18
- package/agent-assets/skills/notion/SKILL.native.claude.md +4 -4
- package/agent-assets/skills/notion/SKILL.native.codex.md +3 -3
- package/agent-assets/skills/notion/SKILL.native.gemini.md +3 -3
- package/agent-assets/skills/observations/SKILL.md +9 -24
- package/agent-assets/skills/observations/references/fetch-fallback.md +22 -0
- package/agent-assets/skills/project-doc/SKILL.md +9 -6
- package/agent-assets/skills/project-doc/curation.json +3 -3
- package/agent-assets/skills/project-doc/seeds/project-shape.seed.json +2 -2
- package/agent-assets/skills/project-doc/seeds/slug-grammar.seed.json +3 -3
- package/agent-assets/skills/reading/SKILL.md +8 -42
- package/agent-assets/skills/reading/references/reading-taste.md +5 -5
- package/agent-assets/skills/roadmap/SKILL.md +3 -19
- package/agent-assets/skills/roadmap/references/api.md +23 -8
- package/agent-assets/skills/roadmap/references/horizon-tags.md +11 -0
- package/agent-assets/skills/roadmap/references/migration.md +8 -6
- package/agent-assets/skills/roadmap/references/retention.md +18 -0
- package/agent-assets/skills/schedule/SKILL.md +20 -28
- package/agent-assets/skills/schedule/references/importance.md +23 -0
- package/agent-assets/skills/schedule/references/recurrence-rule.md +26 -16
- package/agent-assets/skills/scheduled-managed-task/SKILL.md +46 -46
- package/agent-assets/skills/today/SKILL.md +38 -81
- package/agent-assets/skills/today/references/agent-plan-lifecycle.md +9 -4
- package/agent-assets/skills/today/references/agent-plan-revision.md +28 -0
- package/agent-assets/skills/today/references/today-skeleton.md +66 -0
- package/agent-assets/skills/today/seeds/agent-notes-flavors.seed.json +1 -1
- package/agent-assets/skills/today/seeds/section-shape.seed.json +6 -6
- package/agent-assets/skills/user-interview/SKILL.md +15 -90
- package/agent-assets/skills/user-interview/references/op-briefing.md +1 -1
- package/agent-assets/skills/user-interview/references/op-dm-handler.md +88 -0
- package/agent-assets/skills/user-interview/references/op-morning.md +2 -2
- package/agent-assets/skills/user-interview/references/sweep-and-fallback.md +1 -1
- package/agent-assets/skills/user-profile/SKILL.md +16 -26
- package/agent-assets/skills/user-profile/curation.json +3 -3
- package/agent-assets/skills/user-profile/references/character-preferences.md +3 -3
- package/agent-assets/skills/wiki/wiki-ask/SKILL.md +1 -1
- package/agent-assets/skills/wiki/wiki-compile/SKILL.md +5 -4
- package/agent-assets/skills/wiki/wiki-connect/SKILL.md +32 -5
- package/agent-assets/skills/wiki/wiki-ingest/SKILL.md +6 -50
- package/agent-assets/skills/wiki/wiki-ingest/references/curl-errors.md +58 -0
- package/agent-assets/skills/wiki/wiki-lint/SKILL.md +20 -14
- package/agent-assets/skills/wiki/wiki-trace/SKILL.md +10 -5
- package/agent-assets/skills/wiki/wiki-vault-rules/SKILL.md +2 -0
- package/agent-assets/system-prompts/routine-research-cluster-update.md +71 -0
- package/agent-assets/task-flows/_partials/feedback-capture.md +30 -0
- package/agent-assets/task-flows/_partials/notion-acquire.notion.md +47 -21
- package/agent-assets/task-flows/background_task.md +81 -0
- package/agent-assets/task-flows/git.local_ahead.stale.md +1 -1
- package/agent-assets/task-flows/git.push.detected.md +1 -1
- package/agent-assets/task-flows/git.tag.created.md +1 -1
- 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.security_alert.md +1 -1
- package/agent-assets/task-flows/message.received.dm.md +11 -3
- package/agent-assets/task-flows/message.received.dm_first.md +8 -2
- package/agent-assets/task-flows/{routine.hourly_check.md → routine.activity_scan.md} +31 -23
- package/agent-assets/task-flows/{routine.hourly_check.triage.md → routine.activity_scan.triage.md} +3 -3
- package/agent-assets/task-flows/routine.evening_review.md +80 -0
- package/agent-assets/task-flows/routine.monthly_review.md +81 -8
- package/agent-assets/task-flows/routine.research_cluster_update.md +33 -19
- package/agent-assets/task-flows/routine.roadmap_refresh.md +2 -2
- package/agent-assets/task-flows/routine.today_refresh.md +1 -1
- package/agent-assets/task-flows/routine.weekly_review.md +124 -4
- package/agent-assets/task-flows/schedule.approaching.md +2 -2
- package/agent-assets/task-flows/scheduled.dm.md +77 -1
- package/agent-assets/task-flows/scheduled.task.md +7 -1
- package/agent-assets/task-flows/wiki.trace.md +1 -1
- package/agent-assets/templates/_manifest.json +2 -2
- package/agent-assets/templates/knowledge/dossiers/_index.md +1 -1
- package/agent-assets/templates/knowledge/dossiers/{hourly.md → activity-scan.md} +1 -1
- package/agent-assets/templates/policies/journal-format.md +1 -1
- package/agent-assets/templates/policies/mcp.md +1 -1
- package/agent-assets/templates/policies/routines/_index.md +1 -1
- package/agent-assets/templates/policies/routines/{hourly.md → activity-scan.md} +5 -5
- package/bin/aitne.mjs +45 -11
- package/package.json +6 -5
- package/scripts/commands/doctor.mjs +11 -2
- package/scripts/lib/process-identity.d.mts +46 -0
- package/scripts/lib/process-identity.mjs +193 -0
- package/scripts/lib/read-api-token.mjs +1 -1
- package/scripts/start.mjs +14 -4
- package/agent-assets/docs/features/routines/hourly-check.md +0 -205
|
@@ -27,7 +27,7 @@ ask_examples:
|
|
|
27
27
|
- Where do weekly retros get stored?
|
|
28
28
|
locale: en-US
|
|
29
29
|
created: 2026-04-25
|
|
30
|
-
updated: 2026-
|
|
30
|
+
updated: 2026-06-10
|
|
31
31
|
keywords:
|
|
32
32
|
- weekly review
|
|
33
33
|
- Friday review
|
|
@@ -39,14 +39,16 @@ related:
|
|
|
39
39
|
- concepts/routines
|
|
40
40
|
- features/routines/evening-review
|
|
41
41
|
- features/memory-files/agent-journal
|
|
42
|
+
- features/memory-files/agent-lessons
|
|
42
43
|
process_keys:
|
|
43
44
|
- routine.weekly_review
|
|
44
45
|
config_keys:
|
|
45
46
|
- timezone
|
|
46
47
|
- dayBoundaryHour
|
|
48
|
+
- selfTuningEnabled
|
|
47
49
|
ui_anchors:
|
|
48
50
|
- /settings/models
|
|
49
|
-
- /
|
|
51
|
+
- /agents/weekly-review
|
|
50
52
|
context_files:
|
|
51
53
|
- journal/weekly/YYYY-Www.md
|
|
52
54
|
- journal/agent.md
|
|
@@ -69,6 +71,22 @@ into every morning routine of the following ISO week.
|
|
|
69
71
|
Lessons — and writes the user-facing snapshot.
|
|
70
72
|
- Appends an agent-internal block to `journal/agent.md` for
|
|
71
73
|
self-critique, filter quality, and improvement ideas.
|
|
74
|
+
- Feeds the learning loop: for each concrete, actionable system
|
|
75
|
+
improvement idea it identifies, it also posts a `source=self_critique`
|
|
76
|
+
feedback signal (in addition to the `journal/agent.md` prose), so the
|
|
77
|
+
idea is consolidated into the [agent lessons](../memory-files/agent-lessons.md)
|
|
78
|
+
rather than only living in the journal.
|
|
79
|
+
- Judges the daemon's self-tuning recommendations: when the weekly
|
|
80
|
+
pre-step finds a cost knob worth changing (e.g. raising the mail
|
|
81
|
+
pre-pass freshness window because most fetches came back empty), it
|
|
82
|
+
injects up to three bounded proposals and the review records an
|
|
83
|
+
apply / reject / defer verdict for each. While `selfTuningEnabled` is
|
|
84
|
+
`false` (the default) nothing is ever changed automatically — verdicts
|
|
85
|
+
are recorded for the owner to review (shadow mode). With the flag on,
|
|
86
|
+
an apply verdict is actuated immediately by the daemon within hard
|
|
87
|
+
per-key bounds; the owner gets a one-line DM per applied change
|
|
88
|
+
(`!revert tuning` undoes the latest one) and a daily monitor
|
|
89
|
+
auto-reverts any change whose 7-day follow-up metrics regressed.
|
|
72
90
|
- Sends a brief Friday-evening notification by default (the silence
|
|
73
91
|
gate triggers only on an essentially blank week).
|
|
74
92
|
- Refreshes `identity/reading-taste.md` and Book Candidates when
|
|
@@ -97,7 +115,10 @@ The fire time (Friday 19:00 local) and day-of-week are fixed in code
|
|
|
97
115
|
and are not operator-tunable. The backend and model that handle this
|
|
98
116
|
routine, however, are configurable: `routine.weekly_review` is a
|
|
99
117
|
configurable process key (default **medium** tier — Sonnet on Claude)
|
|
100
|
-
that you can repoint from **Settings → Models**.
|
|
118
|
+
that you can repoint from **Settings → Models**. The weekly rulebook
|
|
119
|
+
(`policies/routines/weekly.md`) is edited on the weekly-review agent's
|
|
120
|
+
Rulebook tab (`/agents/weekly-review?tab=rulebook`), where the agent
|
|
121
|
+
can also be enabled or disabled.
|
|
101
122
|
|
|
102
123
|
## When Something Goes Wrong
|
|
103
124
|
|
|
@@ -34,7 +34,7 @@ ask_examples:
|
|
|
34
34
|
- How do I bridge two domains with `!connect`?
|
|
35
35
|
locale: en-US
|
|
36
36
|
created: 2026-05-12
|
|
37
|
-
updated: 2026-
|
|
37
|
+
updated: 2026-06-07
|
|
38
38
|
keywords:
|
|
39
39
|
- !ingest
|
|
40
40
|
- !compile
|
|
@@ -145,9 +145,9 @@ The acknowledgement DM names the mode that ran (`in parallel` /
|
|
|
145
145
|
Full rebuilds touch every wiki note and are the most expensive
|
|
146
146
|
command in the wiki surface. The flow:
|
|
147
147
|
|
|
148
|
-
1. The bang handler estimates the cost (raw note
|
|
149
|
-
|
|
150
|
-
expected 1× / pessimistic 2×).
|
|
148
|
+
1. The bang handler estimates the cost (per raw note, an on-disk
|
|
149
|
+
char→token approximation × Sonnet 4.6 input price, bracketed
|
|
150
|
+
optimistic 0.5× / expected 1× / pessimistic 2×).
|
|
151
151
|
2. On an external git-tracked vault with **Auto-commit before
|
|
152
152
|
`!compile full`** enabled and a clean working tree, Aitne runs
|
|
153
153
|
`git add -A && git commit -m "aitne wiki: pre-compile snapshot <ts>"`
|
|
@@ -39,7 +39,7 @@ ask_examples:
|
|
|
39
39
|
- Can I see the cost before running !compile full?
|
|
40
40
|
locale: en-US
|
|
41
41
|
created: 2026-05-21
|
|
42
|
-
updated: 2026-
|
|
42
|
+
updated: 2026-06-07
|
|
43
43
|
keywords:
|
|
44
44
|
- cost estimate
|
|
45
45
|
- cost bracket
|
|
@@ -178,8 +178,9 @@ its budget envelope is bounded by the per-process `maxBudgetUsd`
|
|
|
178
178
|
|
|
179
179
|
Per workspace, in `/settings/wiki` — the **Approval threshold (USD)**
|
|
180
180
|
input. The value lives on `wiki_workspaces.full_compile_approval_threshold_usd`
|
|
181
|
-
|
|
182
|
-
to manual approval; setting it higher trusts
|
|
181
|
+
and the PATCH endpoint validates it to the `$0`–`$100` range. Setting it
|
|
182
|
+
lower escalates more runs to manual approval; setting it higher trusts
|
|
183
|
+
the estimator more.
|
|
183
184
|
|
|
184
185
|
A common pattern: start at $2.00, watch the spend on the next
|
|
185
186
|
`!compile full`, then dial up or down based on how close the
|
|
@@ -37,7 +37,7 @@ ask_examples:
|
|
|
37
37
|
- What does the Enable Wiki button do?
|
|
38
38
|
locale: en-US
|
|
39
39
|
created: 2026-05-21
|
|
40
|
-
updated: 2026-
|
|
40
|
+
updated: 2026-06-07
|
|
41
41
|
keywords:
|
|
42
42
|
- /wiki
|
|
43
43
|
- /wiki/timeline
|
|
@@ -128,7 +128,7 @@ States:
|
|
|
128
128
|
The last 8 entries from `log.md`, the wiki's append-only operational
|
|
129
129
|
log. Each entry shows the wiki process key (`wiki.ingest_url`,
|
|
130
130
|
`wiki.compile`, `wiki.ask`, `wiki.lint`, `wiki.trace`, `wiki.connect`),
|
|
131
|
-
the operation (`
|
|
131
|
+
the operation (`post`, `patch`), the affected path, and the
|
|
132
132
|
timestamp. A **View full timeline** button at the top of the card
|
|
133
133
|
opens `/wiki/timeline`.
|
|
134
134
|
|
|
@@ -184,10 +184,11 @@ The configuration surface. Two-state:
|
|
|
184
184
|
|
|
185
185
|
A two-card chooser:
|
|
186
186
|
|
|
187
|
-
- **Internal** (recommended) — managed by Aitne
|
|
188
|
-
(default
|
|
189
|
-
|
|
190
|
-
|
|
187
|
+
- **Internal** (recommended) — managed by Aitne inside the context
|
|
188
|
+
vault (default `<contextDir>/knowledge/wiki`, i.e.
|
|
189
|
+
`~/.personal-agent/context/knowledge/wiki`), schema seeded
|
|
190
|
+
automatically. The **Enable internal wiki** button turns it on with
|
|
191
|
+
nothing else to configure.
|
|
191
192
|
- **Existing Obsidian vault** (external) — point Aitne at a folder you
|
|
192
193
|
already own via the path picker, then confirm with **Use this
|
|
193
194
|
folder**.
|
|
@@ -26,7 +26,7 @@ ask_examples:
|
|
|
26
26
|
- Can I point the wiki at my Obsidian vault?
|
|
27
27
|
locale: en-US
|
|
28
28
|
created: 2026-05-12
|
|
29
|
-
updated: 2026-
|
|
29
|
+
updated: 2026-06-07
|
|
30
30
|
keywords:
|
|
31
31
|
- wiki
|
|
32
32
|
- wiki workspace
|
|
@@ -110,8 +110,8 @@ competes for budget with daily reactive memory.
|
|
|
110
110
|
Aitne offers two modes:
|
|
111
111
|
|
|
112
112
|
- **Internal** (recommended starting point) — the daemon owns the
|
|
113
|
-
vault at `$PA_DATA_DIR/wiki`. No sandbox issues,
|
|
114
|
-
snapshots, isolated from iCloud sync conflicts.
|
|
113
|
+
vault at `$PA_DATA_DIR/context/knowledge/wiki`. No sandbox issues,
|
|
114
|
+
daemon-managed snapshots, isolated from iCloud sync conflicts.
|
|
115
115
|
- **External** — you point the wiki at an existing Obsidian vault on
|
|
116
116
|
disk. The daemon writes directly when the filesystem allows, and
|
|
117
117
|
falls back to the official Obsidian CLI when the vault sits in a
|
|
@@ -36,7 +36,7 @@ ask_examples:
|
|
|
36
36
|
- What is fts_wiki?
|
|
37
37
|
locale: en-US
|
|
38
38
|
created: 2026-05-21
|
|
39
|
-
updated: 2026-
|
|
39
|
+
updated: 2026-06-07
|
|
40
40
|
keywords:
|
|
41
41
|
- wiki search
|
|
42
42
|
- fts_wiki
|
|
@@ -119,10 +119,10 @@ is the file on disk, not a row in another SQL table. This matters:
|
|
|
119
119
|
because the source rows live in SQLite.
|
|
120
120
|
- Wiki content lives on the filesystem. There's no source table to
|
|
121
121
|
trigger off, so the wiki API write endpoints
|
|
122
|
-
(`POST /api/wiki/:ws/files/:path`, `PATCH /api/wiki/:ws/files/:path
|
|
123
|
-
|
|
124
|
-
`
|
|
125
|
-
|
|
122
|
+
(`POST /api/wiki/:ws/files/:path`, `PATCH /api/wiki/:ws/files/:path`)
|
|
123
|
+
call `upsertWikiFulltextRow` directly after a successful disk write.
|
|
124
|
+
(`deleteWikiFulltextRow` is reached internally — it's how
|
|
125
|
+
`upsertWikiFulltextRow` drops a `log`/`inbox` row from the index.)
|
|
126
126
|
|
|
127
127
|
The schema (`packages/daemon/src/db/schema.ts`):
|
|
128
128
|
|
|
@@ -37,7 +37,7 @@ ask_examples:
|
|
|
37
37
|
- Can two wikis live in nested folders?
|
|
38
38
|
locale: en-US
|
|
39
39
|
created: 2026-05-21
|
|
40
|
-
updated: 2026-
|
|
40
|
+
updated: 2026-06-07
|
|
41
41
|
keywords:
|
|
42
42
|
- wiki workspace
|
|
43
43
|
- workspace
|
|
@@ -98,7 +98,7 @@ side-by-side wikis as you have distinct knowledge domains.
|
|
|
98
98
|
|---|---|---|
|
|
99
99
|
| Root path | `$PA_DATA_DIR/context/knowledge/wiki/<name>` (daemon-owned, inside the context vault) | Any path you pick (typically an existing Obsidian vault) |
|
|
100
100
|
| Writes | Atomic local-fs writes | Atomic local-fs writes when permitted; Obsidian-CLI fallback for sandboxed paths |
|
|
101
|
-
| Backup surface |
|
|
101
|
+
| Backup surface | On-disk `.snapshots/<timestamp>/` tree under the workspace root | git auto-commit (when the vault is git-tracked) + sibling backup mirror under `90_meta/health/pre-migrate-<date>/` |
|
|
102
102
|
| iCloud-friendly | Yes (lives in `~/.personal-agent`) | Yes via the Obsidian CLI fallback (requires the Obsidian app running) |
|
|
103
103
|
| Best for | First-time users, isolated wiki, no Obsidian dependency | Power users with an existing Obsidian vault they want the agent to extend |
|
|
104
104
|
|
|
@@ -90,8 +90,8 @@ You can change the times, disable any of them, or add your own.
|
|
|
90
90
|
|
|
91
91
|
→ [Morning Routine](../features/routines/morning-routine.md) ·
|
|
92
92
|
[Evening Review](../features/routines/evening-review.md) ·
|
|
93
|
-
[
|
|
94
|
-
[
|
|
93
|
+
[Activity Scan](../features/routines/activity-scan.md) ·
|
|
94
|
+
[Create a Recurring Agent](../guides/add-a-custom-routine.md)
|
|
95
95
|
|
|
96
96
|
### Reach you through a messenger
|
|
97
97
|
|
|
@@ -117,7 +117,7 @@ Pairing is one-time per channel.
|
|
|
117
117
|
|
|
118
118
|
When you connect an integration, the agent polls it on a schedule and
|
|
119
119
|
records anything that looks relevant as an
|
|
120
|
-
[observation](../concepts/observations.md). The
|
|
120
|
+
[observation](../concepts/observations.md). The activity scan then
|
|
121
121
|
decides what (if anything) is worth telling you about.
|
|
122
122
|
|
|
123
123
|
- [Mail](../features/integrations/mail.md) — Gmail, Outlook, Yahoo,
|
|
@@ -31,7 +31,7 @@ keywords:
|
|
|
31
31
|
- dashboard onboarding
|
|
32
32
|
- health pill
|
|
33
33
|
created: 2026-04-27
|
|
34
|
-
updated: 2026-
|
|
34
|
+
updated: 2026-06-07
|
|
35
35
|
related:
|
|
36
36
|
- getting-started/01-what-is-this
|
|
37
37
|
- getting-started/03-what-can-this-do
|
|
@@ -55,8 +55,10 @@ health pill, a paired messaging app, and a backend the agent can call.
|
|
|
55
55
|
## What you should see right now
|
|
56
56
|
|
|
57
57
|
If the dashboard just opened, you are on `/setup` — the setup wizard.
|
|
58
|
-
The dashboard
|
|
59
|
-
|
|
58
|
+
The dashboard sends you back to this page until the required steps are
|
|
59
|
+
done (Basics, Vault, a main backend, and the Customize Rules step that
|
|
60
|
+
saves your management rules). Messaging and the other integrations are
|
|
61
|
+
skippable in the wizard. Run through it once, top to bottom.
|
|
60
62
|
|
|
61
63
|
## Steps
|
|
62
64
|
|
|
@@ -43,7 +43,7 @@ ui_anchors:
|
|
|
43
43
|
- /knowledge?tab=context-files
|
|
44
44
|
- /connections
|
|
45
45
|
- /connections/mcp
|
|
46
|
-
- /
|
|
46
|
+
- /agents
|
|
47
47
|
- /activity
|
|
48
48
|
context_files:
|
|
49
49
|
- identity/profile.md
|
|
@@ -52,14 +52,14 @@ context_files:
|
|
|
52
52
|
api_endpoints:
|
|
53
53
|
- POST /api/knowledge/import
|
|
54
54
|
created: 2026-04-25
|
|
55
|
-
updated: 2026-
|
|
55
|
+
updated: 2026-06-10
|
|
56
56
|
related:
|
|
57
57
|
- getting-started/02-first-steps
|
|
58
58
|
- getting-started/03-what-can-this-do
|
|
59
59
|
- guides/setup-wizard
|
|
60
60
|
- guides/import-knowledge-file
|
|
61
61
|
- features/routines/morning-routine
|
|
62
|
-
-
|
|
62
|
+
- guides/add-a-custom-routine
|
|
63
63
|
- features/memory-files/user-profile
|
|
64
64
|
- concepts/delegated-mode
|
|
65
65
|
- concepts/skills
|
|
@@ -236,12 +236,11 @@ recurring:
|
|
|
236
236
|
and message me on WhatsApp."* The agent stores a recurring
|
|
237
237
|
schedule and runs the same prompt at the same cron. Best for
|
|
238
238
|
per-channel reminders and small recurring asks.
|
|
239
|
-
- **
|
|
240
|
-
to Markdown memory and DM you with a summary.
|
|
241
|
-
**
|
|
242
|
-
cron + steps and ask it to save
|
|
243
|
-
[
|
|
244
|
-
[Add a Custom Routine](../guides/add-a-custom-routine.md).
|
|
239
|
+
- **User Agents** — heavier, multi-step jobs that should write
|
|
240
|
+
to Markdown memory and DM you with a summary. Create one under
|
|
241
|
+
**Agents → New Agent** (`/agents`), or DM the agent the
|
|
242
|
+
cron + steps and ask it to save it as an Agent. See
|
|
243
|
+
[Create a Recurring Agent](../guides/add-a-custom-routine.md).
|
|
245
244
|
|
|
246
245
|
### A worked example: a richer morning routine
|
|
247
246
|
|
|
@@ -265,23 +264,22 @@ Shortest path from zero to that:
|
|
|
265
264
|
notes." This makes the gaps obvious — Notion not connected?
|
|
266
265
|
Calendar not connected? WhatsApp not paired? Drive not reachable
|
|
267
266
|
through a connector or MCP server? Fix them as they show up.
|
|
268
|
-
2. **Once each piece works standalone**, open **
|
|
269
|
-
|
|
270
|
-
-
|
|
271
|
-
-
|
|
272
|
-
-
|
|
273
|
-
- Max budget (USD): `0.20` (a generous per-execute override
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
→ [
|
|
284
|
-
[Add a Custom Routine](../guides/add-a-custom-routine.md)
|
|
267
|
+
2. **Once each piece works standalone**, open **Agents → New Agent**
|
|
268
|
+
(`/agents`):
|
|
269
|
+
- Name / ID: `morning-deep-prep`
|
|
270
|
+
- Schedule: weekdays (Mon–Fri) at 07:00
|
|
271
|
+
- Model tier: `high (opus)` — this is a heavy, multi-tool job
|
|
272
|
+
- Max budget (USD): `0.20` (a generous per-execute override)
|
|
273
|
+
- Task prompt: paste the four numbered steps above verbatim.
|
|
274
|
+
3. **Watch the next firing in Agent Log** and iterate. The agent
|
|
275
|
+
definition lives in the vault at
|
|
276
|
+
`~/.personal-agent/context/policies/agents/morning-deep-prep/agent.md`
|
|
277
|
+
— a plain Markdown file whose body is the task prompt and whose
|
|
278
|
+
YAML frontmatter carries the schedule — but the easiest place to
|
|
279
|
+
refine the step wording or the schedule is the agent's own page
|
|
280
|
+
at `/agents/morning-deep-prep`.
|
|
281
|
+
|
|
282
|
+
→ [Create a Recurring Agent](../guides/add-a-custom-routine.md)
|
|
285
283
|
|
|
286
284
|
---
|
|
287
285
|
|
|
@@ -294,8 +292,8 @@ By end of day one you should have:
|
|
|
294
292
|
**Activity**.
|
|
295
293
|
- One DM whose answer references something only your connected
|
|
296
294
|
apps could have told the agent.
|
|
297
|
-
- (Stretch) one
|
|
298
|
-
|
|
295
|
+
- (Stretch) one user agent or recurring schedule under **Agents**
|
|
296
|
+
(`/agents`) that you'd be sad to lose.
|
|
299
297
|
|
|
300
298
|
## If it fails
|
|
301
299
|
|
|
@@ -312,8 +310,7 @@ By end of day one you should have:
|
|
|
312
310
|
|
|
313
311
|
- [Import a Knowledge File](../guides/import-knowledge-file.md)
|
|
314
312
|
- [Morning Routine](../features/routines/morning-routine.md)
|
|
315
|
-
- [
|
|
316
|
-
- [Add a Custom Routine](../guides/add-a-custom-routine.md)
|
|
313
|
+
- [Create a Recurring Agent](../guides/add-a-custom-routine.md)
|
|
317
314
|
- [Delegated Mode](../concepts/delegated-mode.md)
|
|
318
315
|
- [Skills and MCP](../concepts/skills.md)
|
|
319
316
|
- [identity/profile.md](../features/memory-files/user-profile.md)
|
|
@@ -35,7 +35,7 @@ ask_examples:
|
|
|
35
35
|
- What is an observation?
|
|
36
36
|
locale: en-US
|
|
37
37
|
created: 2026-04-25
|
|
38
|
-
updated: 2026-
|
|
38
|
+
updated: 2026-06-07
|
|
39
39
|
keywords:
|
|
40
40
|
- terminology
|
|
41
41
|
- vocabulary
|
|
@@ -78,7 +78,7 @@ process_keys:
|
|
|
78
78
|
- dashboard.docs_qa
|
|
79
79
|
- delegated_task_heavy
|
|
80
80
|
- routine.fetch_window
|
|
81
|
-
- routine.
|
|
81
|
+
- routine.activity_scan
|
|
82
82
|
- routine.research_cluster_update
|
|
83
83
|
config_keys:
|
|
84
84
|
- dayBoundaryHour
|
|
@@ -111,8 +111,8 @@ enabled as fallbacks.
|
|
|
111
111
|
## Browser History (B-3)
|
|
112
112
|
|
|
113
113
|
Local-only history poller that reads the browser's own SQLite database
|
|
114
|
-
(
|
|
115
|
-
observations. Drives the **research cluster** derivation, the weekly
|
|
114
|
+
(Chromium-based browsers — Chrome, Chromium, Edge, Brave, Comet, Atlas)
|
|
115
|
+
and records page visits as observations. Drives the **research cluster** derivation, the weekly
|
|
116
116
|
reload-memory block, and the [`!checks`](features/messaging/bang-commands.md)
|
|
117
117
|
on-demand reload tally. No content is uploaded; only URLs, titles, and
|
|
118
118
|
visit timings the browser itself recorded. See
|
|
@@ -206,7 +206,7 @@ connected service: `direct | delegated | native | disabled`.
|
|
|
206
206
|
MCP / skill harness — `outlook_mail`, `outlook_calendar`).
|
|
207
207
|
- **disabled** — silence; no poller, no native handoff.
|
|
208
208
|
|
|
209
|
-
Mode lookup goes through `
|
|
209
|
+
Mode lookup goes through `readIntegrationState(db, key)`; never
|
|
210
210
|
hardcode an integration reference outside
|
|
211
211
|
`packages/shared/src/integrations.ts`. See
|
|
212
212
|
[Delegated Mode](concepts/delegated-mode.md).
|
|
@@ -230,7 +230,7 @@ Operator-facing umbrella for the two non-heavy lanes on each backend:
|
|
|
230
230
|
|
|
231
231
|
- **Medium / Main** (Claude Sonnet 4.6, `gpt-5.4` on Codex,
|
|
232
232
|
`gemini-3.1-pro-preview` on Gemini, Sonnet 4.6 via OpenCode) —
|
|
233
|
-
default for owner DMs, dashboard chat, the
|
|
233
|
+
default for owner DMs, dashboard chat, the activity scan, and the
|
|
234
234
|
morning / evening / weekly review routines.
|
|
235
235
|
- **Lite / Delegated** (Claude Haiku 4.5, `gpt-5.4-mini` on Codex,
|
|
236
236
|
`gemini-3.1-flash-lite-preview` on Gemini, Haiku 4.5 via OpenCode) —
|
|
@@ -252,7 +252,7 @@ fallback when upstream reports zero.
|
|
|
252
252
|
## Routine Pre-pass
|
|
253
253
|
|
|
254
254
|
A lite-tier `routine.fetch_window` session spawned before each main
|
|
255
|
-
routine (morning / today_refresh /
|
|
255
|
+
routine (morning / today_refresh / activity_scan / evening / weekly).
|
|
256
256
|
It fetches each routine's mail / calendar / Notion window
|
|
257
257
|
(`ROUTINE_WINDOWS`) and POSTs the results to `/api/observations`. The
|
|
258
258
|
main routine then consumes the resulting `<fetch_report>` block and
|
|
@@ -264,7 +264,7 @@ in 2026-05 to trim morning-routine input tokens by ~24%.
|
|
|
264
264
|
One row in the `observations` table. A change record a polling
|
|
265
265
|
integration (Obsidian, Git, Notion, calendar, mail, browser history)
|
|
266
266
|
or a `routine.fetch_window` pre-pass wrote into SQLite. The
|
|
267
|
-
`routine.
|
|
267
|
+
`routine.activity_scan` is the consumer — there is no per-change
|
|
268
268
|
notification. `actor='agent'` rows are filtered out by the consumer
|
|
269
269
|
to break the agent-observing-its-own-writes loop. See
|
|
270
270
|
[Observations](concepts/observations.md).
|