Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
ab32119
feat(contracts): add ERC-20 staking vault (#1088)
Kemperino Aug 29, 2026
b782b13
feat(proofs): use ERC-20 vault for game bonds (#1089)
Kemperino Aug 31, 2026
20dac21
test(devnet): fund ERC-20 proof-system bonds (#1091)
Kemperino Aug 31, 2026
d7dcea0
feat(devnet): deploy mock bond token independently (#1099)
Kemperino Aug 31, 2026
b50a29b
chore(proofs): prepare v1.0.0-rc.2 (#1100)
Kemperino Aug 31, 2026
72c6186
chore: record and allowlist enclave PCRs for proofs/v1.0.0-rc.2 (#1102)
github-actions[bot] Aug 31, 2026
80c4f82
test(proof-system): add e2e devnet tests for challenger (#1107)
alessandromazza98 Sep 1, 2026
d10730c
feat(proofs): instrument witness collection (#1105)
Kemperino Sep 1, 2026
bbd413b
feat(proofs): configure witness timeout from environment (#1108)
Kemperino Sep 2, 2026
5c71c17
test(proof-system): add e2e devnet tests for proof invariants (#1109)
alessandromazza98 Sep 2, 2026
cfb6c3b
Record Alphanet fresh proof-system deployment (#1103)
Kemperino Sep 3, 2026
d6bc2ca
fix(proofs): allow optimistic retries for timed-out games (#1111)
alessandromazza98 Sep 4, 2026
771c400
ci: enable Karst acceptance checks on stage (#1113)
Kemperino Sep 7, 2026
b109174
test(proof-system): add L2->L1 withdrawal test against alphanet (#1114)
alessandromazza98 Sep 7, 2026
809f5cc
test(proof-system): add challenger tests against alphanet (#1116)
alessandromazza98 Sep 7, 2026
19b4f90
test(proof-system): add proof invariants tests against alphanet (#1118)
alessandromazza98 Sep 8, 2026
b6424ea
chore: bump semaphore-rs to 0.6.0 (#1120)
alessandromazza98 Sep 8, 2026
e60ab74
fix: 2718 transaction decoding and bump op-reth (#1125)
0xOsiris Sep 8, 2026
aedcb25
fix(nix): avoid fetching Optimism Solidity submodules (#1122)
alessandromazza98 Sep 9, 2026
a0dc267
feat(proofs): log local SP1 limit estimation progress (#1124)
Kemperino Sep 9, 2026
b800e02
feat: add e2e-withdrawal binary (#1127)
alessandromazza98 Sep 10, 2026
d0ef023
chore(proofs): Record Alphanet mock bond proof deployment (#1128)
Kemperino Sep 10, 2026
676cb99
feat(proofs): add L1 RPC fallback for proposer|challenger|defender (#…
Kemperino Sep 10, 2026
36bb2de
feat(e2e-withdrawal): add aws s3 buckets support (#1130)
alessandromazza98 Sep 11, 2026
2777e38
fix(proofs): cancel obsolete proof jobs (#1131)
Kemperino Sep 11, 2026
51477f1
feat: add dockerfile for e2e-withdrawal binary (#1133)
alessandromazza98 Sep 11, 2026
bdfdc72
feat(proofs): SP1 Crypto Patches (#1134)
Kemperino Sep 11, 2026
937ceeb
feat: SP1 Patches (#1136)
Kemperino Sep 11, 2026
6bd8863
perf(proofs): enable LTO for canonical SP1 guest builds (#1137)
Kemperino Sep 11, 2026
c1a94c3
chore(proofs): prepare RC3 release (#1138)
Kemperino Sep 11, 2026
dd06899
feat(e2e-withdrawal): add step command to e2e-withdrawal (#1135)
alessandromazza98 Sep 11, 2026
af9f016
fix(proofs): remove SP1 guest LTO overrides and refresh vkeys (#1141)
Kemperino Sep 13, 2026
7e95d7a
chore: record and allowlist enclave PCRs for proofs/v1.0.0-rc.4 (#1143)
github-actions[bot] Sep 13, 2026
bbcf3c0
fix(contracts): reject locally doomed parents in MultiProofGame (#1145)
alessandromazza98 Sep 14, 2026
3f270a6
feat(defender): submit proofs through private RPC (#1142)
Kemperino Sep 14, 2026
cf69c01
feat(e2e-withdrawal): add typed outcomes and workflow errors (#1144)
alessandromazza98 Sep 15, 2026
952bfe0
feat(e2e-withdrawal): run withdrawal workflows continuously with boun…
alessandromazza98 Sep 15, 2026
35e1fd8
chore(e2e-withdrawal): use json() fmt for logs (#1148)
alessandromazza98 Sep 15, 2026
39a07c0
feat(e2e-withdrawal): add aws kms support (#1150)
alessandromazza98 Sep 16, 2026
b585d3f
chore(e2e-withdrawal): scaffolding (#1151)
alessandromazza98 Sep 16, 2026
18236a3
chore(docker): exclude runtime stage from build cache (#1153)
gabrielsoltz-tfh Sep 16, 2026
57cc854
chore(deps): update chacha20 to 0.10.2 (0.10.1 is yanked) (#1149)
Dzejkop Sep 16, 2026
3dd0891
refactor(e2e-withdrawal): reuse L1/L2 providers across workflow ticks…
alessandromazza98 Sep 16, 2026
fd135c0
ci(e2e-withdrawal): publish multi-architecture images to GHCR (#1155)
alessandromazza98 Sep 16, 2026
d011082
fix(e2e-withdrawal): recover from finalize lag and add shared retries…
alessandromazza98 Sep 17, 2026
83f1494
feat: add `invalid-parent` agent skill (#1157)
alessandromazza98 Sep 18, 2026
69c7ac9
feat(skill): add scan-invalid-games skill (#1158)
alessandromazza98 Sep 18, 2026
f968c23
feat: add investigate-game skill (#1160)
alessandromazza98 Sep 21, 2026
5aa2c92
feat: add check-wip1006-config (#1161)
alessandromazza98 Sep 22, 2026
75a2dca
feat: return the proofs release used onchain (#1162)
alessandromazza98 Sep 23, 2026
e1171ed
fix(proofs): harden validation, reuse upstream Kona and upgrade SP1 (…
Kemperino Sep 25, 2026
08a0e9b
fix: account status (#1168)
0xForerunner Sep 26, 2026
69f2245
chore: add Peter as code owner (#1170)
alessandromazza98 Sep 28, 2026
e1f340e
bump(world-chain): version v2.4.4 (#1169)
alessandromazza98 Sep 28, 2026
dcafaba
bump: proof system v1.0.0-rc.5 (#1167)
alessandromazza98 Sep 28, 2026
ed1b840
chore: record and allowlist enclave PCRs for proofs/v1.0.0-rc.5 (#1172)
github-actions[bot] Sep 28, 2026
23b94a3
chore(alphanet): fresh alphanet values (#1173)
alessandromazza98 Sep 28, 2026
6ef2c6b
chore(betanet): add betanet deployments (#1174)
alessandromazza98 Sep 30, 2026
076ef01
chore(alphanet): update proof system values (#1177)
alessandromazza98 Oct 1, 2026
9a6b548
chore: add agent instructions (#1178)
0xOsiris Oct 1, 2026
4ba6231
chore(alphanet): new l2 block interval (#1179)
alessandromazza98 Oct 2, 2026
fee736f
chore(alphanet): update rollup config hash (#1180)
alessandromazza98 Oct 2, 2026
3c3d5dc
feat: add pending-games agent skill (#1181)
alessandromazza98 Oct 5, 2026
55b471a
feat(proofs): add recovery parent override for proposer and defender …
alessandromazza98 Oct 5, 2026
50856ce
fix: use panic = unwind (#1183)
alessandromazza98 Oct 5, 2026
fd11d21
chore(alphanet): update values (#1184)
alessandromazza98 Oct 5, 2026
ea6c894
chore: bump world-chain to v2.4.5 (#1185)
alessandromazza98 Oct 5, 2026
51d30e4
feat: add recovery-parent skill (#1188)
alessandromazza98 Oct 6, 2026
2b7dfe8
chore(alphanet): fresh values (#1189)
alessandromazza98 Oct 7, 2026
7d68ff0
chore: bump to op-reth v2.6.0 (#1191)
alessandromazza98 Oct 10, 2026
0733816
chore: bump rust toolchain to latest nightly (#1195)
alessandromazza98 Oct 11, 2026
da6efa8
fix(validator): verify received flashblock access list hash (#1196)
alessandromazza98 Oct 12, 2026
5ca80c4
fix(validator): enforce cumulative gas and DA limits (#1197)
alessandromazza98 Oct 13, 2026
8d03c1c
fix(proofs): authenticate starting output roots before range executio…
alessandromazza98 Oct 14, 2026
fa8dc29
chore: remove benchmark ci (#1202)
alessandromazza98 Oct 19, 2026
cbb315f
feat(ci): add risk-based pull request review gates (#1203)
alessandromazza98 Oct 21, 2026
10b1867
fix(ci): keep superseded review jobs out of PR checks (#1205)
alessandromazza98 Oct 21, 2026
aaca72d
fix(ci): accept Bugbot reviews for unchanged patches (#1206)
alessandromazza98 Oct 21, 2026
d0a82e3
docs(ci): document review-policy token rotation (#1204)
alessandromazza98 Oct 21, 2026
3d78ef2
fix(ci): reduce review-policy API usage and recover from throttling (…
alessandromazza98 Oct 21, 2026
c704dff
fix(ci): limit global review refreshes to policy changes (#1208)
alessandromazza98 Oct 21, 2026
4827b52
fix(ci): publish review gates as commit statuses (#1210)
alessandromazza98 Oct 21, 2026
5b18a10
fix(deps): distrust compromised eMudhra certificate authorities (#1209)
alessandromazza98 Oct 21, 2026
03435e0
chore: bump world-chain to v2.6.0 (#1212)
alessandromazza98 Oct 21, 2026
554f46c
Merge tag 'v2.6.0' into bump/v2.6.0
sduchesneau Oct 22, 2026
ab9f894
Record the v2.6.0 Battlefield run
sduchesneau Oct 22, 2026
9cd7dac
Pin the Firehose forks to world-chain-v2.6.0-fh3.1
sduchesneau Oct 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .agents/skills/check-wip1006-config/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
name: check-wip1006-config
description: Inspect the active WIP-1006 factory configuration from an L1 AnchorStateRegistry at one finalized snapshot, including safety state, Nitro PCR approvals, and optional implementation comparison.
---

Run `python3 scripts/check_config.py <anchor_state_registry> <mainnet|sepolia> [l1_rpc] [--implementation <address>]`, resolving the script relative to this skill directory. Execute directly; do not read/recreate the script unless troubleshooting. Requires Python standard library, Foundry `cast` (local Keccak only), and the adjacent investigate-game RPC helper. GitHub CLI authentication (`gh auth login`) or `GH_TOKEN`/`GITHUB_TOKEN` with repository push access lets the release lookup include draft releases. No transactions are sent.

RPC defaults: `ETHEREUM_PROVIDER` for mainnet, `ETHEREUM_SEPOLIA_PROVIDER` for sepolia. An explicit URL overrides the environment. Never expose URLs/credentials. Wrong chain IDs fail. Reads use an EIP-1898 canonical block hash, preferably finalized; unsupported finalized tags fall back explicitly to latest. Historical state, JSON-RPC batches and event queries are required. No unpinned state fallback is permitted.

Return the script's compact text report directly, preserving complete addresses/hashes, UNKNOWN fields, checks, provenance, and snapshot metadata. Exit 1 means incomplete or inconsistent configuration; partial output is useful but is not a clean bill of health. Do not infer missing values from existing games or deployment files. If factory discovery fails, report the failed registry getter rather than guessing a deployment.

The script discovers registry → factory → `gameImpls(1006)`, SystemConfig/SuperchainConfig, bond vault/token, SP1 backend, council authority, Nitro key registry → attestation verifier → certificate/P384 dependencies. It checks registration, immutable relationships, constructor constraints, proof domain, ETH init bond (must be zero with this ERC-20 architecture), pauses and PCR approvals. Game type 1006 and domain encoding version 1 are protocol identifiers from repository source, not deployment configuration.

`--implementation` adds an OLD (currently registered) vs NEW (supplied candidate) comparison of all collected implementation/dependency parameters at the same snapshot, including unchanged values. Changes are not classified as safe/unsafe. The candidate is not assumed activated.

Active means the implementation registered at the snapshot, used by games created after its activation. `setImplementation()` does not update existing games. Existing game parameters are never evidence of current factory configuration.

PCR0/1/2 are **Keccak digests of raw PCRs**, not raw SHA-384 PCR bytes. The implementation pins only PCR0 (`teeImageId`); there is no unique expected PCR1/2. Approval events supply candidate triples, and `isPCRSetApproved` verifies current state. Scanning is bounded (64 requests and 180 seconds per verifier); unavailable/incomplete history means UNKNOWN, never “not approved.” A missing approved triple blocks new registrations, but PCR revocation does not revoke already registered signers.

The report identifies the `proofs/...` release matching the active implementation's aggregation vkey, range vkey commitment, and `teeImageId`. The script reads release notes from the [world-chain releases](https://github.com/worldcoin/world-chain/releases) via GitHub's API and hashes each release's raw PCR0 before comparing it with the onchain image ID. All three values must match one release. Draft releases require GitHub authentication with push access; without confirmed draft visibility, a search with no published match reports UNKNOWN because drafts could match. A complete search with no match reports that the onchain proofs release doesn't match any release in the world-chain releases section. Missing onchain values, unavailable GitHub data, malformed release notes, or an incomplete search also report UNKNOWN. This is release metadata identification, not proof artifact verification.

Limitations: this inspects the repository's contract interfaces, not arbitrary future implementations. Getter compatibility/code presence cannot authenticate deployed bytecode, prove key/artifact correctness, test a proof, or certify end-to-end availability. Custom verifier adapters may yield UNKNOWN dependencies. The supplied registry is the trust root, not independently authenticated as a canonical deployment. No automatic network switch. No signer inventory, private keys, certificate cache enumeration, or existing-game inspection. RPC completeness is trusted for historical logs.

Examples:

```text
$check-wip1006-config 0x... sepolia
$check-wip1006-config 0x... mainnet https://... --implementation 0x...
```

Example report shape (illustrative, not live data; actual addresses/hashes are untruncated):

```text
WIP-1006 Active Configuration
Network: sepolia | Chain ID: 11155111
Snapshot: <number> | <hash> | <UTC timestamp> | finalized
...
WIP-1006
implementation: <address>
proposerBond: <integer> [raw ERC-20 units]
...
TEE Attestation
PCR0=<digest> PCR1=<digest> PCR2=<digest> approved=True
...
Onchain proofs release: proofs/v1.0.0-rc.4
Release source: https://api.github.com/repos/worldcoin/world-chain/releases
...
Checks
[OK] Factory init bond is zero (ETH); proposer bond uses the ERC-20 vault
[UNKNOWN] Proof artifacts/key correctness cannot be established from getters
...
Discovered via
implementation: factory.gameImpls(1006)
...
```
Loading
Loading