You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retire the DECDNMAN file-manifest format — obao4 verified ranges supersede it #1505
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.
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
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
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
Activity
github-actions commentedon Jul 29, 2026
🎯 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-rangecrate) 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_historywith a supersession pointer, mirroring how ADR 015/033 were retired. Backward-compat cost is negligible — nothing published as DECDNMAN in prod.📊 Assessment
technical,ADR,medium🔗 Similar issues
DECDNMANfile manifests / chunk reconstruction #1183 (related) — OriginalDECDNMANimplementation issue (closed); confirms producer was never completed💡 Notes and suggestions
Scope checklist for implementation:
grep -r "DECDNMAN\|decdnman\|manifest" crates/ --include="*.rs")fetch/bundle_pullcompositionadr/_history/(or a subsection archive file) with a prose supersession note pointing to ADR 038 +bao-rangecdn/manifestALPN references that should be droppedcargo nextest rungreen after removalbundle pullandfetchCLI commands still work end-to-end without the manifest code pathsKey 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 archivecrates/cli/—fetch/bundle_pullcomposition that may include manifest sniffcrates/e2e/— fixtures gated behind DECDNMAN pathsNote: #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.
Add this agentic workflow to your repo
To install this agentic workflow, run
refactor(cli): retire the DECDNMAN file-manifest format (#1505)
refactor(cli): retire the DECDNMAN file-manifest format (#1505) (#1507)