Skip to content

Buddy v0.1.23

Choose a tag to compare

@github-actions github-actions released this 11 Aug 16:58

Prompt split and journal guardrail

Core instructions now live in agents-base.md, which updates with the app. Your AGENTS.md keeps only your personalized state — active context, navigation map, and instance-learned rules. Existing instances are migrated automatically on first boot, with a backup.

What changed

  • AGENTS.md / agents-base.md split. Capture rules, file metadata, the twelve core behavioral rules, and knowledge routing moved to agents-base.md. AGENTS.md is now instance state only: active context, where to find things, and rules your Buddy has learned from use. When an old-format AGENTS.md is detected on boot, it is migrated once — personalized sections are preserved, core instructions are removed, and the original is backed up to .buddy/migrations/.
  • Journal is read-only during chat. The journal entry in "Where to find things" now states explicitly that the journal is written by consolidation, never during conversation. This prevents the agent from writing daily entries mid-chat.
  • Navigation links point to index files. Projects, Concepts, and Ideas entries in the template link to their index.md rather than bare directory paths, which behave inconsistently across platforms.

What changed underneath

Boot migration logic (migrateAgentsMdIfNeeded) joins the existing ensureUserMdSectionsOnDisk in session-boot.ts. Core rule detection uses bold-keyword prefix matching against a frozen list; unrecognized rules are preserved as instance rules. Consolidation Step 8 now tells the agent that core rules are already in the system prompt and must not be duplicated — instance rules go to AGENTS.md only.

998 unit tests and 341 scenarios.