Skip to content

playbooks: repo-sweep has no rule for instruction files synced from another repository #4603

Description

@kyle-sexton

Problem

Catalog entries that apply edits (for example prompt-audit at catalogs/hygiene.md line 143, "Apply deletes and rewrites only", and the entry at line 167 with the same wording) carry no rule for files synced from another repository. A local edit to such a file is overwritten on the next sync, so the fix belongs upstream. The gap is sweep-wide, not specific to one entry.

Evidence

melodic-software/.github#153, step prompt-audit: .claude/rules/pr-body-contract.md is authored by melodic-standards-sync[bot] (git blame), and the repo's README.md lines 51 and 66 document it as synced from standards. The step had no findings, so no edit was lost this time.

Related: #4530 (the same gap inside audit-comment-residue).

Fix

Add one scope question to next.md step 3.4: before applying a fix, detect synced files (from the repo's own file inventory, or a sync-bot author in git blame) and route those fixes to the source repository instead of editing them here. Optionally add it to SKILL.md Gotchas.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions