fix: qualify Delivery sources and preserve compatibility
This commit is contained in:
1 parent
cd7cd0d05a
commit
577a7a4fec
2 files changed
+24
No files matched your search
@@ -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`.
|
||||||
@@ -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()
|
||||||
Reference in new issue
Block a user