T-EC4B-site-corpus-high-volume-types
Status: closed/done · Impact: medium · Complexity: medium
Project the high-volume types — task and backlog — and measure the build against the recorded budget, closing D-0010’s open question with data. D-0010-deterministic-site-assembly §4, Migration Phase 6.
| Location | Role today |
|---|---|
docs/planning/tasks/ | Hundreds of entities, no site projection |
docs/planning/backlog/ | Dozens of entities, no site projection |
Proposed
Section titled “Proposed”Task projects with a site_projection.ts override (Status / Impact /
Complexity roster columns; depends_on rendered as links on child
pages). Backlog ships generic. Both join the Planning nav group.
Build time and Pagefind index size are measured before/after and
recorded on this task; if the budget breaks, the designed mitigation
(a child_pages: false projection flag rendering roster-only) is
implemented here, not designed here.
Approach
Section titled “Approach”- Task override: roster columns +
depends_onlinks on child pages. - Enable backlog via the generic projection.
- Measure:
astro buildwall-clock and index size at baseline and after; record both in the completion note. - If over budget: implement
child_pages: falseand apply to the offending type. - Tests: task-override fixtures,
depends_onlink resolution.
Files to touch
Section titled “Files to touch”| Location | Kind | Change |
|---|---|---|
plugin/lib/model/entities/task/site_projection.ts | new | Override |
plugin/lib/services/docs/site/projections.ts | modify | Backlog enablement; child_pages flag if triggered |
plugin/lib/services/docs/tests/ | modify | Override suites |
Acceptance criteria
Section titled “Acceptance criteria”- AC-1:
/planning/tasks/roster shows Status/Impact/Complexity; task child pages link resolveddepends_ontargets. - AC-2:
/planning/backlog/renders via the generic projection. - AC-3: Build-time and index-size measurements recorded; budget verdict stated.
Out of scope
Section titled “Out of scope”- Pagination or client-side filtering of large rosters — future work if the measurement demands it.
Dependencies
Section titled “Dependencies”- T-I6WC-site-corpus-curated-types — rollout conventions.
Discovery context
Section titled “Discovery context”Extracted from D-0010-deterministic-site-assembly Migration Phase 6.
Depends on
Section titled “Depends on”T-I6WC-site-corpus-curated-types