From 7cb8b752619f17fd29be1b5496ced107d41e79e9 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 1 Dec 2026 06:11:56 +0000 Subject: docs: a submission goes into the incoming directory whole Names starting with a dot are skipped there, so a provider copies a submission under one and renames it within the incoming directory: a receptor looking at it meanwhile (enstate.service, a check) never sees half a submission. Said in the design, the module's incomingDir, the store; and a test that a dot name is left alone. --- docs/design.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/design.md') diff --git a/docs/design.md b/docs/design.md index 301659a..054b824 100644 --- a/docs/design.md +++ b/docs/design.md @@ -403,7 +403,9 @@ run commands, but on the provider's side, before there is a submission.) they can be encrypted to the host's key. - Submissions may wait in an incoming directory for the next switch (section 6); those the switch refuses are moved aside, so the next - switch doesn't trip over them again. + switch doesn't trip over them again. Names starting with a dot are + skipped, so that a provider can put a submission in place whole: copy + it under a dot name, then rename it, within the incoming directory. - At boot and on each apply, the receptor materializes the views under `/run` (memory): secret ones readable by root only and handed to services as systemd credentials; public ones readable by everyone. -- cgit v1.3.1