From 577a7a4fec09f91d78026ed86f29c37b1fdcb4c6 Mon Sep 17 00:00:00 2001 From: Jarvis Jr Hermes Date: Mon, 26 Oct 2026 10:22:35 +0000 Subject: [PATCH] fix: qualify Delivery sources and preserve compatibility --- README.md | 11 +++++++++++ tests/test_contract.py | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 README.md create mode 100644 tests/test_contract.py diff --git a/README.md b/README.md new file mode 100644 index 0000000..92effbc --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# Self-hosted service account recovery + +Authoritative publication: https://gitea.lego-cloud.eu/global-skills/self-hosted-service-account-recovery (branch `test`). + +This publication establishes a versioned source for the existing installed two-file package. Repository discovery found no existing recovery repository in the accessible Gitea search or inspected skill organizations; the installed package had no Git checkout or remote provenance record. Earlier remote authorship and revision are therefore **unverified**, not retroactively assigned to this repository. + +The initial import preserves `SKILL.md` and `references/gitea-on-truenas-reactivation.md` byte-for-byte. The complete maintained package also includes this README and offline contract tests. Record the full published Git revision and per-file hashes when installing; never present a branch name alone as immutable provenance. + +Publication grants no account-recovery authority. No credential, service account, scheduler or production operation is performed by this package publication. + +Validate: `python3 -m unittest discover -s tests -v`. diff --git a/tests/test_contract.py b/tests/test_contract.py new file mode 100644 index 0000000..dc7fdcf --- /dev/null +++ b/tests/test_contract.py @@ -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()