Skip to content

Remaining silent file-structure repairs record diagnostics #238

Closed

Description

@michaelstonis

Parent

#231 → #33 Spec: Broadside v1

What to build

Repairs the Phase 1 notes recorded as silent now record a diagnostic and throw in strict mode: cross-reference entries beyond the trailer Size are ignored as §7.5.5 says; comments and malformed lines inside a cross-reference table; the nearest-section search applied to XRefStm offsets as it already is to startxref and Prev; and an incremental file whose last startxref is damaged reads its newest revision through reconstruction instead of silently reading the previous one.

Spec clauses

ISO 32000-2 §7.5.4, §7.5.5, §7.5.8; ADR 0005; spec story 2

Acceptance criteria

  • One corpus file per case asserts the exact diagnostic in lenient mode and the exception in strict mode.
  • The damaged-last-startxref file returns the newest revision's objects (test compares with the undamaged original).
  • The real-world gate's diagnostic allowlist and snapshots are re-triaged for the new codes.
  • Rows 7.5.4, 7.5.5 and 7.5.8 updated; no row's notes admit a silent repair.

Blocked by

None — can start immediately

Draft note: none (builds on #39, #40, #41)

Deliverables (every ticket)

  • Tests through the public seam (see the spec's Testing Decisions)
  • XML docs citing clauses on public types
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated
  • Fuzz target and benchmark where the ticket adds a parser, codec or hot path

Activity

  1. added
    taskUnit of work from the task template
    ready-for-agentTriaged: an agent can pick this up without further clarification
    on Oct 10, 2026
  2. michaelstonis commented on Nov 14, 2026

    @michaelstonis
    OwnerAuthor

    Merged into spec/33-broadside-v1 via #534.

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

Metadata

Metadata

Assignees

Labels

phase:7Phase 7ready-for-agentTriaged: an agent can pick this up without further clarificationtaskUnit of work from the task templatetrack:7A-coverageTrack 7A coverage gaps

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions