feat: add Soroban contract architecture reporter - #521
Merged
mijinummi merged 3 commits intoJun 23, 2026
Conversation
- Implement SorobanArchitectureAnalyzer for comprehensive contract analysis - Extract contract types, functions, storage patterns, and security boundaries - Detect storage anti-patterns and vulnerabilities - Provide resource profiling (CPU, memory, ledger) - Generate architecture reports in JSON, Markdown, and HTML formats - Include optimization recommendations with estimated savings - Add example script for generating reports - All tests passing (15/15)
Contributor
Author
|
@mijinummi These 2 CI test failures are pre-existing issues in the codebase, not caused by Soroban contract. |
…repair Solidity tests - Fix module import in solidity.analyzer.ts to use @engine/analyzers path alias - Refactor Stellar simulator test mocks to properly instantiate for each test - Rebuild solidity_reentrancy.spec.ts to eliminate TypeScript compilation errors - All 13 Stellar simulator tests now passing - Resolves pre-existing branch sync issues and test failures
1 task
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.
Overview
Generate comprehensive architectural summaries for Soroban smart contracts to help auditors and developers quickly understand contract structure and design patterns.
Changes
SorobanArchitectureAnalyzer: Core analysis engine for Soroban contracts
SorobanArchitectureReporter: Multi-format report generation
Tests
✅ All tests passing (15/15)
Acceptance Criteria Met
✅ Summarize modules and functions
✅ Export architecture reports
✅ Architecture reports generated
Closes #460