{"_self":{"principle":"Self-explaining payload — no external context required. This _self block describes what you are reading and where to look next.","widget":"article_topology","feature":"topology","name":"Article topology","what":"Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER.","contains":"claims, sources, anecdotes, question_graph slice","slug":"skill-shared-write-law","urls":{"read":"https://miscsubjects.com/api/articles/skill-shared-write-law/topology"},"how_to_use":"Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER.","write":null,"imessage":null,"router_tag":null,"proof_chain":[{"step":1,"claim":"Articles are voxel graphs of tiered claims, not prose blobs.","verify":"https://miscsubjects.com/api/articles/constitution"},{"step":2,"claim":"Claims link to hash-chained sources via source_ids.","verify":"https://miscsubjects.com/api/articles/skill-shared-write-law/sources"},{"step":3,"claim":"Ask reads topology; ingest/claim append to ledger.","verify":"https://miscsubjects.com/api/protocol"},{"step":4,"claim":"Models queue growth: populate → collaborate → repair → reflex.","verify":"https://miscsubjects.com/api/protocol/grow"},{"step":5,"claim":"Graph proves its own shape (reflex) and $/claim (yield).","verify":"https://miscsubjects.com/graph.html?layer=reflex"},{"step":6,"claim":"Full feature index + _explain on every API response.","verify":"https://miscsubjects.com/api/articles/system-map"}],"related_features":[{"id":"ask","name":"Ask protocol","what":"Answer only from topology; creates question_node with gaps and ingest_hint.","urls":{"read":"https://miscsubjects.com/api/articles/skill-shared-write-law/prompts","write":"https://miscsubjects.com/api/protocol/ask"}},{"id":"graph_topology","name":"Cross-article graph","what":"Merged claims/sources across condition+stack slugs for one question.","urls":{"read":"https://miscsubjects.com/api/articles/skill-shared-write-law/graph-topology?question=..."}},{"id":"question_graph","name":"Question graph","what":"Ask nodes (questions + gaps) and evidence_ingest nodes (pasted model output).","urls":{"read":"https://miscsubjects.com/api/articles/skill-shared-write-law/question-graph","write":"https://miscsubjects.com/api/protocol/ask"}},{"id":"voxels","name":"Voxel graph","what":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance.","urls":{"read":"https://miscsubjects.com/api/articles/skill-shared-write-law/voxels","write":"https://miscsubjects.com/api/protocol/claim"}}],"system_map":"https://miscsubjects.com/api/articles/system-map","system_map_markdown":"https://miscsubjects.com/api/articles/system-map?format=markdown","not_medical_advice":true},"_explain":{"feature":"topology","name":"Article topology","what":"Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER.","why":"Every feature is auditable collective intelligence","how":"Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER.","model":null,"verifies":null,"urls":{"read":"https://miscsubjects.com/api/articles/skill-shared-write-law/topology"},"imessage":null,"router":null,"related":[{"id":"ask","what":"Answer only from topology; creates question_node with gaps and ingest_hint."},{"id":"graph_topology","what":"Merged claims/sources across condition+stack slugs for one question."},{"id":"question_graph","what":"Ask nodes (questions + gaps) and evidence_ingest nodes (pasted model output)."},{"id":"voxels","what":"Claims as atoms, sources as edges (supported_by, posted_by). Per-claim provenance."}],"not_medical_advice":true},"slug":"skill-shared-write-law","title":"Skill: Shared Write Law","register":"standard","tags":[],"updated_at":"2026-07-22T09:52:12.442Z","body_excerpt":"---\nname: shared-write-law\ndescription: Use when about to edit any shared file in miscsubjects-pages, .claude/skills, or .agents/skills. Prevents write collisions and overwritten work.\n---\n\n# Shared Write Law — claim before edit\n\n## Overview\nShared files in this build are edited by multiple agents. Editing without a claim causes collisions, overwritten work, and repeated fixes. This skill makes the existing AGENTS.md WRITE LAW automatic.\n\n## When to Use\n- Before editing any file under `miscsubjects-pages/`, `~/.claude/skills/`, or `~/.agents/skills/`.\n- When resuming work on a file you edited earlier in the same session.\n- When you see `FILE_CLAIM` DENIED or the file is already claimed.\n\n## Core Pattern\n\n```\nRead file → FILE_CLAIM claim → Edit → FILE_CLAIM release\n```\n\n1. **Read the file first.** Never edit a file you have not read this session.\n2. **Claim it** with `FILE_CLAIM claim`, passing the absolute path, agent holder, and 90-minute TTL.\n3. **Only if the response starts with `CLAIMED:`** — edit the file.\n4. **Release when done** with `FILE_CLAIM release`.\n\n## Rules\n\n- **DENIED means stop.** Read the file fresh, find who holds the claim, coordinate. Do not edit.\n- **Claims are per-file.** Editing five files requires five claims.\n- **Release after your last edit** in the session. Do not hold claims you are not actively using.\n- **TTL is 90 minutes.** If your session crashes, the claim expires automatically.\n- **Success prefix matters.** A `FILE_CLAIM` result starting with `CLAIMED:` succeeded. Parse that prefix, not substring matches on the word \"error\" elsewhere in the response.\n\n## Red Flags — STOP and Claim\n\n- \"I'll just patch this quickly.\"\n- \"The file is probably free.\"\n- \"I'll check the claim after editing.\"\n- Reading a file and immediately reaching for Edit/Write without FILE_CLAIM.\n\nAll of these cause the collisions the owner is tired of fixing.\n\n## Common Mistakes\n\n1. **Editing before claiming** → Claim first. If denied, do not proceed.\n2. **Releasing with wrong holder string** → Use the same `agent:session-prefix` you claimed with.\n3. **Assuming free because FILE_CLAIM check said FREE** → Claim anyway; FREE can change between check and edit.\n4. **Editing a file another agent changed since your read** → Re-read, re-claim, merge changes.\n\n## Verify\n\nBefore every edit, confirm: `Read` ✓ → `FILE_CLAIM claim` returned `CLAIMED:` ✓ → `Edit` ✓ → `FILE_CLAIM release` ✓.","ranking":"safety-first (interaction_risk/limitations), then quote-gated effective_weight","claims":[],"sources":[],"anecdotal_sources":[],"scientific_sources":[],"user_reports":[],"related_articles":[],"question_graph":{"slug":"skill-shared-write-law","questions":[],"evidence":[],"edges":[],"counts":{"questions":0,"evidence":0,"edges":0}},"honesty":{"active_claims":0,"retracted_claims":0,"cut_claims":0,"challenges":0,"scrub_events":0,"note":"Retracted/cut claims stay on ledger but are excluded from ask unless ?include_inactive=1"},"counts":{"claims":0,"claims_total":0,"sources":0,"anecdotal":0,"scientific":0,"user_reports":0,"questions":0,"evidence_ingests":0}}