The gate peer-push router dropped transport_lock from the event payload,
and the immediate push built its body without envelope_hash, gate_envelope,
transport_lock and reply_to. All of these are covered by the gate event
signature, so receivers rejected pushed posts as invalid and posts only
crossed through the slower pull path. Both paths now keep every signed field.
The connect-contact endpoint called a blocking function that makes HTTP
calls back into the same server directly on the event loop; it now runs in
a worker thread.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The routed /api/mesh/dm/prekey-bundle and /api/mesh/dm/pubkey
handlers dropped lookup_peer_url, so every invite lookup ignored the
relay the sender named and fell back to a fleet-wide search that
could run for many minutes. Pass it through.
- Give an onion relay hint a circuit-sized connect timeout; 5 s was
shorter than building a circuit to an onion service.
- PeerStore.save() now merges with what other writers saved since its
load, so concurrent loops and endpoints no longer drop each other's
changes (an operator-added peer was being lost to a swarm refresh).
- Merge a swarm manifest with one load and one save instead of one per
peer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Probe peers nobody has vouched for in a fresh random order, untried
first, so a long peer list is swept instead of the same few dead
peers being retried every time their cooldown ends.
- A peer that reaches us with a valid peer HMAC is tried before unknown
peers (ordering only; it still cools down if it then fails).
- DM fan-out without a named relay, and the invite prekey lookup across
push peers, walked every known peer at the full (onion) timeout. Both
now take live and vouched-for peers first and stop after a bounded
number; the lookup also has an overall deadline.
- Swarm manifest refreshes no longer turn an operator-added peer back
into a swarm peer or re-enable one the operator disabled.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Tor and clearnet transports unpacked the per-peer body builder as if
it were the body, so every peer push raised a TypeError and nothing
left the node over those transports. Build the body per destination.
- The RNS gate fallback reported "published" even when RNS was off,
which marked undelivered gate posts as delivered. Report failure
unless RNS is enabled and ready.
- The gate push/pull loops and the immediate sends walked every known
peer in store order with a long timeout. With thousands of swarm
peers, mostly unreachable, a pass could take hours before reaching a
live peer. Contact recently working peers first, then peers the
peer store vouches for, back off failing peers with a doubling
cooldown, stop a peer's remaining gates after its first failure, and
cap contacts per pass and per send.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The registered GET /api/mesh/dm/prekey-bundle route (routers/mesh_dm.py)
dropped lookup_peer_url, so the UI's invite lookup fanned out to every
known peer instead of asking the invite owner, and could run for minutes.
Forward it to the main handler.
- The hinted invite lookup used a fixed (5, 20) s timeout and a single try,
shorter than the onion timeout and often shorter than a Tor round trip to
a busy node. The invite owner's peer now gets its transport's normal
timeout and one retry on a transport failure, bounded by the existing
lookup deadline. Definitive answers ("not found") are not retried.
- POST /api/wormhole/dm/connect-contact ran send_contact_request on the
event loop. That makes blocking HTTP calls back into the same server, so
the API stalled until the call timed out. Run it in a worker thread, as
the gate invite routes already do.
- openclaw_infonet._run_async called asyncio.run() inside a running loop in
both branches, which raises RuntimeError. Run the coroutine on its own
loop in a helper thread when a loop is already running.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Honour a per-message weaker-privacy approval for dm and gate release
On a node with RNS enabled but only one private transport up, dm and gate
items wait for private_strong. The "send with weaker privacy" approval
returned ok but did nothing: evaluate_network_release ignored it, the
worker wiped it on every pass for gate items, and the outbox overlay only
handled dm, so gate items never showed weaker_privacy_approval_required.
An explicit per-item approval now lets that one item release at
private_transitional, never lower. Without it the floor (Hardening Rec #4)
is unchanged and items stay queued. Contact-wide relay policies do not
lower the floor, and MESH_PRIVATE_RELEASE_APPROVAL_ENABLE=false disables
it entirely. Gate items now get the approval prompt in the outbox status.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Show queued gate posts and the weaker-privacy prompt in the gate view
Gate posts are sealed in the local private outbox and can wait there for
private_strong, but no gate UI showed that. The approval prompt existed
only in the DM compose panel, so a stuck gate post looked "posted".
The Infonet gate view now lists this node's queued gate posts above the
composer. When the backend reports weaker_privacy_approval_required it
shows "Keep waiting" (first) and "Send with weaker privacy", which call
the existing private-delivery action route. It polls only while a post
is waiting. The Mesh Terminal says a post is queued instead of "Posted".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ip-api.com's free tier refuses HTTPS, so the IP dossier, the subnet
sweep and the entity graph all came back without a location. They now
read the free DB-IP Lite city and ASN databases stored in the data
folder, so the IPs being investigated are never sent to anyone.
- services/geoip_local.py: downloads the two files on the first IP
lookup (about 65 MB), checks each new file before it replaces the old
one, and keeps one copy. A daily job fetches a file only when a new
month's is out and only on installs that already have one.
SB_GEOIP_AUTO_UPDATE=0 turns downloading off.
- The sweep keeps its scan results when no location is available.
- The dossier credits DB-IP (CC BY 4.0) and no longer shows a risk
level or proxy flags it does not have.
- Adds maxminddb 3.2.0 to read the files.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The standard stars badge rounds 11,623 up to "12K". This one reads the
exact count and still updates on its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds a link line (website, live map, Discord, forum), a badge row
(website, live map, Discord, license, stars) and the Hacker News badge
suggested in #732.
Closes#732
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The public map now has a "Public preview" line on its main card, and the
About box opens with two lists: what is on this map, and what only the
full app has. The README gets the same comparison as a table near the top.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every visit starts with no stories seen, so each page load repeated the
high-risk stories already listed in the news panel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The radar layer had no areas to watch on a fresh install, so it showed
nothing. APRS receive can now listen to a few more bounded circles.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Both skills can find cameras near a place and save one current picture
(or short clip) to a file for a vision model. The camera comes from the
camera list by id or position, never from an address.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A layer that was hidden and is shown later kept a saved 'off' the visitor
never chose. Hidden switches are no longer saved, and browsers that saved
them under an older build get the default back once.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
An 'AI agent skill' screen shows every file of the public skill in full,
as plain text, with a SHA-256 fingerprint each and a link to the source.
The build copies the files into the site and stops if one contains
invisible characters or a hidden comment.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A public sibling of the shadowbroker agent skill. It answers questions
about aircraft, ships, nearby activity and news by reading the public
viewer's published data files. Same command names and answer shapes as
the full skill; no key, account or install needed; nothing it can send
or change.
- openclaw-skills/shadowbroker-public: SKILL.md, skill.yaml, sb_public.py
(standard library only) and tests
- bridge: optional --lookup-index, a small aircraft/ship index so one
lookup does not download whole layers
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>