Sign in to edit tickets from this page.

← all tickets · home

Investigate bencid blob key import mismatch for authored packages

rejected 53b6bc82-80d8-4164-84c1-84ab603a3559

created_at
2026-05-05
updated_at
2026-05-05
code_context
/home/johnb/Downloads/benac-local-public-data-portable-package-development-guide-cleaned.md; apps/pwa; crates/benac-core; records/req.*; records/term.*
priority
P1
ticket_type
bug
labels
package_import, authoring_guide, cid_logic
resolved_at
2026-05-05
resolution
rejected

Body

Investigate why a package authored from the local public-data portable package development guide can fail PWA package import with: blob key bencid:v0:blob:sha256:462c8adbf77c26abdb6fce207bd490bacff372e53fb63064a95482aa1ba95df1 is not a valid CID; skipping: CID body is not valid lowercase RFC 4648 base32: invalid symbol at 5.

Scope: do not fix or validate the specific package at /home/johnb/Downloads/benac_qwen3_4b_q4f16_webgpu_package.zip. Use the error only as a symptom. Investigate the authoring guide at /home/johnb/Downloads/benac-local-public-data-portable-package-development-guide-cleaned.md, the requirement/source records if relevant, and the business logic for package import and artifact availability. Determine whether the guide, requirements, business logic, or a combination is wrong.

Acceptance: identify root cause, update guide/requirements/business logic as needed, add focused tests or validation checks for the corrected contract, build/test, push to main, deploy if runtime/UI behavior changes, and propose resolution only after git/worktree state is clean and current.

Proposed resolution

Investigation completed without code changes. The guide appears correct on CID form and artifact availability: it uses DASL b... CIDs and package.benac-capsule.json, not bencid:v0 or ZIP. The observed bencid:v0 warning comes from stale browser IndexedDB blob keys during startup hydration, not from the selected package file. The current PWA import path only supports capsule JSON text and does not unzip package archives; requirements are strong on CID semantics but weak on explicit browser import container/diagnostic wording.

History (6 events)

Sign in as a human to drive this ticket from the page, or use the MCP tools.

← all tickets · home