implement PLN-0032 structural anchor payloads and tests

This commit is contained in:
2026-04-03 10:02:48 +01:00
parent 20851c0958
commit d93fe98bcd
13 changed files with 264 additions and 25 deletions
@@ -2,9 +2,9 @@
id: PLN-0032
ticket: studio-editor-scope-guides-and-brace-anchoring
title: Frontend structural-anchor payload propagation and anchor-aware test coverage
status: review
status: done
created: 2026-04-03
completed:
completed: 2026-04-03
tags:
- studio
- frontend
@@ -108,10 +108,10 @@ The implementation must preserve the DEC-0014 rule that structural anchors are t
## Acceptance Criteria
- [ ] Frontend semantic-read payloads expose structural anchors through a dedicated semantic surface.
- [ ] Studio consumes structural anchors without overloading `documentSymbols`.
- [ ] Exact guide positioning uses structural-anchor metadata when available.
- [ ] Tests cover payload transport, anchor interpretation, and anchor-aware rendering.
- [x] Frontend semantic-read payloads expose structural anchors through a dedicated semantic surface.
- [x] Studio consumes structural anchors without overloading `documentSymbols`.
- [x] Exact guide positioning uses structural-anchor metadata when available.
- [x] Tests cover payload transport, anchor interpretation, and anchor-aware rendering.
## Dependencies