Editor heading-link probe expects a slug despite the decided stable block anchor format #1262

Open
opened 2026-10-06 23:57:19 +00:00 by kayg · 0 comments
Owner

Editor adversarial heading link assertion expects the retired new-link format (#1202)

Product 139d4378e, Editor seed 25608414. The Note identity path check passed. The heading anchor check in tests/adversarial/editor.mjs:608 expected anchor-heading; Copy link returned ^zxhir0.

FINDING editor browser editor paste, Unicode, and block actions seed=25608414: heading links use the heading slug
+ actual - expected
+ '^zxhir0'
- 'anchor-heading'

DESIGN §33 now states: new Note heading links use their existing block ID and /n/<calternal-id>#^<block-id>; old heading-slug links remain resolvable. The copied shape agrees with that grammar. The job leaves the old assertion intact, per the rule against changing expectations. The orchestrator must update this probe to the decided stable identity behaviour and ensure rename/reopen resolution, rather than simply accepting any anchor. The current browser sub-area stops at the old assertion; later independent Editor areas passed concurrent same-block writes, offline reconciliation, delete/edit races, external source edits and restart recovery.

The separate 10,000-block sync measured 2,494 ms against a 2,000 ms budget on the busy host. That is a SLOW-only result and does not block the merge.

Editor adversarial heading link assertion expects the retired new-link format (#1202) Product `139d4378e`, Editor seed `25608414`. The Note identity path check passed. The heading anchor check in `tests/adversarial/editor.mjs:608` expected `anchor-heading`; Copy link returned `^zxhir0`. ```text FINDING editor browser editor paste, Unicode, and block actions seed=25608414: heading links use the heading slug + actual - expected + '^zxhir0' - 'anchor-heading' ``` DESIGN §33 now states: new Note heading links use their existing block ID and `/n/<calternal-id>#^<block-id>`; old heading-slug links remain resolvable. The copied shape agrees with that grammar. The job leaves the old assertion intact, per the rule against changing expectations. The orchestrator must update this probe to the decided stable identity behaviour and ensure rename/reopen resolution, rather than simply accepting any anchor. The current browser sub-area stops at the old assertion; later independent Editor areas passed concurrent same-block writes, offline reconciliation, delete/edit races, external source edits and restart recovery. The separate 10,000-block sync measured 2,494 ms against a 2,000 ms budget on the busy host. That is a SLOW-only result and does not block the merge.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1262
No description provided.