Repository navigation
Description
Extract the shared guest value and codec foundation
Parent: #4626 · Complete tracking register
Proposed target: 4.4-dev. This is a workstream tracking issue, not a claim that the release branch exists or the implementation is done. Owner: QuantumExplorer. Dates and effort remain unset.
Scope
Create the real alloc-only value/serialization feature path and minimal ABI foundation. Verify separate WASM/no_std guest builds and canonical vectors while preserving native defaults and existing dependency direction.
Specification
The current parent acceptance and module/capability appendices remain authoritative; these DIP drafts add proposed engineering detail without silently approving open allocations.
Completion criteria
Guest builds exclude full native PlatformVersion dispatch, DPP, Drive, clients and Wasmtime. Existing native builds and encodings remain compatible. Complete host-call ABI and runtime integration stay in R08-04 and other 5.0 tasks.
Early work-package prerequisites: 43-PLAN. These are separate from the 234 task-level links.
Task acceptance
R13-01
- Implement a guest-compatible value/ABI foundation and canonical codec with golden vectors, verifying WASM/no_std builds and avoiding unnecessary node dependencies; settle exact package names.
Engineering architecture: Preserve query-library -> proof-verifier -> Drive verification dependency direction. Implement a real alloc-only guest value/codec feature path excluding full native PlatformVersion dispatch, DPP, Drive, clients and execution engine; verify separate guest-target builds.
Prerequisites: None recorded.
Dependents: R07-01, R03-01, R03-05, R08-04.
Modules: VALUE, SER, ABI. Original task context. Refinements (not extra dependency edges): SDK-03.
Coordination and dependencies
Task-level prerequisites above govern order. Workstreams contain multiple stages, so a cross-link is not a claim that the entire other issue must close first. These are Markdown relationships, not native GitHub blocked-by edges. The parent dependency register preserves all 234 links, reasons and explicit/inferred labels.
- R13-01 → R07-01 (inferred): Rebased source dependency; confirm the implementation ordering. Implementation prerequisite inferred from the described interfaces.
- R13-01 → R03-01 (inferred): Rebased source dependency; confirm the implementation ordering. Implementation prerequisite inferred from the described interfaces.
- R13-01 → R03-05 (inferred): Rebased source dependency; confirm the implementation ordering. Implementation prerequisite inferred from the described interfaces.
- R13-01 → R08-04 (inferred): Rebased source dependency; confirm the implementation ordering. The guest ABI fills the same groundwork crate and uses platform-value-core.
PR and evidence tracking
Create focused PRs against the chosen development branch. Link this issue with Refs #<issue-number> for partial work. Do not use Fixes for the whole workstream until every listed full task and acceptance criterion is complete.
For a PR that completes an entire task, add a standalone line in its actual PR body: Dash-Tasks: <completed task IDs>. Replace the placeholder with only fully completed IDs. Preparation PRs use ordinary references and omit the completion marker for their broader parent tasks. The site reads this marker on PRs in dashpay/platform and dashpay/grovedb: draft = red, ready for review = yellow, merged with no linked open PR = green. Closed-unmerged is not completion. This does not automatically close issue checkboxes and does not prove acceptance tests passed; reviewers must record the evidence.
| Evidence | Link / result |
|---|---|
| Implementation PRs | Pending |
| Canonical vectors and targeted tests | Pending |
| Upgrade/replay/conservation evidence, where applicable | Pending |
| Remaining full-task acceptance | All unchecked above |
Activity
fix(platform-value): enumerate bounded encoder leaves and pin the dep…
feat: alloc-only profiles for platform-value and platform-serialization
ci: add the guest alloc-only cut and document the profile
fix: reject depth counter overflow and state the bounded codec guaran…
fix(platform-value): enumerate bounded encoder leaves and pin the dep…
fix(platform-value): keep implicit feature names, expose error source…
feat: alloc-only profiles for platform-value and platform-serialization
ci: add the guest alloc-only cut and document the profile
fix: reject depth counter overflow and state the bounded codec guaran…
fix(platform-value): enumerate bounded encoder leaves and pin the dep…
fix(platform-value): keep implicit feature names, expose error source…
feat: alloc-only profiles for platform-value and platform-serialization
ci: add the guest alloc-only cut and document the profile
fix: reject depth counter overflow and state the bounded codec guaran…
10 remaining items
feat: alloc-only profiles for platform-value and platform-serialization
ci: add the guest alloc-only cut and document the profile
fix: reject depth counter overflow and state the bounded codec guaran…
fix(platform-value): enumerate bounded encoder leaves and pin the dep…
fix(platform-value): keep implicit feature names, expose error source…
refactor: derive the bounded canonical config from the shared platfor…
docs: say which features the defaults enable in the guest profile sec…
fix(platform-value): grow bounded containers through the fallible res…
docs: record the alloc-only feature migration in the changelog
fix(platform-serialization): reserve bounded byte and string-list sto…
fix(platform-value): make bounded encoder allocations fallible
fix(platform-value): reserve bounded decoder frames fallibly
docs: say the bounded error wrappers carry bincode errors and define …
test(platform-value): refuse each bounded codec reservation and expec…
ci: run the allocation failure test in the guest alloc-only cut