|
| 1 | +# Projects Directory |
| 2 | + |
| 3 | +This directory contains AI/Copilot projects currently in development or being tracked. |
| 4 | + |
| 5 | +## Purpose |
| 6 | + |
| 7 | +Track active initiatives and work-in-progress projects that improve the block-theme-scaffold repository. Projects in this directory are ongoing efforts that will eventually be archived to the reports directory once completed. |
| 8 | + |
| 9 | +## Status Tracking |
| 10 | + |
| 11 | +Projects use status indicators to show current progress: |
| 12 | + |
| 13 | +- **✅ Complete** - Task or phase finished |
| 14 | +- **🔄 In Progress** - Actively being worked on |
| 15 | +- **⏳ Pending** - Waiting to be started |
| 16 | +- **❌ Blocked** - Blocked by dependencies or issues |
| 17 | + |
| 18 | +## Current Projects |
| 19 | + |
| 20 | +### context-reduction.md |
| 21 | + |
| 22 | +**Status:** 🔄 In Progress (Phase 4 of 5) |
| 23 | + |
| 24 | +**Purpose:** Comprehensive plan to reduce token bloat and context usage in the block-theme-scaffold repository. |
| 25 | + |
| 26 | +**Phases:** |
| 27 | +- ✅ Phase 1: Delete Model-Specific Files (~495 lines removed) |
| 28 | +- ✅ Phase 2: Consolidate Documentation (merged governance and development docs) |
| 29 | +- ✅ Phase 3: Optimize Core Index Files (reduced AGENTS.md, agent.md, prompts.md) |
| 30 | +- 🔄 Phase 4: Streamline Instruction Files (currently in progress) |
| 31 | +- ⏳ Phase 5: Reduce Frontmatter References (pending) |
| 32 | + |
| 33 | +**Expected Outcome:** Reduce context token usage by 40-50% while maintaining documentation quality. |
| 34 | + |
| 35 | +**Owner:** AI Agents / Copilot |
| 36 | + |
| 37 | +**Last Updated:** December 9, 2025 |
| 38 | + |
| 39 | +## Project Workflow |
| 40 | + |
| 41 | +### Starting a New Project |
| 42 | + |
| 43 | +1. Create a markdown file in `.github/projects/` |
| 44 | + - Filename: `{project-name}.md` |
| 45 | + - Example: `context-reduction.md` |
| 46 | + |
| 47 | +2. Include project header: |
| 48 | + ```markdown |
| 49 | + # Project Title |
| 50 | + |
| 51 | + **Status:** ⏳ Pending |
| 52 | + **Owner:** [Copilot/AI Agent/Developer Name] |
| 53 | + **Start Date:** YYYY-MM-DD |
| 54 | + **Expected Completion:** YYYY-MM-DD |
| 55 | + ``` |
| 56 | + |
| 57 | +3. Document project sections: |
| 58 | + - Objective/Goals |
| 59 | + - Scope/Deliverables |
| 60 | + - Tasks/Phases (with status indicators) |
| 61 | + - Success Criteria |
| 62 | + - Related Files |
| 63 | + |
| 64 | +4. Track progress with status updates: |
| 65 | + - Update status regularly |
| 66 | + - Mark completed tasks |
| 67 | + - Note blockers or issues |
| 68 | + |
| 69 | +### Completing a Project |
| 70 | + |
| 71 | +1. Mark all tasks as ✅ Complete |
| 72 | +2. Update status to `✅ Complete` |
| 73 | +3. Add completion date |
| 74 | +4. Move file to `.github/reports/` (rename to match report naming convention) |
| 75 | +5. Create archive entry in reports directory |
| 76 | + |
| 77 | +### Archive Strategy |
| 78 | + |
| 79 | +- Keep projects in this directory while active |
| 80 | +- Move to `.github/reports/` when 100% complete |
| 81 | +- Archive projects older than 3 months (if still incomplete) |
| 82 | +- Review archived projects quarterly for reference |
| 83 | + |
| 84 | +## Moving to Reports |
| 85 | + |
| 86 | +When a project is complete: |
| 87 | + |
| 88 | +```bash |
| 89 | +# Move completed project to reports |
| 90 | +git mv .github/projects/{project-name}.md .github/reports/{project-name}-report.md |
| 91 | + |
| 92 | +# Update file with completion date and final status |
| 93 | +# Add "report" to filename to indicate it's archived |
| 94 | +``` |
| 95 | + |
| 96 | +## Related Files |
| 97 | + |
| 98 | +- [FILE_ORGANIZATION.md](../FILE_ORGANIZATION.md) - Overall file organization guide |
| 99 | +- [.github/reports/](../reports/README.md) - Completed project reports |
| 100 | +- [docs/](../../docs/README.md) - Permanent documentation |
| 101 | +- [GOVERNANCE.md](../../docs/GOVERNANCE.md) - Project governance |
| 102 | + |
| 103 | +## Best Practices |
| 104 | + |
| 105 | +1. **Be Specific**: Clearly define project goals and deliverables |
| 106 | +2. **Break Down Work**: Divide projects into manageable phases or tasks |
| 107 | +3. **Track Progress**: Update status regularly (at least weekly) |
| 108 | +4. **Link Dependencies**: Reference related files and dependencies |
| 109 | +5. **Document Decisions**: Record why decisions were made |
| 110 | +6. **Estimate Timelines**: Provide target dates for phases |
| 111 | +7. **Archive Successfully**: Move completed projects to reports promptly |
| 112 | + |
| 113 | +## Example Project Structure |
| 114 | + |
| 115 | +```markdown |
| 116 | +# Project: Performance Optimization Sprint |
| 117 | + |
| 118 | +**Status:** 🔄 In Progress |
| 119 | +**Owner:** Copilot Code Review Agent |
| 120 | +**Start Date:** 2025-12-01 |
| 121 | +**Expected Completion:** 2025-12-15 |
| 122 | + |
| 123 | +## Objective |
| 124 | + |
| 125 | +Reduce Lighthouse performance score to 90+ and bundle size by 20%. |
| 126 | + |
| 127 | +## Phases |
| 128 | + |
| 129 | +### Phase 1: Bundle Analysis |
| 130 | +- 🔄 Generate webpack-bundle-analyzer report |
| 131 | +- ⏳ Identify optimization opportunities |
| 132 | +- ⏳ Prioritize high-impact changes |
| 133 | + |
| 134 | +### Phase 2: Code Splitting |
| 135 | +- ⏳ Implement lazy loading for editor.js |
| 136 | +- ⏳ Separate theme.js utilities |
| 137 | +- ⏳ Test performance impact |
| 138 | + |
| 139 | +### Phase 3: Testing & Validation |
| 140 | +- ⏳ Run lighthouse audit |
| 141 | +- ⏳ Verify no regressions |
| 142 | +- ⏳ Document improvements |
| 143 | + |
| 144 | +## Success Criteria |
| 145 | + |
| 146 | +- [ ] Lighthouse Performance ≥ 90 |
| 147 | +- [ ] Bundle size reduction ≥ 20% |
| 148 | +- [ ] Zero performance regressions |
| 149 | +- [ ] All tests passing |
| 150 | + |
| 151 | +## Related Files |
| 152 | + |
| 153 | +- reports/2025-12-01-bundle-analysis.json |
| 154 | +- docs/PERFORMANCE.md |
| 155 | +- webpack.config.js |
| 156 | +``` |
| 157 | + |
| 158 | +--- |
| 159 | + |
| 160 | +**Last Updated:** December 9, 2025 |
| 161 | +**Version:** 1.0.0 |
0 commit comments