non core block: authored-input
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- html, javascript, node.js, php, wordpress
Research direction
Start from tools/import-loop/predicates/non_core_block.mjs in a static-site-importer checkout at 4be4e5ec; run it with reduced.html against <blocks-engine>/php-transformer as the command shows, and read emits.mjs/gates/collateral.mjs for the pass condition. Then trace where php-transformer turns the reduced input into an authored-input block and find the core-block equivalent. Done means the predicate no longer exits 0 on this page and the pixel-parity gate still passes.
Written by the indexing model from the issue text.
Description
Finding
editability/non_core_block on authored-input, seen in 1 route/width cell(s) of an imported site:
| route | width | evidence |
|---|---|---|
/advisor/ |
1440 | {"count":1,"of":22} |
Reduced page (364 bytes)
Reduced from 101635 bytes in 37 predicate calls.
<!DOCTYPE html><html><head></head><body><input data-blocks-engine-capture-native-control-state="{"version":1,"kind":"input","type":"text","value":"","defaultValue":"","checked":false,"defaultChecked":false,"indeterminate":false}"></body></html>
Reproduce
The predicate exits 0 while the defect reproduces (checked against blocks-engine trunk 3d3f7d6ad). Run it from a static-site-importer checkout at 4be4e5ec, with the reduced page saved as reduced.html:
PREDICATE_TARGET='{"subject":"authored-input","route":"/advisor/","width":1440,"evidence":{"count":1,"of":22}}' \
WORDPRESS_PATH=<wordpress with static-site-importer active> WP_CLI='studio wp' \
node tools/import-loop/predicates/non_core_block.mjs <blocks-engine>/php-transformer reduced.html
predicates/non_core_block.mjs
// Exit 0 while the Blocks Engine output of a page still emits the generated
// block <prefix>/<subject>, a block outside WordPress core. An editor can only
// change its structure through the importer's own block, not with core tools.
// The defect is gone when the same content is built from core blocks and the
// page renders exactly as before; the acceptance gate holds the whole import to
// pixel parity (see emits.mjs, gates/collateral.mjs).
import { exitWhileEmitted } from './emits.mjs';
exitWhileEmitted();
Loop signature: d48272d9ff75
AI disclosure: filed by the static-site import findings loop (Homeboy workflow on the Lab). The finding, reduction, and body are generated by deterministic scripts; Claude (Anthropic) wrote those scripts with Chris Huber.
- Dominant language
- PHP
- Stars
- 28
- Forks
- 5
- Avg merge
- 2h 59m
- Merged PRs (30d)
- 942
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Automattic/blocks-engine
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Automattic/blocks-engine#6318 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Automattic/blocks-engine#4943 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Automattic/blocks-engine#4942 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Automattic/blocks-engine#4921 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Automattic/blocks-engine#775 ·
Maintainers usually reply within 1 day
All issues in Automattic/blocks-engine
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
TYPO3-Solr/ext-solr#4850 ·
Maintainers usually reply within 2 days
-
Hex viewer drops ASCII '0' after a complete rowPossibly taken @palashranka claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days
-
[Sync EN] stream: document the errors of the stream_context_*() and stream filter functions (#6091)Opensync-en
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
[Sync EN] stream: document the errors of the stream_context_*() and stream filter functions (#6091)Opensync-en
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Перевод устарел
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day