Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
05c7ec0
fix(sensing): recover saved empty reference without renewing authority
proffesor-for-testing Oct 12, 2026
41b4bee
Merge remote-tracking branch 'origin/main' into codex/secure-companio…
proffesor-for-testing Oct 12, 2026
33aadc9
feat(companion): add owner-approved pinned TLS pairing and shared rooms
proffesor-for-testing Oct 12, 2026
7ba5456
docs(companion): record implementation and verification boundaries
proffesor-for-testing Oct 12, 2026
3f6cefa
merge: refresh companion server integration with upstream main
proffesor-for-testing Oct 19, 2026
7a04840
docs(adr): resolve secure companion pairing number collision
proffesor-for-testing Oct 19, 2026
a13463b
fix(companion): enforce durable capacity and prepared host authority
proffesor-for-testing Oct 19, 2026
c28335b
feat(companion): add scoped transient phone sensor preview
proffesor-for-testing Oct 20, 2026
a686cca
fix(security): patch TLS dependencies and migrate ZIP consumers safely
proffesor-for-testing Oct 21, 2026
feba162
fix(server): host the existing MAT API without optional ML payload
proffesor-for-testing Oct 21, 2026
7cc1953
fix(mat): share incident routes on the mobile HTTP origin
proffesor-for-testing Oct 21, 2026
f8e3085
refactor: separate workspace dependency remediation from companion PR
proffesor-for-testing Oct 22, 2026
e57d4f3
fix(mat): apply host privacy policy to stream and alert prose
proffesor-for-testing Oct 22, 2026
383ea4d
fix(mat): withhold biometric domain-event debug snapshots
proffesor-for-testing Oct 22, 2026
d05aa59
docs(adr): clarify MAT privacy and companion state lifetimes
proffesor-for-testing Oct 22, 2026
a909f8b
fix(companion): isolate account-owned helpers and session authority
proffesor-for-testing Oct 23, 2026
827e2f0
test(companion): exercise account ownership through real HTTP middleware
proffesor-for-testing Oct 23, 2026
415de14
fix(deps): refresh compatible companion runtime security patches
proffesor-for-testing Oct 25, 2026
e42fe80
fix(deps): patch companion Tokio I/O-safety constructors
proffesor-for-testing Oct 27, 2026
77ceba7
fix(vitals): bind publication decisions to source and calibration
proffesor-for-testing Oct 27, 2026
fc23534
fix(stream): stop cached-frame rebroadcast and withhold stale pose
proffesor-for-testing Oct 28, 2026
6a41348
Merge audited main into companion privacy branch
proffesor-for-testing Oct 29, 2026
2bc281c
Merge audited companion base into account isolation
proffesor-for-testing Oct 29, 2026
9cf5311
Reconcile publication diagnostics with audited account base
proffesor-for-testing Oct 29, 2026
efa1b89
Merge audited diagnostics base into stale stream repair
proffesor-for-testing Oct 29, 2026
f7fd237
fix(server): bound managed helper lifetime to spawning app
proffesor-for-testing Oct 29, 2026
fbd38c3
feat(companion): explicitly review and retain bounded spatial artifacts
proffesor-for-testing Oct 30, 2026
89dd87f
fix(companion): bound upload reads before taking calibration lock
proffesor-for-testing Oct 30, 2026
157fc35
fix(deps): patch Wasmtime and libz audit findings for helper stack
proffesor-for-testing Oct 30, 2026
a7e015d
chore(review): stack spatial handoff on separately reviewed audit repair
proffesor-for-testing Oct 30, 2026
f965bb2
chore(deps): leave discovery fixture repair to existing PRs 2171 and …
proffesor-for-testing Oct 30, 2026
7194714
Merge branch 'fix/spatial-stack-audit-20261030' into feat/102-compani…
proffesor-for-testing Oct 30, 2026
e63e6ac
fix(companion): avoid nested calibration locks in peer router composi…
proffesor-for-testing Oct 30, 2026
9fd56ea
fix(calibration): restore validated full-room models across helper re…
proffesor-for-testing Oct 31, 2026
cda38f5
docs(calibration): specify bounded same-model client reconnect
proffesor-for-testing Oct 31, 2026
3dc368b
Bump wasmtime 36.0.19 -> 36.0.20 (RUSTSEC-2026-0424), re-vendor cache…
Nov 1, 2026
6a9aa03
feat(calibration): add opt-in per-source field bank shadow
proffesor-for-testing Nov 1, 2026
e5afe12
feat(calibration): preserve source-aware native observations and capt…
proffesor-for-testing Nov 1, 2026
b29ab45
feat(learning): train source-conditioned AETHER room candidates
proffesor-for-testing Nov 1, 2026
7e76c65
feat(server): manage guarded room learner lifecycle and private persi…
proffesor-for-testing Nov 1, 2026
9923347
test(learning): bound lifecycle composition fixture workload
proffesor-for-testing Nov 1, 2026
cc59662
fix(learning): expose bounded native input rejection diagnostics
proffesor-for-testing Nov 1, 2026
c6066b2
feat(signal): add gain-preserving nonnegative magnitude projection
proffesor-for-testing Nov 1, 2026
e379b3a
fix(learning): admit valid spectral nulls with versioned native proje…
proffesor-for-testing Nov 1, 2026
e6fe333
fix(learning): bind readiness and admission to exact reported PHY coh…
proffesor-for-testing Nov 1, 2026
e2255e8
feat(learning): report condition metrics and honest cohort coverage
proffesor-for-testing Nov 1, 2026
f9f6ec9
feat(learning): persist immutable evaluation evidence without renewal
proffesor-for-testing Nov 1, 2026
e6af4ba
feat(learning): restore matching historical candidate evaluations
proffesor-for-testing Nov 1, 2026
77e4380
docs(adr): propose managed source-aware learner and evidence boundaries
proffesor-for-testing Nov 1, 2026
d973e2c
fix(learning): bound and reclaim exact-source readiness classes
proffesor-for-testing Nov 2, 2026
df3f9e5
Merge reviewed readiness repair from room learner parent
proffesor-for-testing Nov 2, 2026
d6d81ca
feat(learning): add opt-in encrypted owner-bound capture storage
proffesor-for-testing Nov 2, 2026
db22bc7
feat(capture): recover original cohorts without restoring live freshness
proffesor-for-testing Nov 2, 2026
0c31804
feat(learning): wire guarded provisional capture recovery lifecycle
proffesor-for-testing Nov 2, 2026
f4ec743
docs(learning): propose explicit encrypted capture recovery boundary
proffesor-for-testing Nov 2, 2026
05ef9e6
fix(deps): bound ZIP 7 symlink allocation without a framework upgrade
proffesor-for-testing Nov 3, 2026
42c3f2d
docs(calibration): define qualified learner selection and Room Save c…
proffesor-for-testing Nov 3, 2026
c822017
feat(learner): qualify and explicitly select durable room models
proffesor-for-testing Nov 3, 2026
16687c7
feat(learner): publish guarded selected binary room evidence
proffesor-for-testing Nov 3, 2026
f542e61
test(learner): export actual selected-model producer contracts
proffesor-for-testing Nov 3, 2026
4fbd3fd
fix(learner): canonicalize qualification rates and held-out defaults
proffesor-for-testing Nov 3, 2026
7aceef9
fix(learner): withhold selected frames from legacy MQTT bridge
proffesor-for-testing Nov 3, 2026
8c97f27
fix(learner): withhold selection when its pointer is lost
proffesor-for-testing Nov 3, 2026
f160b07
test(learner): preserve offline owner recovery controls
proffesor-for-testing Nov 3, 2026
05efb45
fix(calibration): retain verified expired reference diagnostics after…
proffesor-for-testing Nov 3, 2026
cc760e8
fix(deps): preview ZIP allocation backport on main Wasmtime security …
proffesor-for-testing Nov 3, 2026
9f7c790
Local-only security queue rehearsal #2249
proffesor-for-testing Nov 3, 2026
b46cd20
Local-only security queue rehearsal #2350
proffesor-for-testing Nov 3, 2026
6506f75
Local-only security queue rehearsal #2374
proffesor-for-testing Nov 3, 2026
0ae4997
Local-only security queue rehearsal #2379
proffesor-for-testing Nov 3, 2026
b152222
Local-only security queue rehearsal #2386
proffesor-for-testing Nov 3, 2026
0effeff
Local-only rehearsal: retain2413 lock edges and provenance at redunda…
proffesor-for-testing Nov 3, 2026
a521a3c
Local-only security queue rehearsal #2401
proffesor-for-testing Nov 3, 2026
f0ca2d1
Local-only security queue rehearsal #2407
proffesor-for-testing Nov 3, 2026
14e2bcf
Local-only security queue rehearsal #2417
proffesor-for-testing Nov 3, 2026
d1ecdcf
Local-only security queue rehearsal #2423
proffesor-for-testing Nov 3, 2026
a81d4ee
Local-only security queue rehearsal #2424
proffesor-for-testing Nov 3, 2026
6c08d95
Local-only security queue rehearsal #2427
proffesor-for-testing Nov 3, 2026
973b413
Local-only security queue rehearsal #2434
proffesor-for-testing Nov 3, 2026
8aeef11
Local-only security queue rehearsal #2438
proffesor-for-testing Nov 3, 2026
a8c0ccb
Local-only security queue rehearsal #2439
proffesor-for-testing Nov 3, 2026
069b079
fix(learner): expose protected source sequence admission diagnostics
proffesor-for-testing Nov 4, 2026
dbbc58c
feat(worldgraph): publish bounded managed room topology
proffesor-for-testing Nov 4, 2026
00d65f0
fix(learning): preserve active RAM captures after recovery expiry
proffesor-for-testing Nov 4, 2026
5393dfa
feat(learner): retain managed training proof and sealed-phase replay …
proffesor-for-testing Nov 4, 2026
63e4f96
feat(companion): publish bounded read-only calibration progress
proffesor-for-testing Nov 4, 2026
9a65e8c
Local rehearsal: compose managed proof and paired progress
proffesor-for-testing Nov 4, 2026
14094ad
Local rehearsal: retain expiry, managed proof, progress and WorldGraph
proffesor-for-testing Nov 4, 2026
371f8dd
fix(calibration): preflight every bound legacy CSI grid
proffesor-for-testing Nov 4, 2026
ecc49bc
Local rehearsal: integrate qualified expiry proof progress and WorldG…
proffesor-for-testing Nov 4, 2026
2167ec9
Local rehearsal: retain reviewed legacy calibration grid preflight
proffesor-for-testing Nov 4, 2026
39b9a99
test: adapt grid readiness fixtures to combined companion handlers
proffesor-for-testing Nov 4, 2026
59324e5
feat(learner): checkpoint current new runs without resetting capture
proffesor-for-testing Nov 5, 2026
1c98652
feat(learner): add inactive native temporal input and durable-prefix …
proffesor-for-testing Nov 6, 2026
80d0430
feat(learner): add inactive Runtime temporal Train bridge
proffesor-for-testing Nov 6, 2026
780eb7a
test(learner): freeze portable seed V2 artifact compatibility
proffesor-for-testing Nov 6, 2026
88d1ea9
Local review: merge current main into dependency-only security candidate
proffesor-for-testing Nov 6, 2026
0d98d44
feat(learner): keep private temporal capture persistence off ingress …
proffesor-for-testing Nov 6, 2026
5c115cb
feat(learner): fit confirmed private temporal Train captures
proffesor-for-testing Nov 6, 2026
85c9e9e
fix(learner): preserve setup guard and await async capture receipts
proffesor-for-testing Nov 6, 2026
e36d60a
Merge reviewed temporal CI repair while preserving C3 test visibility
proffesor-for-testing Nov 6, 2026
5124d7b
feat(learner): recover privately frozen temporal fits
proffesor-for-testing Nov 6, 2026
ea46baf
fix(learner): preserve legacy budget identity and bound fresh Train runs
proffesor-for-testing Nov 6, 2026
fe7f349
test(learner): gate native persistence journeys by execution profile
proffesor-for-testing Nov 7, 2026
cfa08bb
fix(ci): bind temporal tests to verified Cargo artifacts
proffesor-for-testing Nov 7, 2026
1e78417
Merge required temporal CI profile contract and classify C3 fixtures
proffesor-for-testing Nov 7, 2026
90edb4d
Merge verified Cargo artifact custody into C3 CI profile contract
proffesor-for-testing Nov 7, 2026
e4b9368
Prepare normal parent CI profile merge and budget journey classification
proffesor-for-testing Nov 7, 2026
1a88152
Merge required CI profile contract while preserving C4A source
proffesor-for-testing Nov 7, 2026
2aac55f
Merge verified Cargo execution custody into budget CI profile contract
proffesor-for-testing Nov 7, 2026
916a471
test: keep C4A sources live while window ACK is pending
proffesor-for-testing Nov 7, 2026
ad7ac21
review: compose current server queue for local qualification
Nov 7, 2026
d6c06e2
review: retain exact current security PR ancestry in local qualification
proffesor-for-testing Nov 7, 2026
7539d61
feat(learner): privately capture confirmed temporal held-out phases
proffesor-for-testing Nov 7, 2026
c222fb0
test: require Release execution of synchronous temporal reference
proffesor-for-testing Nov 7, 2026
d398dd5
test: require exact Release C1 reference in qualification CI
proffesor-for-testing Nov 7, 2026
f6ae834
fix(discovery): refresh same service after interface recovery
codex Nov 7, 2026
505ac65
Merge current main into ZIP dependency review
proffesor-for-testing Nov 8, 2026
e3961d4
test(ci): require exact Release C1 reference on original stack
proffesor-for-testing Nov 8, 2026
eb45d00
feat(learner): connect whole temporal evaluation and selected workflow
proffesor-for-testing Nov 8, 2026
b9aa8d1
Local native65 integration: retain synchronized security ancestry
proffesor-for-testing Nov 8, 2026
3da6a44
Local native65 integration: preserve qualified helper and whole C4C s…
proffesor-for-testing Nov 8, 2026
e21875f
fix(learner): serialize owner status capture clock ticks
proffesor-for-testing Nov 8, 2026
7210a33
Merge commit 'e21875f13aa6d7a02c2b815b4a5582932b2eabe0' into integrat…
proffesor-for-testing Nov 8, 2026
fd9e729
fix(learner): match paired progress by full publication binding
proffesor-for-testing Nov 8, 2026
3ace357
Merge commit 'fd9e729ce945f00a955f866e1e0d07b917af043a' into integrat…
proffesor-for-testing Nov 8, 2026
fdf5b86
fix(learner): keep idle cadence estimates from failing Full2 priming
proffesor-for-testing Nov 8, 2026
dfd5404
Merge commit 'fdf5b8658ef3f3ad606ddb4023f06364aba35e79' into integrat…
proffesor-for-testing Nov 8, 2026
6708b2f
LOCAL object review: C1 forward into original2471
proffesor-for-testing Nov 8, 2026
b38b8f2
LOCAL object review: Refreshed2474 ancestry into original2479
proffesor-for-testing Nov 8, 2026
28837bf
LOCAL object review: C1 forward into original2475
proffesor-for-testing Nov 8, 2026
353b8d1
LOCAL object review: C1 refreshed2471 forward into original2474
proffesor-for-testing Nov 8, 2026
10b5f03
LOCAL object review: Retain refreshed2475 ancestry in original2479
proffesor-for-testing Nov 8, 2026
50d1422
fix(ci): keep manual verification runs nonpublishing
proffesor-for-testing Nov 8, 2026
5509412
fix(learner): restore eight-step capture plan and safe retry
proffesor-for-testing Nov 9, 2026
54ffbc5
fix(learner): keep recovery status off RF ingress lock
proffesor-for-testing Nov 9, 2026
fd425a9
ci: keep manual learner verification nonpublishing
proffesor-for-testing Nov 9, 2026
945d8f8
test(learner): bind Frozen revisions to the durable Train prefix
proffesor-for-testing Nov 9, 2026
1c44547
fix(calibration): abstain on stale or missing presence specialists
proffesor-for-testing Nov 9, 2026
b8af1dc
fix(sensing): measure DSP cadence from accepted frame history
proffesor-for-testing Nov 9, 2026
1008cc0
feat(firmware): support XIAO MR60BHA2 carrier
ruvnet Nov 9, 2026
f817562
fix(radar): publish fail closed MR60 presence
ruvnet Nov 9, 2026
888ef3d
Reconcile existing learner stack with rUv source fusion and SQLite re…
proffesor-for-testing Nov 10, 2026
56a874f
Preserve original temporal PR ancestry already present in integration
proffesor-for-testing Nov 10, 2026
fa48728
Preserve original frozen-fit repair ancestry without changing reviewe…
proffesor-for-testing Nov 10, 2026
298239b
Preserve original bounded Train CI repair ancestry
proffesor-for-testing Nov 10, 2026
4ac75b9
Merge existing discovery interface recovery fix
proffesor-for-testing Nov 10, 2026
a917bf8
Merge existing stale-specialist abstention repair
proffesor-for-testing Nov 10, 2026
4be2a76
Merge existing accepted-frame DSP cadence repair
proffesor-for-testing Nov 10, 2026
3680487
Retain existing QEMU runner repair from PR2510
proffesor-for-testing Nov 10, 2026
206170a
Merge rUv MR60 managed-helper and carrier baseline
proffesor-for-testing Nov 10, 2026
b8b5564
perf(learner): prepare immutable training inputs once per fit
proffesor-for-testing Nov 10, 2026
b8f731b
Merge current main into #2513 and resolve dependency conflicts
proffesor-for-testing Nov 11, 2026
dc0661f
fix(ci): run MQTT feature tests before broker integration
proffesor-for-testing Nov 11, 2026
dc6149f
fix(ci): remove failing mirror bootstrap from server validation
proffesor-for-testing Nov 11, 2026
3041940
perf(aether): reuse attention scratch buffers without numeric changes
proffesor-for-testing Nov 11, 2026
68cd049
fix(aether): retain missing-value rejection for zero-width attention
proffesor-for-testing Nov 11, 2026
4f70c5e
test: await segment preparation before synthetic operator packets
proffesor-for-testing Nov 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/bench-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ on:
- 'v2/Cargo.toml'
- 'v2/Cargo.lock'
- '.github/workflows/bench-regression.yml'
- 'scripts/ci-install-ubuntu-deps.sh'
pull_request:
paths:
- 'v2/crates/**/benches/**'
Expand All @@ -50,6 +51,7 @@ on:
- 'v2/Cargo.toml'
- 'v2/Cargo.lock'
- '.github/workflows/bench-regression.yml'
- 'scripts/ci-install-ubuntu-deps.sh'
workflow_dispatch:

permissions:
Expand All @@ -68,7 +70,7 @@ jobs:
# ── HARD GATE: every bench must still compile + link ─────────────────────
bench-compile:
name: bench compile-verify (--no-run)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout (recursive — wifi-densepose-rufield path-deps vendor/rufield)
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
Expand All @@ -84,8 +86,7 @@ jobs:
# the whole graph, so these are required here too.
- name: Install Tauri / GTK / serial system dev libraries
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
bash scripts/ci-install-ubuntu-deps.sh \
libglib2.0-dev \
libgtk-3-dev \
libsoup-3.0-dev \
Expand Down
41 changes: 36 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# Rust Workspace Tests
rust-tests:
name: Rust Workspace Tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
Expand All @@ -96,8 +96,7 @@ jobs:
# standard Tauri-on-Ubuntu set.
- name: Install Tauri / GTK / serial system dev libraries
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
bash scripts/ci-install-ubuntu-deps.sh \
libglib2.0-dev \
libgtk-3-dev \
libsoup-3.0-dev \
Expand Down Expand Up @@ -132,13 +131,41 @@ jobs:
# device" once the engine/benchmark crates landed; the same tree's local
# debug target measured 151 GB). Debuginfo is useless in CI — tests either
# pass or print their failure — so build without it; target shrinks ~5-10x.
- name: Verify temporal Debug/Release test classification
env:
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"
CARGO_BUILD_JOBS: "2"
run: |
python3 scripts/ci/test_temporal_test_profiles.py
python3 scripts/ci/temporal_test_profiles.py debug-check --evidence-dir "${{ runner.temp }}/temporal-test-profiles"

- name: Run Rust tests
working-directory: v2
env:
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"
run: cargo test --workspace --no-default-features

- name: Execute native temporal persistence journeys in Release
env:
CARGO_BUILD_JOBS: "2"
run: python3 scripts/ci/temporal_test_profiles.py release-run --evidence-dir "${{ runner.temp }}/temporal-test-profiles"

- name: Retain temporal profile registration and execution evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: temporal-test-profiles
path: ${{ runner.temp }}/temporal-test-profiles

- name: Verify secure companion over real sockets
env:
CARGO_PROFILE_DEV_DEBUG: "0"
run: |
cargo build --manifest-path v2/Cargo.toml --locked -p wifi-densepose-sensing-server --bin sensing-server
python3 scripts/tests/companion_socket_probe.py v2/target/debug/sensing-server

- name: Verify patched archive and cache compatibility
working-directory: v2
env:
Expand Down Expand Up @@ -403,6 +430,9 @@ jobs:
# workflow, so it doesn't gate the rest of the pipeline.
docker-build:
name: Docker Build & Test
# PR/manual verification must not publish images. The existing main-push
# publisher behavior is separate from these verification-only events.
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [code-quality, test, rust-tests]
continue-on-error: true
Expand Down Expand Up @@ -478,7 +508,7 @@ jobs:
name: API Documentation
runs-on: ubuntu-latest
needs: [docker-build]
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch'
permissions:
contents: write # gh-pages deploy needs write (GITHUB_TOKEN is read-only by default -> 403)
steps:
Expand Down Expand Up @@ -523,7 +553,8 @@ jobs:
name: Notify
runs-on: ubuntu-latest
needs: [code-quality, test, rust-tests, ui-tests, performance-test, docker-build, docs]
if: always()
# This job also creates releases and sends external notifications.
if: always() && github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
contents: write # required by softprops/action-gh-release
# GitHub Actions does not allow `secrets.X` directly in step-level `if:`
Expand Down
76 changes: 31 additions & 45 deletions .github/workflows/firmware-qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,49 +22,32 @@ on:
- 'scripts/swarm_presets/**'
- '.github/workflows/firmware-qemu.yml'

defaults:
run:
shell: bash

env:
IDF_VERSION: "v5.4"
QEMU_REPO: "https://github.com/espressif/qemu.git"
QEMU_BRANCH: "esp-develop"

jobs:
build-qemu:
name: Build Espressif QEMU
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
# This SDK image installs Espressif's checksum-verified QEMU package and
# its runtime libraries. Match the image used by both consumers below.
# Avoid APT DNS and an unpinned floating QEMU source build on cold caches.
container:
image: espressif/idf:v5.4@sha256:f1e9f69dc052b9afc7801ca884e0ef40c17e014bb05ce73d9c09d29290bd17fb
steps:
- name: Cache QEMU build
id: cache-qemu
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: /opt/qemu-esp32
# Include date component so cache refreshes monthly when branch updates
key: qemu-esp32s3-${{ env.QEMU_BRANCH }}-v5
restore-keys: |
qemu-esp32s3-${{ env.QEMU_BRANCH }}-

- name: Install QEMU build dependencies
if: steps.cache-qemu.outputs.cache-hit != 'true'
- name: Prepare SDK-provided Espressif QEMU
run: |
sudo apt-get update
sudo apt-get install -y \
git build-essential ninja-build pkg-config \
libglib2.0-dev libpixman-1-dev libslirp-dev \
libgcrypt20-dev \
python3 python3-venv

- name: Clone and build Espressif QEMU
if: steps.cache-qemu.outputs.cache-hit != 'true'
run: |
git clone --depth 1 -b "$QEMU_BRANCH" "$QEMU_REPO" /tmp/qemu-esp
cd /tmp/qemu-esp
mkdir build && cd build
../configure \
--target-list=xtensa-softmmu \
--prefix=/opt/qemu-esp32 \
--enable-slirp \
--disable-werror
ninja -j$(nproc)
ninja install
. "$IDF_PATH/export.sh"
QEMU_BIN="$(command -v qemu-system-xtensa)"
QEMU_ROOT="$(dirname "$(dirname "$QEMU_BIN")")"
"$QEMU_BIN" --version
"$QEMU_BIN" -machine help | grep -E '^esp32s3[[:space:]]'
mkdir -p /opt/qemu-esp32
cp -a "$QEMU_ROOT/." /opt/qemu-esp32/

- name: Verify QEMU binary
run: |
Expand All @@ -84,7 +67,7 @@ jobs:
needs: build-qemu
runs-on: ubuntu-latest
container:
image: espressif/idf:v5.4
image: espressif/idf:v5.4@sha256:f1e9f69dc052b9afc7801ca884e0ef40c17e014bb05ce73d9c09d29290bd17fb

strategy:
fail-fast: false
Expand Down Expand Up @@ -213,32 +196,35 @@ jobs:

fuzz-test:
name: Fuzz Testing (ADR-061 Layer 6)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
CC: clang-18
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
submodules: recursive

- name: Install clang
- name: Verify hosted Clang
# Ubuntu 24.04 hosted runners already contain Clang 18 and libFuzzer.
# Do not fetch the redundant distro meta-package before testing.
run: |
sudo apt-get update
sudo apt-get install -y clang
"$CC" --version

- name: Build fuzz targets
working-directory: firmware/esp32-csi-node/test
run: make all CC=clang
run: make all CC="$CC"

- name: Run serialize fuzzer (60s)
working-directory: firmware/esp32-csi-node/test
run: make run_serialize FUZZ_DURATION=60 || echo "FUZZER_CRASH=serialize" >> "$GITHUB_ENV"
run: make run_serialize CC="$CC" FUZZ_DURATION=60 || echo "FUZZER_CRASH=serialize" >> "$GITHUB_ENV"

- name: Run edge enqueue fuzzer (60s)
working-directory: firmware/esp32-csi-node/test
run: make run_edge FUZZ_DURATION=60 || echo "FUZZER_CRASH=edge" >> "$GITHUB_ENV"
run: make run_edge CC="$CC" FUZZ_DURATION=60 || echo "FUZZER_CRASH=edge" >> "$GITHUB_ENV"

- name: Run NVS config fuzzer (60s)
working-directory: firmware/esp32-csi-node/test
run: make run_nvs FUZZ_DURATION=60 || echo "FUZZER_CRASH=nvs" >> "$GITHUB_ENV"
run: make run_nvs CC="$CC" FUZZ_DURATION=60 || echo "FUZZER_CRASH=nvs" >> "$GITHUB_ENV"

- name: Check for crashes
working-directory: firmware/esp32-csi-node/test
Expand Down Expand Up @@ -319,7 +305,7 @@ jobs:
needs: [build-qemu]
runs-on: ubuntu-latest
container:
image: espressif/idf:v5.4
image: espressif/idf:v5.4@sha256:f1e9f69dc052b9afc7801ca884e0ef40c17e014bb05ce73d9c09d29290bd17fb

steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
Expand Down
56 changes: 26 additions & 30 deletions .github/workflows/mqtt-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20

# NB: we don't use a `services:` mosquitto container here because the
# eclipse-mosquitto:2.x image rejects anonymous connections by default
# and GH Actions `services` doesn't easily support mounting a custom
# config file. We start mosquitto manually in a step below with an
# inline `allow_anonymous true` config.
# Explicit vendor broker config; publish only the CI loopback port.
# No APT package install or production MQTT security policy is involved.

env:
RUVIEW_RUN_INTEGRATION: "1"
Expand All @@ -50,29 +47,26 @@ jobs:
with:
submodules: recursive

- name: Install mosquitto + clients and start with allow_anonymous
- name: Start pinned Mosquitto broker with CI-only anonymous listener
run: |
sudo apt-get update -qq
sudo apt-get install -y mosquitto mosquitto-clients
sudo systemctl stop mosquitto || true
# Inline config: anon listener on 11883 only — no TLS, no auth,
# OK for CI because we test the wire shape, not security.
# Production deployments enable mTLS per ADR-115 §3.9.
cat > /tmp/mosquitto-ci.conf <<'EOF'
listener 11883
cat > "$RUNNER_TEMP/mosquitto-ci.conf" <<'CONFIG'
listener 1883
allow_anonymous true
persistence false
log_dest stdout
EOF
mosquitto -c /tmp/mosquitto-ci.conf -d
CONFIG
docker run --detach --user mosquitto --name ruview-mqtt-ci \
--publish 127.0.0.1:11883:1883 \
--mount "type=bind,source=$RUNNER_TEMP/mosquitto-ci.conf,target=/mosquitto/config/mosquitto.conf,readonly" \
eclipse-mosquitto:2.0.18@sha256:d12c8f80dfc65b768bb9acecc7ef182b976f71fb681640b66358e5e0cf94e9e9
for i in {1..20}; do
if mosquitto_pub -h 127.0.0.1 -p 11883 -t healthcheck -m ok -q 0 2>/dev/null; then
echo "mosquitto reachable on 11883"; exit 0
if docker exec ruview-mqtt-ci mosquitto_pub -h 127.0.0.1 -p 1883 -t healthcheck -m ok -q 0 \
&& python3 -c 'import socket; socket.create_connection(("127.0.0.1", 11883), timeout=3).close()'; then
exit 0
fi
sleep 2
sleep 1
done
echo "mosquitto never became reachable" >&2
tail -50 /var/log/mosquitto/*.log 2>/dev/null || true
docker logs ruview-mqtt-ci
exit 1

- name: Install Rust toolchain
Expand All @@ -90,16 +84,15 @@ jobs:
python -m pip install --quiet pyyaml
python scripts/validate-ha-blueprints.py

- name: Verify unit tests still pass under --features mqtt
- name: Verify MQTT-feature unit tests
working-directory: v2
# `cargo test` accepts a single TESTNAME filter, so we run the
# whole --lib suite here. That gives us the full 410-test green
# bar under --features mqtt (which is more reassuring than
# filtering anyway).
# Keep this broker workflow focused on the feature it changes. The full
# library/workspace and temporal Release suites run in ci.yml; repeating
# long learner training here exhausted this job before broker tests ran.
run: >-
cargo test -p wifi-densepose-sensing-server
cargo test --locked -p wifi-densepose-sensing-server
--features mqtt --no-default-features
--lib
--lib mqtt::
--no-fail-fast

- name: Run integration tests against mosquitto
Expand All @@ -114,5 +107,8 @@ jobs:
- name: Dump broker logs on failure
if: failure()
run: |
docker ps -a
docker logs $(docker ps -aqf "ancestor=eclipse-mosquitto:2.0.18") || true
docker logs ruview-mqtt-ci || true

- name: Stop the owned CI broker
if: always()
run: docker rm --force ruview-mqtt-ci
7 changes: 5 additions & 2 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
set -o pipefail
cargo audit --file Cargo.lock --json | tee cargo-audit.json

- name: Exercise the vendored ZIP symlink allocation guard
run: cargo test --manifest-path v2/vendor/security/zip-7.2.0/Cargo.toml --locked --no-default-features --features deflate --test ruview_0429_backport

- name: Upload Rust advisory report
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: always()
Expand Down Expand Up @@ -450,7 +453,7 @@ jobs:
# job-level env block (added below).
- name: Notify security team on critical findings
continue-on-error: true
if: ${{ env.SECURITY_SLACK_WEBHOOK_URL != '' && (needs.sast.result == 'failure' || needs.dependency-scan.result == 'failure' || needs.container-scan.result == 'failure') }}
if: ${{ github.event_name != 'workflow_dispatch' && env.SECURITY_SLACK_WEBHOOK_URL != '' && (needs.sast.result == 'failure' || needs.dependency-scan.result == 'failure' || needs.container-scan.result == 'failure') }}
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3
with:
status: failure
Expand All @@ -466,7 +469,7 @@ jobs:

- name: Create security issue on critical findings
continue-on-error: true
if: needs.sast.result == 'failure' || needs.dependency-scan.result == 'failure'
if: github.event_name != 'workflow_dispatch' && (needs.sast.result == 'failure' || needs.dependency-scan.result == 'failure')
uses: actions/github-script@00f12e3e20659f42342b1c0226afda7f7c042325 # v6
with:
script: |
Expand Down
Loading
Loading