Skip to content

Own contract deployment and remove full-stack launcher coupling - #15

Merged
kentbull merged 2 commits into
mainfrom
refactor/integration-environments
Nov 1, 2026
Merged

kentbull merged 2 commits into
mainfrom
refactor/integration-environments

Conversation

@kentbull

@kentbull kentbull commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

Comply previously owned a full Python/KERI/application stack launcher and emitted deployment addresses as English console labels. It now owns only Solidity build, tests and deployment, publishing a versioned JSON artifact after broadcast and public-RPC validation.

deploy-local.sh separates input validation, output containment, deployment and verification. It accepts only explicit loopback Anvil, refuses symlink/existing outputs, and publishes its owned temporary artifact atomically after checking code, configured policy and deployer roles. Constructors and contract behavior are unchanged.

The old full-stack launcher, delegated scenario wrapper and Python startup tests are removed. Oracle owns the complete environment and calls this deployment command. CI requires Foundry/jq and no Python or Verifier package.

Validation: 28 Forge cases passed; the revised command deployed all ten contracts on isolated Anvil and validated the artifact. The new witnessed Oracle/Verifier USDC scenario passed, including token balances, lost-ACK retry, independent restart, replacement and exact retirement.

Coordinate with GLEIF-IT/eoa-verifier#24 and GLEIF-IT/vlei-oracle#54. No empty-policy behavior change or architecture/docs gates are included.

Keep contract construction in DeployAll and emit a versioned JSON artifact containing chain, deployer and named addresses. Add a loopback-Anvil deployment command that publishes output only after successful broadcast and checks deployed code, configured policy and writer role. Refuse existing or symlink output paths and discard partial simulation output.

Contract unit tests remain independent of the Python applications. All 28 Forge cases pass, and an isolated Anvil deployment produces the structured artifact. Full-stack launcher removal and the Oracle consumer cutover follow in this coordinated integration-tooling PR; no contract authorization or empty-policy behavior changes.
Remove the Python and KERI full-stack launchers now that the Oracle-owned environment and paired scenario pass through Verifier fixture commands and this repository's deployment artifact. Contract CI and local documentation require only Solidity tooling and jq.

Make deploy-local readable and explicit about URL validation, output containment, symlink refusal, owned temporary output and atomic publication. Broadcast success is followed by checks of all deployed code, configured policy and deployer authorization before an artifact becomes usable.

Validation: all 28 Forge cases and a real local deployment passed. The new paired witnessed USDC scenario passed with replacement, restart, lost-ACK retry and exact retirement assertions intact.
@kentbull
kentbull marked this pull request as ready for review November 1, 2026 00:57
@kentbull
kentbull merged commit e882573 into main Nov 1, 2026
1 check passed
@kentbull
kentbull deleted the refactor/integration-environments branch November 1, 2026 01:40
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.

1 participant