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
**Input**: User description: "Create a MarkHazleton GitHub Repository app that showcases data from the generated repositories dataset in github-stats-spark, with strong Bootstrap flair and a world-class presentation similar in spirit to the existing Projects and Articles experiences."
Copy file name to clipboardExpand all lines: .documentation/specs/001-github-repo-showcase/tasks.md
+23-20Lines changed: 23 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,10 @@ description: "Executable task list for the GitHub Repository Showcase feature"
22
22
23
23
**Purpose**: Prepare the repository showcase file structure and feature-specific test surfaces.
24
24
25
-
-[] T001 Create repository model and service scaffolds in `src/models/Repository.ts` and `src/services/RepositoryService.ts`
26
-
-[] T002 [P] Create repository page and route test scaffolds in `src/components/Repositories.tsx` and `tests/integration/repositories/RepositoriesPage.test.tsx`
27
-
-[] T003 [P] Create repository proxy scaffolds in `api/proxy-repositories/function.json`, `api/proxy-repositories/index.js`, and `api/proxy-repositories/package.json`
28
-
-[] T004 [P] Create repository data and test scaffolds in `src/data/repositories.json`, `tests/unit/models/Repository.test.ts`, `tests/unit/services/RepositoryService.test.ts`, and `tests/contract/repositories/repositoryFeed.contract.test.ts`
25
+
-[X] T001 Create repository model and service scaffolds in `src/models/Repository.ts` and `src/services/RepositoryService.ts`
26
+
-[X] T002 [P] Create repository page and route test scaffolds in `src/components/Repositories.tsx` and `tests/integration/repositories/RepositoriesPage.test.tsx`
27
+
-[X] T003 [P] Create repository proxy scaffolds in `api/proxy-repositories/function.json`, `api/proxy-repositories/index.js`, and `api/proxy-repositories/package.json`
28
+
-[X] T004 [P] Create repository data and test scaffolds in `src/data/repositories.json`, `tests/unit/models/Repository.test.ts`, `tests/unit/services/RepositoryService.test.ts`, and `tests/contract/repositories/repositoryFeed.contract.test.ts`
29
29
30
30
---
31
31
@@ -35,16 +35,15 @@ description: "Executable task list for the GitHub Repository Showcase feature"
35
35
36
36
**⚠️ CRITICAL**: No user story work should start until this phase is complete.
37
37
38
-
-[ ] T005 Implement Zod schemas and typed repository feed exports in `src/models/Repository.ts`
39
-
-[ ] T005 Implement Zod schemas and typed repository feed exports, including explicit `FeedMetadata` fields for freshness and schema compatibility, in `src/models/Repository.ts`
40
-
-[ ] T006 [P] Add the embedded repository fallback snapshot in `src/data/repositories.json`
41
-
-[ ] T007 Implement repository fetch, validation, cache metadata, private-repository exclusion, curated-first featured selection with automatic fallback ranking, and fallback mapping in `src/services/RepositoryService.ts`
42
-
-[ ] T008 [P] Add the development proxy route for `/api/repositories` in `vite.config.ts`
43
-
-[ ] T009 Implement the production repository proxy in `api/proxy-repositories/index.js`
44
-
-[ ] T010 [P] Configure the repository proxy function metadata and dependencies in `api/proxy-repositories/function.json` and `api/proxy-repositories/package.json`
45
-
-[ ] T011 Add contract coverage for the feed shape, explicit metadata fields, and minimum required repository fields in `tests/contract/repositories/repositoryFeed.contract.test.ts`
46
-
-[ ] T012 Add unit coverage for schema parsing, view-model derivation, and invalid feed rejection in `tests/unit/models/Repository.test.ts`
47
-
-[ ] T013 Add unit coverage for remote, cache, and local fallback behavior, private-repository exclusion, and retry-ready failure handling in `tests/unit/services/RepositoryService.test.ts`
38
+
-[X] T005 Implement Zod schemas and typed repository feed exports, including explicit `FeedMetadata` fields for freshness and schema compatibility, in `src/models/Repository.ts`
39
+
-[X] T006 [P] Add the embedded repository fallback snapshot in `src/data/repositories.json`
40
+
-[X] T007 Implement repository fetch, validation, cache metadata, private-repository exclusion, curated-first featured selection with automatic fallback ranking, and fallback mapping in `src/services/RepositoryService.ts`
41
+
-[X] T008 [P] Add the development proxy route for `/api/repositories` in `vite.config.ts`
42
+
-[X] T009 Implement the production repository proxy in `api/proxy-repositories/index.js`
43
+
-[X] T010 [P] Configure the repository proxy function metadata and dependencies in `api/proxy-repositories/function.json` and `api/proxy-repositories/package.json`
44
+
-[X] T011 Add contract coverage for the feed shape, explicit metadata fields, and minimum required repository fields in `tests/contract/repositories/repositoryFeed.contract.test.ts`
45
+
-[X] T012 Add unit coverage for schema parsing, view-model derivation, and invalid feed rejection in `tests/unit/models/Repository.test.ts`
46
+
-[X] T013 Add unit coverage for remote, cache, and local fallback behavior, private-repository exclusion, and retry-ready failure handling in `tests/unit/services/RepositoryService.test.ts`
48
47
49
48
**Checkpoint**: Repository data can be loaded, validated, cached, and served through both development and production integration paths.
50
49
@@ -58,15 +57,15 @@ description: "Executable task list for the GitHub Repository Showcase feature"
58
57
59
58
### Tests for User Story 1
60
59
61
-
-[] T014 [P][US1] Add route and first-render integration coverage for hero metrics, recent activity context, and featured spotlight rendering in `tests/integration/repositories/RepositoriesPage.test.tsx`
60
+
-[X] T014 [P][US1] Add route and first-render integration coverage for hero metrics, recent activity context, and featured spotlight rendering in `tests/integration/repositories/RepositoriesPage.test.tsx`
62
61
63
62
### Implementation for User Story 1
64
63
65
-
-[] T015 [US1] Register the lazy-loaded repository route in `src/App.tsx`
66
-
-[] T016 [US1] Add the repository showcase entry to the Apps navigation and generated sitemap route list in `src/components/Header.tsx` and `src/utils/generateSitemap.ts`
67
-
-[] T017 [US1] Implement the repository page shell, hero metrics, recent activity summary, source-status messaging, retry-capable error state, and featured spotlight section in `src/components/Repositories.tsx`
68
-
-[] T018 [US1] Connect the repository page to `RepositoryService` and render the base repository collection in `src/components/Repositories.tsx`
69
-
-[] T019 [US1] Add page-level SEO copy and accessible section structure in `src/components/Repositories.tsx`
64
+
-[X] T015 [US1] Register the lazy-loaded repository route in `src/App.tsx`
65
+
-[X] T016 [US1] Add the repository showcase entry to the Apps navigation and generated sitemap route list in `src/components/Header.tsx` and `src/utils/generateSitemap.ts`
66
+
-[X] T017 [US1] Implement the repository page shell, hero metrics, recent activity summary, source-status messaging, retry-capable error state, and featured spotlight section in `src/components/Repositories.tsx`
67
+
-[X] T018 [US1] Connect the repository page to `RepositoryService` and render the base repository collection in `src/components/Repositories.tsx`
68
+
-[X] T019 [US1] Add page-level SEO copy and accessible section structure in `src/components/Repositories.tsx`
70
69
71
70
**Checkpoint**: User Story 1 is independently functional and demoable as the MVP.
72
71
@@ -205,6 +204,10 @@ Task: "T026 [US3] Enrich repository cards with summary text, activity badges, an
205
204
- The requirements checklist exists and is complete.
206
205
- No existing `analyze.md`, `critic.md`, or other gate findings were present when tasks were generated.
207
206
207
+
## Gate Acknowledgements
208
+
209
+
- 2026-04-17: User approved proceeding with implementation despite unresolved `analyze` and `critic` gate artifacts.
Copy file name to clipboardExpand all lines: package.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,15 @@
8
8
"dev": "concurrently \"vite\"\"npm run watch-css\"",
9
9
"dev:swa": "swa start",
10
10
"dev:debug": "vite --debug",
11
-
"build": "npm run clean && npm run build-css && tsc -b && npm run generate-seo-files && vite build --mode production",
11
+
"build": "npm run clean && npm run build-css && npm run sync:repositories-data && tsc -b && npm run generate-seo-files && vite build --mode production",
12
12
"build:analyze": "npm run build && npx vite-bundle-analyzer docs",
0 commit comments