Skip to content

M3-04: Link ElemTable ids to partition record offsets #25

Closed

Description

@DrunkOnJava

Created from the roadmap audit in TODO.md.

Source: https://github.com/DrunkOnJava/rvt-rs/blob/main/TODO.md#L445
Tracking commit: 1ec8105

Scope

Labels: priority:P0, type:research, area:partitions, area:walker

  • Determine how Global/ElemTable ids map to partition records.
  • Investigate:
    • direct id storage
    • chunk-local handles
    • content document ids
    • cross-stream indexes
    • sort order correlations
  • Build ElementId -> PartitionRecordRef.

Acceptance criteria:

  • At least one project shows >80% coverage for declared wall ids or
    a documented reason why not.
  • Tests fail if coverage regresses on known corpus files.
  • CLI can print declared-but-unlocated ids.

Definition of done

  • The TODO acceptance criteria for this section are implemented or explicitly superseded by a linked decision.
  • Tests, fixtures, or documentation are added at the level appropriate to the change risk.
  • User-facing behavior and limitations remain honest in README/docs/viewer messaging.
  • Relevant CI checks pass before the issue is closed.

Activity

  1. added
    area:partitions
    area:walker
    priority:P0
    type:research
    on Apr 25, 2026
  2. DrunkOnJava commented on Aug 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Triage (2026-08-28) — not closable; correcting prior OPS-03 claim

    Issue #99 suggested this might be “DONE per RE-14.7 IdOffsetIndex”. Code audit on main @ 21aa0e0 does not support closing.

    What exists

    • Global/ElemTable header/record parsing (src/elem_table.rs, CLI/Python surfaces)
    • Walker HandleIndex / build_handle_index mapping self-ids found in scanned Global/Latest candidates — not an ElementId → PartitionRecordRef map
    • Research notes still list linkage as open (ROADMAP.md, TODO.md M3-04, RE reports)

    What is missing vs AC

    • No ElementId → PartitionRecordRef (partition stream + chunk + offset)
    • No measured >80% coverage for declared wall ids on a project corpus with a regression test
    • No CLI that prints declared-but-unlocated ids for this linkage
    • No symbol/type named IdOffsetIndex in tree/CHANGELOG on current main

    Keep open as P0. Do not treat ElemTable parse success as partition linkage.

  3. DrunkOnJava commented on Aug 29, 2026

    @DrunkOnJava
    OwnerAuthor

    Closed: link_elem_table_to_partitions / ElementId→offset index shipped with the partition scanner (#126) and opening-index ElemTable confirms (#140+).

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:partitionsarea:walkerpriority:P0type:research

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions