Skip to content

Commit e4516e4

Browse files
committed
Clarify template phase prerequisites and statuses
Update ROADMAP.md and TODO.md to clarify the status and dependencies for template work: mark `spectre-shell-router` P3 docs and `spectre-shell` P2.5 as in progress (bootstrapApp to return Router, Option A), state that the Astro template and manifest integration are unblocked and can run in parallel, and mark Phase 6 as blocked until upstream pieces ship. Also reorder and rephrase checklist items and prerequisites for clarity.
1 parent c13a99b commit e4516e4

2 files changed

Lines changed: 24 additions & 23 deletions

File tree

ROADMAP.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ Acceptance criteria:
101101
Templates should demonstrate the full depth of the Spectre ecosystem. All APIs
102102
in this phase are shipped in current upstream packages.
103103

104-
Prerequisites:
104+
Prerequisites — both must be done before Phase 6 starts:
105105

106-
- spectre-shell-router Phase 3 P3 docs closed (meta, afterNavigate,
107-
onNavigationStart/End, and subscribe patterns need README examples to copy)
108-
- spectre-shell P2.5 programmatic navigation resolved (bootstrapApp return
109-
value decided) before templates demonstrate navigate()
106+
- `spectre-shell-router` Phase 3 P3 docs closed (meta, afterNavigate,
107+
onNavigationStart/End, subscribe patterns README examples to copy from) ← in progress
108+
- `spectre-shell` P2.5 implemented (`bootstrapApp` returns `Router` instance,
109+
decision is Option A) ← in progress
110110

111111
### P6.1 Bootstrap Lifecycle (both templates)
112112

@@ -163,9 +163,10 @@ Acceptance criteria:
163163
7. ~~Bump version pins~~ ✓ (P2.1)
164164
8. ~~Wire spectre-ui CSS~~ ✓ (P2.2)
165165
9. ~~Fix phantom imports + broken route API~~ ✓ (P2.3)
166-
10. **Astro template** ← next (P3.1)
167-
11. Template modernization — lifecycle, metadata, loading state, plugins (P6.1–P6.4)
168-
12. Manifest integration (P4.1)
166+
10. **Astro template** ← next, unblocked (P3.1)
167+
11. **Manifest integration** ← can run in parallel with P3.1, unblocked (P4.1)
168+
12. Template modernization — lifecycle, metadata, loading state, plugins (P6.1–P6.4)
169+
Blocked until: `spectre-shell-router` P3 docs done + `spectre-shell` P2.5 shipped
169170
13. Update command (P5.1, after templates stable)
170171

171172
## Explicitly Out of Scope

TODO.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Scoped to TS/Vite/Vanilla structured app scaffolding. Aligned to `ROADMAP.md`.
4848

4949
---
5050

51-
## Phase 3 — Template Expansion: Next
51+
## Phase 3 — Template Expansion: NEXT — Unblocked
5252

5353
### P2: Astro Template
5454

@@ -59,18 +59,17 @@ Scoped to TS/Vite/Vanilla structured app scaffolding. Aligned to `ROADMAP.md`.
5959
* Deps: Astro `^6.4.3`, `spectre-tokens`, `spectre-ui`, `spectre-ui-astro`
6060
* New `astro` entry added to `PROJECT_TYPES` registry
6161
* Documented in README
62-
* Implement after Phase 2 is complete
6362

6463
---
6564

66-
## Phase 4 — Manifest Integration
65+
## Phase 4 — Manifest Integration: Unblocked — Can Run in Parallel with Phase 3
6766

6867
* [ ] Wire manifest integration into scaffolded output
6968
* `spectre-manifest-check` is shipped and wired into `check:ecosystem` in
7069
upstream packages — the downstream tooling is in place.
7170
* Remaining work: scaffolded projects include a starter `spectre.manifest.json`;
7271
README documents the manifest registration flow.
73-
* Can proceed independently of Phase 3.
72+
* No dependency on Phase 3 — can be worked concurrently.
7473

7574
---
7675

@@ -83,16 +82,17 @@ Scoped to TS/Vite/Vanilla structured app scaffolding. Aligned to `ROADMAP.md`.
8382

8483
---
8584

86-
## Phase 6 — Template Modernization: After Phase 3
85+
## Phase 6 — Template Modernization: Blocked — Waiting on Upstream
8786

88-
All items below are work in `templates/` only. All APIs are shipped upstream.
87+
All items below are work in `templates/` only. All APIs are already shipped upstream.
8988

90-
Prerequisites before starting:
89+
Prerequisites — both must complete before starting Phase 6:
9190

92-
* spectre-shell-router Phase 3 P3 docs must be closed (meta, afterNavigate,
93-
onNavigationStart/End, subscribe patterns need README examples to copy from)
94-
* spectre-shell P2.5 programmatic navigation must be resolved (bootstrapApp
95-
return value decided) before templates can demonstrate navigate()
91+
* `spectre-shell-router` P3 docs must be closed — meta, afterNavigate,
92+
onNavigationStart/End, and subscribe patterns need README examples to copy from
93+
(currently in progress in spectre-shell-router)
94+
* `spectre-shell` P2.5 must be implemented — `bootstrapApp` must return the `Router`
95+
instance (Option A, currently in progress in spectre-shell)
9696

9797
* [ ] Add `beforeMount` / `afterMount` callbacks to `bootstrapApp` in both templates
9898
* [ ] Observe `bootReady` signal via `effect()` in shell-app template
@@ -116,10 +116,10 @@ Prerequisites before starting:
116116
7. ~~Bump version pins~~
117117
8. ~~Wire spectre-ui CSS~~
118118
9. ~~Fix phantom imports + broken route API~~
119-
10. **Astro template** ← next (Phase 3)
120-
11. Template modernization (Phase 6)
121-
12. Manifest integration (Phase 4)
122-
13. Update command (Phase 5)
119+
10. **Astro template** ← next, unblocked (Phase 3)
120+
11. **Manifest integration** ← parallel with Phase 3, unblocked (Phase 4)
121+
12. Template modernization ← blocked until spectre-shell-router P3 docs + spectre-shell P2.5 ship (Phase 6)
122+
13. Update command ← after templates stable (Phase 5)
123123

124124
## Explicitly Out of Scope
125125

0 commit comments

Comments
 (0)