Skip to content

Version-stamped caches still miss an object removal that leaves their containers unchanged #303

Closed

Description

@michaelstonis

Parent

#87 → #33 Spec: Broadside v1

What is wrong

Found by #302: structure indexes and outline views now also record the per-document ObjectsVersion (advanced by AddObject/RemoveObject), but other caches built on Caching/ContainerStamps or per-container Version checks do not: the annotation index, the AcroForm field tree, optional content, functions, colour converters and fonts. A RemoveObject that changes what a reference resolves to, without editing any container they read, leaves them serving stale results.

Spec clauses

ADR 0004 (live views)

Notes

Builds on #302.

Acceptance criteria

  • Each such cache records document.ObjectsVersion alongside its stamps (or ContainerStamps gains it) and rebuilds when it changes.
  • One test per cache family: build it, RemoveObject an object it resolved, re-read, see the removal.
  • Live-view and content allocation tests stay green.

Blocked by

Deliverables (every ticket)

  • A failing test first that reproduces the defect, through the public seam
  • XML docs citing clauses on public types touched
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated if the public surface changes

Activity

  1. added a commit that references this issue on Oct 14, 2026
  2. added
    integratedMerged into the spec integration branch; closes when the integration PR merges
    and removed
    in-progressClaimed and being worked on
    on Oct 14, 2026
  3. michaelstonis commented on Oct 16, 2026

    @michaelstonis
    OwnerAuthor

    Done: implemented, tested and merged into the integration branch spec/33-broadside-v1 (full gate green). It reaches main with PR #277.

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

Metadata

Metadata

Assignees

Labels

area:cosArea: cosbugSomething isn't workingintegratedMerged into the spec integration branch; closes when the integration PR mergesphase:4Phase 4ready-for-agentTriaged: an agent can pick this up without further clarificationtrack:4A-canvasTrack 4A-canvas

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions