Skip to content

feature/Add automatic LLM-assisted memory update prompting#102

Merged
DJJones66 merged 2 commits into
mainfrom
feature/llm-memory-update-prompting
May 1, 2026
Merged

feature/Add automatic LLM-assisted memory update prompting#102
DJJones66 merged 2 commits into
mainfrom
feature/llm-memory-update-prompting

Conversation

@DJJones66
Copy link
Copy Markdown
Member

Summary

Adds automatic memory update prompting for BrainDrive starter-pack changes. On startup, the gateway now detects when the current starter pack targets a newer memory pack version, generates a migration plan, applies safe updates, defers risky/customized changes, writes an owner-readable report, and updates memory state so the migration does not rerun every startup.

What Changed

  • Added memory update engine for starter-pack manifest generation, planning, apply, backup, report, and migration state tracking.
  • Added optional LLM planning with deterministic fallback.
  • Added startup gateway integration and memory update API endpoints.
  • Added client-side update notice/report display after completed updates.
  • Disabled legacy starter-skill bootstrap during gateway startup so the update engine owns starter-pack skill creation/reporting.
  • Added regression and integration tests for update status, planning, apply, reporting, deferred files, repeat-startup prevention, and incomplete LLM plan normalization.

Validation

  • npm --prefix builds/typescript run test -- memory/update-prompting.test.ts
  • npm --prefix builds/typescript run test -- gateway/auth-routes.integration.test.ts
  • npm --prefix builds/typescript run build

@DJJones66 DJJones66 merged commit a6355e5 into main May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant