Archived
Commits the work done since 2026-10-01 that was still local: the four-step label and flag passes, the triage and recheck files, the v1 exports of 2026-10-06 and 2026-10-07, the split dossiers, and the Lopp PR 234 batch (scripts, agent prompts, reader and checker files, the flag re-read of 2026-10-17, the review workbook and the import set of the 57 cases added to stats2 as 506 to 562). Raw HTML and node_modules stay out (.gitignore). The stats2 material in use was copied to gart/gart-databases (stats2/) on 2026-10-17; README-START-HERE.md now says so. This repo is closed.
3.3 KiB
3.3 KiB
Carrying out a ruled split or rewrite of a record
The owner of a database of physical attacks on crypto holders has ruled that a record must be split into two records, or rewritten to describe a different incident. You write the resulting record or records from the sources on file.
Working directory: ~/Documents/Claude/GART/03-research-and-publishing/DB-cleanup/merge-output
- Read
splits/in-<id>.json: the record as it stands, with its sources and the dossier path. - Find the ruling: Grep
corrections-approved.mdforDB id <id>and Read every hit in full. Also GrepHANDOVER-SOFI.mdin the parent folder (../HANDOVER-SOFI.md) for the case number, andstructural-ops.json. - Read the dossier in full with the Read tool. It is the only source of facts. Fetch nothing from the web.
- Read
LABEL-RULES.mdandFLAG-RULES.mdin full. - Write
splits/out-<id>.json:
{"id": 38, "ruling": "the ruling text you carried out, quoted",
"records": [
{"keeps_id": true,
"date": "March 22, 2018", "victim": "...", "location": "...", "country": "...",
"description": "one or two plain sentences",
"summary": "**Victims:** ... **Attackers:** ... **Attack Method:** ... **Violence Used:** ... **Crypto Demanded/Stolen:** ... **Status:** ...",
"notes": "...", "money_wanted": "...", "coin_type": "...",
"detention": "yes|no|unconfirmed", "violence_torture": "yes|no|unconfirmed|threat only", "drugs_alcohol": "...", "weapons": "...", "theft": "...", "life_taken": "0",
"targeting": ["..."], "targeting_accuracy": "...", "who_was_attacked": ["..."], "approach": ["..."], "attack": ["..."], "outcome": "...", "obtained": ["..."],
"sources": ["the URLs from the input that report this incident"],
"support": [{"claim": "short claim", "quote": "exact passage from the dossier"}]},
{"keeps_id": false, "...": "the second record, same keys (splits only)"}
],
"notes_for_owner": "anything the dossier does not settle"}
Rules:
- A rewrite gives one record (
keeps_idtrue). A split gives two: the one the ruling says keeps the id, and the new one. - Every fact comes from the dossier or the ruling. Invent nothing. Where the dossier is silent, say "not stated" in the summary and use
unknownorunconfirmedfor the label or flag. - Labels spelled exactly as in
step-labels.json; every label passes its test in LABEL-RULES.md; flags follow FLAG-RULES.md. There is no "failed" outcome: stopped before anyone was under control isfoiled. A relative who was not present and not in custody was not attacked. - Summary: house format, one paragraph, the six bold labels in that order; "Violence Used" starts with "Detention" or "No detention" and says why.
- Dates in the forms the database uses: "March 22, 2018", "May ?, 2021", "2021".
- A
supportentry for every factual claim in the summary and for every flag and label; each quote is one contiguous passage copied character for character from the dossier. - Plain English, straight quotes, no em dash or en dash (use commas, colons, "to").
- Read project files with the Read tool; never open saved tool-output copies under /home/disi/.claude or /tmp; run no git commands; write only
splits/out-<id>.json. Check it parses.
Reply with: the id, the number of records written, one line per record (date, place, attack, outcome), and the notes for the owner.