|
| 1 | +# IssueTrackerApp — v0.3.0 Work Options |
| 2 | + |
| 3 | +**Created:** 2026-03-31 |
| 4 | +**Status:** 📋 Pending — ready to implement when team picks up |
| 5 | + |
| 6 | +--- |
| 7 | + |
| 8 | +## Current State (as of v0.2.0) |
| 9 | + |
| 10 | +- ~85% feature-complete; core flows implemented (Issues, Comments, Categories, Statuses, Dashboard, Analytics, Bulk Ops, Attachments, Email, SignalR) |
| 11 | +- Pre-push gates, CI/CD, and dev workflow are solid |
| 12 | +- No open GitHub issues |
| 13 | + |
| 14 | +--- |
| 15 | + |
| 16 | +## Known Gaps (Bugs / Incomplete Features) |
| 17 | + |
| 18 | +| Gap | Owner Signal | Effort | |
| 19 | +| ---------------------------------------------------------------------------------------------------------------- | ------------- | ------ | |
| 20 | +| ❌ Redis not wired up (provisioned in Aspire, `IMemoryCache` only) | Sam + Boromir | Medium | |
| 21 | +| ⚠️ Issue Assignee conflates `Author` field — no dedicated field on Issue model | Sam + Aragorn | Medium | |
| 22 | +| ❌ No Restore/Unarchive command for archived issues | Sam + Legolas | Small | |
| 23 | +| ❌ Release workflow: `gh release create` not in `squad-milestone-release.yml` (documented decision, not yet done) | Boromir | Small | |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +## Option A — "Polish Sprint" (Fix Known Gaps) |
| 28 | + |
| 29 | +**Goal:** Close all known gaps before adding new features. |
| 30 | + |
| 31 | +### Tasks Option A |
| 32 | + |
| 33 | +- Add dedicated `AssigneeId`/`AssigneeInfo` field to `Issue` model |
| 34 | +- Update `BulkAssignCommand` to use new `AssigneeInfo` field instead of `Author` |
| 35 | +- Implement `RestoreIssueCommand` + UI button for unarchiving |
| 36 | +- Consolidate release workflow — add `gh release create` step to `squad-milestone-release.yml` |
| 37 | +- Wire Redis distributed caching (replace `IMemoryCache` with `IDistributedCache`) |
| 38 | +- Update tests for all of the above |
| 39 | + |
| 40 | +**Who:** Sam, Aragorn, Legolas, Boromir, Gimli |
| 41 | +**Outcome:** v0.3.0 — production-hardened, no known gaps |
| 42 | + |
| 43 | +--- |
| 44 | + |
| 45 | +## Option B — "Redis Distributed Caching" |
| 46 | + |
| 47 | +**Goal:** Wire Redis into the app for real scalability. |
| 48 | + |
| 49 | +### Tasks Option B |
| 50 | + |
| 51 | +- Register `IDistributedCache` backed by Redis in `Program.cs` / Aspire |
| 52 | +- Replace `AnalyticsService` `IMemoryCache` with `IDistributedCache` |
| 53 | +- Cache categories and statuses (read-heavy, slow-changing) |
| 54 | +- Update `InMemoryBulkOperationQueue` / `InMemoryUndoService` for distributed awareness |
| 55 | +- Integration tests for cache invalidation |
| 56 | + |
| 57 | +**Who:** Sam + Boromir |
| 58 | +**Outcome:** App scales horizontally; Redis actually earns its place in the stack |
| 59 | + |
| 60 | +--- |
| 61 | + |
| 62 | +## Option C — "Issue Voting & Prioritization" |
| 63 | + |
| 64 | +**Goal:** Let users upvote issues to surface community priorities. |
| 65 | + |
| 66 | +### Tasks Option C |
| 67 | + |
| 68 | +- Add `Votes` (int) + `VotedBy` (list of userIds) to `Issue` model |
| 69 | +- `VoteIssueCommand` / `UnvoteIssueCommand` with idempotency |
| 70 | +- Sort-by-votes on issues list; "Top Voted" quick filter |
| 71 | +- Vote count badge on issue cards |
| 72 | +- SignalR broadcast when vote threshold crossed |
| 73 | +- bUnit + integration tests |
| 74 | + |
| 75 | +**Who:** Sam, Legolas, Gimli |
| 76 | +**Outcome:** Community-driven prioritization; distinct product differentiator |
| 77 | + |
| 78 | +--- |
| 79 | + |
| 80 | +## Option D — "Admin User Management" |
| 81 | + |
| 82 | +**Goal:** Let admins manage users and roles directly in the app. |
| 83 | + |
| 84 | +### Tasks Option D |
| 85 | + |
| 86 | +- Auth0 Management API integration (list users, assign/remove roles) |
| 87 | +- New admin page: `/admin/users` with user list, role badges, edit modal |
| 88 | +- `UserManagementService` wrapping Auth0 Management API |
| 89 | +- Audit log of role changes |
| 90 | +- Strict Admin-only policy + tests |
| 91 | + |
| 92 | +**Who:** Gandalf, Sam, Legolas, Gimli |
| 93 | +**Outcome:** Full admin control loop without needing Auth0 dashboard |
| 94 | + |
| 95 | +--- |
| 96 | + |
| 97 | +## Option E — "Issue Labels / Tags" |
| 98 | + |
| 99 | +**Goal:** Free-form tagging on top of Category/Status. |
| 100 | + |
| 101 | +### Tasks Option E |
| 102 | + |
| 103 | +- Add `Labels` (`List<string>`) to `Issue` model |
| 104 | +- Tag suggestions from existing labels (autocomplete) |
| 105 | +- Filter by label on issues list (URL param `label=`) |
| 106 | +- Label management admin page or inline creation |
| 107 | +- Architecture tests updated for new feature slice |
| 108 | + |
| 109 | +**Who:** Sam, Legolas, Gimli |
| 110 | +**Outcome:** Richer classification; especially useful once issue volume grows |
| 111 | + |
| 112 | +--- |
| 113 | + |
| 114 | +## Option F — "v0.3.0 Sprint Planning Ceremony" |
| 115 | + |
| 116 | +**Goal:** Run a formal plan ceremony (Aragorn leads) to define the next milestone. |
| 117 | + |
| 118 | +### Tasks Option F |
| 119 | + |
| 120 | +- Review all options above as a team |
| 121 | +- Create GitHub Milestone `v0.3.0` |
| 122 | +- File sprint issues with labels, assignees, and acceptance criteria |
| 123 | +- Aragorn + Ralph own the board |
| 124 | + |
| 125 | +**Who:** Aragorn (lead), Ralph (board) |
| 126 | +**Outcome:** Structured sprint with clear deliverables for all team members |
| 127 | + |
| 128 | +--- |
| 129 | + |
| 130 | +## Recommendation |
| 131 | + |
| 132 | +Start with **Option A (Polish Sprint)** + **Option B (Redis)** to close documented technical debt. |
| 133 | +Then run **Option F (Sprint Ceremony)** to formally charter v0.3.0 with community features from Options C, D, or E. |
0 commit comments