Skip to content

Retire the DECDNMAN file-manifest format — obao4 verified ranges supersede it #1505

Closed

Description

@alpergundogdu

Remove the DECDNMAN file-manifest surface. The producer was never built; retire the consumer too (sniff/decode module, the magic-byte sniff on every fetched blob, the manifest-cap logic, the fetch/bundle_pull composition, e2e fixtures) and archive the ADR 012 § File Manifests section to _history with a supersession pointer.

Why: obao4 (bao verified-range streaming — ADR 038 + bao-range) is a strictly finer, single-hash superset. Ranged access, resume, bounded origin egress, verifiable file structure — obao4 does all of it against one root hash at 16 KiB granularity (crates/bao-range/src/lib.rs:38), with no synthetic derived blobs. Multi-file payloads — the common large-model case, since HF ships pre-sharded ~5 GB safetensors — are already handled by bundle create / bundle pull. So DECDNMAN's 256 MiB flat chunk-list is a coarser reimplementation of what the outboard already encodes.

The one thing it uniquely offered — independently addressed/discoverable sub-blobs via per-chunk hashes — is just a cheap hack for range-keyed discovery. If we ever want that, do it properly over obao4 (see #1506), not a flat manifest.

Backward-compat cost ≈ zero (early implementation; nothing published as DECDNMAN in prod). Matches how ADR 015/033 were retired.

Activity

  1. added
    design:adr
    on Jul 29, 2026
  2. github-actions commented on Jul 29, 2026

    @github-actions

    🎯 Triage report

    This is a well-scoped cleanup task to retire the DECDNMAN file-manifest format: the producer was never built, and the consumer (sniff/decode, manifest-cap, fetch/bundle_pull composition, e2e fixtures) is dead weight now that obao4 (bao-range crate) provides a strictly finer superset (ranged access, resume, bounded origin egress, verifiable file structure — all against one root hash). The ADR 012 § File Manifests section should be archived to _history with a supersession pointer, mirroring how ADR 015/033 were retired. Backward-compat cost is negligible — nothing published as DECDNMAN in prod.

    📊 Assessment

    Dimension Value Reasoning
    Type Task Cleanup/retirement of dead code and ADR section, not a bug fix or new feature
    Labels technical, ADR, medium Code removal across multiple crates + ADR archival; medium priority since no prod breakage
    Coding agent Suitable Clear, self-contained scope: delete named code paths, archive ADR section, add supersession pointer. Success criteria are explicit

    🔗 Similar issues

    💡 Notes and suggestions

    Scope checklist for implementation:

    • Remove the magic-byte sniffer and DECDNMAN decode module (locate via grep -r "DECDNMAN\|decdnman\|manifest" crates/ --include="*.rs")
    • Remove manifest-cap logic wherever it gates fetch / bundle_pull composition
    • Remove/update e2e fixtures that exercise DECDNMAN paths
    • Archive ADR 012 § File Manifests section to adr/_history/ (or a subsection archive file) with a prose supersession note pointing to ADR 038 + bao-range
    • Search for any cdn/manifest ALPN references that should be dropped
    • Verify cargo nextest run green after removal
    • Check that bundle pull and fetch CLI commands still work end-to-end without the manifest code paths

    Key files to check:

    • crates/bao-range/src/lib.rs — reference implementation that supersedes DECDNMAN (chunk-group alignment at 16 KiB granularity, line 38)
    • adr/012-*.md — section to archive
    • crates/cli/ — fetch/bundle_pull composition that may include manifest sniff
    • crates/e2e/ — fixtures gated behind DECDNMAN paths

    Note: #1506 (range-keyed discovery over obao4) is explicitly called out as the right follow-on if sub-blob discovery is ever needed — this retirement does not close that door.

    Generated by Agentic Triage for #1505 · sonnet46 · 21.9 AIC · ⌖ 8.53 AIC · ⊞ 6.2K · ◷

    Add this agentic workflow to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/issue-triage.md@94ec5db57374c5b04a4b8eef8b4413f9af44d63f
    
  3. added this to the v0.1 milestone on Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:adrprio:medium

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions