fix: qualify Delivery sources and preserve compatibility

This commit is contained in:
jarvis-at-skic committed 2026-10-26 10:22:35 +00:00
1 parent cd7cd0d05a
commit 577a7a4fec
2 files changed
+24

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
from pathlib import Path
import unittest
ROOT=Path(__file__).resolve().parents[1]
class Recovery(unittest.TestCase):
def test_authority_and_original_identity(self):
text=(ROOT/'SKILL.md').read_text()
for s in ["explicitly authorized", "Never switch to a sibling agent's token", 'conditional/idempotent', 'exactly one affected record', 'original token/key', 'does not waive']:
self.assertIn(s,text)
def test_complete_reference_and_narrow_mutation(self):
text=(ROOT/'references/gitea-on-truenas-reactivation.md').read_text()
for s in ['exact account reactivation is authorized', 'UPDATE 1', 'is_active = false', 'Do not alter password', 'prohibit_login=false', 'read-only `git ls-remote`', 'Do not save or print']:
self.assertIn(s,text)
if __name__=='__main__':unittest.main()