Skip to content

fix(context-doctor): remove incorrect persona.md and overlap claims - #4348

Draft
amelia-letta wants to merge 1 commit into
mainfrom
amelia/context-doctor-watch-9ead5f0
Draft

amelia-letta wants to merge 1 commit into
mainfrom
amelia/context-doctor-watch-9ead5f0

Conversation

@amelia-letta

Copy link
Copy Markdown
Collaborator

Builtin-skill-watch: context-doctor@9ead5f0480b2-aec3edebbc10e4e4

Selected skill

context-doctor - Identify and repair degradation in system prompt, external memory, and skills preventing you from following instructions or remembering information as well as you should.

Stale claims

  1. The skill stated that persona.md is a required root file alongside MEMORY.md
  2. The skill stated that overlapping file and folder names are prohibited

Current owning source

src/agent/memory-constraints.ts and src/memory-constraints.ts - The memory constraints validator only requires MEMORY.md for MemFS v2 (API-backed memory). Neither persona.md nor overlap prohibition is enforced by the validator.

Validation performed

  • Checked memory-constraints.ts for persona validation: none found
  • Checked memory-git-hooks.ts for overlap validation: none found
  • Verified memory structure detection in memory-format.ts: only checks for MEMORY.md marker
  • Ran bun run check: all 12 checks pass
  • Ran focused tests: 44 tests pass

🏥

The skill incorrectly stated that persona.md is a required root file
and that overlapping file/folder names are prohibited. Neither claim
is enforced by the memory constraints validator.

- Remove persona.md requirement from ROOT_MEMORY.md and SKILL.md
- Remove overlap prohibition claim from ROOT_MEMORY.md and SKILL.md
- The validator only requires MEMORY.md for MemFS v2

Builtin-skill-watch: context-doctor@9ead5f0480b2-aec3edebbc10e4e4
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