Commit Graph
85 Commits
Author SHA1 Message Date
gadgethd 739bd992c4 docs: finalize merge ledger, 19-finding mapping and verification handoff 2026-10-25 04:44:29 +00:00
gadgethd 078b417c49 Merge release/security-20261025; reconcile 61 conflicts and 19 findings
Port security remediation onto the newer main/VPS behavior. Preserve applied
migration names using exact checksum proof; retain durable ingest, egress,
worker recovery, telemetry normalization and newer main operational fixes.

Ledger: docs/reviews/20261025-merge-ledger.md
Validation: backend tsc/build; 708 tests, 0 fail, 3 DB skips; frontend
tsc/build; 166 tests, 0 fail, 10 opt-in browser skips; contract check;
confirmed-grant onboarding and isolated authenticated receiver fixtures.

Resolved paths:
- .env.example
- .github/workflows/ci.yml
- .gitignore
- .gitleaks.toml
- backend/package-lock.json
- backend/src/api/contracts.ts
- backend/src/api/routes.ts
- backend/src/api/routes/auditwave.integration.test.ts
- backend/src/api/routes/auditwave.performance.test.ts
- backend/src/api/routes/exports.test.ts
- backend/src/api/routes/misc.test.ts
- backend/src/api/routes/owner.ts
- backend/src/api/routes/ownerPacketSharing.test.ts
- backend/src/api/routes/regions.test.ts
- backend/src/api/routes/regions.ts
- backend/src/db/ownerAuth.ts
- backend/src/db/packetBatch.integration.test.ts
- backend/src/index.ts
- backend/src/metrics.ts
- backend/src/mqtt/client.ts
- backend/src/mqtt/envelopeSafety.test.ts
- backend/src/mqtt/envelopeSafety.ts
- backend/src/owner/ownerAccess.ts
- backend/src/owner/ownerLastHopPrewarm.test.ts
- backend/src/owner/ownerLastHopPrewarm.ts
- backend/src/owner/ownerRepository.ts
- backend/src/owner/packetShareForwarder.test.ts
- backend/src/owner/packetShareForwarder.ts
- backend/src/owner/packetShareRepository.integration.test.ts
- backend/src/owner/packetShareRepository.ts
- backend/src/owner/publicFeedForwarder.test.ts
- backend/src/owner/publicFeedForwarder.ts
- backend/src/owner/publicFeedRepository.ts
- backend/src/path-learning/rebuild.ts
- backend/src/ram/liveRead.ts
- backend/src/repositories/nodes.ts
- backend/src/spam/cluster.test.ts
- backend/src/spam/cluster.ts
- backend/src/spam/config.ts
- backend/src/spam/repository.ts
- backend/src/tools/rebuildRegionParticipation.ts
- backend/src/workers/alert-receiver.ts
- backend/src/workers/synthetic-monitor.ts
- backend/src/ws/server.ts
- backup-receipts/latest.json
- backup-receipts/latest.json.sig
- docker-compose.yml
- docs/openapi.yaml
- docs/operations.md
- docs/spam-detection.md
- frontend/playwright.config.ts
- frontend/src/components/Map/RegionsMap.tsx
- frontend/src/components/Map/regionOverlay.test.ts
- frontend/src/components/Map/regionOverlay.ts
- frontend/src/pages/RegionsPage.tsx
- frontend/src/pages/TopologyPage.browser.test.ts
- frontend/src/pages/regions-page.css
- frontend/src/pages/regionsModel.ts
- frontend/test/e2e/dashboard.spec.ts
- tagger-worker/Dockerfile
- vacuum-compressed-chunks.sh
2026-10-25 04:42:05 +00:00
gadgethd 882777eae7 Merge origin/main into deployed tree; reconcile all 52 conflicts
Preserve deployed behavior and adopt main fixes. Full per-file decisions and
checksum proof: docs/reviews/20261025-merge-ledger.md.

Resolved 52 paths:
- .env.example
- .gitignore
- backend/package.json
- backend/src/api/contracts.ts
- backend/src/api/routes/misc.ts
- backend/src/api/routes/owner.ts
- backend/src/api/routes/ownerPacketSharing.test.ts
- backend/src/api/routes/regions.test.ts
- backend/src/api/routes/regions.ts
- backend/src/db/index.ts
- backend/src/db/packetBatch.integration.test.ts
- backend/src/db/packetBatch.test.ts
- backend/src/db/packetBatch.ts
- backend/src/db/packetInput.ts
- backend/src/health/status.ts
- backend/src/health/statusIntegrity.test.ts
- backend/src/index.ts
- backend/src/metrics.test.ts
- backend/src/mqtt/client.ts
- backend/src/mqtt/statusTelemetry.test.ts
- backend/src/mqtt/statusTelemetry.ts
- backend/src/owner/ownerLastHopPrewarm.ts
- backend/src/owner/packetShareForwarder.ts
- backend/src/owner/publicFeedForwarder.test.ts
- backend/src/owner/publicFeedForwarder.ts
- backend/src/owner/publicFeedRepository.ts
- backend/src/ram/liveRead.ts
- backend/src/ram/liveStore.test.ts
- backend/src/ram/runtime.integration.test.ts
- backend/src/ram/writerRuntime.ts
- backend/src/repositories/nodes.ts
- backend/src/spam/cluster.test.ts
- backend/src/spam/cluster.ts
- backend/src/spam/config.ts
- backend/src/tools/rebuildRegionParticipation.ts
- backend/src/workers/alert-receiver.test.ts
- backend/src/workers/alertDeliveryQueue.ts
- backend/src/workers/privacy-rematerialization.ts
- backend/src/ws/server.ts
- backup-receipts/latest.json
- backup-receipts/latest.json.sig
- docker-compose.yml
- docs/openapi.yaml
- docs/spam-detection.md
- frontend/src/components/Map/RegionsMap.tsx
- frontend/src/components/Map/regionOverlay.test.ts
- frontend/src/components/Map/regionOverlay.ts
- frontend/src/pages/RegionsPage.tsx
- frontend/src/pages/regions-page.css
- frontend/src/pages/regionsModel.ts
- rf-coverage/config.ukmesh.yaml
- tagger-worker/Dockerfile

Validation: backend tsc; 673 tests, 670 pass, 0 fail, 3 DB skips; frontend
tsc/build; default frontend 166 tests, 0 fail (10 opt-in browser skips);
contract:check; fixture-only Compose config and adoption tests.
2026-10-25 04:30:19 +00:00
hermes-gadget 1c6d95d05c test(path-beta): give the worker-pool replacement budget room for a cold start 2026-10-25 04:19:50 +00:00
hermes-gadget 05cded10e7 docs(api): regenerate OpenAPI for the unattributed-regions route 2026-10-25 03:04:50 +00:00
hermes-gadget ea65313f9a Merge pull request #161 from gadgethd/burn/ukmesh-data-20261023
fix(data): reject MQTT Will telemetry and retain node name history
2026-10-25 02:35:19 +00:00
hermes-gadget 9a572524a8 Merge pull request #165 from gadgethd/burn/ukmesh-onboard-20261023
fix(onboarding): surface default-topic broker denials and document linking
2026-10-25 02:16:07 +00:00
hermes-gadget 1fc8ec91ea Merge pull request #164 from gadgethd/burn/ukmesh-preheat-20261023
feat(owner): observable last-hop prewarm and a Compose adoption guard
2026-10-25 02:07:01 +00:00
hermes-gadget e52ee95cb3 fix(db): allocate node name history migration as 064 after regions
Both branches allocated 063; validateMigrationPrefixes rejects duplicate
numeric prefixes. Regions keeps 063, so this migration and the two
references to it move to 064.
2026-10-25 02:06:28 +00:00
hermes-gadget 2c50913fae docs: record UKMesh data verification proof 2026-10-25 02:06:28 +00:00
hermes-gadget 637b971c93 fix(nodes): retain former names and resolve them in search (#631) 2026-10-25 02:06:28 +00:00
hermes-gadget 3e0b12ee8b Merge pull request #160 from gadgethd/burn/ukmesh-regions-20261023
feat(regions): default-off region scoping for API and live map
2026-10-25 02:04:49 +00:00
hermes-gadget 9e2dee3784 docs(review): record onboarding fixes, linking design and proof 2026-10-25 01:52:43 +00:00
hermes-gadget 7ef12767d1 fix(onboarding): surface default MQTT topic denials and document linking 2026-10-25 01:52:43 +00:00
hermes-gadget 418ba258e8 feat: report owner prewarm progress and guide Compose adoption repair 2026-10-25 01:50:28 +00:00
hermes-gadget e49b4260bc Merge pull request #152 from gadgethd/burn/ukmesh-broker-20261023
Make broker PUBLISH denials observable (#269)
2026-10-25 01:50:04 +00:00
hermes-gadget 3a54aa6abf Merge pull request #163 from gadgethd/burn/ukmesh-shm-20261023
ci(compose): require explicit PostgreSQL shm sizing
2026-10-25 01:49:55 +00:00
hermes-gadget b919432f45 Merge pull request #162 from gadgethd/burn/ukmesh-alerts-20261023
feat(alerts): bound alert delivery and report prewarm progress
2026-10-25 01:49:50 +00:00
hermes-gadget b7a744ba53 merge: security remediation onto the production line
Combines the 11-commit security remediation with the five production
feature commits (message tags, region filters, observer tx counts,
region name probes, compose region list).

Conflict resolution:
- docker-compose: union of owner-share and public-feed env; public_feed_deliveries
  added to the retention targets; privacy-remat-worker service adopted from the
  remediation branch (already running in production).
- contracts/misc/db/openapi/tagger-worker: remediation side (privacy predicate,
  fenced re-read, overlap hashes) - it is the superset.
- vacuum-compressed-chunks.sh: kept the production-proven infra-compose
  resolution; the remediation branch version is a follow-up.
2026-10-25 01:33:02 +00:00
hermes-gadget 54dbc68bb2 Audit PostgreSQL shared memory and enforce explicit 1 GiB sizing 2026-10-25 01:24:00 +00:00
hermes-gadget 7a75da9519 docs(review): record ukmesh alerts and terrain verification 2026-10-25 01:23:14 +00:00
hermes-gadget 46ac49636b fix(alerts): bind link heartbeat staleness to its Redis TTL 2026-10-25 01:23:14 +00:00
hermes-gadget b6c7c60102 Document regions Phase B implementation and verification 2026-10-25 01:19:23 +00:00
hermes-gadget f6cba55a90 Add default-off regional scoping to API and live map 2026-10-25 01:19:23 +00:00
hermes-gadget ec84921830 Document UKMesh convergence evidence and operational handoff 2026-10-25 01:18:00 +00:00
hermes-gadget 69cc48a767 Monitor public privacy generation convergence without repair 2026-10-25 01:18:00 +00:00
hermes-gadget 2a29f7328a Expose broker publish denials and correct family triage 2026-10-25 01:17:27 +00:00
hermes-gadget 16490bb889 Merge pull request #151 from gadgethd/burn/ukmesh-ingest-20261023
Surface MQTT monitor failures and bound ingest SQL
2026-10-25 01:05:52 +00:00
hermes-gadget 9a80289ec3 Merge pull request #150 from gadgethd/burn/ukmesh-ci-20261023
ci: retry transient registry and apt build failures
2026-10-25 01:05:46 +00:00
gadgethd 0b6a352087 fix(release): separate trust anchors and key the export cache to visibility
Three unrelated trust-anchor defects:

- exports: /api/v1/exports/nodes.* set a 15-minute public cache with no
  visibility key. Add a generation-derived weak ETag, Vary, X-Visibility-
  Generation, optional v= with 412 + no-store on mismatch, 60s max-age, and a
  post-query generation re-read that downgrades mid-flight redactions. A
  generation read failure is 503 + no-store instead of a cached 200.
- release: keyless signing moved out of the image matrix into a sign job
  restricted to refs/tags/v*, behind the release-signing environment, with an
  in-script ref check as defence in depth. Branch dispatches still build.
- restore: the drill no longer copies the verify key into the receipt
  directory. Both sides require an out-of-band sha256 pin, reject a key inside
  the receipts tree (including symlinks), and fail closed on mismatch. Compose
  mounts the key from its own directory and passes the pin.

Docs updated for the new key layout and pin.

Audit: backend/src/api/routes/exports.ts:nodes-export:public-cache-not-keyed-to-visibility-generation
       supply-chain/release-workflow:keyless-signing-identity-not-bound-to-release-ref
       ukmesh/restore-receipt-verify-key-published-with-receipt
2026-10-23 16:41:26 +00:00
hermes-gadget a542111fc7 docs(review): record green CI and RAM gate follow-up 2026-10-23 09:32:50 +01:00
hermes-gadget ec51e459dc docs: record CI retry verification and handoff 2026-10-23 09:09:54 +01:00
hermes-gadget 548b541cd9 docs(review): record ingest fixes, verification and activity evidence gap 2026-10-23 09:01:46 +01:00
hermes-gadget 0ada4674b3 fix(ingest): surface monitor failures and bound SQL execution 2026-10-23 08:58:06 +01:00
hermes-gadget a5bfa546af docs: record readiness ACL exception evidence and handoff 2026-10-23 08:53:29 +01:00
hermes-gadget c39452eb8f Merge remote-tracking branch 'origin/main' into burn/vacuum-backlog-20261022
# Conflicts:
#	backend/package.json
2026-10-22 22:12:49 +01:00
hermes-gadget 0a8cb97e4d Merge pull request #143 from gadgethd/burn/privacy-fence-20261022
Fix empty prefix cascade fences and add verified privacy convergence
2026-10-22 22:12:35 +01:00
hermes-gadget dc4ea77be1 Merge pull request #141 from gadgethd/burn/spam-rotating-ids-20261022
Fix rotating-ID spam gaps and stale campaign incident rows
2026-10-22 22:12:31 +01:00
hermes-gadget 92b717812a Merge remote-tracking branch 'origin/main' into burn/vacuum-backlog-20261022
# Conflicts:
#	REVIEW.md
#	backend/package.json
2026-10-22 22:11:53 +01:00
hermes-gadget c1087b6010 Merge remote-tracking branch 'origin/main' into burn/privacy-fence-20261022
# Conflicts:
#	REVIEW.md
#	backend/package.json
2026-10-22 22:10:38 +01:00
hermes-gadget 1ed3d4732d Merge remote-tracking branch 'origin/main' into burn/spam-rotating-ids-20261022
# Conflicts:
#	REVIEW.md
2026-10-22 22:10:25 +01:00
hermes-gadget 2f756be7c7 Merge remote-tracking branch 'origin/main' into burn/deploy-tree-rescue-20261022
# Conflicts:
#	.gitignore
#	REVIEW.md
2026-10-22 22:10:18 +01:00
hermes-gadget ce54edf5e5 docs: refresh MQTT performance completion evidence 2026-10-22 16:52:11 +01:00
hermes-gadget d4e07aa9f6 fix(spam): honor small campaign evidence budgets 2026-10-22 15:56:36 +01:00
hermes-gadget 02c2699c5c docs: verify MQTT performance handoff against current PR 2026-10-22 15:55:10 +01:00
hermes-gadget 767f37e042 fix(health): align vacuum backlog with PostgreSQL triggers 2026-10-22 15:34:22 +01:00
hermes-gadget 97a007af10 fix(privacy): ignore empty prefix cascades and add verified convergence 2026-10-22 14:24:23 +01:00
hermes-gadget f95ad42020 docs: record MQTT nodes performance proof and review 2026-10-22 14:14:50 +01:00
hermes-gadget d9461c2c1c fix(spam): detect small rotating-ID bursts and preserve campaign evidence 2026-10-22 14:11:10 +01:00
hermes-gadget eef1244eca perf(api): aggregate MQTT receiver counts before canonicalization 2026-10-22 14:10:57 +01:00