docs: document storage layout and migration risks - #183
Merged
El-swaggerito merged 1 commit intoJul 29, 2026
Merged
Conversation
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents the Aegis contract storage layout and establishes compatibility, migration, and review requirements for future storage-changing pull requests.
The existing storage audit was incomplete and contained outdated assumptions. This update aligns the documentation with the current contract implementation and covers all 20
DataKeyvariants.Key changes:
docs/storage-audit-map.mdwith:README.md.This is a documentation-only change. It does not modify contract storage, public functions, events, error codes, roles, or runtime behavior.
Related Issues
Fixes #168
Completion Table
docs/storage-audit-map.mdcontains a complete instance and persistent storage inventoryDataKeyvariants are documenteddocs/storage-audit-map.mdRole,ComplianceStatus,AssetStatus,ProtocolConfig, andIssuerSeparationPolicy#[contracttype]source definitionsREADME.mdDetailed Traceability Mapping
#[contracttype]definitionsgit diff --checkType of Change
PR Evidence Checklist
Before opening this PR, complete every applicable item in the evidence
checklist below. See PR Evidence Checklist
for detailed guidance.
1. Issue Reference
Fixes #123).2. Implementation Summary
above in the Description section.
3. Tests Added or Justification
test_mint_okinsrc/test.rs:L45-60).documentation-only change with no contract behavior changes.
No-test justification: This PR changes only Markdown documentation and PR
templates. It does not modify Rust code, contract behavior, storage, events, or
public interfaces. Static validation was used to compare the documented
inventory with
DataKeyand to validate local links.4. Commands Run
make verifypasses locally.5. CI Status
complete Rust verification gate.
6. Acceptance Criteria Coverage
Table above.
Policy & Standards
CONTRIBUTING.mdguidelines.cargo fmt).cargo clippy).cargo test).Additional Context
Validation performed
Local verification limitation
make verifywas attempted, but the provided development environment does notcontain the
cargoexecutable:No Rust source files were changed. CI should run the complete formatting,
Clippy, test, and build gate.