@aitne-sh/aitne 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +256 -833
- package/agent-assets/agent-profiles/_safety.md +52 -20
- package/agent-assets/agent-profiles/browser-task.md +108 -0
- package/agent-assets/agent-profiles/conversational.md +3 -3
- package/agent-assets/agent-profiles/profile-importer.md +3 -3
- package/agent-assets/agent-profiles/routine-fetch-window.md +30 -19
- package/agent-assets/agent-profiles/routine.md +4 -3
- package/agent-assets/agents/context-index-reconcile/agent.md +52 -0
- package/agent-assets/agents/evening-review/agent.md +53 -0
- package/agent-assets/agents/hourly-check/agent.md +62 -0
- package/agent-assets/agents/monthly-review/agent.md +55 -0
- package/agent-assets/agents/morning-routine/agent.md +78 -0
- package/agent-assets/agents/roadmap-maintenance/agent.md +52 -0
- package/agent-assets/agents/skill-curation/agent.md +52 -0
- package/agent-assets/agents/user-profile-sweep-evening/agent.md +48 -0
- package/agent-assets/agents/user-profile-sweep-morning/agent.md +53 -0
- package/agent-assets/agents/weekly-review/agent.md +51 -0
- package/agent-assets/docs/concepts/agent-day.md +18 -11
- package/agent-assets/docs/concepts/auth-health.md +56 -10
- package/agent-assets/docs/concepts/backends-and-tiers.md +110 -41
- package/agent-assets/docs/concepts/costs-and-quotas.md +74 -19
- package/agent-assets/docs/concepts/delegated-mode.md +193 -75
- package/agent-assets/docs/concepts/memory-model.md +79 -34
- package/agent-assets/docs/concepts/observations.md +61 -11
- package/agent-assets/docs/concepts/process-keys.md +66 -17
- package/agent-assets/docs/concepts/routines.md +77 -32
- package/agent-assets/docs/concepts/safety-and-execution.md +50 -21
- package/agent-assets/docs/concepts/safety-model.md +62 -37
- package/agent-assets/docs/concepts/skills.md +38 -17
- package/agent-assets/docs/features/integrations/browser-history.md +195 -0
- package/agent-assets/docs/features/integrations/calendar.md +40 -30
- package/agent-assets/docs/features/integrations/git.md +20 -9
- package/agent-assets/docs/features/integrations/github.md +93 -35
- package/agent-assets/docs/features/integrations/mail.md +60 -17
- package/agent-assets/docs/features/integrations/notion.md +51 -11
- package/agent-assets/docs/features/integrations/obsidian.md +35 -7
- package/agent-assets/docs/features/lifestyle/git.md +45 -44
- package/agent-assets/docs/features/lifestyle/reading.md +50 -22
- package/agent-assets/docs/features/lifestyle/receipts.md +66 -21
- package/agent-assets/docs/features/lifestyle/travel-bookings.md +91 -14
- package/agent-assets/docs/features/memory-files/agent-journal.md +111 -50
- package/agent-assets/docs/features/memory-files/projects.md +75 -15
- package/agent-assets/docs/features/memory-files/roadmap.md +55 -10
- package/agent-assets/docs/features/memory-files/schedule.md +113 -70
- package/agent-assets/docs/features/memory-files/today.md +47 -21
- package/agent-assets/docs/features/memory-files/user-profile.md +67 -31
- package/agent-assets/docs/features/messaging/bang-commands.md +115 -28
- package/agent-assets/docs/features/messaging/dashboard-chat.md +43 -21
- package/agent-assets/docs/features/messaging/discord.md +46 -4
- package/agent-assets/docs/features/messaging/overview.md +40 -19
- package/agent-assets/docs/features/messaging/pairing-and-magic-phrase.md +94 -27
- package/agent-assets/docs/features/messaging/slack.md +79 -14
- package/agent-assets/docs/features/messaging/telegram.md +25 -6
- package/agent-assets/docs/features/messaging/whatsapp.md +79 -14
- package/agent-assets/docs/features/operations/activity-and-conversations.md +45 -16
- package/agent-assets/docs/features/operations/approvals.md +53 -15
- package/agent-assets/docs/features/operations/backend-routing.md +75 -16
- package/agent-assets/docs/features/operations/cost-tracking.md +90 -17
- package/agent-assets/docs/features/operations/managed-chromium.md +221 -0
- package/agent-assets/docs/features/operations/notifications.md +58 -11
- package/agent-assets/docs/features/operations/quiet-hours.md +63 -40
- package/agent-assets/docs/features/operations/schedule-approaching.md +59 -16
- package/agent-assets/docs/features/routines/custom-routines.md +97 -23
- package/agent-assets/docs/features/routines/evening-review.md +75 -22
- package/agent-assets/docs/features/routines/hourly-check.md +150 -30
- package/agent-assets/docs/features/routines/morning-routine.md +60 -33
- package/agent-assets/docs/features/routines/weekly-review.md +65 -20
- package/agent-assets/docs/features/wiki/commands.md +37 -16
- package/agent-assets/docs/features/wiki/cost-and-approval.md +240 -0
- package/agent-assets/docs/features/wiki/dashboard.md +255 -0
- package/agent-assets/docs/features/wiki/overview.md +80 -12
- package/agent-assets/docs/features/wiki/search.md +248 -0
- package/agent-assets/docs/features/wiki/workspaces.md +254 -0
- package/agent-assets/docs/getting-started/01-what-is-this.md +64 -32
- package/agent-assets/docs/getting-started/02-first-steps.md +28 -10
- package/agent-assets/docs/getting-started/03-what-can-this-do.md +42 -21
- package/agent-assets/docs/getting-started/04-first-day.md +52 -20
- package/agent-assets/docs/glossary.md +285 -21
- package/agent-assets/docs/guides/add-a-custom-routine.md +74 -22
- package/agent-assets/docs/guides/backup-and-restore.md +92 -14
- package/agent-assets/docs/guides/budget-and-cost-for-wiki.md +62 -25
- package/agent-assets/docs/guides/build-your-wiki.md +33 -6
- package/agent-assets/docs/guides/change-which-model-handles-x.md +70 -9
- package/agent-assets/docs/guides/connect-a-new-mail-account.md +80 -15
- package/agent-assets/docs/guides/explore-with-trace-and-connect.md +32 -9
- package/agent-assets/docs/guides/import-knowledge-file.md +60 -39
- package/agent-assets/docs/guides/install-and-run.md +64 -19
- package/agent-assets/docs/guides/maintain-wiki-health.md +41 -10
- package/agent-assets/docs/guides/migrate-machines.md +86 -18
- package/agent-assets/docs/guides/multiple-wikis-for-multiple-domains.md +119 -59
- package/agent-assets/docs/guides/pause-the-agent.md +71 -22
- package/agent-assets/docs/guides/reinstall-cleanly.md +102 -17
- package/agent-assets/docs/guides/setup-wizard.md +126 -56
- package/agent-assets/docs/guides/switch-default-backend.md +72 -17
- package/agent-assets/docs/guides/use-an-existing-obsidian-vault.md +31 -10
- package/agent-assets/docs/reference/api.md +162 -23
- package/agent-assets/docs/reference/cli-commands.md +55 -15
- package/agent-assets/docs/reference/config.md +246 -39
- package/agent-assets/docs/reference/disallowed-tools.md +42 -10
- package/agent-assets/docs/reference/keyboard-shortcuts.md +47 -10
- package/agent-assets/docs/reference/knowledge-layout.md +620 -0
- package/agent-assets/docs/reference/process-keys.md +126 -20
- package/agent-assets/docs/reference/skills.md +62 -18
- package/agent-assets/docs/troubleshooting/auth-failed.md +53 -19
- package/agent-assets/docs/troubleshooting/dashboard-shows-degraded.md +96 -22
- package/agent-assets/docs/troubleshooting/fallback-keeps-firing.md +94 -20
- package/agent-assets/docs/troubleshooting/messaging-not-pairing.md +77 -22
- package/agent-assets/docs/troubleshooting/morning-routine-didnt-run.md +87 -22
- package/agent-assets/docs/troubleshooting/observation-not-detected.md +85 -21
- package/agent-assets/docs/troubleshooting/quota-exhausted.md +36 -6
- package/agent-assets/docs/troubleshooting/wiki-ingest-full-blocked.md +128 -51
- package/agent-assets/docs/troubleshooting/wiki-write-failed.md +33 -11
- package/agent-assets/optimizer-skills/drift-analysis/SKILL.md +1 -1
- package/agent-assets/optimizer-skills/knowledge-map/SKILL.md +1 -1
- package/agent-assets/optimizer-skills/skill-curation/SKILL.md +2 -2
- package/agent-assets/sandbox/linux/aitne-chromium.apparmor +91 -0
- package/agent-assets/sandbox/macos/aitne-chromium.sb +156 -0
- package/agent-assets/skills/agent-actions/SKILL.md +122 -0
- package/agent-assets/skills/agent-create/SKILL.md +149 -0
- package/agent-assets/skills/attach/SKILL.md +3 -4
- package/agent-assets/skills/browser-history/SKILL.md +198 -0
- package/agent-assets/skills/browser-history-respond/SKILL.md +106 -0
- package/agent-assets/skills/browser-task/SKILL.md +169 -0
- package/agent-assets/skills/context/SKILL.md +45 -463
- package/agent-assets/skills/context/curation.json +2 -2
- package/agent-assets/skills/context/references/api.md +232 -0
- package/agent-assets/skills/context/references/required-frontmatter.md +73 -0
- package/agent-assets/skills/context/references/snapshot-files.md +103 -0
- package/agent-assets/skills/context/seeds/file-responsibilities.seed.json +4 -4
- package/agent-assets/skills/docs-search/SKILL.md +17 -16
- package/agent-assets/skills/external-services/SKILL.delegated.claude.md +14 -26
- package/agent-assets/skills/external-services/SKILL.delegated.codex.md +14 -26
- package/agent-assets/skills/external-services/SKILL.delegated.gemini.md +14 -26
- package/agent-assets/skills/external-services/SKILL.md +9 -262
- package/agent-assets/skills/external-services/SKILL.native.claude.md +6 -7
- package/agent-assets/skills/external-services/SKILL.native.codex.md +8 -9
- package/agent-assets/skills/external-services/SKILL.native.gemini.md +5 -6
- package/agent-assets/skills/external-services/references/calendar-apple.md +97 -0
- package/agent-assets/skills/external-services/references/calendar-google.md +72 -0
- package/agent-assets/skills/external-services/references/calendar-outlook.md +36 -0
- package/agent-assets/skills/external-services/references/github.md +17 -0
- package/agent-assets/skills/external-services/references/obsidian.md +49 -0
- package/agent-assets/skills/external-services/references/skills-crud.md +27 -0
- package/agent-assets/skills/gmail-lifestyle/SKILL.md +151 -0
- package/agent-assets/skills/gmail-lifestyle/references/receipts-api.md +93 -0
- package/agent-assets/skills/gmail-lifestyle/references/travel-bookings-api.md +75 -0
- package/agent-assets/skills/mail/SKILL.delegated.claude.md +15 -6
- package/agent-assets/skills/mail/SKILL.delegated.codex.md +9 -5
- package/agent-assets/skills/mail/SKILL.delegated.gemini.md +9 -5
- package/agent-assets/skills/mail/SKILL.md +9 -114
- package/agent-assets/skills/mail/SKILL.native.claude.md +1 -1
- package/agent-assets/skills/mail/SKILL.native.codex.md +1 -1
- package/agent-assets/skills/mail/SKILL.native.gemini.md +1 -1
- package/agent-assets/skills/mail/references/api.md +110 -0
- package/agent-assets/skills/mail/references/examples.md +70 -0
- package/agent-assets/skills/mail/references/providers.md +8 -8
- package/agent-assets/skills/managed-tasks/SKILL.md +472 -0
- package/agent-assets/skills/managed-tasks/references/errors.md +73 -0
- package/agent-assets/skills/managed-tasks/references/output-path.md +75 -0
- package/agent-assets/skills/managed-tasks/references/recurrence-rule.md +86 -0
- package/agent-assets/skills/management-policy/SKILL.md +54 -125
- package/agent-assets/skills/management-policy/curation.json +1 -1
- package/agent-assets/skills/management-policy/references/policy-workflow.md +101 -0
- package/agent-assets/skills/management-policy/seeds/policy-file-shape.seed.json +1 -1
- package/agent-assets/skills/notify/SKILL.md +10 -82
- package/agent-assets/skills/notify/references/priority.md +65 -0
- package/agent-assets/skills/notion/SKILL.delegated.claude.md +2 -2
- package/agent-assets/skills/notion/SKILL.delegated.codex.md +2 -2
- package/agent-assets/skills/notion/SKILL.delegated.gemini.md +2 -2
- package/agent-assets/skills/notion/SKILL.md +6 -10
- package/agent-assets/skills/notion/SKILL.native.claude.md +11 -8
- package/agent-assets/skills/notion/SKILL.native.codex.md +10 -6
- package/agent-assets/skills/notion/SKILL.native.gemini.md +10 -6
- package/agent-assets/skills/observations/SKILL.md +25 -14
- package/agent-assets/skills/project-doc/SKILL.md +2 -6
- package/agent-assets/skills/project-doc/curation.json +3 -3
- package/agent-assets/skills/project-doc/seeds/project-shape.seed.json +7 -4
- package/agent-assets/skills/project-doc/seeds/slug-grammar.seed.json +3 -3
- package/agent-assets/skills/reading/SKILL.md +12 -2
- package/agent-assets/skills/reading/references/reading-taste.md +2 -2
- package/agent-assets/skills/roadmap/SKILL.md +43 -141
- package/agent-assets/skills/roadmap/curation.json +1 -1
- package/agent-assets/skills/roadmap/references/api.md +100 -0
- package/agent-assets/skills/roadmap/references/cross-check.md +80 -0
- package/agent-assets/skills/roadmap/references/migration.md +56 -0
- package/agent-assets/skills/roadmap/references/preparation-timeline.md +2 -2
- package/agent-assets/skills/roadmap/seeds/entry-types.seed.json +1 -1
- package/agent-assets/skills/schedule/SKILL.md +76 -104
- package/agent-assets/skills/schedule/references/batch.md +93 -0
- package/agent-assets/skills/schedule/references/errors.md +217 -0
- package/agent-assets/skills/schedule/references/model-selection.md +96 -0
- package/agent-assets/skills/schedule/references/recurrence-rule.md +86 -0
- package/agent-assets/skills/scheduled-managed-task/SKILL.md +59 -51
- package/agent-assets/skills/today/SKILL.md +32 -62
- package/agent-assets/skills/today/curation.json +3 -3
- package/agent-assets/skills/today/references/agent-plan-lifecycle.md +114 -0
- package/agent-assets/skills/today/seeds/section-shape.seed.json +1 -1
- package/agent-assets/skills/user-interview/SKILL.md +23 -67
- package/agent-assets/skills/user-interview/references/op-briefing.md +51 -0
- package/agent-assets/skills/user-interview/references/op-morning.md +59 -0
- package/agent-assets/skills/user-interview/references/sweep-and-fallback.md +9 -1
- package/agent-assets/skills/user-profile/SKILL.md +54 -74
- package/agent-assets/skills/user-profile/curation.json +2 -2
- package/agent-assets/skills/user-profile/references/character-preferences.md +83 -0
- package/agent-assets/skills/user-profile/seeds/routing-table.seed.json +8 -8
- package/agent-assets/skills/user-profile/seeds/topic-files.seed.json +30 -2
- package/agent-assets/skills/wiki/wiki-ask/SKILL.md +0 -1
- package/agent-assets/skills/wiki/wiki-compile/SKILL.md +4 -5
- package/agent-assets/skills/wiki/wiki-connect/SKILL.md +0 -1
- package/agent-assets/skills/wiki/wiki-graduate/SKILL.md +0 -1
- package/agent-assets/skills/wiki/wiki-ingest/SKILL.md +0 -1
- package/agent-assets/skills/wiki/wiki-lint/SKILL.md +0 -1
- package/agent-assets/skills/wiki/wiki-trace/SKILL.md +0 -1
- package/agent-assets/skills/wiki/wiki-vault-rules/SKILL.md +0 -1
- package/agent-assets/system-prompts/routine-fetch-window.md +78 -0
- package/agent-assets/system-prompts/skill-index-instruction.md +26 -0
- package/agent-assets/task-flows/_partials/calendar-acquire.google_calendar.md +20 -11
- package/agent-assets/task-flows/_partials/calendar-acquire.outlook_calendar.md +18 -9
- package/agent-assets/task-flows/_partials/capture-user-info.md +24 -0
- package/agent-assets/task-flows/_partials/confirm-subflow.md +68 -0
- package/agent-assets/task-flows/_partials/dm-intent.long-horizon.md +35 -0
- package/agent-assets/task-flows/_partials/dm-intent.project.md +391 -0
- package/agent-assets/task-flows/_partials/mail-acquire.gmail.md +20 -11
- package/agent-assets/task-flows/_partials/mail-acquire.outlook_mail.md +18 -9
- package/agent-assets/task-flows/_partials/notion-acquire.notion.md +26 -15
- package/agent-assets/task-flows/browser_task.md +84 -0
- package/agent-assets/task-flows/github.assigned.md +1 -1
- package/agent-assets/task-flows/github.pull_request.review_requested.md +2 -2
- package/agent-assets/task-flows/github.workflow_run.failed.md +2 -2
- package/agent-assets/task-flows/knowledge.import.md +15 -15
- package/agent-assets/task-flows/message.received.dm.md +20 -17
- package/agent-assets/task-flows/message.received.dm_first.md +11 -15
- package/agent-assets/task-flows/routine.custom.md +6 -4
- package/agent-assets/task-flows/routine.evening_review.md +46 -170
- package/agent-assets/task-flows/routine.fetch_window.md +19 -14
- package/agent-assets/task-flows/routine.hourly_check.md +27 -15
- package/agent-assets/task-flows/routine.hourly_check.triage.md +1 -1
- package/agent-assets/task-flows/routine.monthly_review.md +67 -25
- package/agent-assets/task-flows/routine.morning_routine_journal.md +135 -0
- package/agent-assets/task-flows/routine.morning_routine_today.md +673 -0
- package/agent-assets/task-flows/routine.research_cluster_update.md +35 -0
- package/agent-assets/task-flows/routine.research_dispatch.md +38 -0
- package/agent-assets/task-flows/routine.research_offer_dm.md +125 -0
- package/agent-assets/task-flows/routine.research_wiki_summary.md +53 -0
- package/agent-assets/task-flows/routine.roadmap_refresh.md +68 -23
- package/agent-assets/task-flows/routine.today_refresh.md +4 -4
- package/agent-assets/task-flows/routine.user_profile_sweep.md +19 -20
- package/agent-assets/task-flows/routine.weekly_review.md +370 -86
- package/agent-assets/task-flows/schedule.approaching.md +0 -1
- package/agent-assets/task-flows/scheduled.dm.md +13 -13
- package/agent-assets/task-flows/scheduled.task.md +9 -9
- package/agent-assets/task-flows/setup.initial.md +171 -251
- package/agent-assets/task-flows/setup.update.md +2 -2
- package/agent-assets/task-flows/wiki.ingest_url.md +1 -1
- package/agent-assets/templates/README.md +27 -20
- package/agent-assets/templates/_index.md +42 -26
- package/agent-assets/templates/_manifest.json +34 -99
- package/agent-assets/templates/{user → identity}/_index.md +1 -1
- package/agent-assets/templates/identity/expertise.md +9 -0
- package/agent-assets/templates/identity/goals.md +9 -0
- package/agent-assets/templates/identity/people.md +13 -0
- package/agent-assets/templates/identity/personal.md +9 -0
- package/agent-assets/templates/{user → identity}/profile.md +2 -2
- package/agent-assets/templates/identity/work.md +9 -0
- package/agent-assets/templates/{dossiers → knowledge/dossiers}/_index.md +2 -2
- package/agent-assets/templates/{projects → plans/projects}/_active.base +1 -1
- package/agent-assets/templates/policies/_index.md +21 -0
- package/agent-assets/templates/{rules → policies}/journal-export.md +1 -1
- package/agent-assets/templates/policies/journal-format.md +168 -0
- package/agent-assets/templates/{rules/policies → policies/management-captures}/_index.md +2 -2
- package/agent-assets/templates/{rules → policies}/management.md +3 -3
- package/agent-assets/templates/{rules → policies}/mcp.md +1 -1
- package/agent-assets/templates/{rules → policies}/redaction.md +1 -1
- package/agent-assets/templates/{routines → policies/routines}/_index.md +1 -1
- package/agent-assets/templates/{routines → policies/routines}/evening.md +2 -2
- package/agent-assets/templates/{routines → policies/routines}/hourly.md +1 -1
- package/agent-assets/templates/{routines → policies/routines}/monthly.md +2 -2
- package/bin/aitne.mjs +21 -5
- package/package.json +5 -4
- package/scripts/commands/doctor.mjs +63 -5
- package/scripts/commands/run-now.mjs +187 -0
- package/scripts/commands/verify.mjs +264 -0
- package/scripts/lib/ports.d.mts +27 -0
- package/scripts/lib/ports.mjs +36 -0
- package/scripts/lib/read-api-token.mjs +176 -0
- package/scripts/start.mjs +2 -1
- package/agent-assets/docs/features/lifestyle/travel-time.md +0 -52
- package/agent-assets/docs/features/routines/monthly-review.md +0 -65
- package/agent-assets/skills/management-task-modify/SKILL.md +0 -203
- package/agent-assets/skills/management-task-register/SKILL.md +0 -330
- package/agent-assets/skills/management-task-stop/SKILL.md +0 -166
- package/agent-assets/skills/receipts/SKILL.md +0 -134
- package/agent-assets/skills/travel/SKILL.md +0 -132
- package/agent-assets/skills/travel-time/SKILL.md +0 -158
- package/agent-assets/task-flows/routine.morning_routine.md +0 -322
- package/agent-assets/task-flows/routine.morning_routine_initial.md +0 -204
- package/agent-assets/templates/context-index.md +0 -42
- package/agent-assets/templates/rules/_index.md +0 -19
- package/agent-assets/templates/rules/journal-format.md +0 -61
- package/agent-assets/templates/user/expertise.md +0 -7
- package/agent-assets/templates/user/goals.md +0 -7
- package/agent-assets/templates/user/people.md +0 -7
- package/agent-assets/templates/user/personal.md +0 -7
- package/agent-assets/templates/user/work.md +0 -7
- /package/agent-assets/templates/{agent/journal.md → journal/agent.md} +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/evening.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/hourly.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/monthly.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/morning.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/roadmap.md +0 -0
- /package/agent-assets/templates/{dossiers → knowledge/dossiers}/weekly.md +0 -0
- /package/agent-assets/templates/{projects → plans/projects}/_index.md +0 -0
- /package/agent-assets/templates/{roadmap.md → plans/roadmap.md} +0 -0
- /package/agent-assets/templates/{routines → policies/routines}/morning.md +0 -0
- /package/agent-assets/templates/{routines → policies/routines}/weekly.md +0 -0
- /package/agent-assets/templates/{agent → state}/profile-questions.md +0 -0
- /package/agent-assets/templates/{today.md → state/today.md} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
schema_version: 1
|
|
3
3
|
slug: features/memory-files/agent-journal
|
|
4
|
-
title: agent
|
|
4
|
+
title: journal/agent.md
|
|
5
5
|
id: agent-journal
|
|
6
6
|
aliases:
|
|
7
7
|
- journal
|
|
@@ -10,96 +10,157 @@ aliases:
|
|
|
10
10
|
category: features
|
|
11
11
|
summary: |
|
|
12
12
|
The agent's append-only log of decisions, retros, and judgement
|
|
13
|
-
calls. Distinct from Activity (which is
|
|
14
|
-
is reflection-shaped.
|
|
13
|
+
calls, at journal/agent.md. Distinct from Activity (which is
|
|
14
|
+
action-shaped) — the journal is reflection-shaped. Written by the
|
|
15
|
+
morning, evening, and weekly routines; the API enforces append-only.
|
|
15
16
|
section: memory-files
|
|
16
17
|
tags:
|
|
17
18
|
- memory
|
|
18
19
|
- journal
|
|
19
20
|
- reflection
|
|
21
|
+
- routines
|
|
20
22
|
status: stable
|
|
21
23
|
ask_examples:
|
|
22
24
|
- What is the agent journal?
|
|
23
25
|
- Where does the agent log its own decisions?
|
|
24
26
|
- How is the journal different from Activity?
|
|
27
|
+
- Why did journal/agent.md stop growing?
|
|
25
28
|
locale: en-US
|
|
26
29
|
created: 2026-04-25
|
|
27
|
-
updated: 2026-
|
|
30
|
+
updated: 2026-05-28
|
|
28
31
|
keywords:
|
|
29
32
|
- journal
|
|
30
33
|
- retros
|
|
31
34
|
- decisions
|
|
32
35
|
- reflection
|
|
36
|
+
- append-only
|
|
33
37
|
related:
|
|
38
|
+
- features/routines/morning-routine
|
|
34
39
|
- features/routines/evening-review
|
|
35
40
|
- features/routines/weekly-review
|
|
36
41
|
- features/operations/activity-and-conversations
|
|
42
|
+
- concepts/memory-model
|
|
43
|
+
process_keys:
|
|
44
|
+
- routine.morning_routine_journal
|
|
45
|
+
- routine.evening_review
|
|
46
|
+
- routine.weekly_review
|
|
47
|
+
context_files:
|
|
48
|
+
- journal/agent.md
|
|
37
49
|
ui_anchors:
|
|
38
50
|
- /connections/journal
|
|
39
51
|
- /settings/journal
|
|
40
|
-
context_files:
|
|
41
|
-
- agent/journal.md
|
|
42
52
|
---
|
|
43
53
|
|
|
44
|
-
# agent
|
|
54
|
+
# journal/agent.md
|
|
45
55
|
|
|
46
|
-
## In
|
|
56
|
+
## In one sentence
|
|
47
57
|
|
|
48
|
-
`agent
|
|
58
|
+
`journal/agent.md` is the agent's own running diary — what it noticed,
|
|
49
59
|
what it tried, what it would do differently — appended (never
|
|
50
60
|
rewritten) so a long timeline accumulates.
|
|
51
61
|
|
|
52
|
-
## What
|
|
62
|
+
## What it is
|
|
53
63
|
|
|
54
64
|
The journal is the place the agent writes about its own work in the
|
|
55
|
-
first person.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
- A short context line (which routine / conversation prompted it).
|
|
59
|
-
- The reflection itself.
|
|
60
|
-
|
|
61
|
-
Unlike Activity, the journal is opinion-shaped. The evening review
|
|
62
|
-
adds the day's reflections; the weekly retro reads them back to
|
|
63
|
-
look for patterns; the monthly retro distills them into trend notes.
|
|
65
|
+
first person. Unlike Activity — which is the action-shaped audit log
|
|
66
|
+
of *what happened* — the journal is reflection-shaped: it captures
|
|
67
|
+
*why*, *what surprised it*, and *what it would change*.
|
|
64
68
|
|
|
65
|
-
|
|
69
|
+
Each entry carries:
|
|
66
70
|
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
to find a thread.
|
|
71
|
-
- **In-the-moment** entries fire when the agent notices something
|
|
72
|
-
worth flagging during reactive work.
|
|
73
|
-
|
|
74
|
-
## What It Outputs
|
|
75
|
-
|
|
76
|
-
- An ever-growing append-only file at
|
|
77
|
-
`~/.personal-agent/context/agent/journal.md`.
|
|
78
|
-
- A linked-from-roadmap section when an entry tied a project to a new
|
|
79
|
-
decision.
|
|
80
|
-
|
|
81
|
-
## Where in the Dashboard
|
|
71
|
+
- A timestamp (the routine stamps an `Appended at:` line).
|
|
72
|
+
- A short context line — which routine or conversation prompted it.
|
|
73
|
+
- The reflection itself.
|
|
82
74
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
75
|
+
The file lives at `~/.personal-agent/context/journal/agent.md` and
|
|
76
|
+
grows forever. Later routines read it back to look for patterns.
|
|
77
|
+
|
|
78
|
+
## Who writes it, and when
|
|
79
|
+
|
|
80
|
+
Three routines append to the journal — none ever rewrites it:
|
|
81
|
+
|
|
82
|
+
- **Morning routine** (Stage B, `routine.morning_routine_journal`) is
|
|
83
|
+
the recurring daily writer. After the day's stages settle, the
|
|
84
|
+
daemon appends a one-paragraph audit-trail entry assembled from the
|
|
85
|
+
prior day's `agent_actions` — stage results, retry stats, anomalies.
|
|
86
|
+
This is the entry you'll see most often.
|
|
87
|
+
- **Weekly review** (`routine.weekly_review`) appends the largest
|
|
88
|
+
structured block: a `## Weekly YYYY-Www` retro with *What worked*,
|
|
89
|
+
*What slipped on my side*, *System improvement ideas*, and agent-side
|
|
90
|
+
metrics. It quotes prior entries to find a thread.
|
|
91
|
+
- **Evening review** (`routine.evening_review`) appends short
|
|
92
|
+
bookkeeping lines — for example a one-liner each time it bumps a
|
|
93
|
+
roadmap review forward, or a validation error if a roadmap write was
|
|
94
|
+
rejected. It does not write the bulk of the diary.
|
|
95
|
+
|
|
96
|
+
In-the-moment notes can also land here when the agent flags something
|
|
97
|
+
worth recording during reactive work.
|
|
98
|
+
|
|
99
|
+
### Example entry
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
## Weekly 2026-W21
|
|
103
|
+
> Appended at: 2026-05-25 21:40
|
|
104
|
+
|
|
105
|
+
### What worked
|
|
106
|
+
- Morning brief landed before the 09:00 standup three days running.
|
|
107
|
+
### What slipped on my side
|
|
108
|
+
- Missed the Friday PR-review trigger — webhook arrived during quiet hours.
|
|
109
|
+
### System improvement ideas
|
|
110
|
+
- Add Saturday to the Weekend day-type default so weekend pushes triage.
|
|
111
|
+
### Metrics (agent side)
|
|
112
|
+
- Agent plan rows completed: 12
|
|
113
|
+
- Did-not-fire / failed rows: 1
|
|
114
|
+
- Observations reviewed / ignored: 18 / 4
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## Append-only — enforced, not just convention
|
|
118
|
+
|
|
119
|
+
The journal is append-only at the API layer, not merely by prompt
|
|
120
|
+
discipline. `journal/agent.md` is the sole entry in `CREATE_ONLY_PUT`:
|
|
121
|
+
a `PUT` only succeeds if the file does not yet exist, and a `PATCH`
|
|
122
|
+
must use `append` or `append_to_file` mode. A `replace` or `clear`
|
|
123
|
+
PATCH is rejected outright, so a misbehaving (or prompt-injected) agent
|
|
124
|
+
cannot destroy history. Writes go through the daemon context API
|
|
125
|
+
(`PATCH /api/context/journal/agent`) — the agent has no direct
|
|
126
|
+
`Edit`/`Write` access to the file.
|
|
127
|
+
|
|
128
|
+
## Where in the dashboard
|
|
129
|
+
|
|
130
|
+
- **Connections → Journal** (`/connections/journal`) is the read view
|
|
131
|
+
of the file.
|
|
132
|
+
- **Settings → Journal** (`/settings/journal`) controls retention and
|
|
133
|
+
which routines contribute.
|
|
86
134
|
|
|
87
135
|
## Configuration
|
|
88
136
|
|
|
89
|
-
There is no per-entry configuration. The file is plain Markdown
|
|
90
|
-
can hand-edit, prune, or git-version it like
|
|
137
|
+
There is no per-entry configuration. The file is plain Markdown, so
|
|
138
|
+
**you** (the human owner) can hand-edit, prune, or git-version it like
|
|
139
|
+
any other context file — the API append-only guard applies only to the
|
|
140
|
+
agent's own writes, not to you editing the file on disk.
|
|
91
141
|
|
|
92
|
-
## When
|
|
142
|
+
## When something goes wrong
|
|
93
143
|
|
|
94
|
-
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
144
|
+
- **The journal stops growing.** This usually points at the morning
|
|
145
|
+
routine's Stage B (the daily writer) or the evening/weekly review not
|
|
146
|
+
running. See [Morning Routine](../routines/morning-routine.md) and
|
|
147
|
+
[Evening Review](../routines/evening-review.md).
|
|
148
|
+
- **Entries look duplicated.** This usually means a routine retried
|
|
149
|
+
after a backend fallback. Because writes are append-only, a retry
|
|
150
|
+
can re-append rather than overwrite; the weekly review has an
|
|
151
|
+
idempotency check for its own section, but it is best-effort — a
|
|
152
|
+
manual prune is fine.
|
|
99
153
|
|
|
100
154
|
## Related
|
|
101
155
|
|
|
102
|
-
- [
|
|
103
|
-
|
|
104
|
-
- [
|
|
105
|
-
|
|
156
|
+
- [Morning Routine](../routines/morning-routine.md) — the recurring
|
|
157
|
+
daily writer (Stage B).
|
|
158
|
+
- [Weekly Review](../routines/weekly-review.md) — the largest retro,
|
|
159
|
+
and the main consumer that reads prior entries back.
|
|
160
|
+
- [Evening Review](../routines/evening-review.md) — appends short
|
|
161
|
+
bookkeeping lines.
|
|
162
|
+
- [Activity & Conversations](../operations/activity-and-conversations.md)
|
|
163
|
+
— the action-shaped audit log, distinct from the reflection-shaped
|
|
164
|
+
journal.
|
|
165
|
+
- [Memory model](../../concepts/memory-model.md) — how the journal fits
|
|
166
|
+
the wider context vault.
|
|
@@ -1,56 +1,116 @@
|
|
|
1
1
|
---
|
|
2
2
|
schema_version: 1
|
|
3
3
|
slug: features/memory-files/projects
|
|
4
|
-
title: projects/ files
|
|
4
|
+
title: plans/projects/ files
|
|
5
5
|
id: projects
|
|
6
6
|
aliases:
|
|
7
7
|
- project files
|
|
8
8
|
- projects directory
|
|
9
|
+
- plans/projects
|
|
9
10
|
category: features
|
|
10
11
|
summary: |
|
|
11
|
-
One Markdown file per
|
|
12
|
+
One Markdown file per project under plans/projects/. Each captures
|
|
12
13
|
the project's why, status, key links, and the per-project log of
|
|
13
|
-
agent activity. Cross-linked from the roadmap
|
|
14
|
+
agent activity. Cross-linked from the roadmap and surfaced by the
|
|
15
|
+
morning routine while the project is active.
|
|
14
16
|
section: memory-files
|
|
15
17
|
tags:
|
|
16
18
|
- memory
|
|
17
19
|
- projects
|
|
20
|
+
- core
|
|
18
21
|
status: stable
|
|
19
22
|
ask_examples:
|
|
20
23
|
- Where do I find the per-project files?
|
|
21
24
|
- How does the agent decide a project is active?
|
|
25
|
+
- How does the agent write to a project file?
|
|
22
26
|
locale: en-US
|
|
23
27
|
created: 2026-04-25
|
|
24
|
-
updated: 2026-
|
|
28
|
+
updated: 2026-05-28
|
|
29
|
+
keywords:
|
|
30
|
+
- projects
|
|
31
|
+
- project file
|
|
32
|
+
- plans/projects/<slug>.md
|
|
33
|
+
- active project
|
|
25
34
|
related:
|
|
26
35
|
- features/memory-files/roadmap
|
|
36
|
+
- features/memory-files/today
|
|
37
|
+
ui_anchors:
|
|
38
|
+
- /knowledge?tab=context-files
|
|
39
|
+
api_endpoints:
|
|
40
|
+
- GET /api/context/list/:dir
|
|
41
|
+
- PUT /api/context/*
|
|
42
|
+
- PATCH /api/context/*
|
|
27
43
|
context_files:
|
|
28
|
-
- projects/<slug>.md
|
|
44
|
+
- plans/projects/<slug>.md
|
|
29
45
|
---
|
|
30
46
|
|
|
31
|
-
# projects/ Files
|
|
47
|
+
# plans/projects/ Files
|
|
32
48
|
|
|
33
49
|
## In One Sentence
|
|
34
50
|
|
|
35
|
-
One Markdown file per
|
|
36
|
-
decisions, and external references over the
|
|
51
|
+
One Markdown file per project, stored at `plans/projects/<slug>.md`;
|
|
52
|
+
the agent appends notes, decisions, and external references over the
|
|
53
|
+
project's lifetime.
|
|
37
54
|
|
|
38
55
|
## What It Does
|
|
39
56
|
|
|
40
|
-
- Captures the project's purpose, status, links, recent decisions
|
|
41
|
-
|
|
42
|
-
|
|
57
|
+
- Captures the project's purpose, status, links, and recent decisions
|
|
58
|
+
in a single durable note.
|
|
59
|
+
- Surfaces in the morning routine while the project is active and the
|
|
60
|
+
roadmap has Preparation Timeline rows pointing at it.
|
|
43
61
|
- Becomes the canonical reference the agent quotes from in DMs.
|
|
44
62
|
|
|
63
|
+
## File Shape
|
|
64
|
+
|
|
65
|
+
Each file lives at `plans/projects/<slug>.md`. The daemon validates
|
|
66
|
+
only the minimum — `type: project`, `owner: shared`, an `updated`
|
|
67
|
+
date, and an H1 title. By convention the agent also writes `slug`,
|
|
68
|
+
`state`, `start`, `due`, `stakeholders`, `next_milestone`, and `tags`.
|
|
69
|
+
|
|
70
|
+
`state` is what marks a project **active**: the dashboard's project
|
|
71
|
+
view filters on it, and the morning routine only surfaces projects
|
|
72
|
+
whose `state` is active.
|
|
73
|
+
|
|
74
|
+
```markdown
|
|
75
|
+
---
|
|
76
|
+
type: project
|
|
77
|
+
owner: shared
|
|
78
|
+
slug: spring-launch
|
|
79
|
+
state: active
|
|
80
|
+
due: 2026-06-15
|
|
81
|
+
next_milestone: ship beta
|
|
82
|
+
updated: 2026-05-28
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
# Spring Launch
|
|
86
|
+
|
|
87
|
+
## Why
|
|
88
|
+
Ship the public beta before the conference.
|
|
89
|
+
|
|
90
|
+
## Log
|
|
91
|
+
- 2026-05-28: agreed to cut feature X for v1.
|
|
92
|
+
```
|
|
93
|
+
|
|
45
94
|
## When It Runs / How It Is Triggered
|
|
46
95
|
|
|
47
|
-
Read on demand. Written when the operator asks the agent to
|
|
48
|
-
|
|
96
|
+
Read on demand. Written when the operator asks the agent to remember
|
|
97
|
+
something project-specific, or when a DM expresses project intent
|
|
98
|
+
(create, update status, mark done).
|
|
99
|
+
|
|
100
|
+
The agent never edits files on disk — it has no `Edit`/`Write` tools.
|
|
101
|
+
All project writes go through the context API:
|
|
102
|
+
|
|
103
|
+
- `GET /api/context/list/projects` — discover existing project files.
|
|
104
|
+
- `PUT /api/context/plans/projects/<slug>` — create or fully replace.
|
|
105
|
+
- `PATCH /api/context/plans/projects/<slug>` — append a log line or
|
|
106
|
+
update a section.
|
|
49
107
|
|
|
50
108
|
## Where in the Dashboard
|
|
51
109
|
|
|
52
|
-
- **Knowledge → Context Files
|
|
110
|
+
- **Knowledge → Context Files** (`/knowledge?tab=context-files`), under
|
|
111
|
+
the `plans/projects/` folder.
|
|
53
112
|
|
|
54
113
|
## Related
|
|
55
114
|
|
|
56
|
-
- [roadmap.md](roadmap.md)
|
|
115
|
+
- [roadmap.md](roadmap.md) — cross-links to project files for deeper context.
|
|
116
|
+
- [today.md](today.md) — where active-project prep surfaces each day.
|
|
@@ -15,21 +15,33 @@ summary: |
|
|
|
15
15
|
section: memory-files
|
|
16
16
|
tags:
|
|
17
17
|
- memory
|
|
18
|
-
- planning
|
|
19
18
|
- core
|
|
20
19
|
status: stable
|
|
21
20
|
ask_examples:
|
|
22
21
|
- What is the roadmap file?
|
|
23
22
|
- What is a Preparation Timeline?
|
|
24
23
|
- How does the morning routine use the roadmap?
|
|
24
|
+
- How do I add a roadmap entry?
|
|
25
25
|
locale: en-US
|
|
26
26
|
created: 2026-04-25
|
|
27
|
-
updated: 2026-
|
|
27
|
+
updated: 2026-05-28
|
|
28
|
+
keywords:
|
|
29
|
+
- roadmap.md
|
|
30
|
+
- roadmap
|
|
31
|
+
- long-term goals
|
|
32
|
+
- preparation timeline
|
|
33
|
+
- milestones
|
|
28
34
|
related:
|
|
29
35
|
- features/routines/morning-routine
|
|
30
36
|
- features/memory-files/projects
|
|
37
|
+
- features/memory-files/today
|
|
38
|
+
ui_anchors:
|
|
39
|
+
- /knowledge?tab=context-files
|
|
40
|
+
api_endpoints:
|
|
41
|
+
- PUT /api/context/*
|
|
42
|
+
- PATCH /api/context/*
|
|
31
43
|
context_files:
|
|
32
|
-
- roadmap.md
|
|
44
|
+
- plans/roadmap.md
|
|
33
45
|
---
|
|
34
46
|
|
|
35
47
|
# roadmap.md
|
|
@@ -37,19 +49,51 @@ context_files:
|
|
|
37
49
|
## In One Sentence
|
|
38
50
|
|
|
39
51
|
A multi-week plan: each goal carries dates and Preparation Timeline
|
|
40
|
-
rows the morning routine fires on the day
|
|
52
|
+
rows that the morning routine fires on the day they come due.
|
|
41
53
|
|
|
42
54
|
## What It Does
|
|
43
55
|
|
|
44
|
-
- Captures long-running goals
|
|
56
|
+
- Captures long-running goals that span more than a single day, so
|
|
57
|
+
they don't fall out of `state/today.md` (which is replaced fresh
|
|
58
|
+
each morning).
|
|
45
59
|
- Preparation Timeline rows like "T-7 days: book hotel" surface in
|
|
46
|
-
the morning routine on the
|
|
60
|
+
the morning routine on the day each offset lands — turning a far-off
|
|
61
|
+
milestone into concrete actions at the right moment.
|
|
47
62
|
- Cross-links to project files for deeper context.
|
|
48
63
|
|
|
64
|
+
## What It Looks Like
|
|
65
|
+
|
|
66
|
+
A goal with a Preparation Timeline is just Markdown the agent reads
|
|
67
|
+
each morning. For example:
|
|
68
|
+
|
|
69
|
+
```markdown
|
|
70
|
+
## Conference talk — 2026-06-20
|
|
71
|
+
|
|
72
|
+
Goal: deliver the keynote in Tokyo.
|
|
73
|
+
|
|
74
|
+
Preparation Timeline:
|
|
75
|
+
- T-14 days: finalize slide deck
|
|
76
|
+
- T-7 days: book hotel
|
|
77
|
+
- T-2 days: dry run with the team
|
|
78
|
+
- T-0: travel day
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
On 2026-06-06 the morning routine sees the `T-14` offset come due and
|
|
82
|
+
pulls "finalize slide deck" into that day's plan; on 2026-06-13 it
|
|
83
|
+
surfaces "book hotel", and so on.
|
|
84
|
+
|
|
49
85
|
## When It Runs / How It Is Triggered
|
|
50
86
|
|
|
51
|
-
Read by the morning routine
|
|
52
|
-
|
|
87
|
+
Read by the morning routine each day, which walks the roadmap and
|
|
88
|
+
surfaces any Preparation Timeline rows whose offset fires that day.
|
|
89
|
+
The file is updated by the operator, or by the agent on request (for
|
|
90
|
+
example via the roadmap skill or `aitne run-now roadmap_maintenance`).
|
|
91
|
+
|
|
92
|
+
The agent never edits the file directly. All writes go through the
|
|
93
|
+
daemon's context endpoint — `PUT /api/context/plans/roadmap` (full
|
|
94
|
+
replace) or `PATCH /api/context/plans/roadmap` (section op) — which is
|
|
95
|
+
guarded by an exclusive roadmap write lock so two flows can't clobber
|
|
96
|
+
each other.
|
|
53
97
|
|
|
54
98
|
## Where in the Dashboard
|
|
55
99
|
|
|
@@ -57,5 +101,6 @@ on request).
|
|
|
57
101
|
|
|
58
102
|
## Related
|
|
59
103
|
|
|
60
|
-
- [Morning Routine](
|
|
61
|
-
- [Projects](projects.md)
|
|
104
|
+
- [Morning Routine](../../routines/morning-routine.md) — reads the roadmap each day.
|
|
105
|
+
- [Projects](projects.md) — deeper, per-project context the roadmap links to.
|
|
106
|
+
- [today.md](today.md) — the single-day plan the roadmap feeds into.
|