@aitne-sh/aitne 0.1.12 → 0.1.13

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 (139) hide show
  1. package/agent-assets/agent-profiles/background-task.md +8 -1
  2. package/agent-assets/agent-profiles/routine-fetch-window.md +11 -0
  3. package/agent-assets/agents/evening-review/agent.md +6 -2
  4. package/agent-assets/agents/lesson-maintenance/agent.md +56 -0
  5. package/agent-assets/agents/morning-routine/agent.md +7 -2
  6. package/agent-assets/agents/source-librarian/agent.md +51 -0
  7. package/agent-assets/docs/concepts/agent-day.md +15 -15
  8. package/agent-assets/docs/concepts/auth-health.md +10 -7
  9. package/agent-assets/docs/concepts/backends-and-tiers.md +21 -13
  10. package/agent-assets/docs/concepts/costs-and-quotas.md +10 -10
  11. package/agent-assets/docs/concepts/delegated-mode.md +18 -18
  12. package/agent-assets/docs/concepts/memory-model.md +25 -24
  13. package/agent-assets/docs/concepts/observations.md +27 -19
  14. package/agent-assets/docs/concepts/process-keys.md +25 -26
  15. package/agent-assets/docs/concepts/routines.md +18 -17
  16. package/agent-assets/docs/concepts/safety-and-execution.md +20 -17
  17. package/agent-assets/docs/concepts/safety-model.md +16 -15
  18. package/agent-assets/docs/concepts/skills.md +7 -4
  19. package/agent-assets/docs/features/integrations/browser-history.md +52 -47
  20. package/agent-assets/docs/features/integrations/calendar.md +7 -7
  21. package/agent-assets/docs/features/integrations/git.md +15 -13
  22. package/agent-assets/docs/features/integrations/github.md +12 -10
  23. package/agent-assets/docs/features/integrations/mail.md +47 -45
  24. package/agent-assets/docs/features/integrations/notion.md +15 -11
  25. package/agent-assets/docs/features/integrations/obsidian.md +27 -23
  26. package/agent-assets/docs/features/lifestyle/git.md +7 -8
  27. package/agent-assets/docs/features/lifestyle/reading.md +11 -8
  28. package/agent-assets/docs/features/lifestyle/receipts.md +21 -22
  29. package/agent-assets/docs/features/lifestyle/travel-bookings.md +9 -9
  30. package/agent-assets/docs/features/memory-files/agent-journal.md +12 -10
  31. package/agent-assets/docs/features/memory-files/agent-lessons.md +46 -21
  32. package/agent-assets/docs/features/memory-files/projects.md +13 -14
  33. package/agent-assets/docs/features/memory-files/roadmap.md +16 -15
  34. package/agent-assets/docs/features/memory-files/schedule.md +10 -10
  35. package/agent-assets/docs/features/memory-files/today.md +18 -18
  36. package/agent-assets/docs/features/memory-files/user-profile.md +17 -17
  37. package/agent-assets/docs/features/messaging/bang-commands.md +15 -15
  38. package/agent-assets/docs/features/messaging/dashboard-chat.md +7 -6
  39. package/agent-assets/docs/features/messaging/discord.md +7 -5
  40. package/agent-assets/docs/features/messaging/overview.md +14 -14
  41. package/agent-assets/docs/features/messaging/pairing-and-magic-phrase.md +12 -12
  42. package/agent-assets/docs/features/messaging/slack.md +9 -8
  43. package/agent-assets/docs/features/messaging/telegram.md +7 -7
  44. package/agent-assets/docs/features/messaging/whatsapp.md +6 -6
  45. package/agent-assets/docs/features/operations/activity-and-conversations.md +9 -9
  46. package/agent-assets/docs/features/operations/approvals.md +13 -12
  47. package/agent-assets/docs/features/operations/backend-routing.md +38 -37
  48. package/agent-assets/docs/features/operations/browser-tasks.md +63 -57
  49. package/agent-assets/docs/features/operations/cost-tracking.md +5 -5
  50. package/agent-assets/docs/features/operations/managed-chromium.md +23 -22
  51. package/agent-assets/docs/features/operations/notifications.md +15 -15
  52. package/agent-assets/docs/features/operations/quiet-hours.md +14 -15
  53. package/agent-assets/docs/features/operations/schedule-approaching.md +16 -14
  54. package/agent-assets/docs/features/routines/activity-scan.md +14 -11
  55. package/agent-assets/docs/features/routines/custom-routines.md +9 -7
  56. package/agent-assets/docs/features/routines/evening-review.md +6 -7
  57. package/agent-assets/docs/features/routines/morning-routine.md +22 -21
  58. package/agent-assets/docs/features/routines/weekly-review.md +57 -51
  59. package/agent-assets/docs/features/wiki/commands.md +27 -21
  60. package/agent-assets/docs/features/wiki/cost-and-approval.md +28 -23
  61. package/agent-assets/docs/features/wiki/dashboard.md +21 -23
  62. package/agent-assets/docs/features/wiki/overview.md +17 -25
  63. package/agent-assets/docs/features/wiki/search.md +15 -17
  64. package/agent-assets/docs/features/wiki/workspaces.md +55 -56
  65. package/agent-assets/docs/getting-started/01-what-is-this.md +3 -4
  66. package/agent-assets/docs/getting-started/02-first-steps.md +12 -13
  67. package/agent-assets/docs/getting-started/03-what-can-this-do.md +7 -7
  68. package/agent-assets/docs/getting-started/04-first-day.md +4 -5
  69. package/agent-assets/docs/glossary.md +17 -16
  70. package/agent-assets/docs/guides/add-a-custom-routine.md +17 -12
  71. package/agent-assets/docs/guides/backup-and-restore.md +19 -16
  72. package/agent-assets/docs/guides/budget-and-cost-for-wiki.md +55 -62
  73. package/agent-assets/docs/guides/build-your-wiki.md +11 -12
  74. package/agent-assets/docs/guides/change-which-model-handles-x.md +30 -28
  75. package/agent-assets/docs/guides/connect-a-new-mail-account.md +30 -29
  76. package/agent-assets/docs/guides/explore-with-trace-and-connect.md +30 -32
  77. package/agent-assets/docs/guides/import-knowledge-file.md +9 -10
  78. package/agent-assets/docs/guides/install-and-run.md +9 -10
  79. package/agent-assets/docs/guides/maintain-wiki-health.md +10 -10
  80. package/agent-assets/docs/guides/migrate-machines.md +16 -14
  81. package/agent-assets/docs/guides/multiple-wikis-for-multiple-domains.md +11 -12
  82. package/agent-assets/docs/guides/pause-the-agent.md +25 -25
  83. package/agent-assets/docs/guides/reinstall-cleanly.md +13 -12
  84. package/agent-assets/docs/guides/setup-wizard.md +9 -11
  85. package/agent-assets/docs/guides/switch-default-backend.md +9 -9
  86. package/agent-assets/docs/guides/use-an-existing-obsidian-vault.md +9 -11
  87. package/agent-assets/docs/pages/activity.md +76 -0
  88. package/agent-assets/docs/pages/agents.md +78 -0
  89. package/agent-assets/docs/pages/analytics.md +70 -0
  90. package/agent-assets/docs/pages/browser.md +73 -0
  91. package/agent-assets/docs/pages/chat.md +67 -0
  92. package/agent-assets/docs/pages/connections.md +78 -0
  93. package/agent-assets/docs/pages/git.md +73 -0
  94. package/agent-assets/docs/pages/knowledge.md +75 -0
  95. package/agent-assets/docs/pages/overview.md +90 -0
  96. package/agent-assets/docs/pages/reading.md +65 -0
  97. package/agent-assets/docs/pages/settings.md +77 -0
  98. package/agent-assets/docs/pages/tasks.md +74 -0
  99. package/agent-assets/docs/pages/wiki.md +73 -0
  100. package/agent-assets/docs/reference/api.md +18 -17
  101. package/agent-assets/docs/reference/cli-commands.md +13 -10
  102. package/agent-assets/docs/reference/config.md +40 -35
  103. package/agent-assets/docs/reference/disallowed-tools.md +18 -17
  104. package/agent-assets/docs/reference/keyboard-shortcuts.md +6 -8
  105. package/agent-assets/docs/reference/knowledge-layout.md +10 -10
  106. package/agent-assets/docs/reference/process-keys.md +20 -22
  107. package/agent-assets/docs/reference/skills.md +18 -16
  108. package/agent-assets/docs/troubleshooting/auth-failed.md +13 -11
  109. package/agent-assets/docs/troubleshooting/dashboard-shows-degraded.md +10 -10
  110. package/agent-assets/docs/troubleshooting/fallback-keeps-firing.md +26 -24
  111. package/agent-assets/docs/troubleshooting/messaging-not-pairing.md +8 -9
  112. package/agent-assets/docs/troubleshooting/morning-routine-didnt-run.md +19 -18
  113. package/agent-assets/docs/troubleshooting/observation-not-detected.md +14 -15
  114. package/agent-assets/docs/troubleshooting/quota-exhausted.md +28 -26
  115. package/agent-assets/docs/troubleshooting/wiki-ingest-full-blocked.md +35 -34
  116. package/agent-assets/docs/troubleshooting/wiki-write-failed.md +21 -24
  117. package/agent-assets/skills/agent-create/SKILL.md +39 -5
  118. package/agent-assets/skills/background-task/SKILL.md +9 -4
  119. package/agent-assets/skills/board/SKILL.md +8 -9
  120. package/agent-assets/skills/browser-task/SKILL.md +2 -0
  121. package/agent-assets/skills/context/seeds/file-responsibilities.seed.json +2 -1
  122. package/agent-assets/skills/schedule/SKILL.md +6 -5
  123. package/agent-assets/skills/sources/SKILL.md +68 -0
  124. package/agent-assets/skills/sources/curation.json +21 -0
  125. package/agent-assets/skills/sources/seeds/filing-rules.seed.json +25 -0
  126. package/agent-assets/skills/sources/seeds/source-collections.seed.json +20 -0
  127. package/agent-assets/skills/task/SKILL.md +5 -2
  128. package/agent-assets/task-flows/background_task.md +29 -3
  129. package/agent-assets/task-flows/message.received.dm.md +1 -1
  130. package/agent-assets/task-flows/routine.activity_scan.md +17 -2
  131. package/agent-assets/task-flows/routine.evening_review.md +72 -11
  132. package/agent-assets/task-flows/routine.fetch_window.md +21 -0
  133. package/agent-assets/task-flows/routine.monthly_review.md +3 -1
  134. package/agent-assets/task-flows/routine.morning_routine_today.md +26 -7
  135. package/agent-assets/task-flows/routine.source_maintenance.md +50 -0
  136. package/agent-assets/task-flows/scheduled.dm.md +8 -3
  137. package/agent-assets/templates/_manifest.json +1 -0
  138. package/agent-assets/templates/knowledge/sources/_index.md +19 -0
  139. package/package.json +4 -4
@@ -0,0 +1,77 @@
1
+ ---
2
+ schema_version: 1
3
+ slug: pages/settings
4
+ title: "Settings Page"
5
+ id: page-settings
6
+ aliases:
7
+ - settings page
8
+ - settings hub
9
+ - preferences page
10
+ category: pages
11
+ summary: |
12
+ The Settings page is the configuration hub. The landing tab covers the
13
+ agent's identity and management mode; a sidebar groups the rest —
14
+ Profile, Intelligence, Operations, Browser, and System.
15
+ tags:
16
+ - config
17
+ status: stable
18
+ ask_examples:
19
+ - What can I do on the Settings page?
20
+ - Where do I change the agent's name or character?
21
+ - Where do I set quiet hours?
22
+ - Where do I change which model handles a tier?
23
+ locale: en-US
24
+ created: 2026-07-01
25
+ updated: 2026-07-01
26
+ keywords:
27
+ - settings
28
+ - configuration
29
+ - models
30
+ - hours
31
+ - safety
32
+ related:
33
+ - concepts/agent-day
34
+ - concepts/backends-and-tiers
35
+ - features/operations/quiet-hours
36
+ - concepts/safety-and-execution
37
+ ui_anchors:
38
+ - /settings
39
+ ---
40
+
41
+ # Settings Page
42
+
43
+ The `/settings` landing (**Agent**) covers the basics — the agent's display
44
+ name, its character, management mode, and vault health. A sidebar groups
45
+ everything else.
46
+
47
+ ## What you can do here
48
+
49
+ - **Profile** — **Agent** (name, character, management mode) and
50
+ **Hours & Notifications** (quiet hours, notification policy).
51
+ - **Intelligence** — **Models** (which model serves each tier — the
52
+ agent's speed/cost levels),
53
+ **Self-learning** (skill-overlay review), **Lessons** (the feedback
54
+ learning store), and **Wiki** (workspace configuration).
55
+ - **Operations** — **Management** (the agent's primary vault + management
56
+ mode) and **Commands** (settings for bang-commands — the `!`-prefixed
57
+ shortcuts you type in chat).
58
+ - **Browser** — **Browser History** and **Browser Automation** settings
59
+ (mirrored on the [Browser page](../pages/browser.md)).
60
+ - **System** — **Safety** (tool policy), **Infrastructure** (config keys,
61
+ paths), and **Danger Zone** (reset and reinstall).
62
+
63
+ ## Where to go deeper
64
+
65
+ - [The agent's day](../concepts/agent-day.md) — hours and routines.
66
+ - [Backends & tiers](../concepts/backends-and-tiers.md) — what the Models
67
+ page controls.
68
+ - [Quiet hours](../features/operations/quiet-hours.md) — when the agent
69
+ stays silent.
70
+ - [Safety & execution](../concepts/safety-and-execution.md) — what the
71
+ Safety page governs.
72
+ - [Config reference](../reference/config.md) — every editable key.
73
+
74
+ ## Related
75
+
76
+ - [Agents page](agents.md) — per-agent schedules and rulebooks.
77
+ - [Connections page](connections.md) — link outside services.
@@ -0,0 +1,74 @@
1
+ ---
2
+ schema_version: 1
3
+ slug: pages/tasks
4
+ title: "Tasks Page"
5
+ id: page-tasks
6
+ aliases:
7
+ - tasks page
8
+ - task board
9
+ - queue page
10
+ - schedule page
11
+ category: pages
12
+ summary: |
13
+ The Tasks page is the operations hub — everything the agent has in
14
+ motion. A standing Board of work items, a run Queue (upcoming and
15
+ history), and your recurring Scheduled DMs, all in your timezone.
16
+ tags:
17
+ - agents
18
+ - scheduler
19
+ status: stable
20
+ ask_examples:
21
+ - What can I do on the Tasks page?
22
+ - Where do I see what the agent is about to run?
23
+ - How do I set up a recurring DM reminder?
24
+ - Where did the Schedule page go?
25
+ locale: en-US
26
+ created: 2026-07-01
27
+ updated: 2026-07-01
28
+ keywords:
29
+ - tasks
30
+ - queue
31
+ - schedule
32
+ - scheduled dms
33
+ - board
34
+ related:
35
+ - pages/agents
36
+ - features/memory-files/schedule
37
+ - features/operations/schedule-approaching
38
+ - concepts/routines
39
+ ui_anchors:
40
+ - /tasks
41
+ ---
42
+
43
+ # Tasks Page
44
+
45
+ The `/tasks` page is where the standing work, the run queue, and your
46
+ scheduled DMs all live. (The old **Schedule** page merged in here — its
47
+ queue and DM rules are now the Queue and Scheduled DMs tabs.)
48
+
49
+ ## What you can do here
50
+
51
+ - **Board tab** — the read-only Unified Task Board: a live inventory of
52
+ everything in motion (agents, triggers, runs, background workers), each
53
+ clickable for detail.
54
+ - **Queue tab** — the concrete runs your schedules produce. **Upcoming**
55
+ lists what is about to run, soonest first; **History** shows what already ran.
56
+ - **Scheduled DMs tab** — the home for recurring DM rules (the reminders
57
+ and nudges). Create, edit, and remove them here.
58
+ - **Status strip** at the top shows the next scheduled run.
59
+
60
+ All times render in your own timezone.
61
+
62
+ ## Where to go deeper
63
+
64
+ - [The schedule memory file](../features/memory-files/schedule.md) — how
65
+ scheduled work is stored.
66
+ - [Schedule approaching](../features/operations/schedule-approaching.md) —
67
+ the heads-up the agent gives before a run.
68
+ - [Routines](../concepts/routines.md) — the recurring agents that feed the
69
+ queue.
70
+
71
+ ## Related
72
+
73
+ - [Agents page](agents.md) — the identities behind the runs.
74
+ - [Overview page](overview.md) — the next run also shows on the home status bar.
@@ -0,0 +1,73 @@
1
+ ---
2
+ schema_version: 1
3
+ slug: pages/wiki
4
+ title: "Wiki Page"
5
+ id: page-wiki
6
+ aliases:
7
+ - wiki page
8
+ - wiki dashboard
9
+ category: pages
10
+ summary: |
11
+ The Wiki page is the dashboard for the personal wiki builder — an opt-in
12
+ workspace that turns URLs, pastes, and notes you DM into a linked
13
+ Markdown wiki. It shows the index and recent activity, or an enable
14
+ prompt when no workspace exists yet.
15
+ tags:
16
+ - wiki
17
+ - knowledge
18
+ status: stable
19
+ ask_examples:
20
+ - What can I do on the Wiki page?
21
+ - How do I enable the wiki?
22
+ - Where do I see my wiki's articles?
23
+ - How do I add a source to my wiki?
24
+ locale: en-US
25
+ created: 2026-07-01
26
+ updated: 2026-07-01
27
+ keywords:
28
+ - wiki
29
+ - workspace
30
+ - ingest
31
+ - compile
32
+ - articles
33
+ related:
34
+ - features/wiki/overview
35
+ - features/wiki/dashboard
36
+ - features/wiki/commands
37
+ - guides/build-your-wiki
38
+ ui_anchors:
39
+ - /wiki
40
+ ---
41
+
42
+ # Wiki Page
43
+
44
+ The `/wiki` page is where you read your wiki — the view surface for the
45
+ wiki builder. You build the wiki itself over DM. The wiki is opt-in: until
46
+ you enable a workspace, the page shows a **Wiki not enabled** card with a
47
+ prompt to turn it on.
48
+
49
+ ## What you can do here
50
+
51
+ - **Enable a workspace** the first time, from the enable card.
52
+ - **Browse the index** of synthesized articles once a workspace is active.
53
+ - **Watch recent activity** — the latest captures, compiles, and answers.
54
+ - **Build the wiki over DM.** The real work happens through bang commands
55
+ (messages that start with `!`) you send the agent: `!ingest` to capture,
56
+ `!compile` to synthesize, `!ask` for cited answers, and
57
+ `!lint` / `!trace` / `!connect` to audit, trace history, and bridge
58
+ domains.
59
+
60
+ ## Where to go deeper
61
+
62
+ - [Wiki overview](../features/wiki/overview.md) — the workspace concept and
63
+ the `00_inbox` / `10_raw` / `20_wiki` / `30_outputs` layers.
64
+ - [Wiki dashboard](../features/wiki/dashboard.md) — this page and the
65
+ timeline in detail.
66
+ - [Wiki commands](../features/wiki/commands.md) — the full `!` reference.
67
+ - [Build your wiki](../guides/build-your-wiki.md) — first-day walkthrough.
68
+
69
+ ## Related
70
+
71
+ - [Knowledge page](knowledge.md) — the agent's own memory (distinct from
72
+ the wiki).
73
+ - [Settings → Wiki](settings.md) — workspace configuration.
@@ -16,9 +16,6 @@ summary: |
16
16
  per-route files under packages/daemon/src/api/routes/.
17
17
  section: api
18
18
  tags:
19
- - reference
20
- - api
21
- - core
22
19
  - operations
23
20
  status: stable
24
21
  ask_examples:
@@ -28,7 +25,7 @@ ask_examples:
28
25
  - How do I list registered backends?
29
26
  locale: en-US
30
27
  created: 2026-04-25
31
- updated: 2026-06-08
28
+ updated: 2026-07-01
32
29
  keywords:
33
30
  - API
34
31
  - REST
@@ -50,20 +47,23 @@ related:
50
47
 
51
48
  # API Reference
52
49
 
53
- The daemon serves a single Hono app on `127.0.0.1:PA_API_PORT` (default
54
- `8321`). Almost all endpoints are mounted under `/api/*`; the lone
55
- exception is the GitHub webhook receiver, mounted at root `/webhook/github`.
50
+ The daemon serves one Hono web app on `127.0.0.1:PA_API_PORT` (default
51
+ `8321`). Hono is a small, fast HTTP framework. Almost every endpoint sits
52
+ under `/api/*`; the one exception is the GitHub webhook receiver, at the
53
+ root path `/webhook/github`.
54
+
56
55
  **Source of truth:** `packages/daemon/src/api/server.ts` (`createApp`)
57
- registers most route groups, with one post-compose mount in
58
- `packages/daemon/src/bootstrap/api.ts` (the docs corpus + docs-QA, wired
59
- only after the indexer handle exists). Each group lives in its own file
60
- or directory under `packages/daemon/src/api/routes/`.
56
+ registers most route groups. One more group is mounted later, in
57
+ `packages/daemon/src/bootstrap/api.ts` the docs corpus plus docs-QA,
58
+ which can only be wired up once the search indexer is ready. Each group
59
+ lives in its own file or directory under `packages/daemon/src/api/routes/`.
61
60
 
62
61
  ## Auth
63
62
 
64
- A bearer token is generated at first launch and stored in the OS
65
- keychain. The dashboard reads it via the daemon proxy; external
66
- callers pass it as `Authorization: Bearer <token>`.
63
+ A bearer token a secret string that proves a caller is allowed to use
64
+ the API is generated at first launch and stored in the OS keychain. The
65
+ dashboard reads it through the daemon proxy; external callers pass it in
66
+ the `Authorization: Bearer <token>` header.
67
67
 
68
68
  ## Route Groups
69
69
 
@@ -187,9 +187,10 @@ keys.
187
187
  ## Risk classification
188
188
 
189
189
  Every endpoint carries a `RiskTier` from
190
- `packages/daemon/src/safety/risk-classifier.ts`. The enum has three
191
- values (the former **notify** tier was abolished daemon-wide — Approve
192
- now covers everything that used to be Notify):
190
+ `packages/daemon/src/safety/risk-classifier.ts` that says how much
191
+ protection it needs. There are three values (the former **notify** tier
192
+ was removed daemon-wide — Approve now covers everything that used to be
193
+ Notify):
193
194
 
194
195
  - **autonomous** — safe to execute without any auth or notification.
195
196
  - **read_sensitive** — touches personal data (email, calendar, notes,
@@ -14,8 +14,6 @@ summary: |
14
14
  dashboard, plus the environment variables that override defaults.
15
15
  section: cli
16
16
  tags:
17
- - core
18
- - reference
19
17
  - cli
20
18
  - operations
21
19
  status: stable
@@ -28,7 +26,7 @@ ask_examples:
28
26
  - How do I check my install with aitne doctor?
29
27
  locale: en-US
30
28
  created: 2026-04-27
31
- updated: 2026-06-07
29
+ updated: 2026-07-01
32
30
  keywords:
33
31
  - aitne start
34
32
  - aitne stop
@@ -54,6 +52,7 @@ related:
54
52
  - features/messaging/bang-commands
55
53
  - reference/knowledge-layout
56
54
  - reference/config
55
+ - reference/keyboard-shortcuts
57
56
  ui_anchors:
58
57
  - /setup
59
58
  - /activity
@@ -66,10 +65,11 @@ ui_anchors:
66
65
 
67
66
  `aitne` is the project's CLI (`bin/aitne.mjs`). The `pnpm <cmd>` forms are
68
67
  workspace scripts that delegate to the same entry point. Use whichever you
69
- prefer — `aitne start` and `pnpm start` do the same thing. After installing
70
- the npm package globally (`npm install -g @aitne-sh/aitne`) the `aitne`
71
- binary is on your `$PATH` and you no longer need to be inside the repo to
72
- use it. The tables below show both forms.
68
+ prefer — `aitne start` and `pnpm start` do the same thing. After you install
69
+ the npm package globally (`npm install -g @aitne-sh/aitne`), the `aitne`
70
+ binary lands on your `$PATH` (the list of folders your shell searches for
71
+ commands), so you can run it from anywhere you no longer need to be inside
72
+ the repo. The tables below show both forms.
73
73
 
74
74
  Note: `pnpm build` is *not* the same as `aitne build`. `pnpm build` runs
75
75
  `turbo run build` directly; `aitne build` runs the same build **and** writes
@@ -157,9 +157,10 @@ lives under `PA_DATA_DIR`, **not** inside the repo.
157
157
 
158
158
  ## Where data lives
159
159
 
160
- The context vault is partitioned into six authority classes (context-vault
161
- v2). The agent never writes these files directly it goes through the
162
- daemon at `http://localhost:8321/api/context/<class>/<path>`.
160
+ The context vault is split into six top-level folders (context-vault v2),
161
+ each one an "authority class" a separate group of memory files. The agent
162
+ never writes these files directly; every write goes through the daemon at
163
+ `http://localhost:8321/api/context/<class>/<path>`.
163
164
 
164
165
  ```
165
166
  ~/.personal-agent/
@@ -182,3 +183,5 @@ daemon at `http://localhost:8321/api/context/<class>/<path>`.
182
183
  guide that uses these commands end-to-end.
183
184
  - [Reinstall Cleanly](../guides/reinstall-cleanly.md) — when you need
184
185
  to wipe state and start over.
186
+ - [Keyboard Shortcuts](./keyboard-shortcuts.md) — the dashboard hotkeys
187
+ that pair with these terminal commands.
@@ -15,8 +15,6 @@ summary: |
15
15
  and pointers to the canonical key tuples in shared/.
16
16
  section: config
17
17
  tags:
18
- - core
19
- - reference
20
18
  - config
21
19
  - operations
22
20
  - backends
@@ -78,7 +76,7 @@ ui_anchors:
78
76
  - /settings/infrastructure
79
77
  - /settings/models
80
78
  created: 2026-04-25
81
- updated: 2026-06-08
79
+ updated: 2026-07-01
82
80
  related:
83
81
  - reference/api
84
82
  - reference/cli-commands
@@ -89,21 +87,24 @@ related:
89
87
  # Config Reference
90
88
 
91
89
  The full `AgentConfig` schema lives in
92
- `packages/daemon/src/config.ts`. Three canonical tuples in
93
- `packages/shared/src/editable-config-keys.ts` govern what is editable
94
- and when:
95
-
96
- - **`EDITABLE_RUNTIME_KEY_TUPLE`** — the ~130 keys mutable at runtime
97
- via `PATCH /api/config`. Both the daemon and the dashboard import
98
- from this tuple so the accepted-key set is enforced at compile time
99
- in both packages.
100
- - **`RESTART_REQUIRED_KEY_TUPLE`** — runtime-editable keys whose
101
- change does not apply to a running worker (the dashboard renders a
102
- restart-required badge for these).
103
- - **`EDITABLE_BOOTSTRAP_KEY_TUPLE`** `apiPort` only, written to
104
- `.env` because it's read before the daemon binds.
105
-
106
- Anything not in those tuples must be set via env or restart.
90
+ `packages/daemon/src/config.ts`. Three fixed lists of key names
91
+ (TypeScript tuples) in `packages/shared/src/editable-config-keys.ts`
92
+ decide which keys you can change, and when:
93
+
94
+ - **`EDITABLE_RUNTIME_KEY_TUPLE`** — the ~130 keys you can change while
95
+ the daemon is running, via `PATCH /api/config`. Both the daemon and
96
+ the dashboard import this list, so the set of accepted keys is checked
97
+ at compile time in both packages.
98
+ - **`RESTART_REQUIRED_KEY_TUPLE`** — keys you can edit at runtime, but
99
+ the new value only reaches a worker after a restart; it does not apply
100
+ to a worker that is already running. The dashboard shows a
101
+ restart-required badge for these.
102
+ - **`EDITABLE_BOOTSTRAP_KEY_TUPLE`** only `apiPort`. It is written to
103
+ `.env` because the daemon reads it before it starts listening on the
104
+ network (binds to a port).
105
+
106
+ Any key that is not in one of these three lists can only be set through
107
+ an environment variable or by restarting.
107
108
 
108
109
  ## Where Each Field Comes From
109
110
 
@@ -116,9 +117,9 @@ Anything not in those tuples must be set via env or restart.
116
117
 
117
118
  ## Selected Keys
118
119
 
119
- A representative slice of `EDITABLE_RUNTIME_KEY_TUPLE` the full list
120
- of ~130 keys is in `editable-config-keys.ts`. Names below are exact and
121
- case-sensitive.
120
+ A representative sample of `EDITABLE_RUNTIME_KEY_TUPLE`; the full list
121
+ of ~130 keys is in `editable-config-keys.ts`. The names below are exact
122
+ and case-sensitive.
122
123
 
123
124
  ### Identity and timezone
124
125
 
@@ -127,18 +128,19 @@ case-sensitive.
127
128
  | `agentDisplayName` | string | What the agent calls itself in DMs. |
128
129
  | `character` | string | Free-text user-defined communication style / persona (max 1000 chars). When non-empty, rendered as a `## Character (user-defined)` block into each backend's instruction file. The agent profile itself is selected by ProcessKey, not by this key. |
129
130
  | `timezone` | IANA tz | Empty falls back to the system tz. |
130
- | `dayBoundaryHour` | 0–9 | Default `4`. Controls the agent-day rollover (must be an early-morning hour). |
131
+ | `dayBoundaryHour` | 0–9 | Default `4`. Sets the agent-day boundary — the moment "today" rolls over for the agent (must be an early-morning hour). |
131
132
  | `primaryLanguage` | BCP-47 | Output language for DMs, journal, and Obsidian writes. Templates stay English-headered. |
132
133
  | `vaultMode` | enum | Where context lives — `plain` (default; `<dataDir>/context`) or `obsidian` (an external Obsidian vault). |
133
134
 
134
135
  ### Activity scan and gate
135
136
 
136
- The first five keys are **deprecated fallbacks**: the activity-scan
137
- cadence, active window, min-observations threshold, and enable switch
138
- moved onto the activity-scan agent (`/agents/activity-scan`, Definition
139
- tab → Cadence card; Enable/Disable). The keys are still accepted by
140
- `PATCH /api/config` but no longer surfaced in the dashboard; values
141
- resolve agent override legacy config keybuilt-in default.
137
+ The first five keys are **deprecated fallbacks**. The activity-scan
138
+ cadence (how often it runs), active window, minimum-observations
139
+ threshold, and enable switch now live on the activity-scan agent
140
+ (`/agents/activity-scan`, Definition tab → Cadence card; Enable/Disable).
141
+ `PATCH /api/config` still accepts these keys, but the dashboard no longer
142
+ shows them. A value resolves in this order: agent override legacy
143
+ config key → built-in default.
142
144
 
143
145
  | Key | Type | Notes |
144
146
  |---|---|---|
@@ -247,7 +249,7 @@ resolve agent override → legacy config key → built-in default.
247
249
  ### Feedback learning
248
250
 
249
251
  The feedback learning loop (capture → nightly consolidation → injection of
250
- durable lessons). All six knobs are runtime-editable via `PATCH /api/config`,
252
+ durable lessons). All knobs are runtime-editable via `PATCH /api/config`,
251
253
  surfaced by `GET /config`, and tunable from the dashboard `/settings/lessons`
252
254
  page. Defaults and ranges below are enforced in
253
255
  `packages/daemon/src/settings/runtime-settings.ts`.
@@ -255,12 +257,15 @@ page. Defaults and ranges below are enforced in
255
257
  | Key | Type | Notes |
256
258
  |---|---|---|
257
259
  | `feedbackLearningEnabled` | boolean | Default `true` (env `FEEDBACK_LEARNING_ENABLED`). Master kill-switch for the whole loop — capture, consolidation, and injection. |
258
- | `selfTuningEnabled` | boolean | Default `false` (env `SELF_TUNING_ENABLED`). Actuation gate for the self-tuning review cycle. While `false`, the loop runs in shadow mode: the weekly review still receives `<tuning_recommendations>` and records verdicts via `POST /api/tuning/verdicts`, but no config change is ever applied. With the flag on, apply verdicts for config knobs actuate through the bounded config chokepoint — one owner DM per applied change, `!revert tuning` undoes the latest, and a daily monitor auto-reverts any change whose 7-day verify metrics regressed. Flip only after ≥2 clean shadow cycles (SELF_TUNING_REVIEW_CYCLE_DESIGN.md §7 shadow→live gate). |
260
+ | `selfTuningEnabled` | boolean | Default `false` (env `SELF_TUNING_ENABLED`). Actuation gate for the self-tuning review cycle. While `false`, the loop runs in shadow mode: the weekly review still receives `<tuning_recommendations>` and records verdicts via `POST /api/tuning/verdicts`, but no config change is ever applied. With the flag on, apply verdicts for config knobs actuate through the bounded config chokepoint — one owner DM per applied change, `!revert tuning` undoes the latest, and a daily monitor auto-reverts any change whose 7-day verify metrics regressed. Flip only after ≥2 clean shadow cycles (SELF_TUNING_REVIEW_CYCLE_DESIGN.md §7 shadow→live gate); the daemon DMs you once when 3 consecutive shadow cycles were fully approved (graduation). |
259
261
  | `feedbackPromotionThreshold` | 1–10 | Default `2` (env `FEEDBACK_PROMOTION_THRESHOLD`). Weighted-evidence threshold a behavioral / self-critique lesson must clear before it becomes injectable. |
260
262
  | `feedbackLessonMaxBytesGlobal` | 1024–32768 | Default `8192` (env `FEEDBACK_LESSON_MAX_BYTES_GLOBAL`). Byte cap for `policies/agent-lessons.md`. |
261
263
  | `feedbackLessonMaxBytesPerAgent` | 512–16384 | Default `4096` (env `FEEDBACK_LESSON_MAX_BYTES_PER_AGENT`). Byte cap for each `policies/agents/<slug>/lessons.md`. |
262
- | `feedbackLessonStaleDays` | 7–365 | Default `60` (env `FEEDBACK_LESSON_STALE_DAYS`). Lessons whose `last=` date is older are pruned, except `kind=constraint` (durable). |
264
+ | `feedbackLessonStaleDays` | 7–365 | Default `60` (env `FEEDBACK_LESSON_STALE_DAYS`). Staleness horizon for the graduated expiration lifecycle: an active lesson past the horizon whose time-decayed confidence is below the floor demotes to provisional (reversible); a provisional lesson uncorroborated for twice the horizon is archived. `kind=constraint` lessons are durable and never expire. |
263
265
  | `feedbackSignalRetentionDays` | 30–365 | Default `180` (env `FEEDBACK_SIGNAL_RETENTION_DAYS`). Consumed `feedback_signals` rows older than this are swept. |
266
+ | `feedbackLessonConfidenceFloor` | 0–1 | Default `0.25` (env `FEEDBACK_LESSON_CONFIDENCE_FLOOR`). Inferred lessons whose effective (time-decayed) confidence `cf` falls below this floor are dropped from injection; also the demote test in the expiration lifecycle. Durable `constraint` lessons are exempt from the injection filter, and explicit owner corrections are floor-tested on their undecayed `cf` (an obeyed directive produces no corroborating signals, so decay alone must not silently un-bind it). `0` disables the filter. |
267
+ | `feedbackContradictionGuardCf` | 0–1 | Default `0.6` (env `FEEDBACK_CONTRADICTION_GUARD_CF`). Anti-whiplash guard: a new candidate contradicting an established lesson with `cf` at or above this value is held provisional until it accumulates 1.5x the usual evidence. Explicit owner corrections always win immediately. |
268
+ | `feedbackOutcomeLearningEnabled` | boolean | Default `true` (env `FEEDBACK_OUTCOME_LEARNING_ENABLED`). Includes the per-notification-type outcome rollup (replied / corrected / ignored, correction rate) in the nightly consolidation worksheet so lesson promotions weigh real reactions. |
264
269
 
265
270
  ## Routine Schedule Times Are Not Configurable
266
271
 
@@ -284,10 +289,10 @@ cadence and active window — edited on the activity-scan agent's page
284
289
 
285
290
  ## Restart-Required Keys
286
291
 
287
- The `RESTART_REQUIRED_KEY_TUPLE` covers fields whose new value is
288
- written through `applyConfigUpdates` but does not apply to a running
289
- worker — the dashboard renders a badge prompting an `aitne restart`.
290
- The current list:
292
+ The `RESTART_REQUIRED_KEY_TUPLE` covers fields whose new value is saved
293
+ through `applyConfigUpdates` but does not reach a worker that is already
294
+ running — the dashboard shows a badge prompting an `aitne restart`. The
295
+ current list:
291
296
 
292
297
  - `apiPort` (env-only)
293
298
  - `externalObsidianVaultName` / `externalObsidianVaultPath` / `externalObsidianWatch`
@@ -14,9 +14,7 @@ summary: |
14
14
  by skill-level allow-lists. Mirrors src/safety/always-disallowed.ts.
15
15
  section: reference
16
16
  tags:
17
- - reference
18
17
  - safety
19
- - core
20
18
  - audit
21
19
  status: stable
22
20
  ask_examples:
@@ -25,7 +23,7 @@ ask_examples:
25
23
  - Why can't the agent read my .env or SSH keys?
26
24
  locale: en-US
27
25
  created: 2026-04-25
28
- updated: 2026-06-07
26
+ updated: 2026-07-01
29
27
  keywords:
30
28
  - disallowedTools
31
29
  - deniedTools
@@ -41,16 +39,18 @@ related:
41
39
 
42
40
  # Disallowed Tools
43
41
 
44
- There are two distinct deny layers the **absolute-block layer**
45
- (non-overridable) and the **default strict-mode list** (`DEFAULT_DISALLOWED_TOOLS`
46
- in `src/settings/runtime-settings.ts`, relaxable in Allow mode or via
47
- `allowedToolsOverride`).
42
+ The agent keeps two separate lists of tools it refuses to run. The
43
+ first is the **absolute-block layer**, which nothing can turn off —
44
+ not your config, not a skill's allow-list. The second is the
45
+ **default strict-mode list** (`DEFAULT_DISALLOWED_TOOLS` in
46
+ `src/settings/runtime-settings.ts`), which you *can* relax by
47
+ switching to Allow mode or by setting `allowedToolsOverride`.
48
48
 
49
49
  ## Absolute-block layer (cannot be widened past)
50
50
 
51
- These patterns are denied unconditionally regardless of execution mode
52
- or `allowedToolsOverride`. Source of truth:
53
- `packages/daemon/src/safety/always-disallowed.ts`.
51
+ The agent always refuses these patterns no matter which execution
52
+ mode it is in, and no matter what you put in `allowedToolsOverride`.
53
+ Source of truth: `packages/daemon/src/safety/always-disallowed.ts`.
54
54
 
55
55
  | Category | Examples |
56
56
  |---|---|
@@ -79,13 +79,14 @@ managed-Chromium chokepoints above).
79
79
 
80
80
  ## Default strict-mode list (relaxable)
81
81
 
82
- `DEFAULT_DISALLOWED_TOOLS` (in `src/settings/runtime-settings.ts`, the
83
- seed for `config.disallowedTools`) ships with additional defaults that the
84
- operator can widen out of via `allowedToolsOverride` or by switching
85
- to Allow mode. These include `Bash(chmod *)`, `Bash(chown *)`,
86
- `Bash(git push --force *)`, `Bash(git reset --hard *)` and a handful
87
- of other footgun patterns. They are **not** in the absolute-block
88
- layer Allow mode permits them.
82
+ `DEFAULT_DISALLOWED_TOOLS` (in `src/settings/runtime-settings.ts`)
83
+ seeds `config.disallowedTools` with a few extra blocks you can lift —
84
+ either by setting `allowedToolsOverride` or by switching to Allow
85
+ mode. These include `Bash(chmod *)`, `Bash(chown *)`,
86
+ `Bash(git push --force *)`, `Bash(git reset --hard *)`, and a handful
87
+ of other patterns that are easy to run by accident and hard to undo.
88
+ Because they are **not** part of the absolute-block layer, Allow mode
89
+ permits them.
89
90
 
90
91
  ## Audit log
91
92
 
@@ -9,13 +9,11 @@ aliases:
9
9
  - key bindings
10
10
  category: reference
11
11
  summary: |
12
- Keyboard shortcuts available in the dashboard. The set is small by
13
- design — the dashboard is a low-cognition surface.
12
+ Keyboard shortcuts available in the dashboard. The set is small on
13
+ purpose — the dashboard is meant to stay calm and easy to scan.
14
14
  section: reference
15
15
  tags:
16
- - reference
17
16
  - dashboard
18
- - core
19
17
  status: stable
20
18
  ask_examples:
21
19
  - What keyboard shortcuts work in the dashboard?
@@ -23,7 +21,7 @@ ask_examples:
23
21
  - What does pressing "?" do in the dashboard?
24
22
  locale: en-US
25
23
  created: 2026-04-25
26
- updated: 2026-06-10
24
+ updated: 2026-07-01
27
25
  keywords:
28
26
  - shortcut
29
27
  - hotkey
@@ -42,9 +40,9 @@ related:
42
40
 
43
41
  # Keyboard Shortcuts
44
42
 
45
- The dashboard ships a deliberately small set of shortcuts — it is a
46
- low-cognition surface, not a power-user IDE. These work from any
47
- dashboard screen.
43
+ The dashboard ships a deliberately small set of shortcuts — it is built
44
+ to stay calm and easy to scan, not to be a power-user IDE. These work
45
+ from any dashboard screen.
48
46
 
49
47
  | Keys | Action |
50
48
  |---|---|
@@ -19,8 +19,6 @@ summary: |
19
19
  api/routes/context/permissions.ts.
20
20
  section: knowledge-layout
21
21
  tags:
22
- - reference
23
- - core
24
22
  - memory
25
23
  - knowledge
26
24
  - operations
@@ -34,7 +32,7 @@ ask_examples:
34
32
  - Which files can the agent write to?
35
33
  locale: en-US
36
34
  created: 2026-05-18
37
- updated: 2026-06-08
35
+ updated: 2026-07-01
38
36
  keywords:
39
37
  - context
40
38
  - knowledge
@@ -87,15 +85,17 @@ knowledge of you. Every file lives under `PA_DATA_DIR/context/`
87
85
  (default `~/.personal-agent/context/`) as plain Markdown that you can read,
88
86
  edit, version, and back up with ordinary tools.
89
87
 
90
- The vault is partitioned into **six authority classes** — `identity/`, `state/`,
91
- `plans/`, `journal/`, `knowledge/`, and `policies/`. Each top-level directory
92
- carries a distinct authority + lifecycle contract; the daemon enforces those
93
- contracts via the file's YAML frontmatter (advisory in this release; strict in
94
- the next phase). This shape landed in the context-vault v2 restructure
88
+ The vault is split into **six authority classes** — `identity/`, `state/`,
89
+ `plans/`, `journal/`, `knowledge/`, and `policies/`. An authority class is
90
+ simply a top-level directory with its own rules for who may write to it and
91
+ how long its files are kept. The daemon enforces those rules through each
92
+ file's YAML frontmatter (advisory in this release; strict in the next
93
+ phase). This shape landed in the context-vault v2 restructure
95
94
  (migration `0004-context-vault-restructure`); legacy pre-v2 paths such as <!-- drift-allow -->
96
95
  `today.md`, `user/profile`, `rules/management`, `agent/journal`, etc. continue to work <!-- drift-allow -->
97
- because the daemon normalizes them in-process — never via HTTP 3xx — for one
98
- minor release while shipped skills and task-flows are updated.
96
+ because the daemon rewrites them to the new paths in-process — never via an
97
+ HTTP 3xx redirect — for one minor release while the shipped skills and
98
+ task-flows are updated.
99
99
 
100
100
  The layout below is the canonical source-of-truth. It mirrors
101
101
  `packages/daemon/src/core/context-paths.ts` (`CONTEXT_RELATIVE_PATHS`) and