From 51532118bc5660331388740c78fbca8aac6c02d4 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sat, 15 Aug 2026 14:17:55 -0500 Subject: [PATCH] docs: drop an attribute the project detail render never reads Co-Authored-By: Claude Opus 5 (1M context) --- docs/superpowers/plans/2026-08-15-projects-as-entities.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/superpowers/plans/2026-08-15-projects-as-entities.md b/docs/superpowers/plans/2026-08-15-projects-as-entities.md index 4e5ed7b..862e44b 100644 --- a/docs/superpowers/plans/2026-08-15-projects-as-entities.md +++ b/docs/superpowers/plans/2026-08-15-projects-as-entities.md @@ -593,7 +593,7 @@ The correct model is `chrnx_show`, not `chrnx_release`. Podcast programmes list **Interfaces:** -- Consumes: `chrnx_get_project_links()`, `chrnx_get_topic_portrait_markup()`, `chrnx_get_heading_level()`. +- Consumes: `chrnx_get_project_links()`, `chrnx_get_project_link_slots()`, `chrnx_get_topic_portrait_markup()`. - Produces: block `chrnx/project-detail`, consumed by `templates/taxonomy-chrnx_project.html`. - [ ] **Step 1: Add `chrnx_project` to every taxonomy list** @@ -672,7 +672,9 @@ Expected: FAIL — the block is unregistered, and the archive filter test shows - [ ] **Step 4: Create the block** -`blocks/project-detail/block.json` mirrors Task 4's JSON with `"name": "chrnx/project-detail"`, `"title": "Project Detail"`, `"description": "Cover, status, description and links for the queried project."`, and a `headingLevel` attribute defaulting to 2. +`blocks/project-detail/block.json` mirrors Task 4's JSON with `"name": "chrnx/project-detail"`, `"title": "Project Detail"`, and `"description": "Cover, status, description and links for the queried project."`. + +Give it `"attributes": {}`. Do NOT copy Task 4's `headingLevel` attribute: the render below emits no heading — the archive's `

` comes from `wp:query-title` in the template, and status and description are paragraphs. An attribute nothing reads is dead configuration. `blocks/project-detail/render.php` follows the HEAD section of `blocks/release-detail/render.php` only — its guard, its art column, and its intro column. Stop before the tracklist; do not port it.