[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BD5PPVKFVVGS9B846B99ES":3,"skill-same:01M7BD5PPVKFVVGS9B846B99ES":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7BD5PPVKFVVGS9B846B99ES","verify-paid-read-recovery",null,"Verify interrupted and overlapping CLI paid reads, receipt-file writers and dead-owner recovery. Use when changing src\u002Fcli\u002Fapp\u002Fread.ts, src\u002Fcore\u002Freceipts.ts or src\u002Fcore\u002Freceipts-lock.ts. Runs TLA+ models and offline real-code replays without live paid reads.","vana-com\u002Fvana-cli","vana-com","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F123112561?v=4","01M77WCAG7S42PDY7VTEVWXQD1","Vana","01M77WCAGV436KWGZWHNHZXGVH",2,"MIT","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-paid-read-recovery\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: verify-paid-read-recovery\ndescription: Verify interrupted and overlapping CLI paid reads, receipt-file writers and dead-owner recovery. Use when changing src\u002Fcli\u002Fapp\u002Fread.ts, src\u002Fcore\u002Freceipts.ts or src\u002Fcore\u002Freceipts-lock.ts. Runs TLA+ models and offline real-code replays without live paid reads.\n---\n\n# Verify paid-read recovery\n\nThe promise: an interrupted or overlapping read retains the exact payment\nidentity needed to resume, without authorizing another payment for the same read\nintent. A concurrent state update must not erase a saved receipt.\n\n## Source record\n\nLast confirmed source commit: `a55d0a0006da6a743b6452796435afa6ed177dd8`. The runner records the exact source blobs and rejects drift.\n\n| Owner                                                                             | Coverage                                                                                                                                                                                                                               |\n| --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `src\u002Fcli\u002Fapp\u002Fread.ts`, `runAppRead` and `runPersonalServerRead`                   | Acquire the intent lock before loading saved state; retain it through signing, persistence, transport and error handling. Replay exact headers and refuse rejected-receipt replacement. Contention uses existing `not_ready` \u002F exit 6. |\n| `src\u002Fcore\u002Freceipts.ts`, `withReadLock`, `nextNonce`, `saveReceipt`, `dropReceipt` | Intent exclusion and writer exclusion around the complete file read\u002Fmodify\u002Fwrite. Preserve temporary-file fsync, rename and directory fsync.                                                                                           |\n| `src\u002Fcore\u002Freceipts-lock.ts`, `acquireReceiptLock`                                 | Atomic publication of an identified owner; retain live\u002Funknown owners, reclaim demonstrably dead ones, and preserve successor locks.                                                                                                   |\n| SDK 4.3.1 direct read\u002Fpayment helpers                                             | Real fixture signing and request construction. One signed header is reused across transport retries.                                                                                                                                   |\n\n## Run\n\nFrom the repo root with installed dependencies, Python 3.12+, compatible Node,\nTLC 1.7.4 and Java installed through mise:\n\n```sh\npython3 verification\u002Fpaid-read-recovery\u002Fcheck.py\n```\n\nThe runner exports the recorded fixed commit and overlays only the named\nworking-tree source owners and regression tests. Expected blob identities prevent\nsilent source\u002Fmodel drift. `--ref` checks a committed revision instead; it still\nmust match the checked source blobs. No branch switch or product mutation occurs\nin the working checkout. `TLA2TOOLS` and `JAVA` may select existing local tools;\nthe TLC jar hash is pinned and no dependencies are downloaded.\n\nThe command runs four fixed models, four negative models, the real-code tests,\nfour deliberate source mutations in a disposable copy, then restores all source\nbytes and reruns the baseline. It prints the evidence directory. Exit 0 means all\nexpected positive and negative results hold; exit 2 means an execution or proof\nfailure. Unexpected external fetches are rejected. Java may need permission for\nits local management socket.\n\n## Read every model with \u002Fstatechart\n\nUse pstack **`\u002Fstatechart`**, with the Codex adapter when applicable. Follow the\ninstalled skill's current runtime instructions and use a scratch folder outside\nthe repository. The copied model is `PaidRead.tla`, with `overview.mjs` as the\nview and these configurations:\n\n- `single.cfg`: one reader, one crash\u002Frestart.\n- `concurrent.cfg`: two readers, no crash.\n- `writers.cfg`: one reader plus an independent nonce writer sharing the file.\n- `concurrent-crash.cfg`: two readers, one crash\u002Frestart.\n- `no-save.cfg`, `no-refusal.cfg`, `no-read-lock.cfg`, `no-write-lock.cfg`:\n  deliberately removed protections. Each must break its original invariant.\n\n`DurableBeforeSend`, `NoDuplicateCharge`, `RejectedNeverReauthorizes` and\n`NoDeadlock` must hold in every fixed configuration. The supplied report records\nstate counts, counterexamples and exact guard mutations. A passing reproduction\ntest never substitutes for a passing invariant check.\n\n## Real-code owner proof\n\n`test\u002Fcli\u002Fapp-read-loop.test.ts` owns saved-header recovery, rejected receipts,\nstore corruption\u002Fpersistence failure, competing writes and overlapping reads.\n`test\u002Fcore\u002Freceipts-lock.test.ts` covers unknown owners and the stale-reclaimer\nrace. Avoid copying these contracts into another fixture test.\n\nThe process fixture independently exercises abrupt exits after nonce persistence,\nbefore receipt rename, after persistence, after send and after simulated\nsettlement. It also blocks a second process behind a live reader, kills that\nreader and checks exact-payment recovery. Real SDK signing runs on a public test\nkey and synthetic data. Transport and settlement are local fixtures.\n\nRemoving pre-send save or rejection refusal must fail the existing owner tests.\nRemoving the read lock must fail the overlap test; removing the writer lock must\nfail the competing-write test. Restore every mutation and confirm the baseline\npasses again. Do not weaken the invariant to make a control pass.\n\n## Bounds and maintenance\n\nThe fixed models cover one payer, network, grant, scope and a fixed supported\nlegacy grant-fee challenge. Successful signing and rename durability after process\nexit are assumed. Lock acquisition abstracts the successful atomic directory\nrename; process death makes its lock reclaimable. Unknown owners, PID reuse and\ninaccessible owner processes fail closed in the implementation. The actual lock\nrecovery and successor race also have real-code proof.\n\nReal gateway\u002Fchain deduplication, live escrow, access records, server-supplied\nnonces, expiry, power loss, remote filesystems and arbitrary numbers of readers\nare outside this proof. There is no liveness proof. The 1,654-state passing crash\ncase exceeds the chart budget, so `\u002Fstatechart` emits only its passing report.\n\nWhen an owner changes, read its entire relevant path and update the model from\nthe code before changing expected blobs. Keep file reads, renames and releases\nseparate where the code separates them. Use `\u002Fmaintain-formal-verification-skill`\nfor skipped verification updates. Follow the updated skill once as the next agent\nwould, including all negative controls. Keep product and verification changes\nreviewable separately; no commit or publication is implied.\n\nSee `verification\u002Fpaid-read-recovery\u002FREADME.md` for the result.\nDo not retrieve credentials or run live paid reads as part of this procedure.\n","# Verify paid-read recovery\n\nThe promise: an interrupted or overlapping read retains the exact payment\nidentity needed to resume, without authorizing another payment for the same read\nintent. A concurrent state update must not erase a saved receipt.\n\n## Source record\n\nLast confirmed source commit: `a55d0a0006da6a743b6452796435afa6ed177dd8`. The runner records the exact source blobs and rejects drift.\n\n| Owner                                                                             | Coverage                                                                                                                                                                                                                               |\n| --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `src\u002Fcli\u002Fapp\u002Fread.ts`, `runAppRead` and `runPersonalServerRead`                   | Acquire the intent lock before loading saved state; retain it through signing, persistence, transport and error handling. Replay exact headers and refuse rejected-receipt replacement. Contention uses existing `not_ready` \u002F exit 6. |\n| `src\u002Fcore\u002Freceipts.ts`, `withReadLock`, `nextNonce`, `saveReceipt`, `dropReceipt` | Intent exclusion and writer exclusion around the complete file read\u002Fmodify\u002Fwrite. Preserve temporary-file fsync, rename and directory fsync.                                                                                           |\n| `src\u002Fcore\u002Freceipts-lock.ts`, `acquireReceiptLock`                                 | Atomic publication of an identified owner; retain live\u002Funknown owners, reclaim demonstrably dead ones, and preserve successor locks.                                                                                                   |\n| SDK 4.3.1 direct read\u002Fpayment helpers                                             | Real fixture signing and request construction. One signed header is reused across transport retries.                                                                                                                                   |\n\n## Run\n\nFrom the repo root with installed dependencies, Python 3.12+, compatible Node,\nTLC 1.7.4 and Java installed through mise:\n\n```sh\npython3 verification\u002Fpaid-read-recovery\u002Fcheck.py\n```\n\nThe runner exports the recorded fixed commit and overlays only the named\nworking-tree source owners and regression tests. Expected blob identities prevent\nsilent source\u002Fmodel drift. `--ref` checks a committed revision instead; it still\nmust match the checked source blobs. No branch switch or product mutation occurs\nin the working checkout. `TLA2TOOLS` and `JAVA` may select existing local tools;\nthe TLC jar hash is pinned and no dependencies are downloaded.\n\nThe command runs four fixed models, four negative models, the real-code tests,\nfour deliberate source mutations in a disposable copy, then restores all source\nbytes and reruns the baseline. It prints the evidence directory. Exit 0 means all\nexpected positive and negative results hold; exit 2 means an execution or proof\nfailure. Unexpected external fetches are rejected. Java may need permission for\nits local management socket.\n\n## Read every model with \u002Fstatechart\n\nUse pstack **`\u002Fstatechart`**, with the Codex adapter when applicable. Follow the\ninstalled skill's current runtime instructions and use a scratch folder outside\nthe repository. The copied model is `PaidRead.tla`, with `overview.mjs` as the\nview and these configurations:\n\n- `single.cfg`: one reader, one crash\u002Frestart.\n- `concurrent.cfg`: two readers, no crash.\n- `writers.cfg`: one reader plus an independent nonce writer sharing the file.\n- `concurrent-crash.cfg`: two readers, one crash\u002Frestart.\n- `no-save.cfg`, `no-refusal.cfg`, `no-read-lock.cfg`, `no-write-lock.cfg`:\n  deliberately removed protections. Each must break its original invariant.\n\n`DurableBeforeSend`, `NoDuplicateCharge`, `RejectedNeverReauthorizes` and\n`NoDeadlock` must hold in every fixed configuration. The supplied report records\nstate counts, counterexamples and exact guard mutations. A passing reproduction\ntest never substitutes for a passing invariant check.\n\n## Real-code owner proof\n\n`test\u002Fcli\u002Fapp-read-loop.test.ts` owns saved-header recovery, rejected receipts,\nstore corruption\u002Fpersistence failure, competing writes and overlapping reads.\n`test\u002Fcore\u002Freceipts-lock.test.ts` covers unknown owners and the stale-reclaimer\nrace. Avoid copying these contracts into another fixture test.\n\nThe process fixture independently exercises abrupt exits after nonce persistence,\nbefore receipt rename, after persistence, after send and after simulated\nsettlement. It also blocks a second process behind a live reader, kills that\nreader and checks exact-payment recovery. Real SDK signing runs on a public test\nkey and synthetic data. Transport and settlement are local fixtures.\n\nRemoving pre-send save or rejection refusal must fail the existing owner tests.\nRemoving the read lock must fail the overlap test; removing the writer lock must\nfail the competing-write test. Restore every mutation and confirm the baseline\npasses again. Do not weaken the invariant to make a control pass.\n\n## Bounds and maintenance\n\nThe fixed models cover one payer, network, grant, scope and a fixed supported\nlegacy grant-fee challenge. Successful signing and rename durability after process\nexit are assumed. Lock acquisition abstracts the successful atomic directory\nrename; process death makes its lock reclaimable. Unknown owners, PID reuse and\ninaccessible owner processes fail closed in the implementation. The actual lock\nrecovery and successor race also have real-code proof.\n\nReal gateway\u002Fchain deduplication, live escrow, access records, server-supplied\nnonces, expiry, power loss, remote filesystems and arbitrary numbers of readers\nare outside this proof. There is no liveness proof. The 1,654-state passing crash\ncase exceeds the chart budget, so `\u002Fstatechart` emits only its passing report.\n\nWhen an owner changes, read its entire relevant path and update the model from\nthe code before changing expected blobs. Keep file reads, renames and releases\nseparate where the code separates them. Use `\u002Fmaintain-formal-verification-skill`\nfor skipped verification updates. Follow the updated skill once as the next agent\nwould, including all negative controls. Keep product and verification changes\nreviewable separately; no commit or publication is implied.\n\nSee `verification\u002Fpaid-read-recovery\u002FREADME.md` for the result.\nDo not retrieve credentials or run live paid reads as part of this procedure.\n",{"name":5,"description":7},"main","9fd89e5fe25fc19f9d0b63127ae757534bec7830",".agents\u002Fskills\u002Fverify-paid-read-recovery",0,"https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli","https:\u002F\u002Fgithub.com\u002Fvana-com","https:\u002F\u002Fvana.org","The first open protocol for data sovereignty.","2026-11-13 18:19:18",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add vana-com\u002Fvana-cli --skill verify-paid-read-recovery",{"tool":39,"command":40},"bunx","bunx skills add vana-com\u002Fvana-cli --skill verify-paid-read-recovery",{"tool":42,"command":43},"pnpm","pnpm dlx skills add vana-com\u002Fvana-cli --skill verify-paid-read-recovery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-paid-read-recovery\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7BD5YJ16KD0X3M379XA2A4A","verify-setup-resume","Verify BUI-936 setup\u002Fresume identities, funding readiness and overlapping resumes. Use when changing app request, test-credit transport or the request journal. Runs bounded TLA+ checks and offline real-code replays without live funding or paid reads.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-setup-resume\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7BD5V2155AM7W1PWRBY237Y","verify-server-supervision","Verify the local Personal Server stop and restart boundary. Use when changing the supervisor's backoff, port probing, replacement launch or Stop handling.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-server-supervision\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7BD5JDEGV165NFZJWSWJBN4","verify-mainnet-registration","Verify mainnet app registration and Account association recovery. Use for the registration journal, gateway confirmation, retry, or ownership check.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-mainnet-registration\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7BD5ETK33JAD1F1XQXGPYYG","verify-hosted-provisioning","Verify hosted Personal Server resource ownership across create and delete. Use for Connect's server API, provisioning-row updates, or deprovisioning admission.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-hosted-provisioning\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7BD5BBKFHJ86JFBE8KT1S78","verify-export-settlement","Verify queued export owner binding and generation settlement. Use for result publication, pending upload receipts, or retry and sync changes.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-export-settlement\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7BD597F2HR3CGBQT9WJ911S","verify-collection-admission","Verify CLI collection admission across identity, Personal Server approval and foreign-server confirmation. Use for collection readiness or its identity recheck.","https:\u002F\u002Fgithub.com\u002Fvana-com\u002Fvana-cli\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-collection-admission\u002FSKILL.md",[],[]]