Skip to content

feat(memory): opt-in persistent memory scaffold for providers#2745

Merged
gavrielc merged 1 commit into
mainfrom
oss/memory-scaffold
Jun 13, 2026
Merged

feat(memory): opt-in persistent memory scaffold for providers#2745
gavrielc merged 1 commit into
mainfrom
oss/memory-scaffold

Conversation

@omri-maya

Copy link
Copy Markdown
Collaborator

Type of Change

  • Feature skill
  • Utility skill
  • Operational/container skill
  • Fix
  • Simplification
  • Documentation

(Core source seam — none of the above fit cleanly; not a skill.)

Description

What — Adds a provider capability (usesMemoryScaffold) and a container-side boot scaffold that materializes a persistent memory/ tree for providers that declare it.

Why — Some providers keep their own memory store (e.g. server-side conversation history) and need a persistent on-disk memory tree rather than the default project-doc surface. This adds the seam without touching the default path.

How it works — A capability flag on the provider type. At container boot the runner checks it and, only when set, materializes the memory/ tree from templates. The default provider never triggers it.

How it was tested — Host (458) and container (105) suites green, both typechecks clean. A boot-gate wiring test asserts the default path is unchanged — it goes red if the wiring is removed. Existing installs are byte-identical.

Usage — None directly; dormant until a provider opts in.

Adds a provider capability (usesMemoryScaffold) and a container-side boot
scaffold that materializes a persistent memory/ tree for providers that opt
in. Dormant for the default provider — the scaffold is only built when a
provider declares the capability, so existing installs are byte-identical
(asserted by a boot-gate wiring test).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@gavrielc gavrielc merged commit fab1ebf into main Jun 13, 2026
2 checks passed
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.

2 participants