Prerequisites
- PCL 1.9.0 installed
- Git; the pinned project selects Solidity 0.8.29, which PCL downloads on first use
1. Clone the Starter
Clone the example project with its dependencies:src, assertions in assertions/src, and tests in assertions/test.
2. Run the Tests
From the repository root, run:3. Inspect the Rule and Its Tests
Openassertions/src/OwnableAssertion.a.sol and assertions/test/OwnableAssertion.t.sol.
The rule compares the owner before and after the candidate operation. In the test, cl.assertion() registers the assertion for the next external call. One case attempts a change and expects the assertion to revert; the other leaves the owner unchanged and passes.
This rule rejects legitimate ownership transfers too. For a real protocol, define which changes should be allowed before adapting the example.

