Spaces:
Running
Download tools/lab_sync/README.md from tkadkghdlf/CD: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/spaces/tkadkghdlf/CD/resolve/main/tools/lab_sync/README.md
- Command line
-
hf download hf://spaces/tkadkghdlf/CD/tools/lab_sync/README.md
-
curl -L -o README.md https://huggingface.co/spaces/tkadkghdlf/CD/resolve/main/tools/lab_sync/README.md
Guarded Lab HTTP sender
This is the prepared Lab installation sender. It preserves the original
~/.local/share/demoservice-sync/state.sqlite3, transfer.lock, approval guards,
one worker, cumulative route cap, and halt-on-error policy. Its default contract
remains v1; use --contract-version 2 explicitly for the server-managed session
contract. Never run an old sender concurrently with this installation.
The sender reads only the local Lab approval inventory and its local transfer ledger. DemoService PostgreSQL connections, schema migration, and storage verification run on the server. No server DB credentials belong on the Lab.
--probe-id sends one currently accepted route in a partial session. It does not
send an approval snapshot. Existing v1 ledger rows never count as v2 art storage;
both actual art UUIDs and the content hash must be verified before a v2 receipt
is recorded. A read-only --check-only reads no credential and makes no HTTP
request or local state/lock mutation.
Synthetic offline tests live in tests/; the copied approval policy and guard
SQL there are test fixtures. Tests block network connections and use only
temporary synthetic inventories, records, designs, GPX files, and state files.