Skip to content

fix: collapse duplicated legacy root docs#155

Merged
yaqub0r merged 1 commit into
devclaw-local-currentfrom
review/123-legacy-root-doc-normalization
Apr 29, 2026
Merged

fix: collapse duplicated legacy root docs#155
yaqub0r merged 1 commit into
devclaw-local-currentfrom
review/123-legacy-root-doc-normalization

Conversation

@fujiwaranosai850
Copy link
Copy Markdown
Collaborator

Summary

  • collapse duplicated legacy root-doc content back to one managed tagged section
  • handle both pure legacy full-file content and the legacy-plus-tagged duplicate shape
  • preserve restart idempotence for AGENTS.md, HEARTBEAT.md, and TOOLS.md

Testing

  • npx tsx --test lib/setup/workspace.test.ts
  • temp-workspace repro using /home/sai/.openclaw/workspace/AGENTS.md.duplicate_data
  • live self-hosted validation by installing from the pinned issue worktree and restarting the gateway
  • post-restart outcome check on live AGENTS.md to confirm duplicated instruction lines collapse to one

@yaqub0r yaqub0r merged commit c662e80 into devclaw-local-current Apr 29, 2026
@yaqub0r yaqub0r deleted the review/123-legacy-root-doc-normalization branch April 29, 2026 10:32
yaqub0r pushed a commit that referenced this pull request Apr 29, 2026
This reverts commit c662e80.

Co-authored-by: fujiwaranosai850 <fujiwaranosai850@users.noreply.github.com>
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