Repository navigation
Add holder-consented skill migration and creator rotation - #1
NubsCarson wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Closing this together with the SDK companion (AgentNet#251), as the description asked if soulbound is intentional. It is. Skills are soulbound by design because the IP belongs to the creator: buyers use a copy, they do not resell it. The creator keeps selling fresh copies at their own price, and there is no secondary market or floor undercutting those primary sales. migrate_item introduces a holder-approved wallet-to-wallet move, which is a resale path and breaks that property, so we are not taking it. The drained-wallet recovery motive is understood, but creator/payout recovery would have to be a separate change that does not make copies transferable. |
My wallet was drained. Existing IQ functionality let me recover database-root control, 11 transferable skill-mint authority fields, Blockchan/ArNS ownership and my public profile. Seven soulbound skill copies (four purchased and three self-published) and three
ItemConfig.creatorpayout records remain tied to the compromised address. This PR proposes a way to finish that wallet change without buying the copies again.Design decision requested: should soulbound copies be movable?
This changes strict lifetime wallet binding. A holder and recipient could use the same mechanism for a wallet change or a resale. Both signatures prove control of keys, not the original human's identity; an attacker who has the old key can sign to their own destination and race the owner.
If permanent wallet binding is intentional, please reject/close this proposal or keep it as a design discussion. My drained-wallet recovery is the motivation, not a reason this must be merged. No claim is made that the current soulbound policy is a bug.
Proposed behavior
migrate_item: current holder and recipient both sign. Atomically burn one source copy and issue one replacement under the same mint. Require canonical Token-2022 ATAs, a non-transferable zero-decimal mint, different wallets, exactly one source copy, an empty destination, and the recipient's workflow prerequisites. Failed replacement issuance rolls back the burn; failed migration rolls back destination-ATA creation/rent. The companion SDK makes the recipient pay any new ATA rent. No purchase price is charged again and no publisher co-signature or administrator seizure key is added.rotate_creator: current and new creator both sign. Change onlyItemConfig.creator, preserving mint identity, price and prerequisites. This is separate from migrating either a purchased or publisher-held copy.Validation at this PR head
tests/recovery/README.mddocuments reproducible runners and fixture boundaries. Focused cases inject ItemConfig fixtures; lifecycle cases inject only fixed-address collection genesis fixtures and create actual Token-2022 mints/configs/balances through program operations. Generated keys and offline loopback RPC only; no personal wallet used.Before any release
Agree on the policy first; review the account/CPI checks and companion builders; regenerate/version the matching IDL; integrate the recovery tests into the normal CI/release process; then coordinate an authorized program upgrade and SDK release. Ready for review does not mean approved to deploy. The current mainnet deployment rejects both proposed entrypoints with
InstructionFallbackNotFoundin unsigned simulations. Nothing in this PR has been deployed by us, and the seven copies/three creator records have not moved.Related PRs