feat(skills): add cleanup-artifacts skill and session hygiene protocol
This commit is contained in:
1 parent
418792d1ec
commit
14cc1ab6f0
4 files changed
+59
-3
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ def metadata(text):
|
||||
|
||||
def local_links(path):
|
||||
fenced = False
|
||||
for number, line in enumerate(path.read_text().splitlines(), 1):
|
||||
for number, line in enumerate(path.read_text(encoding='utf-8').splitlines(), 1):
|
||||
if line.lstrip().startswith(('```', '~~~')):
|
||||
fenced = not fenced
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user