Skip to content

R27a: inline changes recoverable as (address, old, new, context) #140

Description

@houfu

From ROADMAP.md § M2. PRD: R27a

A design constraint on the change tree, tested rather than implemented: every inline change must be recoverable as (block address, old text, new text, surrounding context), with enough context to anchor a text search. That keeps the door open for the 1.1 applier export (R26: adeu edit batch, then superdoc-redlines) without a tree change. PRD § 12 names the risk this guards: adeu's target_text addressing is ambiguous on repeated text.

Write the test against the sample pair: walk the tree, produce the tuples, and check that each old text plus context locates exactly one position in the source document, including inside the repetitive schedule. Not an export. Proof that one is possible.

Depends on #136.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreBlock model, semantic layer, change treesize:SA day or two

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions