report.md
Authoring fixes implemented; source and targeted documentation are frozen.
cdk-rsx now enables the existing Store principal feature on its dependency.
An ordinary canister can persist the ecosystem's Principal without adding a
separate Store feature. Standalone Store's defaults are unchanged. No Principal
wrapper, additional production/dev dependency, runtime check or memory migration
was introduced.
The isolated ver1/tools/check-authoring.py regression compiles a temporary
independent workspace in three configurations. Store-only default correctly
rejects Principal: Codec; Store-only opt-in and the ordinary SDK dependency
both compile. This avoids workspace feature unification masking a regression.
tools/check.sh runs the checker. Temporary campaign coordination is supplied by
the caller's outer trial-fixes-build.lock, not embedded in the production tool.
The compiled native recipe lives under ver1/tests/recipes/, with a Collections
integration harness and no new crate dependencies. It demonstrates:
- A bounded directory of opaque children, named transient services, generated value accessors and one shared immutable policy dependency.
- Exact frozen child versions and Root → Directory → Counter conversion, where each owner reads only its own source. The test checks alias preservation and the same injected admission rule for converted and newly created children.
- A stable Blob upload with only
Option<Pending { builder, expected }>persisted; received bytes come from the builder. Four bounded 64 KiB appends publish a 256 KiB body only after completion. Native cases exercise reopen, incomplete finish, old-content visibility, bounds and cancellation.
The native harness intentionally uses the existing Store Actor APIs; it does not
add a new application framework or duplicate the KB app. SDK root-marker setup
remains in the canonical examples. Business upload tests live with Upload;
root tests cover composition/lifecycle only. Source files retain complete
memory/vN.rs contracts and opaque child fields.
Targeted examples/schema/blob documentation links the compiled source and explains accessor kinds, lifetime locals, owner-local upgrades, native lifecycle-test placement, the 128 KiB encoded SDK envelope versus Blob chunk size, inherited placement and durable pending attachments. The upload example supplies content publication; authorization and network retry/session semantics remain app policy. The accepted Candid implementation was not audited or changed.
Focused validation passed using the pinned compiler and shared target/cache. All real Cargo invocations held the shared trial-fixes build lock, used at most three jobs, no incremental compilation, debug=0 and an explicit native host.
| Evidence | Actual result |
|---|---|
features-final.log |
Three isolated compile configurations passed; checker also works without an exported ICRUSTMEM_HOST_TARGET |
sdk-default.log |
One SDK default Principal derive/round-trip regression passed |
recipes.log |
Three native recipe tests passed |
composition-final.log |
Changed composition fixture reran and passed, using the ordinary frozen V1 constructor without a dead-code warning |
The first recipe compile needed ordinary Rust closures around generic constructor
functions; recipes-first.log preserves that corrected authoring mistake. After
the three recipe tests passed, the sole final delta moved old-image fixture
population behind its owner and reused the V1 constructor. Only that changed
composition test was repeated. Upload code/tests were unchanged after their pass.
The initial feature result used an internal campaign lock; the final run moved
coordination outside the checker and inferred host from pinned rustc -Vv.
Formatting, Python parsing, local documentation links and whitespace were checked.
source-frozen.json hashes the assigned source/docs. No full suite, Wasm build,
PocketIC server, playground edit or commit was performed by this lane. Root owns
combined checks and qualification against the complete frozen SDK.
Remaining app acceptance after SDK freeze: the KB author should begin a V1 upload, append only a prefix, record published content and received length, KEEP to V2, verify both are unchanged, append the rest and finish. Verify exact content and builder/Blob identity adoption, then exercise cancel/reclamation separately. This complements the native reopen recipe; no unfinished-upload KEEP result is claimed here. Root was notified before app resumption.