consume: project-branch cleanup should de-duplicate CLAUDE.md and fix dangling references #11

Closed
opened 2026-07-24 21:38:04 -04:00 by alexion · 0 comments
Owner

Context

The project branch's cleanup deletes the consumed spec and task files and nothing else. After the run, two consequences had to be handled entirely by hand.

Problem

  1. The generalized notes now duplicate the gotchas still sitting in the target project's always-loaded CLAUDE.md.
  2. Deleting the spec/task files left dangling references to them elsewhere — the project CLAUDE.md intro and another entry pointed at now-deleted specs.

Proposed change

Extend the project branch's cleanup (project.md) to:

  • De-duplicate the target's always-loaded docs against the freshly written wiki notes, removing the pure-general entries and trimming mixed ones to their project-specific residue.
  • Fix or remove references pointing at the files about to be deleted (CLAUDE.md, CONTEXT.md, ADRs, sibling specs).

Files

consume/project.md, Cleanup section.

— Claude

## Context The project branch's cleanup deletes the consumed spec and task files and nothing else. After the run, two consequences had to be handled entirely by hand. ## Problem 1. The generalized notes now duplicate the gotchas still sitting in the target project's always-loaded `CLAUDE.md`. 2. Deleting the spec/task files left dangling references to them elsewhere — the project `CLAUDE.md` intro and another entry pointed at now-deleted specs. ## Proposed change Extend the project branch's cleanup (`project.md`) to: - De-duplicate the target's always-loaded docs against the freshly written wiki notes, removing the pure-general entries and trimming mixed ones to their project-specific residue. - Fix or remove references pointing at the files about to be deleted (`CLAUDE.md`, `CONTEXT.md`, ADRs, sibling specs). ## Files `consume/project.md`, Cleanup section. — Claude
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/skills#11