Repository navigation
Deploy guide in the contract section; nearhackathon.md - #3
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Summary of ChangesHello @gabehamilton, I'm the pr-review agent. I've reviewed this pull request — here's a summary to help you and other reviewers get up to speed, with the full code review to follow. This PR adds a deployment-oriented “Make it yours” section to the static contract page, linking policy concepts to a JSON example and NEAR CLI commands. It also adds a hackathon submission document, links it from the README, includes the new guide in the existing reveal animation, and updates most historical feature-branch links to main. Highlights
Changelog
Automated review by the pr-review agent (Codex CLI + GPT-5.6 Terra). Reply on any review thread to discuss a finding. |
gabehamilton
left a comment
There was a problem hiding this comment.
Code Review
The PR usefully exposes a deployment path and hackathon context, but the new deployment guide is not complete enough to yield a functioning contract: it configures an executor while omitting the required executor/adapter deployment and initialization. It also leaves one newly touched resource link pointing to the old feature branch. Address those documentation issues before merging so readers can safely follow the promoted deployment flow.
| <pre><code># 1. Build both Wasm contracts and a provenance manifest | ||
| ./scripts/build.sh | ||
|
|
||
| # 2. Deploy and initialize the lock in one transaction |
There was a problem hiding this comment.
Document deployment and initialization of the configured executor
The command sequence deploys only pool_contract.wasm, even though the example policy binds every recipe to api-gateway.near. A fresh user following these steps has no initialized contract at that account which can accept execute/status; the first dispatch therefore fails, the lock records an unknown outcome, and the reservation cannot be released without authoritative executor evidence. The existing deployment preparation section requires deploying and initializing both contracts. Add an explicit adapter/executor deployment and initialization step (including its lock and operator configuration), or make the guide clearly require a pre-existing, initialized compatible adapter before the lock command.
There was a problem hiding this comment.
| <details><summary>Inspect the last Rust decision <span aria-hidden="true">+</span></summary><div class="detail-body"><pre id="raw">Run a scenario decision to inspect its response.</pre></div></details> | ||
| </div> | ||
| <div class="resource-links"><a href="https://github.com/difflabai/shared-pool-controls/blob/feat/shared-pool-controls/docs/spec.md"><span>Read the specification</span><span aria-hidden="true">↗</span></a><a href="https://github.com/difflabai/shared-pool-controls/tree/feat/shared-pool-controls/crates/core"><span>Explore the Rust core</span><span aria-hidden="true">↗</span></a><a href="live.html"><span>Open the NEAR console</span><span aria-hidden="true">↗</span></a></div> | ||
| <div class="resource-links"><a href="https://github.com/difflabai/shared-pool-controls/blob/main/docs/spec.md"><span>Read the specification</span><span aria-hidden="true">↗</span></a><a href="https://github.com/difflabai/shared-pool-controls/tree/feat/shared-pool-controls/crates/core"><span>Explore the Rust core</span><span aria-hidden="true">↗</span></a><a href="live.html"><span>Open the NEAR console</span><span aria-hidden="true">↗</span></a></div> |
There was a problem hiding this comment.
Point the Rust core link at main
This resource link still targets feat/shared-pool-controls, while the surrounding links were changed to main and the PR intends to retire the old branch references. If that feature branch is deleted after merge, “Explore the Rust core” becomes a dead link. Replace the branch segment with main.
| <div class="resource-links"><a href="https://github.com/difflabai/shared-pool-controls/blob/main/docs/spec.md"><span>Read the specification</span><span aria-hidden="true">↗</span></a><a href="https://github.com/difflabai/shared-pool-controls/tree/feat/shared-pool-controls/crates/core"><span>Explore the Rust core</span><span aria-hidden="true">↗</span></a><a href="live.html"><span>Open the NEAR console</span><span aria-hidden="true">↗</span></a></div> | |
| <div class="resource-links"><a href="https://github.com/difflabai/shared-pool-controls/blob/main/docs/spec.md"><span>Read the specification</span><span aria-hidden="true">↗</span></a><a href="https://github.com/difflabai/shared-pool-controls/tree/main/crates/core"><span>Explore the Rust core</span><span aria-hidden="true">↗</span></a><a href="live.html"><span>Open the NEAR console</span><span aria-hidden="true">↗</span></a></div> |
Summary
config.json, build/deploy commands, and a pre-deployment caveats note. Uses the existing two-level fade-in.nearhackathon.md(November 2026 NEAR Hackathon, AI Security & Defense, this repo plus the matching formal verification in shared-pool: formal verification of shared-pool-controls v1.0.0 formalver#31, and the two-team membership note for gabehamilton / invest-in-near) and links it from the README.maininstead of the old feature branch.Notes
--helpfor their version.🤖 Generated with Claude Code