CIS490/shipper
max f6d7d07837 Make mTLS bring-up unmistakable for on-device agents
Sysadmin observed lab-host agents still trying to "secure the
connection" — minting certs, generating CSRs, or otherwise reinventing
a cert-delivery flow that's already automated through bootstrap.wg.
Three reinforcements so an agent reading any of the three surfaces
(AGENTS.md, install script output, journalctl) gets the same message:

- AGENTS.md gains a top-of-file "do not mint your own certs" callout
  + a dedicated "Securing the connection (mTLS)" section with the
  one fix (re-run install-lab-host.sh after setting host_id) and an
  explicit "what NOT to do" list (no openssl, no copy from another
  host, no verify_tls=false).

- install-lab-host.sh's FIRST-INSTALL NEXT STEPS now spells out that
  the cert auto-fetch is silently skipped while host_id is REPLACE_ME,
  and that the operator MUST re-run the script after editing host_id.
  Step 2 is now "RE-RUN THIS SCRIPT" with a DO NOT openssl warning.

- The shipper's "waiting on mTLS material" warning now embeds the
  exact remediation command + a pointer to AGENTS.md, so an agent
  reading journalctl without ever opening the repo still gets it.

Tests: 12/12 in test_shipper still pass; warning string change is
not asserted on (only the dataclass error field).
2026-04-30 16:23:44 -05:00
..
__init__.py Lab-host shipper + receiver /v1/ping + install scripts 2026-04-29 23:41:32 -05:00
__main__.py Lab-host shipper + receiver /v1/ping + install scripts 2026-04-29 23:41:32 -05:00
config.py Lab-host shipper + receiver /v1/ping + install scripts 2026-04-29 23:41:32 -05:00
queue.py Lab-host shipper + receiver /v1/ping + install scripts 2026-04-29 23:41:32 -05:00
transport.py Make mTLS bring-up unmistakable for on-device agents 2026-04-30 16:23:44 -05:00