Skip to content

Conversation

@rafeekpro
Copy link
Owner

Summary

  • Remove test/debug files from production (malformed-agent.md, test-agent.md)
  • Remove duplicate e2e-test-engineer agent (frameworks version is canonical)
  • Remove historical documentation (PHASE1-, PHASE2-, PHASE3_, TASK-)
  • Remove archived rules (rules-archive directory)
  • Remove old vitepress config.js (config.ts is active)
  • Remove disabled tests and migration artifacts
  • Create missing includes/task-creation-excellence.md (fixes 19 broken @include)
  • Sync rules from autopm/ to root .claude/rules/

Changes

Action Files Size
DELETE 20 files ~150 KB
CREATE 1 file (task-creation-excellence.md) ~1 KB
COPY 5 rules from autopm/ ~20 KB

Net reduction: ~5000 lines of redundant code/documentation

Test plan

  • Existing tests still pass (43 passed, 8 pre-existing failures)
  • Test fixtures preserved in test/fixtures/agents/
  • No broken references after cleanup

- Remove test/debug files from production (malformed-agent.md, test-agent.md)
- Remove duplicate e2e-test-engineer agent (frameworks version is canonical)
- Remove historical documentation (PHASE1-*, PHASE2-*, PHASE3_*, TASK-*)
- Remove archived rules (rules-archive directory)
- Remove old vitepress config.js (config.ts is active)
- Remove disabled tests and migration artifacts
- Create missing includes/task-creation-excellence.md (fixes 19 broken @include)
- Sync rules from autopm/ to root .claude/rules/:
  - agent-mandatory-optimized.md
  - command-pipelines.md
  - context-optimization.md
  - context7-enforcement-optimized.md
  - github-operations.md

Total reduction: ~150KB of redundant files
Copilot AI review requested due to automatic review settings December 29, 2025 20:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs a comprehensive cleanup of the project structure, removing historical documentation, test artifacts, and deprecated files while establishing a cleaner organization.

Key changes:

  • Removed 20+ obsolete files including disabled tests, historical phase documentation, and archived rules
  • Created missing task-creation-excellence.md include file referenced by 7 agent definitions
  • Synced 5 rule files from autopm/ to root .claude/rules/ for consistency
  • Removed duplicate e2e-test-engineer agent and test/debug agent files

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/unit/self-maintenance.test.js.disabled Removed disabled unit tests for self-maintenance (544 lines)
test/test-report.json Removed old test report artifact from September 2025
test/jest-tests/migrate-commands.js Removed migration helper script (115 lines)
test/jest-tests/jest-migration-helper.js Removed Jest migration utilities (195 lines)
test/e2e/pm-commands.test.js.disabled Removed disabled E2E tests (277 lines)
test/RUN-SIMULATION.md Removed Polish-language simulation guide (124 lines)
docs/TASK-*.md Removed 2 historical task completion documents (~640 lines total)
docs/PHASE*.md Removed 5 phase planning/status documents (~2750 lines total)
docs-site/docs/.vitepress/config.js Removed old VitePress config (config.ts is active)
.claude/rules/*.md Added 5 synced rule files from autopm/ (github-operations, context7-enforcement-optimized, context-optimization, command-pipelines, agent-mandatory-optimized)
.claude/rules-archive/*.md Removed 3 archived rule documents (performance-guidelines, golden-rules, definition-of-done)
.claude/agents/testing/e2e-test-engineer.md Removed duplicate agent (frameworks version is canonical)
.claude/agents/core/test-agent.md Removed test/debug agent file (60 lines)
.claude/agents/core/malformed-agent.md Removed malformed test file
.claude/agents/includes/task-creation-excellence.md Created missing include file referenced by agents (80 lines)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,80 @@
## Task Creation Excellence
Copy link

Copilot AI Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description claims this file "fixes 19 broken @include" references, but a search across the .claude/agents directory only found 7 files that reference task-creation-excellence.md. This discrepancy should be clarified - either the count is incorrect or there were additional references that have already been removed in this PR.

Copilot uses AI. Check for mistakes.
@rafeekpro rafeekpro merged commit 3cbbf3f into main Dec 29, 2025
6 of 9 checks passed
@rafeekpro rafeekpro deleted the chore/cleanup-project-structure branch December 29, 2025 21:26
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