chore(memory): delete internal/memory (unification slice 5) (#889)
Deletes internal/memory (Manager, builtin.Provider, memory_edit tool) now
that slices 2-4 built the CRUD engine family and its per-turn read/write
seams. Also deletes internal/infrastructure/memory/builtin/provider.go (the
memory_edit adapter over the old package -- its markdown store already
relocated in slice 2), internal/tools/provider/memory (the old tool
registration, redundant with slice 4's memory_create/update/delete/list),
config.Memory.{Provider,ProviderConfig} and the validateMemory rejection
that existed only to complain about Provider, and webui.MemoryStatus/
MemoryProviderHandle plus its dashboard page -- never wired in production
(s.Memory was always nil), confirmed by /api/capabilities always reporting
"memory": false.
Rewrites ARCHITECTURE.md's "Memory engine family" section to describe the
current engine (internal/domain/memory contract, internal/infrastructure/
memory builtin engine + its builtin/ markdown store, the per-turn read seam
in gateway/turn_memory.go, the per-turn write tools in
gateway/turn_memory_tool.go) instead of the deleted Manager. Fixes two
docs/architecture/configuration.md rows that described the deleted
manager's literals and SaveConfig mechanism.
This commit is contained in:
43 files changed
+92
-5619
No files matched your search
+5
-9
@@ -259,15 +259,11 @@ listen = "127.0.0.1:8484"
|
||||
# level = "info" # "debug" | "info" | "warn" | "error"
|
||||
# quiet = false # true suppresses stderr once a file is configured
|
||||
|
||||
# The built-in file-backed memory engine (MEMORY.md + USER.md under
|
||||
# work_dir) is always on -- nothing here is required to get memory at all.
|
||||
# engine selects among the domain/memory engine family; "builtin" (the
|
||||
# default, same as leaving it unset) is the only one implemented so far.
|
||||
# provider is a separate, older mechanism -- an external provider identifier
|
||||
# for internal/memory.Manager.RegisterExternal -- but no external provider
|
||||
# is implemented anywhere in the repo to construct and register, so
|
||||
# setting it is REJECTED at config load rather than silently doing
|
||||
# nothing. Leave it unset.
|
||||
# The built-in file-backed memory engine (internal/domain/memory +
|
||||
# internal/infrastructure/memory) is always on -- nothing here is required
|
||||
# to get memory at all. engine selects among the domain/memory engine
|
||||
# family; "builtin" (the default, same as leaving it unset) is the only
|
||||
# one implemented so far.
|
||||
# [memory]
|
||||
# engine = "builtin" # "builtin" is the only engine implemented so far
|
||||
|
||||
|
||||
Reference in new issue
Block a user