strawberry/scripts
trvon 39ffa02ae6
Salt: dockerized multi-node fleet test (master/central + 3 sensors) + state fixes
deploy/salt/test/: builds a release tarball from HEAD in ubuntu:24.04 (CI path),
boots systemd containers (rootless, no --privileged), master==central + 3
sensors with the host's Salt onedir mounted read-only, applies the real states,
runs a workload with planted YARA detections, then two orchestrated cycles.
43 checks (install/config/idempotence, real daemons + telemetry, R2 cache
miss/hit, cp.push collect, 3-seed cycle, canary hold then fleet rollout, no
promoted model anywhere, fleet bits in round 2, --since cursor, dedup).

State fixes found by running them for real:
- init.sls no longer includes strawberry.distribute: a plain state.apply on
  sensors shipped models fleet-wide and bypassed the canary; only the
  orchestration distributes now.
- install.sls: CI tarballs carry a +g<sha> suffix that 'strawberry version'
  does not print, so install.sh re-ran on every apply; record the installed
  release and compare base version + marker.
- orch collect: mv -f (re-collected bundles must not be skipped).
- central cycle: builds the overlay first; a training refusal for too few
  teacher labels (normal on a young fleet) publishes the overlay only and
  keeps the sensors' shadow, any other error still fails.
- distribute.sls: serves only what the cycle published (cp.hash_file; the
  cp.list_master file-list cache can miss a just-published file).
Render check gains overlay-only and full publish cases (20 checks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 12:16:31 -07:00
..
analyze_changed.sh Audit flow: add the clang static analyzer as a strict per-change gate 2026-10-28 09:55:03 -06:00
build_minimal.sh Implement runtime pipeline, reporting, and local UI 2026-04-26 16:31:01 -04:00
check_deps.sh Implement runtime pipeline, reporting, and local UI 2026-04-26 16:31:01 -04:00
fleet_e2e.sh fleet: e2e harness + fleet train/overlay JSON, *.sbx-only bundle listing 2026-11-12 07:00:57 -07:00
fold_changed.sh Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00
fold_scan_in_docker.sh Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00
install.sh Stage 7e: scheduled stop->reduce->start telemetry-reduction maintenance (opt-in) 2026-11-11 13:21:13 -07:00
install_common.sh Rules R1: ship pinned yara-forge-core source snapshot in the release (no per-node fetch) 2026-11-11 13:21:12 -07:00
macos_install.sh Stage 4: ship a training trace set; install traces 2026-10-28 04:50:04 -06:00
perf_kpi.py KPI: bound collection and reject incomplete measurements 2026-11-03 06:57:00 -07:00
perf_kpi.sh KPI: bound collection and reject incomplete measurements 2026-11-03 06:57:00 -07:00
perf_kpi_report.py KPI: bound collection and reject incomplete measurements 2026-11-03 06:57:00 -07:00
perf_kpi_runtime.py KPI: bound collection and reject incomplete measurements 2026-11-03 06:57:00 -07:00
perf_kpi_workload.py KPI: bound collection and reject incomplete measurements 2026-11-03 06:57:00 -07:00
perf_kpi_workload.sh KPI: bound collection and reject incomplete measurements 2026-11-03 06:57:00 -07:00
refresh-rules-snapshot.sh Rules R1: ship pinned yara-forge-core source snapshot in the release (no per-node fetch) 2026-11-11 13:21:12 -07:00
release.sh Release: one version source, CI version contract, scripts/release.sh 2026-11-09 08:55:05 -07:00
run_exec_guard_live_docker.sh Add exec prevention, behavior telemetry and persistence watch 2026-10-25 18:17:16 -06:00
run_fuzzers.sh Privacy: attribute tracker contacts to programs via OpenSnitch events 2026-10-28 06:15:28 -06:00
run_live_bpf_daemon_smoke_docker.sh Implement runtime pipeline, reporting, and local UI 2026-04-26 16:31:01 -04:00
run_live_bpf_pipeline_smoke_docker.sh Implement runtime pipeline, reporting, and local UI 2026-04-26 16:31:01 -04:00
run_live_bpf_smoke.sh Implement runtime pipeline, reporting, and local UI 2026-04-26 16:31:01 -04:00
run_live_bpf_smoke_docker.sh Implement runtime pipeline, reporting, and local UI 2026-04-26 16:31:01 -04:00
run_live_tests_docker.sh Stage 7e: scheduled stop->reduce->start telemetry-reduction maintenance (opt-in) 2026-11-11 13:21:13 -07:00
strawberry-reduce.service Stage 7e: scheduled stop->reduce->start telemetry-reduction maintenance (opt-in) 2026-11-11 13:21:13 -07:00
strawberry-reduce.sh Stage 7e: scheduled stop->reduce->start telemetry-reduction maintenance (opt-in) 2026-11-11 13:21:13 -07:00
strawberry-reduce.timer Stage 7e: scheduled stop->reduce->start telemetry-reduction maintenance (opt-in) 2026-11-11 13:21:13 -07:00
strawberry-trackerd.service Privacy: host-namespace tracker relay + install/units/docs (WS2b/WS2c) 2026-10-28 17:56:23 -06:00
strawberry-update.path Add policy, threat-intel feeds and OpenSnitch containment 2026-10-25 18:17:05 -06:00
strawberry-update.service CLI: yams-style commands, with doctor and doctor fix 2026-10-27 09:32:02 -06:00
strawberry-update.timer Add policy, threat-intel feeds and OpenSnitch containment 2026-10-25 18:17:05 -06:00
strawberry.service CLI: yams-style commands, with doctor and doctor fix 2026-10-27 09:32:02 -06:00
test_reduce_wrapper.sh Stage 7e: scheduled stop->reduce->start telemetry-reduction maintenance (opt-in) 2026-11-11 13:21:13 -07:00
test_rules_snapshot.sh Rules R1: ship pinned yara-forge-core source snapshot in the release (no per-node fetch) 2026-11-11 13:21:12 -07:00
test_salt_states.sh Salt: dockerized multi-node fleet test (master/central + 3 sensors) + state fixes 2026-11-14 12:16:31 -07:00