Skip to content

Remove user-layer MEMORY.md — agent-only, period#819

Merged
chubes4 merged 1 commit intomainfrom
fix/memory-md-agent-layer-only
Mar 16, 2026
Merged

Remove user-layer MEMORY.md — agent-only, period#819
chubes4 merged 1 commit intomainfrom
fix/memory-md-agent-layer-only

Conversation

@chubes4
Copy link
Member

@chubes4 chubes4 commented Mar 16, 2026

Summary

  • MEMORY.md belongs in the agent layer only. The code was wired to also load MEMORY.md from the user layer (users/{id}/MEMORY.md), but the file never existed on disk and the dual-layer concept muddied the clean separation.
  • Removes the user-layer MEMORY.md entry from CoreMemoryFilesDirective.php
  • Fixes docs and PHP docblocks across 13 files that grouped all core files without layer distinction, described MEMORY.md as existing in "both layers", or used legacy single-directory paths

Clean model

shared/   → SITE.md, RULES.md
agents/   → SOUL.md, MEMORY.md, daily/
users/    → USER.md

Each file lives in exactly one layer. No ambiguity.

Files changed

File What changed
CoreMemoryFilesDirective.php Removed users/{id}/MEMORY.md from core layer files array
wordpress-as-agent-memory.md Fixed layer table, MEMORY.md descriptions, loading chain, design decisions
ai-directives.md (both) Removed user-layer MEMORY.md from directive description
README.md Clarified agent memory description with layer info
SKILL.md Updated from legacy flat paths to three-layer architecture
6 PHP directive files Updated priority docblock from (SOUL.md, USER.md, MEMORY.md, etc.) to explicit layer list
MemoryCommand.php Updated docblock to distinguish layers
DirectoryManager.php Updated docblock to distinguish layers

MEMORY.md belongs in the agent layer. The code was wired to also load
MEMORY.md from the user layer (users/{id}/MEMORY.md), but the file never
existed on disk and the dual-layer concept muddied the clean separation:

  shared/  → SITE.md, RULES.md
  agents/  → SOUL.md, MEMORY.md
  users/   → USER.md

Code: Remove user-layer MEMORY.md entry from CoreMemoryFilesDirective.
Docs: Fix 13 files that grouped all core files without layer distinction,
described MEMORY.md as existing in both layers, or used legacy paths.
@github-actions
Copy link

github-actions bot commented Mar 16, 2026

Homeboy Results — data-machine

Lint

⚡ Scope: changed files only

lint (changed files only)

Test

⚡ Scope: changed files only

test (changed files only)

Audit

⚡ Scope: changed files only

audit (changed files only)

Tooling versions
  • Homeboy CLI: homeboy 0.78.0+56489985
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: unknown
  • Action: Extra-Chill/homeboy-action@v1

Homeboy Action v1

@chubes4 chubes4 merged commit 464ef57 into main Mar 16, 2026
3 checks passed
@chubes4 chubes4 deleted the fix/memory-md-agent-layer-only branch March 16, 2026 20:38
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