{"component":"release","baseCommit":"423999f","paths":["release/deploy.py","release/README.md","test/release/test_deploy.py"],
"checks":[
{"command":"forge build","result":"pass","evidence":"built src/ and tests with no foundry.toml (defaults); out/TestToken.sol/TestToken.json, out/ShareStaking.sol/ShareStaking.json produced (local-only)"},
{"command":"python3 -m unittest discover -s test/release","result":"pass","evidence":"19 tests OK against a disposable local anvil (chain ID 11155111, synthetic accounts, local-only): fresh deploy token-first with matching status-1 receipts; restart with token tx deployed only staking (nonce +1); restart with both txs and --verify-only created nothing (nonce unchanged); rejections: wrong chain (31337, no tx sent), missing/failed(status 0)/mismatched receipts, wrong creation bytecode, tampered runtime byte, tampered immutable slot, wrong supply, wrong constructor caller, different creators, non-lowercase name, decimals!=18, totalSupply mismatch, staking.token mismatch, staking bound to other token, supply missing/zero/malformed; stdout is one manifest JSON line"},
{"command":"forge fmt --check","result":"pass","evidence":"exit 0; no .sol file changed; no foundry.toml so defaults apply"}],
"artifactInterfaces":{"TestToken":"constructor(uint256 initialSupply) mints to msg.sender; name/symbol constant 'test'; decimals constant 18; totalSupply immutable (1 slot); balanceOf, allowance, transfer, approve, transferFrom","ShareStaking":"constructor(address tokenAddress); token() immutable (4 slots); stake, withdraw, stakedBalance, totalStaked, pointsOf"},
"commands":{"deploy":"python3 release/deploy.py --initial-supply $BASE_UNITS --token-tx/--staking-tx ... [--verify-only] (signer: --account|--keystore|--unlocked-from|--interactive); stdout manifest {chainId,token,staking,tokenTx,stakingTx} unchanged","tests":"forge build && python3 -m unittest discover -s test/release -v"},
"changes":"Fixed pre-existing bugs: artifacts have no contractName (now identified by metadata compilationTarget); cast args ordering (--rpc-url after subcommand, options before --create); newer cast wraps --json in {schema_version,success,data} (unwrapped). Added: required initialSupply on every run, creation-input/sender/order checks, runtime identity masking immutables and verifying their values, decimals/totalSupply/creator balance checks, --verify-only, README handoff.",
"issues":["No foundry.toml/lib in repo; test files reuse default forge build. Not modified.","Local anvil receipts are not Sepolia evidence; no live deployment, signing or RPC was done.","Interactive confirm prompt not tested (tests use --confirm-token-address)."],
"followUp":["Operator must supply initialSupply, signer and Sepolia RPC for the live launch; then save stdout to site/deployment.json."],
"gate":"unverified"}
