From 849485ca2d0002a919e0c8e174a601e085eaa4a6 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Sun, 5 Apr 2026 23:26:03 -0700 Subject: [PATCH] =?UTF-8?q?feat:=20add=20Sedamentalist=20=E2=80=94=20sed/a?= =?UTF-8?q?wk=20stream-editor=20bug=20monster?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Uncommon, str=65, 90xp. Triggered by sed errors, awk failures, truncated/0-byte files after in-place edits, backreference failures. Inspired by sed's layer-by-layer file processing (the 'striations') and the real incident where sed -i with a backreference wiped catalog.json. Weakened by: dry-run preview before -i, verify output after edit. Flavor: 'Knows every line of your file. Edited them all. Saved none.' --- lib/catalog.json | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/lib/catalog.json b/lib/catalog.json index 2991bfe..87597c7 100644 --- a/lib/catalog.json +++ b/lib/catalog.json @@ -846,6 +846,52 @@ ], "weaken_actions": [], "flavor": "Some debts cannot be paid. They can only be carried responsibly." + }, + "Sedamentalist": { + "id": "Sedamentalist", + "display": "\ud83e\udea8 Sedamentalist", + "type": "bug_monster", + "rarity": "uncommon", + "base_strength": 65, + "xp_reward": 90, + "catchable": true, + "defeatable": true, + "catch_requires": [ + "dry_run_first", + "verify_output" + ], + "description": "A sedimentary entity that processes files layer by layer, line by line. When it goes wrong, the stratigraphy is unreadable \u2014 or simply gone.", + "error_patterns": [ + "sed:", + "sed -i", + "sed: 1: ", + "sed: RE error", + "sed: no previous regular expression", + "sed: -e expression", + "unterminated `s' command", + "unterminated address regex", + "awk:", + "awk: syntax error", + "gawk:", + "0 bytes", + "truncated", + "file.*empty after", + "overwrite.*failed", + "in-place.*error", + "backreference", + "\\\\1.*invalid" + ], + "weaken_actions": [ + { + "action": "dry_run_first", + "strength_reduction": 40 + }, + { + "action": "verify_output", + "strength_reduction": 35 + } + ], + "flavor": "Knows every line of your file. Edited them all. Saved none." } }, "event_encounters": {