Skip to content

feat: implement 'analyze' command scaffolding with Soroban project ve…#53

Merged
Gbangbolaoluwagbemiga merged 1 commit intoHyperSafeD:mainfrom
OpenSourceCOntr:feature/cli-analyze-scaffold-#4
Feb 20, 2026
Merged

feat: implement 'analyze' command scaffolding with Soroban project ve…#53
Gbangbolaoluwagbemiga merged 1 commit intoHyperSafeD:mainfrom
OpenSourceCOntr:feature/cli-analyze-scaffold-#4

Conversation

@Uchechukwu-Ekezie
Copy link
Copy Markdown
Contributor

…rification (#4)

feat: implement 'analyze' command scaffolding with Soroban project verification (#4)

Description
This PR implements the basic structure for the sanctifier analyze command. It adds a verification layer to ensure that the target path is a valid Soroban project before proceeding with static analysis.

Changes
Verification Logic: Added
is_soroban_project
helper to:
Locate
Cargo.toml
(locally or in parent directories).
Verify the presence of soroban-sdk in dependencies.
analyze
Command Enhancement:
Now performs pre-flight verification.
Prints a clear success placeholder: ✨ Sanctifier: Valid Soroban project found at .
Exits gracefully with an error if the project is invalid.
Refactoring: Cleaned up the
Analyze
match arm to integrate these checks seamlessly.
Linked Issue
Fixes #4

@Gbangbolaoluwagbemiga Gbangbolaoluwagbemiga merged commit 2010490 into HyperSafeD:main Feb 20, 2026
thebabalola added a commit to thebabalola/Sanctifier that referenced this pull request Mar 7, 2026
xqcxx pushed a commit to xqcxx/Sanctifier that referenced this pull request Mar 10, 2026
feat: Implement AST caching for static analysis (Issue HyperSafeD#53)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: CLI Command 'analyze' scaffolding

2 participants