Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
760 commits
Select commit Hold shift + click to select a range
916158c
add freeze macro
open-junius Jun 19, 2026
7695b2f
auto-update benchmark weights
github-actions[bot] Jun 19, 2026
4855bf3
upgrade version and fix build
open-junius Jun 22, 2026
07ffd42
remove duplicate sudo_set_subnet_owner_hotkey
JohnReedV Jun 22, 2026
2c8a3fd
bump spec
JohnReedV Jun 22, 2026
f38c0db
deprecate `BlockEmission` & create rpc
JohnReedV Jun 22, 2026
23039e0
update deprecation note
JohnReedV Jun 22, 2026
3e606f0
chore: auditor auto-fix
Jun 22, 2026
7994692
auto-update benchmark weights
github-actions[bot] Jun 22, 2026
6125af1
Merge branch 'devnet-ready' into feat/account-dust-collection
sam0x17 Jun 23, 2026
b37a197
Merge branch 'devnet-ready' into block-emission-rpc
JohnReedV Jun 23, 2026
bb71e41
Fix crowdloan reentrancy bug
l0r1s Jun 23, 2026
977d534
Update weights.rs
JohnReedV Jun 23, 2026
3ef6894
Merge branch 'devnet-ready' into block-emission-rpc
JohnReedV Jun 23, 2026
7d2c726
Merge branch 'devnet-ready' into block-emission-rpc
JohnReedV Jun 23, 2026
096a405
remove sudo_set_subnet_owner_hotkey everywhere
JohnReedV Jun 23, 2026
bff5760
Update weights.rs
JohnReedV Jun 23, 2026
612d546
Merge branch 'devnet-ready' into fix-crowdloan-reentrancy
l0r1s Jun 23, 2026
ab38313
Merge branch 'devnet-ready' into fix-crowdloan-reentrancy
l0r1s Jun 23, 2026
7c45c97
Trigger CI
l0r1s Jun 24, 2026
d141ec2
Check CrowdloanCurrentId in finalize
l0r1s Jun 24, 2026
8a4bad0
auto-update benchmark weights
github-actions[bot] Jun 24, 2026
fb5a4cd
Merge branch 'devnet-ready' into block-emission-rpc
JohnReedV Jun 24, 2026
1194374
merge devnet-ready
gztensor Jun 24, 2026
0cee4d1
auto-update benchmark weights
github-actions[bot] Jun 24, 2026
069029f
bump spec
JohnReedV Jun 24, 2026
2303adc
Merge branch 'devnet-ready' into remove-duplicate-set-sn-owner-key
JohnReedV Jun 24, 2026
eb25e8f
Extract proxy related types
l0r1s Jun 24, 2026
59b467a
Rework define_proxy_filters into call_filter_group macro
l0r1s Jun 24, 2026
fd5e882
Fix compilation error
l0r1s Jun 24, 2026
00e256b
fix conflict
open-junius Jun 25, 2026
3eedbd5
fix unit test
open-junius Jun 25, 2026
db24fe4
Address ai review: Handle reservoirs properly on network dissolution
gztensor Jun 25, 2026
1d990af
conflicts
gztensor Jun 25, 2026
0a0ce14
spec bump
gztensor Jun 25, 2026
ca2335e
spec bump
gztensor Jun 25, 2026
75b7b79
fix unit test
open-junius Jun 25, 2026
9efcbe7
add 3 more Ink interface
open-junius Jun 25, 2026
d74b987
auto-update benchmark weights
github-actions[bot] Jun 25, 2026
6eb4031
update test case
open-junius Jun 25, 2026
51d5e04
fix unit tests
open-junius Jun 25, 2026
4bf9055
format ts code
open-junius Jun 25, 2026
2c73b8f
chore: auditor auto-fix
Jun 25, 2026
f2c7bea
format ts code
open-junius Jun 25, 2026
aeeefa5
format code
open-junius Jun 25, 2026
1a5da03
Merge pull request #2778 from opentensor/block-emission-rpc
JohnReedV Jun 25, 2026
fe25a01
Merge pull request #2777 from opentensor/remove-duplicate-set-sn-owne…
JohnReedV Jun 25, 2026
447ca99
Refactor adjust_protocol_liquidity
gztensor Jun 25, 2026
265a501
Add initial call groups
l0r1s Jun 25, 2026
d4a6da2
fix bugs
open-junius Jun 25, 2026
5751675
cargo clippy
open-junius Jun 25, 2026
d370972
fix conflict
open-junius Jun 26, 2026
424efa4
fix several issue in the comments
open-junius Jun 26, 2026
539200b
try without patch
open-junius Jun 26, 2026
4ec382c
Revert "try without patch"
open-junius Jun 26, 2026
ffe705c
make the test stable
open-junius Jun 26, 2026
d1ae758
format code
open-junius Jun 26, 2026
aecf5a1
Merge branch 'devnet-ready' into fix-crowdloan-reentrancy
l0r1s Jun 26, 2026
2c82c55
Rework call groups + tests
l0r1s Jun 26, 2026
171b5e5
Rework call groups + more tests
l0r1s Jun 26, 2026
2841b5e
Merge branch 'devnet-ready' into proxy-deny-by-default
l0r1s Jun 26, 2026
e9050d4
Fix common Cargo.toml
l0r1s Jun 26, 2026
77e6bfc
Fix removed extrinsic
l0r1s Jun 26, 2026
1490758
bump version
open-junius Jun 29, 2026
5cd2a57
Fix rust
l0r1s Jun 26, 2026
6d13cf3
Merge branch 'devnet-ready' into fix-crowdloan-reentrancy
l0r1s Jun 29, 2026
724bb84
Bump spec version to 424
l0r1s Jun 29, 2026
a63880d
use StartCallNotReady
JohnReedV Jun 29, 2026
bf519d0
bump spec
JohnReedV Jun 29, 2026
559e62c
Merge branch 'devnet-ready' into chore/clean-rate-limits
Jun 29, 2026
f02efd6
clippy fix after merge conflict
Jun 29, 2026
e7f1bfd
spec version bump
Jun 29, 2026
cb26860
Merge branch 'main' into hotfixes-29-06-2026
l0r1s Jun 29, 2026
a36fc33
Added set_reject_locked_alpha to SubtensorCommonCalls
l0r1s Jun 30, 2026
992cfc6
Bump spec version to 424
l0r1s Jun 30, 2026
1cb69bd
Trigger CI
l0r1s Jun 30, 2026
1c305d6
Remove registry pallet cleanup migration
l0r1s Jun 30, 2026
a5202f6
Bump spec version to 424
l0r1s Jun 30, 2026
f6c858a
Use local try-runtime action
l0r1s Jun 30, 2026
612e09b
auto-update benchmark weights
github-actions[bot] Jun 30, 2026
08c1a21
isSubnetDissolving interface
open-junius Jun 30, 2026
7bdc3c0
fixed tests
Jun 30, 2026
1d5ccec
Merge pull request #2786 from opentensor/fix-crowdloan-reentrancy
l0r1s Jun 30, 2026
6c3c519
Merge pull request #2815 from opentensor/remove-registry-migration
l0r1s Jun 30, 2026
0caa50f
Merge pull request #2816 from opentensor/fix-ci-29-06-2026
l0r1s Jun 30, 2026
9759f67
Add eco-tests protecting Mentat indexer storage reads
yeuyeuh Jun 29, 2026
24f1d95
Merge branch 'devnet-ready' into proxy-deny-by-default
l0r1s Jun 30, 2026
f77dcce
Add AlphaV2 presence test
gztensor Jun 30, 2026
e5b15ca
Fix import
l0r1s Jun 30, 2026
9d49f17
Remove Alpha and AlphaV2 presence test from mentat eco
gztensor Jun 30, 2026
d9bfd08
Add missing faucet call
l0r1s Jun 30, 2026
531e042
Make is_superset explicit allowlist
l0r1s Jun 30, 2026
22842e4
Merge branch 'devnet-ready' into hotfixes-29-06-2026
l0r1s Jun 30, 2026
2519652
Merge pull request #2814 from opentensor/hotfixes-29-06-2026
sam0x17 Jun 30, 2026
5a06a94
fix the conflict
open-junius Jul 1, 2026
c4b8e77
fix unit test
open-junius Jul 1, 2026
12d04c0
Merge pull request #2727 from opentensor/chore/clean-rate-limits
open-junius Jul 1, 2026
c7fad8d
fix unit test
open-junius Jul 1, 2026
6b7222a
Merge pull request #2797 from opentensor/add-tests-for-new-query
open-junius Jul 1, 2026
6a4206f
Merge pull request #2802 from opentensor/proxy-deny-by-default
l0r1s Jul 1, 2026
5c1c7ff
Update eco-tests/src/mock.rs
gztensor Jul 1, 2026
71044fd
Update eco-tests/src/mock.rs
gztensor Jul 1, 2026
026b8f3
Fix AI fix
gztensor Jul 1, 2026
06be4f7
clean merge
gztensor Jul 1, 2026
a778e62
Merge branch 'devnet-ready' into fix/handle-misbalance-on-injection
gztensor Jul 1, 2026
9d8075b
spec bump
gztensor Jul 1, 2026
5920b0e
Merge branch 'devnet-ready' into feat/ck-take-settings-pays-yes
gztensor Jul 1, 2026
5379154
spec bump
gztensor Jul 1, 2026
e55934b
Merge branch 'devnet-ready' into hotfix/propagate-hotkey-swap-conviction
gztensor Jul 1, 2026
0e9b807
spec bump
gztensor Jul 1, 2026
52644cc
spec bump
gztensor Jul 1, 2026
20186f7
spec bump
gztensor Jul 1, 2026
dde5eec
merge upstream
gztensor Jul 1, 2026
9380698
spec bump
gztensor Jul 1, 2026
f30fc5c
spec bump
gztensor Jul 1, 2026
2e7a0f7
merge conflicts
gztensor Jul 1, 2026
3cb715d
Update pallets/subtensor/src/tests/swap_hotkey_with_subnet.rs
gztensor Jul 1, 2026
713052a
chore: auditor auto-fix
Jul 1, 2026
a259fed
add finalize after contract deploy
open-junius Jul 2, 2026
5f2c452
add new case
open-junius Jul 3, 2026
e8ed66e
fix the issue of same identifier for same coldkey
open-junius Jul 3, 2026
0a6ebe6
cargo clippy
open-junius Jul 3, 2026
b75479d
commit Cargo.lock
open-junius Jul 3, 2026
6dc423b
commit Cargo.lock
open-junius Jul 3, 2026
5b74a6d
fix unit test
open-junius Jul 3, 2026
4dd460c
add block run
open-junius Jul 3, 2026
1bb29ac
Merge branch 'devnet-ready' into benchmark-dissolve-network
open-junius Jul 6, 2026
3200a6f
remove credit_subnet_account_shortfall
open-junius Jul 6, 2026
d10a8db
format code
open-junius Jul 6, 2026
19b8435
auto-update benchmark weights
github-actions[bot] Jul 6, 2026
e932dd4
Merge branch 'devnet-ready' into coldkey-pays-tx-fees-if-hotkey-origin
l0r1s Jul 6, 2026
177ffc7
Merge pull request #2820 from RaoFoundation/avoid-nonce-reuse-error
UnArbosThree Jul 6, 2026
57b8bc3
Added reverse index for AssociatedEvmAddress
l0r1s Jul 5, 2026
d3827a6
Merge branch 'fix/handle-misbalance-on-injection' into feat/squashed-…
gztensor Jul 6, 2026
6f958f8
Handle balancer misbalance on injection
gztensor Jul 6, 2026
a69f54a
Merge branch 'feat/ck-take-settings-pays-yes' into feat/squashed-2026…
gztensor Jul 6, 2026
0287eab
Merge branch 'hotfix/propagate-hotkey-swap-conviction' into feat/squa…
gztensor Jul 6, 2026
7890168
conflicts
gztensor Jul 6, 2026
af08e7a
Merge branch 'feat/account-dust-collection' into feat/squashed-2026-0…
gztensor Jul 6, 2026
8d92576
confclicts
gztensor Jul 6, 2026
e229913
conflicts
gztensor Jul 6, 2026
9dfbf0b
fmt coinbase tests
gztensor Jul 6, 2026
06489b4
remove contract-tests generated files
gztensor Jul 7, 2026
c291db6
clippy
gztensor Jul 7, 2026
5c6de1f
upgrade cid package
open-junius Jul 7, 2026
6f8da13
Some refactoring
l0r1s Jul 7, 2026
4ae8304
Merge branch 'devnet-ready' into coldkey-pays-tx-fees-if-hotkey-origin
l0r1s Jul 7, 2026
bb676ae
Fix AI review
l0r1s Jul 7, 2026
e3a92aa
Drop tip for hotkey based origin
l0r1s Jul 7, 2026
f72d089
cargo fmt
l0r1s Jul 7, 2026
8f0e7d4
Fix tests
l0r1s Jul 7, 2026
e14e463
Fix AI review
l0r1s Jul 7, 2026
571848b
Fix AI review 2 + remove limit + update comment
l0r1s Jul 7, 2026
e072065
Merge pull request #2811 from RaoFoundation/fix-start-call-error
UnArbosSix Jul 7, 2026
4cb0523
chore: update repo URLs and crate metadata for RaoFoundation org move
Jul 7, 2026
45999f7
ci: point workflows and review tooling at RaoFoundation repos
Jul 7, 2026
d091d3a
ci: lowercase GHCR image names in docker publish workflows
Jul 7, 2026
621583e
docker: move image references to the ghcr.io/raofoundation namespace
Jul 7, 2026
7a8e436
deps: update frontier and bls git dependencies to RaoFoundation
Jul 7, 2026
22dd037
scripts: recognize RaoFoundation branch names in release notes
Jul 7, 2026
0c3d92d
Merge main into org-transfer to backport pending changes to devnet-ready
Jul 7, 2026
f0fa8ba
bump spec to 426
Jul 7, 2026
7dfd2a4
ci: fix invalid YAML in check-node-compat workflow
Jul 7, 2026
d084d43
Merge pull request #2834 from RaoFoundation/org-transfer
UnArbosThree Jul 7, 2026
f039a34
fix conflict
open-junius Jul 8, 2026
54e6d49
fix conflict
open-junius Jul 8, 2026
4f3d5ff
Merge pull request #2570 from RaoFoundation/coldkey-pays-tx-fees-if-h…
l0r1s Jul 8, 2026
8ab7f9c
Merge pull request #2830 from RaoFoundation/fix-uid-lookup
l0r1s Jul 8, 2026
820882a
fix conflict
open-junius Jul 8, 2026
45dbee4
clean up AssociatedUidsByEvmAddress
open-junius Jul 8, 2026
53eb334
update test case to check AssociatedUidsByEvmAddress cleanup
open-junius Jul 8, 2026
737e207
revert upgraded package
open-junius Jul 8, 2026
0a17c85
Consolidate Bittensor monorepo: SDK, py-sp-core, website, docs, clone…
unarbos Jul 8, 2026
c192c06
Merge pull request #2412 from RaoFoundation/benchmark-dissolve-network
open-junius Jul 8, 2026
498e7a5
Fix website monorepo cleanup regressions (#2840)
UnArbosFive Jul 9, 2026
3c76808
Harden CI, extension bridge auth, and release-train follow-ups.
unarbos Jul 9, 2026
d23b6b4
Fix CI gates: restore mainline rustfmt config, clippy warnings, docs …
unarbos Jul 9, 2026
bc7d239
ci: retrigger after Actions policy fix
unarbos Jul 9, 2026
e1d7b1d
Migrate clone js-tests to TypeScript, restructure EVM docs, add signe…
unarbos Jul 9, 2026
9aa4743
Fix Dependabot alerts: bump vulnerable deps across Cargo, pnpm, npm, …
unarbos Jul 9, 2026
d3a56f9
Pin CI actions and installers by SHA/version, harden deploy WASM veri…
unarbos Jul 9, 2026
a15449e
Bump vulnerable transitive deps flagged by Dependabot: bytes, time, k…
unarbos Jul 9, 2026
877a1ca
Fix remaining CI failures: audit ignores for fork-inherited advisorie…
unarbos Jul 9, 2026
301f4c1
Merge devnet-ready into mono-bittensor: dissolve-network benchmarks, …
unarbos Jul 9, 2026
ad2e8d5
Fix SDK e2e matrix: pass -m e2e so the runner overrides the default '…
unarbos Jul 9, 2026
de52967
Add 'bittensor-drand/' from commit 'd7baf9765f39d6c9c876777efe14a4bd1…
unarbos Jul 9, 2026
a380049
ai-review prefetch: reconstruct oversized diffs from the local checko…
unarbos Jul 9, 2026
70709e5
auto-update benchmark weights (pallet_subtensor, pallet_limit_orders,…
unarbos Jul 9, 2026
96c1803
Surface swallowed clone-upgrade errors and fix SDK e2e marker deselec…
unarbos Jul 9, 2026
7f85114
Fold bittensor-drand into the workspace and move the SDK to drand 2.0…
unarbos Jul 9, 2026
9eb1030
Add transport benchmarks and the bittensor-core spec: measurements sh…
unarbos Jul 9, 2026
fe63683
Rework the bittensor-core spec into an execution plan: foundational d…
unarbos Jul 9, 2026
061cb35
Spec: apply subtract-before-add review (no shims, corpus-as-parity-ha…
unarbos Jul 9, 2026
32f2292
Spec: record decisions (claim bittensor-core on PyPI, delete drand C …
unarbos Jul 9, 2026
4697465
sdk: phase 0 of bittensor-core — shape corpus, crate skeleton, wheel CI
unarbos Jul 9, 2026
fa8fe38
Consolidate py-sp-core and bittensor-drand into bittensor-core
unarbos Jul 9, 2026
4762304
sdk: phase 2 of bittensor-core — RFC-0078 digest, Ledger clear-signin…
unarbos Jul 10, 2026
aad9665
bittensor-core: Rust Runtime + codec engine with Python bindings
unarbos Jul 10, 2026
4b9ac81
merge devnet-ready
UnArbosFour Jul 10, 2026
330137d
cleanup merge
UnArbosFour Jul 10, 2026
0786977
sdk: phase 3 of bittensor-core — Rust codec becomes the production seam
unarbos Jul 10, 2026
a1d8da3
sdk: phase 5 of bittensor-core — docs catch up with the consolidated …
unarbos Jul 10, 2026
b0869be
sdk: move bittensor-core and bittensor-core-py under sdk/
unarbos Jul 10, 2026
8ef2f3d
Review fixes: bump spec_version to 428, enable dead refund-path test,…
unarbos Jul 10, 2026
5dd95fe
sdk: bittensor-core audit fixes — recursion guards, core-owned orches…
unarbos Jul 10, 2026
13dd1af
js-tests: track sudo_set_subnet_owner_hotkey deprecation in proxy-fil…
unarbos Jul 10, 2026
0241bc8
sdk: statically link vendored OpenSSL so bittensor-core wheels build …
unarbos Jul 10, 2026
1d5556a
ci: rename e2e localnet image variable to LOCALNET_IMAGE, keeping LOC…
unarbos Jul 10, 2026
de4d43a
evm: catch precompile docs and CLI up with the runtime — voting-power…
unarbos Jul 10, 2026
a9140ba
cli: accept v9 group shorthands and snake_case spellings as hidden al…
unarbos Jul 10, 2026
14e4c30
vendor: bring the w3f-bls no-std fork in-tree, replacing the RaoFound…
unarbos Jul 10, 2026
7ee9db6
fix: validate both vendored BLS secret key shares
UnArbosFour Jul 10, 2026
b5d06a5
Squashed 'vendor/frontier/' content from commit d553a1155
unarbos Jul 10, 2026
49b3fc3
vendor: rustfmt the w3f-bls aggregate example so cargo fmt --check pa…
unarbos Jul 10, 2026
b7e1969
ci: fetch full base history in ai-review so the oversized-diff fallba…
unarbos Jul 10, 2026
fcac9b3
sdk: accept the legacy double-wrapped newtype sequence shape in the c…
unarbos Jul 10, 2026
71fc7d3
sdk: wait out MEV Shield NextKey rotation before declaring the pallet…
unarbos Jul 10, 2026
38c3e4c
Merge commit 'b5d06a5bcde0e7d99af64d4efb59f598f45d5e1a' as 'vendor/fr…
unarbos Jul 10, 2026
e378dc6
build: switch frontier deps to the vendored subtree
unarbos Jul 10, 2026
e449829
Review fixes: bump spec_version to 428, add foreign-coldkey hotkey-sw…
unarbos Jul 10, 2026
b2feea1
ci: apply reference-runner benchmark weights for drifted pallets
unarbos Jul 10, 2026
b8c4c5d
ci: allow 15 minutes for clone node startup in Clone Upgrade Check
unarbos Jul 10, 2026
515349b
test: deflake zombienet_evm T25 by asserting on the StakeMoved event
unarbos Jul 10, 2026
91b42d5
Merge remote-tracking branch 'origin/feat/squashed-2026-07-06' into b…
unarbos Jul 10, 2026
f02face
vendor: strip trailing whitespace in frontier template ShieldApi impl…
unarbos Jul 10, 2026
50f4523
ci: path-filter the heavy workflows so website/docs/sdk-only pushes s…
unarbos Jul 10, 2026
de3a26a
ci: build once, fan out — consolidate try-runtime, spec-version, and …
unarbos Jul 10, 2026
86c6b68
ci: move the benchmark gate off the Benchmarking runner and target ch…
unarbos Jul 10, 2026
5fc21c1
ci: apply reference-runner benchmark weights for the merged runtime c…
unarbos Jul 10, 2026
f8664ff
Merge branch 'ci/path-filter-heavy-workflows' into bittensor-core-exp…
unarbos Jul 10, 2026
4e1c931
ci: replace dorny/paths-filter with plain gh-api path checks
unarbos Jul 10, 2026
1c53259
ci: label-gate benchmarks, spread hot jobs across runner pools
unarbos Jul 10, 2026
38bcab3
ci: snapshot-cache the mainnet clone and shard the regression suite
unarbos Jul 10, 2026
981c0b6
style: ruff-format five sdk files flagged by the new SDK offline chec…
unarbos Jul 10, 2026
721466a
ci: mold linker, line-table debuginfo, and nextest for Rust jobs
unarbos Jul 10, 2026
dbfd906
ci: shared sccache pool, mold linker, nextest, and CI debuginfo trim
unarbos Jul 10, 2026
32b7470
fix(sdk): import bittensor_core as a module so ty can check the callers
unarbos Jul 10, 2026
86ba7b3
ci: harden snapshot-restore run-id parsing and retry flaky first sudo…
unarbos Jul 11, 2026
e2cb6de
fix(clone): reset epoch-scheduler anchors in patched spec; tolerate l…
unarbos Jul 11, 2026
9a53cb5
ci: route the two critical-path compile jobs to fireactions-turbo
unarbos Jul 11, 2026
dcc180a
ci: add fireactions-turbo to the actionlint runner-label allowlist
unarbos Jul 11, 2026
0c9c06c
fix(clone-tests): adapt to queued subnet registration; prefetch histo…
unarbos Jul 11, 2026
7c8965c
ci: replace try-runtime live scrapes with nightly state snapshots
unarbos Jul 11, 2026
ad62db4
fix(clone-tests): opt transfer destinations into locked alpha
unarbos Jul 11, 2026
3dae55f
sdk: portable core seam + bittensor-core-wasm browser binding
unarbos Jul 11, 2026
feb7c21
ci: build the wasm smoke test in release — the dev profile overflows …
unarbos Jul 11, 2026
4d3f6e6
ci: shard sdk e2e tests per file, not per test; cache uv
unarbos Jul 11, 2026
dca0f4f
ci: ship the localnet image via GHCR instead of an artifact tarball
unarbos Jul 11, 2026
1644497
fix(locks): credit matured conviction to aggregates on roll-forward
unarbos Jul 11, 2026
d94f7b6
sdk: regenerate wire layer for spec 428 and classify the new errors
unarbos Jul 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .agents/skills/auditor/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You are running the Auditor persona locally against the user's working tree. The

Same detection as the Skeptic skill:
1. PR base via `gh pr view --json baseRefName` if a PR exists.
2. Default to `devnet-ready`.
2. Default to `devnet`.
3. Override via skill argument: `/auditor main`.

Compute the diff:
Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/skeptic/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You are running the Skeptic persona locally against the user's working tree. The

Detect the base branch in this order:
1. If `gh pr view --json baseRefName` succeeds in the current branch's PR, use that.
2. Else, default to `devnet-ready` (the policy base for new PRs).
2. Else, default to `devnet` (the policy base for new PRs).
3. Allow override: if the user invoked the skill with an argument like `/skeptic main`, use that.

Compute the diff:
Expand Down
1 change: 1 addition & 0 deletions .claude/skills
66 changes: 0 additions & 66 deletions .claude/skills/auditor/SKILL.md

This file was deleted.

59 changes: 0 additions & 59 deletions .claude/skills/skeptic/SKILL.md

This file was deleted.

25 changes: 0 additions & 25 deletions .devcontainer/devcontainer.json

This file was deleted.

9 changes: 9 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
self-hosted-runner:
# Fireactions-provisioned runner pools plus the dedicated benchmarking box.
labels:
- fireactions-light
- fireactions-heavy
- fireactions-turbo
- fireactions-tryruntime
- fireactions-tryruntime-finney
- Benchmarking
110 changes: 110 additions & 0 deletions .github/actions/rust-setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
name: "Rust setup"
description: >-
Common prologue for Rust jobs: system dependencies, stable toolchain with
optional components, and the shared Swatinem cache.

inputs:
cache-key:
description: "Swatinem/rust-cache key for this job"
required: true
components:
description: "Comma-separated toolchain components (e.g. clippy,rustfmt)"
default: ""
extra-packages:
description: "Extra apt packages beyond the standard build set"
default: ""

runs:
using: "composite"
steps:
- name: Install system dependencies
shell: bash
run: |
sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends \
-o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
build-essential clang curl git make libssl-dev llvm libudev-dev protobuf-compiler pkg-config \
python3 python3-dev \
${{ inputs.extra-packages }}

- name: Install Rust (stable)
uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable
with:
components: ${{ inputs.components }}

- name: Fast linker and CI debuginfo trim
shell: bash
run: |
# mold links in a fraction of GNU ld's time, and cargo test alone
# links dozens of test binaries. Guarded so a runner image without
# the mold package falls back to the default linker instead of
# failing every Rust job at setup.
if sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends mold; then
mkdir -p "$HOME/.cargo"
cat >> "$HOME/.cargo/config.toml" <<'EOF'
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
EOF
echo "mold enabled as linker"
else
echo "mold unavailable; keeping default linker"
fi
# Nothing in CI consumes full debuginfo; line tables keep panic
# backtraces readable while cutting codegen time and disk I/O.
# (Jobs that export RUSTFLAGS, like the warnings check, override the
# config rustflags above — harmless, since cargo check never links.)
{
echo "CARGO_PROFILE_DEV_DEBUG=line-tables-only"
echo "CARGO_PROFILE_TEST_DEBUG=line-tables-only"
} >> "$GITHUB_ENV"

# Registry/git-dependency cache only. Target-dir caching is deliberately
# off: nine jobs each snapshotting a multi-GB target dir thrashed the
# repo's 10 GB Actions-cache quota (constant LRU eviction, so most jobs
# ran cold anyway). Compiled objects are cached per-crate by sccache
# below, in one pool all Rust jobs share.
- name: Cargo registry cache
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
key: ${{ inputs.cache-key }}
cache-targets: false
cache-on-failure: true

- name: Install sccache
shell: bash
run: |
set -euo pipefail
version=v0.16.0
curl --fail --silent --show-error --location \
"https://github.com/mozilla/sccache/releases/download/${version}/sccache-${version}-x86_64-unknown-linux-musl.tar.gz" \
| tar -xz -C /tmp
sudo install -m 755 "/tmp/sccache-${version}-x86_64-unknown-linux-musl/sccache" /usr/local/bin/sccache
sccache --version

# The GHA cache backend needs the runner's cache-service URL and token,
# which GitHub only exposes to JS actions — hence the github-script hop
# (first-party, so no Actions-allowlist problem).
- name: Expose Actions cache credentials for sccache
uses: actions/github-script@v7
with:
script: |
for (const name of [
"ACTIONS_RESULTS_URL",
"ACTIONS_CACHE_URL",
"ACTIONS_CACHE_SERVICE_V2",
"ACTIONS_RUNTIME_TOKEN",
]) {
if (process.env[name]) core.exportVariable(name, process.env[name]);
}

- name: Enable sccache
shell: bash
run: |
{
echo "RUSTC_WRAPPER=sccache"
echo "SCCACHE_GHA_ENABLED=true"
# sccache cannot cache incremental compilation, and CI never reuses
# a working tree, so incremental is pure overhead here.
echo "CARGO_INCREMENTAL=0"
} >> "$GITHUB_ENV"
10 changes: 5 additions & 5 deletions .github/ai-review/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ workflow will automatically use its token instead.

### Setup

1. Create a GitHub App under the `opentensor` org:
1. Create a GitHub App under the `RaoFoundation` org:
- Settings → Developer settings → GitHub Apps → New GitHub App.
- Webhook: not needed; disable.
- Repository permissions:
Expand All @@ -39,7 +39,7 @@ workflow will automatically use its token instead.
- **Metadata**: Read
- User permissions: none.
- "Where can this GitHub App be installed?": Only on this account.
2. Install the App on the `opentensor/subtensor` repo (only).
2. Install the App on the `RaoFoundation/subtensor` repo (only).
3. From the App settings page, generate a private key (`.pem` file).
4. In repo Settings → Secrets and variables → Actions:
- Variables tab: add `AI_REVIEW_APP_ID` = the App's numeric ID.
Expand Down Expand Up @@ -98,12 +98,12 @@ the PR number. `workflow_dispatch` runs in base context with secrets
available, performs the real review, and the required checks turn green.

```bash
gh workflow run ai-review.yml --repo opentensor/subtensor -f pr_number=<N>
gh workflow run ai-review.yml --repo RaoFoundation/subtensor -f pr_number=<N>
```

## Required-checks setup

After the first successful run, add these to branch protection on `devnet-ready`
After the first successful run, add these to branch protection on `devnet`
(and other protected branches) under Settings → Branches → Branch protection rules:

- `ai-review / skeptic`
Expand All @@ -114,7 +114,7 @@ After the first successful run, add these to branch protection on `devnet-ready`
Manual trigger:

```bash
gh workflow run ai-review-index-gittensor.yml --repo opentensor/subtensor
gh workflow run ai-review-index-gittensor.yml --repo RaoFoundation/subtensor
```

Daily cron is already configured (06:17 UTC). The indexer opens a PR with any
Expand Down
8 changes: 4 additions & 4 deletions .github/ai-review/auditor.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Look up the PR author's gittensor association:

1. Read `.github/ai-review/known-gittensor-accounts.json` (auto-maintained from on-chain bounty data).
2. Read `.github/ai-review/gittensor-accounts.txt` (nucleus-curated supplement).
3. If neither matches, apply the heuristic: ≥70% of the author's recent merged PRs are to gittensor-whitelisted repos (subtensor / opentensor / latent-to / etc.) AND average PR size is small. If so, classify as `LIKELY`.
3. If neither matches, apply the heuristic: ≥70% of the author's recent merged PRs are to gittensor-whitelisted repos (subtensor / RaoFoundation / opentensor / latent-to / etc.) AND average PR size is small. If so, classify as `LIKELY`.

Tier the author:
- **KNOWN** (on-chain or curated): high confidence gittensor miner.
Expand Down Expand Up @@ -99,9 +99,9 @@ Apply `.github/copilot-instructions.md` in full. Particular emphasis:

| Base branch | Network endpoint | CI workflow |
| --- | --- | --- |
| `devnet` / `devnet-ready` | `wss://dev.chain.opentensor.ai:443` | check-devnet |
| `testnet` / `testnet-ready` | `wss://test.finney.opentensor.ai:443` | check-testnet |
| `finney` / `main` | `wss://entrypoint-finney.opentensor.ai:443` | check-finney |
| `devnet` | `wss://dev.chain.opentensor.ai:443` | check-devnet |
| `testnet` | `wss://test.finney.opentensor.ai:443` | check-testnet |
| `mainnet` | `wss://entrypoint-finney.opentensor.ai:443` | check-mainnet |
| anything else | _(no spec-version check)_ | — |

Also: a bump is NOT required if the PR carries the `no-spec-version-bump`
Expand Down
10 changes: 5 additions & 5 deletions .github/ai-review/common.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Subtensor AI Review — Shared Context

You are reviewing a pull request to **opentensor/subtensor**, the Substrate-based runtime for the Bittensor blockchain (~$4B market cap). Lives and livelihoods depend on the security and correctness of this code. Be thorough, precise, and uncompromising on safety.
You are reviewing a pull request to **RaoFoundation/subtensor**, the Substrate-based runtime for the Bittensor blockchain (~$4B market cap). Lives and livelihoods depend on the security and correctness of this code. Be thorough, precise, and uncompromising on safety.

## Repository topology

Expand All @@ -12,10 +12,10 @@ You are reviewing a pull request to **opentensor/subtensor**, the Substrate-base

## Branch strategy

- All non-deployment PRs must target `devnet-ready`.
- Deployment-only flow: `devnet-ready` → `devnet` → `testnet` → `main`.
- A PR targeting `main` directly is only legitimate if it is a hotfix or a deployment PR.
- `devnet` and `testnet` may only receive merges from their respective `-ready` branches.
- All non-deployment PRs must target `devnet`.
- Deployment-only flow: `devnet` → `testnet` → `mainnet`.
- A PR targeting `mainnet` directly is only legitimate if it is a hotfix or a deployment PR.
- `testnet` and `mainnet` may only receive promotion merges from the branch directly upstream of them.

## Severity tags

Expand Down
2 changes: 1 addition & 1 deletion .github/ai-review/post_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
Usage:
GH_TOKEN=... python3 post_review.py \
--persona skeptic --pr 2668 --repo opentensor/subtensor \
--persona skeptic --pr 2668 --repo RaoFoundation/subtensor \
--commit-sha <sha> --input-file skeptic-output.json
"""

Expand Down
Loading
Loading