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
Stage 1 keeps the deployed implementation authoritative. The measured-row
feed virtualiser and /api/owner/session cadence are main-only changes that
the reconciliation deliberately did not adopt; the specs assert them, so
mark them fixme and record both as Stage 2 items in docs/deferred-tests.md.
- Keeps every production behaviour from the deployed tree: public feed,
owner packet sharing (including the Oct-12 publish/claim timeout fix),
regions, privacy rematerialisation, RAM/durable ingest, owner last-hop
prewarm.
- Takes main's additive work since the fork: ingest repair series, 1-byte
path evidence, gitleaks ignore, dependabot pins, publicStatus,
workloadPolicy and health diagnostics.
- Resolves 26 conflicts; per-file decisions recorded in the campaign
DECISIONS.md and merge-proposal notes.
- Restores the two migrations missing from the deployed tree byte-exact
(052_node_identity_packets_raw_columns, 055_message_tags) and defers
main's unapplied 057 status-column migration to docs/deferred-migrations.
- Fresh-database bootstrap verified: base schema plus 60 migrations apply
in order; a second run reports no pending migrations.
Exact snapshot of the tree that produced the running images (HEAD 1f94bd8)
including the 199 uncommitted/untracked production changes: regions, owner
packet sharing, public feed, RAM ingest, privacy rematerialisation, path-beta
updates, migrations 052-060, tests and deploy scripts.
Excluded: .env*/knowledge.md/.private-config (gitignored secrets); runtime
backup receipts restored to HEAD; mosquitto ACL/passwd are gitignored (kept
in the private pre-change snapshot). No functional changes.
Bring main up to date with the live UKMesh production tree, reconciled
per-file (tree-wins for deployed features; main-wins where main evolved
past the tree's lineage; hand-merges for mixed files). Verified locally
on the deploy host: backend + frontend typechecks, backend unit suite
(543 pass / 0 fail), frontend suite (147 pass / 0 fail), OpenAPI
contract check, frontend production build, scripts typecheck.
Highlights:
- Deployed features land: tags + recent tags, owner public feed,
Viterbi path prewarm and prior rebuilds, region participation,
owner packet-sharing JWT scope, pathing docs, README updates.
- Main-side hardening retained: CI RAM steps + smoke cleanup trap,
hardened scripts, gitleaks/logging rules, stale-MQTT observer
protections, alert-receiver queue module, health-status refactor
with tree retention additions (owner_packet_share_deliveries +
public_feed_deliveries @30d, node_status_samples @30d — matching
live TimescaleDB policies).
- Credential-generation client close restored on the tree's ownerAccess
so the operator revocation tool (owner-auth:revoke) keeps working.
- Migrations renumbered to follow main's 058/059 ledger migrations:
055_public_feed, 060_region_scope_participation,
061_packet_share_owner_scope_and_jwt; migration-registry test
assertions updated to the final numbering.
- Planning/report artifacts removed from the repo; local plans/, *.bak*
patterns gitignored (deploy tree tidied to match).
Expose the F16 credentialed public source for revocable CoreScope projections; preserve stable identities, generation fences and bounded overlap paging.
* feat(ops): auto-rebaseline owner ACL inventory
* docs(ops): handoff owner baseline autorebaseline
* ops: add reviewed owner-authorization baseline refresh script
scripts/refresh-owner-baseline.sh regenerates the owner inventory baseline
with the running backend image, validates it against the live inventory
(fail-closed), backs up .env before repointing, and can recreate the backend.
It refuses to overwrite an existing baseline and keeps the previous file for
rollback. Adds the matching operations runbook section.
* test(ops): cover refresh baseline validation output
---------
Co-authored-by: gadgethd <111318106+gadgethd@users.noreply.github.com>
- tagger-worker: persistent retry queue (tagger_retry) so API outages cannot
drop tags; overlap 20s->120s; only publicly-visible in-scope messages are
sent to the API (visibility + network filter)
- backend: tags joined into /feed/messages, /packets/recent, /packets/:hash
and the WS initial state; new GET /tags/recent for live enrichment; contract
+ openapi entries
- frontend: tag chips under the row meta line (feed + app), live 15s tag poll,
Message tags section in the packet detail panel