Repository navigation
Description
Overview
PyAutoBrain#493 kept CLAUDE.md / scripts/CLAUDE.md as tolerated-legacy file patterns in the Clone Agent's framework profile and kept the root CLAUDE.md in regroup_workspace.py's rewritten-config list, because the assistants still tracked scripts/CLAUDE.md pointers. The PyAutoMind#482 session_hook_propagate removal waves (root run 37627261984, nested run 37631942996) have now removed every CLAUDE.md pointer; the four assistants track no file named CLAUDE.md. This drops the legacy patterns, completing the "no file in PyAutoBrain names CLAUDE.md" done-when of PyAutoBrain#492.
Plan
- Remove the legacy
CLAUDE.md/scripts/CLAUDE.mdpatterns (and their comment) from the clone framework profile in_clone.py. - Remove the root
CLAUDE.mdentry and theCLAUDE.mdname test frombin/regroup_workspace.py's config rewrite. - Re-word the Memory test fixture that plants a leftover
wiki/CLAUDE.mdso it no longer presents CLAUDE.md as an existing file (keep its guard: a per-tool adapter never displaceswiki/AGENTS.md). - Prove
check_boundary.pyfrom this branch still passes against all four assistant checkouts (autolens, autogalaxy, autofit, autocti). - Brain suite green in a clean shell.
Tier: judge — merge mode: human /prm
Detailed implementation plan
Work Classification: Library
Worktree root: ~/Code/PyAutoLabs-wt/drop-legacy-claude-md-patterns/
Affected Repositories
- PyAutoBrain (primary)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./organs/PyAutoBrain | main | clean |
worktree_check_conflict exit 0 (one unrelated unregistered worktree warning on pending-release-published-only).
Suggested branch: feature/drop-legacy-claude-md-patterns
Implementation Steps
agents/conductors/clone/_clone.py— delete the "Legacy per-tool pointer files" comment and the"CLAUDE.md", "scripts/CLAUDE.md",entries from the shared framework pattern list.bin/regroup_workspace.py— droproot / 'CLAUDE.md'fromconfig_pathsand reducepath.name in ('AGENTS.md', 'CLAUDE.md')topath.name == 'AGENTS.md'.tests/test_memory_surfaces.py— swap the plantedwiki/CLAUDE.mdfor a generic per-tool adapter name so the test keeps its intent without naming CLAUDE.md.- Run
check_boundary.py(this branch) againstlens/autolens_assistant,galaxy/autogalaxy_assistant,fit/autofit_assistant,cti/autocti_assistant— mirrorsclone-boundary.yml. env -u PYTHONPATH python3 -m pytest -q -n autoin the worktree.
Key Files
agents/conductors/clone/_clone.py— clone profile framework patternsbin/regroup_workspace.py— workspace regroup config rewritetests/test_memory_surfaces.py— Memory surface test fixture
Original Prompt
Click to expand starting prompt
Drop the tolerated-legacy CLAUDE.md patterns in _clone.py and regroup_workspace.py
Type: maintenance
Target: pyautobrain
Repos:
-
@PyAutoBrain
Difficulty: small
Autonomy: supervised
Consequence: judge
Priority: low
Status: draft — blocked-by: the PyAutoMind#482session_hook_propagateremoval wave (human-dispatched)
Filed: 2026-10-07 -
Split out of
absorb-claude-notes-agents-mdat close-out — the rest shipped in
complete/2026/10/absorb-claude-notes-agents-md.md
(docs: absorb Claude notes into the AGENTS.md policy block; trim skill descriptions (#492) #493); this is what remains of
its "no file in PyAutoBrain names CLAUDE.md" done-when.
Scope
PyAutoBrain#493 kept CLAUDE.md as a tolerated-legacy file pattern in
agents/conductors/clone/_clone.py and bin/regroup_workspace.py, because the
assistants' scripts/CLAUDE.md pointers still exist and their
clone-boundary.yml CI would fail on unclassified files. Once the PyAutoMind#482
propagation wave (and the nested-pointer follow-up) has removed those files,
drop the legacy patterns and their tests.
Done when
No file in PyAutoBrain names CLAUDE.md as a thing that exists; Brain suite
green; the assistants' clone-boundary.yml still passes.
Activity
Jammy2211 commentedon Oct 7, 2026
Library PR Created
feature/drop-legacy-claude-md-patterns, head18b258f)pending-releaselabel.Next: PR is open for human
/prm(merge mode: human). Mind state:library-shipped, awaiting-merge.Merge pull request #495 from PyAutoLabs/feature/drop-legacy-claude-md…
Jammy2211 commentedon Oct 7, 2026
Shipped
CLAUDE.md/scripts/CLAUDE.mdpatterns from the clone conductor framework patterns and the rootCLAUDE.mdrewrite frombin/regroup_workspace.py; the memory-surface guard test now plants a generic adapter.git grep -i "claude\.md"in PyAutoBrain returns nothing, which completes the "no file in PyAutoBrain names CLAUDE.md" done-when of chore: absorb Claude notes into AGENTS.md policy block; drop stale CLAUDE.md refs #492.