From 1a35eb346e88eade2a6a064e7109a616327245d5 Mon Sep 17 00:00:00 2001 From: Jarian Cottingham Date: Thu, 20 Aug 2026 20:11:57 +0000 Subject: [PATCH] chore: reorganize repo layout, remove dead files - Move phase/plan docs into docs/ - Move legacy node:test files into tests/legacy/ with README - Remove .backup file, test audit artifacts, and unused AI prompt/skill files - Remove broken iOS GitHub workflows (reference missing MovieMapper-iOS/) --- .github/prompts/opsx-apply.prompt.md | 149 --------- .github/prompts/opsx-archive.prompt.md | 154 --------- .github/prompts/opsx-explore.prompt.md | 170 ---------- .github/prompts/opsx-propose.prompt.md | 103 ------ .github/skills/openspec-apply-change/SKILL.md | 156 --------- .../skills/openspec-archive-change/SKILL.md | 114 ------- .github/skills/openspec-explore/SKILL.md | 288 ---------------- .github/skills/openspec-propose/SKILL.md | 110 ------ .github/workflows/build.yml | 76 ----- .github/workflows/test.yml | 60 ---- .../BUILD-DISTRIBUTION.md | 0 FEATURES.md => docs/FEATURES.md | 0 .../FEATURE_VERIFICATION_REPORT.md | 0 .../FOLDER_NAVIGATION_PLAN.md | 0 .../IMPLEMENTATION_SUMMARY.md | 0 .../PHASE2_IMPLEMENTATION_SUMMARY.md | 0 PHASE2_TASKS.md => docs/PHASE2_TASKS.md | 0 .../PHASE3_1_7_IMPLEMENTATION_SUMMARY.md | 0 .../PHASE_4_2_SUMMARY.md | 0 .../PHASE_5_COMPLETE.md | 0 .../PHASE_5_IMPLEMENTATION.md | 0 .../PROJECT_OVERVIEW.md | 0 .../RUST_IMPLEMENTATION.md | 0 UI_TESTS_README.md => docs/UI_TESTS_README.md | 0 iOS_PLAN.md => docs/iOS_PLAN.md | 0 Rust/RUST_PLAN.md => docs/rust-plan.md | 0 Rust/RustUIPlan.md => docs/rust-ui-plan.md | 0 openspec/config.yaml | 20 -- test-folder-click-handler.js.backup | 315 ------------------ test_audit_final/.audit | 2 - test_audit_final/test_video.mp4 | 1 - tests/legacy/README.md | 18 + test-api.js => tests/legacy/test-api.js | 0 .../legacy/test-audit-functionality.js | 0 test-audit.js => tests/legacy/test-audit.js | 0 .../legacy/test-breadcrumb-implementation.js | 0 .../legacy/test-breadcrumb-navigation.js | 0 .../legacy/test-business-logic.js | 0 .../legacy/test-command-line.js | 0 test-core.js => tests/legacy/test-core.js | 0 .../legacy/test-file-movement-business.js | 0 .../legacy/test-file-movement.js | 0 .../legacy/test-folder-click-handler.js | 0 .../test-folder-navigation-edge-cases.js | 0 .../test-folder-navigation-integration.js | 0 .../test-folder-navigation-performance.js | 0 .../legacy/test-folder-navigation-stack.js | 0 .../legacy/test-functional.js | 0 .../legacy/test-implementation.js | 0 .../legacy/test-renderer-business.js | 0 .../test-renderer-classes-comprehensive.js | 0 .../legacy/test-renderer-classes.js | 0 .../legacy/test-tag-types.js | 0 .../legacy/test-tagging.js | 0 .../legacy/test-tvdb-integration.js | 0 55 files changed, 18 insertions(+), 1718 deletions(-) delete mode 100644 .github/prompts/opsx-apply.prompt.md delete mode 100644 .github/prompts/opsx-archive.prompt.md delete mode 100644 .github/prompts/opsx-explore.prompt.md delete mode 100644 .github/prompts/opsx-propose.prompt.md delete mode 100644 .github/skills/openspec-apply-change/SKILL.md delete mode 100644 .github/skills/openspec-archive-change/SKILL.md delete mode 100644 .github/skills/openspec-explore/SKILL.md delete mode 100644 .github/skills/openspec-propose/SKILL.md delete mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/test.yml rename BUILD-DISTRIBUTION.md => docs/BUILD-DISTRIBUTION.md (100%) rename FEATURES.md => docs/FEATURES.md (100%) rename FEATURE_VERIFICATION_REPORT.md => docs/FEATURE_VERIFICATION_REPORT.md (100%) rename FOLDER_NAVIGATION_PLAN.md => docs/FOLDER_NAVIGATION_PLAN.md (100%) rename IMPLEMENTATION_SUMMARY.md => docs/IMPLEMENTATION_SUMMARY.md (100%) rename PHASE2_IMPLEMENTATION_SUMMARY.md => docs/PHASE2_IMPLEMENTATION_SUMMARY.md (100%) rename PHASE2_TASKS.md => docs/PHASE2_TASKS.md (100%) rename PHASE3_1_7_IMPLEMENTATION_SUMMARY.md => docs/PHASE3_1_7_IMPLEMENTATION_SUMMARY.md (100%) rename PHASE_4_2_SUMMARY.md => docs/PHASE_4_2_SUMMARY.md (100%) rename PHASE_5_COMPLETE.md => docs/PHASE_5_COMPLETE.md (100%) rename PHASE_5_IMPLEMENTATION.md => docs/PHASE_5_IMPLEMENTATION.md (100%) rename PROJECT_OVERVIEW.md => docs/PROJECT_OVERVIEW.md (100%) rename RUST_IMPLEMENTATION.md => docs/RUST_IMPLEMENTATION.md (100%) rename UI_TESTS_README.md => docs/UI_TESTS_README.md (100%) rename iOS_PLAN.md => docs/iOS_PLAN.md (100%) rename Rust/RUST_PLAN.md => docs/rust-plan.md (100%) rename Rust/RustUIPlan.md => docs/rust-ui-plan.md (100%) delete mode 100644 openspec/config.yaml delete mode 100644 test-folder-click-handler.js.backup delete mode 100644 test_audit_final/.audit delete mode 100644 test_audit_final/test_video.mp4 create mode 100644 tests/legacy/README.md rename test-api.js => tests/legacy/test-api.js (100%) rename test-audit-functionality.js => tests/legacy/test-audit-functionality.js (100%) rename test-audit.js => tests/legacy/test-audit.js (100%) rename test-breadcrumb-implementation.js => tests/legacy/test-breadcrumb-implementation.js (100%) rename test-breadcrumb-navigation.js => tests/legacy/test-breadcrumb-navigation.js (100%) rename test-business-logic.js => tests/legacy/test-business-logic.js (100%) rename test-command-line.js => tests/legacy/test-command-line.js (100%) rename test-core.js => tests/legacy/test-core.js (100%) rename test-file-movement-business.js => tests/legacy/test-file-movement-business.js (100%) rename test-file-movement.js => tests/legacy/test-file-movement.js (100%) rename test-folder-click-handler.js => tests/legacy/test-folder-click-handler.js (100%) rename test-folder-navigation-edge-cases.js => tests/legacy/test-folder-navigation-edge-cases.js (100%) rename test-folder-navigation-integration.js => tests/legacy/test-folder-navigation-integration.js (100%) rename test-folder-navigation-performance.js => tests/legacy/test-folder-navigation-performance.js (100%) rename test-folder-navigation-stack.js => tests/legacy/test-folder-navigation-stack.js (100%) rename test-functional.js => tests/legacy/test-functional.js (100%) rename test-implementation.js => tests/legacy/test-implementation.js (100%) rename test-renderer-business.js => tests/legacy/test-renderer-business.js (100%) rename test-renderer-classes-comprehensive.js => tests/legacy/test-renderer-classes-comprehensive.js (100%) rename test-renderer-classes.js => tests/legacy/test-renderer-classes.js (100%) rename test-tag-types.js => tests/legacy/test-tag-types.js (100%) rename test-tagging.js => tests/legacy/test-tagging.js (100%) rename test-tvdb-integration.js => tests/legacy/test-tvdb-integration.js (100%) diff --git a/.github/prompts/opsx-apply.prompt.md b/.github/prompts/opsx-apply.prompt.md deleted file mode 100644 index 494e10e..0000000 --- a/.github/prompts/opsx-apply.prompt.md +++ /dev/null @@ -1,149 +0,0 @@ ---- -description: Implement tasks from an OpenSpec change (Experimental) ---- - -Implement tasks from an OpenSpec change. - -**Input**: Optionally specify a change name (e.g., `/opsx:apply add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes. - -**Steps** - -1. **Select the change** - - If a name is provided, use it. Otherwise: - - Infer from conversation context if the user mentioned a change - - Auto-select if only one active change exists - - If ambiguous, run `openspec list --json` to get available changes and use the **AskUserQuestion tool** to let the user select - - Always announce: "Using change: " and how to override (e.g., `/opsx:apply `). - -2. **Check status to understand the schema** - ```bash - openspec status --change "" --json - ``` - Parse the JSON to understand: - - `schemaName`: The workflow being used (e.g., "spec-driven") - - Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others) - -3. **Get apply instructions** - - ```bash - openspec instructions apply --change "" --json - ``` - - This returns: - - Context file paths (varies by schema) - - Progress (total, complete, remaining) - - Task list with status - - Dynamic instruction based on current state - - **Handle states:** - - If `state: "blocked"` (missing artifacts): show message, suggest using `/opsx:continue` - - If `state: "all_done"`: congratulate, suggest archive - - Otherwise: proceed to implementation - -4. **Read context files** - - Read the files listed in `contextFiles` from the apply instructions output. - The files depend on the schema being used: - - **spec-driven**: proposal, specs, design, tasks - - Other schemas: follow the contextFiles from CLI output - -5. **Show current progress** - - Display: - - Schema being used - - Progress: "N/M tasks complete" - - Remaining tasks overview - - Dynamic instruction from CLI - -6. **Implement tasks (loop until done or blocked)** - - For each pending task: - - Show which task is being worked on - - Make the code changes required - - Keep changes minimal and focused - - Mark task complete in the tasks file: `- [ ]` → `- [x]` - - Continue to next task - - **Pause if:** - - Task is unclear → ask for clarification - - Implementation reveals a design issue → suggest updating artifacts - - Error or blocker encountered → report and wait for guidance - - User interrupts - -7. **On completion or pause, show status** - - Display: - - Tasks completed this session - - Overall progress: "N/M tasks complete" - - If all done: suggest archive - - If paused: explain why and wait for guidance - -**Output During Implementation** - -``` -## Implementing: (schema: ) - -Working on task 3/7: -[...implementation happening...] -✓ Task complete - -Working on task 4/7: -[...implementation happening...] -✓ Task complete -``` - -**Output On Completion** - -``` -## Implementation Complete - -**Change:** -**Schema:** -**Progress:** 7/7 tasks complete ✓ - -### Completed This Session -- [x] Task 1 -- [x] Task 2 -... - -All tasks complete! You can archive this change with `/opsx:archive`. -``` - -**Output On Pause (Issue Encountered)** - -``` -## Implementation Paused - -**Change:** -**Schema:** -**Progress:** 4/7 tasks complete - -### Issue Encountered - - -**Options:** -1.