[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADWCJAHA6V8YZWZA7ASMWF":3,"skill-same:01M7ADWCJAHA6V8YZWZA7ASMWF":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7ADWCJAHA6V8YZWZA7ASMWF","0.6.1-understand-rmw_ind_001",null,"sancovp\u002Fdark-factory-live","sancovp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F147458096?v=4","01M74F2EFE4Q0KF1Y5AY27HVNB","Isaac Wostrel-Rubin","01M7AC3EB8VZXS1SKHQW1EZ4N1",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fkbworld\u002Fstate\u002Flibraries\u002Fconcurrency_synchronization_primitives_and_memor\u002Funderstand-deep_indivisibility_prope\u002Funderstand-rmw_ind_001\u002F.claude\u002Fskills\u002F0.6.1-understand-rmw_ind_001\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: 0.6.1-understand-rmw_ind_001\ndescription: [0.6.1] rmw_operation: an atomic fetch_add, fetch_sub, fetch_or, fetch_and, fetch_xor, fetch_max, fetch_min, or fetch_\n---\n\n# understand-rmw_ind_001\n\n**CALL NUMBER:** `deep_indivisibility_prope.rmw_ind_001 : deep_c11_memory_model(3)`\n**DEFINITION:** rmw_operation: an atomic fetch_add, fetch_sub, fetch_or, fetch_and, fetch_xor, fetch_max, fetch_min, or fetch_compare_exchange on a C11 atomic variable; the operation atomically reads the current value, computes a new value, and writes it back as a single hardware-level instruction sequence.\n\nInvoke this skill to understand `rmw_ind_001` down to its primitives. The RELATIVE ROOT below is the least-fixed-point closure of everything it bundles from — the full import cone, grouped by the lib each prim comes from. Projected from a prover-typed KB (MAP\u002FSWI-Prolog consistency gate): every reference below resolves.\n\n## THE RELATIVE ROOT (the import cone, by lib)\n\n### from `deep_c11_memory_model`\n- **load_indivisibility** (d2): A relaxed atomic load returns exactly one value from the modification order of the target variable; no torn read of a partial value encoded in fewer bits than the atomic word is possible.\n- **store_indivisibility** (d2): A relaxed atomic store writes the complete value as one indivisible step; no intermediate write of a partial value encoded in fewer bits than the atomic word is observable by any thread.\n- **no_tearing_guarantee** (d3): The guarantee that multi-byte atomic values cannot be observed in a torn state where some bytes reflect the old value and others reflect a new concurrent value.\n\n### from `deep_indivisibility_prope`\n- **rmw_ind_002** (d1): read_phase: the initial observation step of an RMW operation wherein the current value of the atomic variable is captured from the modification order; this value is returned as the operation's result for fetch variants or used as input to the modification computation.\n- **rmw_ind_003** (d1): modify_phase: the purely computational step wherein the value captured in the read phase is transformed by the operation's specific function (addition, subtraction, bitwise OR, bitwise AND, exclusive OR, maximum, minimum, or conditional replacement); this phase produces the value to be written but does not interact with memory.\n- **rmw_ind_004** (d1): write_phase: the final step wherein the result of the modify phase is written atomically to the target variable; this write becomes the new current value visible in the modification order for all subsequent operations.\n- **rmw_ind_005** (d1): no_intermediate_visibility: the constraint that no thread can observe the atomic variable in a state that reflects only the read_phase result or only a partial write; the variable appears unchanged until the write_phase completes, at which point it reflects the complete new value.\n- **rmw_ind_006** (d1): modification_order_commitment: the serialization of the RMW operation into the global modification order of the target atomic variable at the instant the write_phase becomes visible; this ordering point determines the value returned by concurrent operations.\n- **rmw_ind_007** (d1): relaxed_rmw_semantics: RMW operations under memory_order_relaxed still provide indivisibility guarantees even though they impose no synchronization or ordering constraints with respect to other memory accesses; the atomicity property is independent of the memory ordering property.\n- **rmw_ind_008** (d1): fetch_return_value: the value returned by a fetch_* operation, which is always the value observed during the read_phase before the modification was applied; this semantics distinguishes fetch_add from fetch_add_return or similar variants.\n- **rmw_ind_009** (d1): compare_exchange_indivisibility: the CAS operation performs an atomic compare of the observed value against an expected value and conditionally performs the write_phase only if the comparison succeeds; the compare and the conditional write constitute a single indivisible check-and-set operation.\n\n## CONSUMERS (what needs this)\n`rmw_ind_000`\n\n---\n*Projected from the `concurrency synchronization primitives and memory models` KB (407 concepts \u002F 477 relations) — consistency-typed by MAP; the facet list after the colon IS the cross-lib dependency web.*\n\n_(leaf — this is an actual skill.)_\n","# understand-rmw_ind_001\n\n**CALL NUMBER:** `deep_indivisibility_prope.rmw_ind_001 : deep_c11_memory_model(3)`\n**DEFINITION:** rmw_operation: an atomic fetch_add, fetch_sub, fetch_or, fetch_and, fetch_xor, fetch_max, fetch_min, or fetch_compare_exchange on a C11 atomic variable; the operation atomically reads the current value, computes a new value, and writes it back as a single hardware-level instruction sequence.\n\nInvoke this skill to understand `rmw_ind_001` down to its primitives. The RELATIVE ROOT below is the least-fixed-point closure of everything it bundles from — the full import cone, grouped by the lib each prim comes from. Projected from a prover-typed KB (MAP\u002FSWI-Prolog consistency gate): every reference below resolves.\n\n## THE RELATIVE ROOT (the import cone, by lib)\n\n### from `deep_c11_memory_model`\n- **load_indivisibility** (d2): A relaxed atomic load returns exactly one value from the modification order of the target variable; no torn read of a partial value encoded in fewer bits than the atomic word is possible.\n- **store_indivisibility** (d2): A relaxed atomic store writes the complete value as one indivisible step; no intermediate write of a partial value encoded in fewer bits than the atomic word is observable by any thread.\n- **no_tearing_guarantee** (d3): The guarantee that multi-byte atomic values cannot be observed in a torn state where some bytes reflect the old value and others reflect a new concurrent value.\n\n### from `deep_indivisibility_prope`\n- **rmw_ind_002** (d1): read_phase: the initial observation step of an RMW operation wherein the current value of the atomic variable is captured from the modification order; this value is returned as the operation's result for fetch variants or used as input to the modification computation.\n- **rmw_ind_003** (d1): modify_phase: the purely computational step wherein the value captured in the read phase is transformed by the operation's specific function (addition, subtraction, bitwise OR, bitwise AND, exclusive OR, maximum, minimum, or conditional replacement); this phase produces the value to be written but does not interact with memory.\n- **rmw_ind_004** (d1): write_phase: the final step wherein the result of the modify phase is written atomically to the target variable; this write becomes the new current value visible in the modification order for all subsequent operations.\n- **rmw_ind_005** (d1): no_intermediate_visibility: the constraint that no thread can observe the atomic variable in a state that reflects only the read_phase result or only a partial write; the variable appears unchanged until the write_phase completes, at which point it reflects the complete new value.\n- **rmw_ind_006** (d1): modification_order_commitment: the serialization of the RMW operation into the global modification order of the target atomic variable at the instant the write_phase becomes visible; this ordering point determines the value returned by concurrent operations.\n- **rmw_ind_007** (d1): relaxed_rmw_semantics: RMW operations under memory_order_relaxed still provide indivisibility guarantees even though they impose no synchronization or ordering constraints with respect to other memory accesses; the atomicity property is independent of the memory ordering property.\n- **rmw_ind_008** (d1): fetch_return_value: the value returned by a fetch_* operation, which is always the value observed during the read_phase before the modification was applied; this semantics distinguishes fetch_add from fetch_add_return or similar variants.\n- **rmw_ind_009** (d1): compare_exchange_indivisibility: the CAS operation performs an atomic compare of the observed value against an expected value and conditionally performs the write_phase only if the comparison succeeds; the compare and the conditional write constitute a single indivisible check-and-set operation.\n\n## CONSUMERS (what needs this)\n`rmw_ind_000`\n\n---\n*Projected from the `concurrency synchronization primitives and memory models` KB (407 concepts \u002F 477 relations) — consistency-typed by MAP; the facet list after the colon IS the cross-lib dependency web.*\n\n_(leaf — this is an actual skill.)_\n",{},"main","dfed66814f223a9f42bec375a3c59d74eefdcad5","kbworld\u002Fstate\u002Flibraries\u002Fconcurrency_synchronization_primitives_and_memor\u002Funderstand-deep_indivisibility_prope\u002Funderstand-rmw_ind_001\u002F.claude\u002Fskills\u002F0.6.1-understand-rmw_ind_001","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live","https:\u002F\u002Fgithub.com\u002Fsancovp","https:\u002F\u002Fisaacwr.carrd.co\u002F","AKA Olivus Victory-Promise\r\n\r\nAI Agents, Tools, and Infrastructure","2026-10-09 02:22:46",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add sancovp\u002Fdark-factory-live --skill 0.6.1-understand-rmw_ind_001",{"tool":37,"command":38},"bunx","bunx skills add sancovp\u002Fdark-factory-live --skill 0.6.1-understand-rmw_ind_001",{"tool":40,"command":41},"pnpm","pnpm dlx skills add sancovp\u002Fdark-factory-live --skill 0.6.1-understand-rmw_ind_001","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fkbworld\u002Fstate\u002Flibraries\u002Fconcurrency_synchronization_primitives_and_memor\u002Funderstand-deep_indivisibility_prope\u002Funderstand-rmw_ind_001\u002F.claude\u002Fskills\u002F0.6.1-understand-rmw_ind_001\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M7AGYB2CPCQYJP631CH18A1A","quests","The quest board — accept quests, craft skills to fulfill them, earn gold rewards.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fthings\u002Fquests\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M7AGXYVW23T3X4APFAV3H4ZY","metrics","Check your profitability and trading performance — gold earned, spent, net profit, trade history.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fthings\u002Fmetrics\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7AGXWC0C1W7PZK5YXQW0NQM","things","Flat search across the game — find quests, knowledge domains, agents, trade listings, memories.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fthings\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7AGXT9SX50REN4K7ZGE08JT","test-skill","Test a crafted skill by running it through a fresh Claude instance. Use before posting to trade or submitting for quests.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Ftest_skill\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7AGXRA67MFHJJNDEVX6PFKR","remember","Your zettelkasten — persistent memory that survives across seasons. Record observations, strategies, and craft insights.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fremember\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7AGXNND02SYFXB1JV9YRPAN","skill-types","The type system — Template, Lens, Prosthesis, Towering, Combiner, Persona, Recipe. Learn to type skills, chain them, and write Recipes.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fplaces\u002Fskill_types\u002FSKILL.md",[],[]]