You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Template: weekly codebase drift report (duplicate helpers, growth, what changed and why) #3445
Agent-written codebases grow quickly and accumulate several versions of the same helper; people lose their mental model of the code. Repository indexing stores prose summaries per file only, so there is no built-in duplicate detection.
Goal
A shipped automation template that produces a weekly drift report, plus a review-guidance line that asks reviewers to look for existing helpers.
Acceptance criteria
A catalog template "Weekly codebase drift report" with capability repository_read (and propr_mcp for PR context), weekly suggested schedule, dry_run.
The report covers the last 7 days of merged changes: (1) what changed and why, grouped by area, in a form a maintainer can read in five minutes; (2) newly added functions or modules that appear to duplicate existing ones, each with both locations; (3) growth: lines and files added versus removed per top-level area, and the largest new files; (4) suggested consolidations as a short list.
The prompt tells the run how to look for duplicates with the tools it has (search by name and by behaviour, read both candidates before claiming a duplicate) and to report only pairs it has read.
With autonomy raised, the acting step saves the suggested consolidations as repository To-Dos.
The default review guidance gains one sentence asking the reviewer to check whether newly added helpers duplicate existing code and to flag it under the complexity category when that category exists.
Docs mention the template in docs/docs/features/repository-knowledge.md.
The catalog check covers the template; a prompt snapshot test guards the key rules.
Out of scope
A function-level index or embeddings.
Implementation
Key files: the catalog; packages/shared/src/reviewPrompt.ts (DEFAULT_REVIEW_GUIDANCE); packages/core/src/services/repositoryRetrievalService.ts (searchRepositoryFiles semantic and literal modes available to runs through MCP); packages/core/src/services/repoTodosService.ts. Verify with the standard commands.
Activity
propr-dev commentedon Nov 12, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53445/claude-opus-5-5-template-weekly-codebase--20261112-1027-1kp3443-epic-automations-no-t7oissue-3445-20261112-1027-claude-opus-5-5-1kp🔍 Track Task Execution