Skip to content

Harden fmsg delivery, recovery, and SecretRef setup - #4

Merged
markmnl merged 4 commits into
mainfrom
feat/secretref-setup
Sep 1, 2026
Merged

markmnl merged 4 commits into
mainfrom
feat/secretref-setup

Conversation

@markmnl

@markmnl markmnl commented Sep 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • fix replies by emitting pid as an exact JSON int64 while preserving full-range protocol IDs as decimal strings internally
  • use OpenClaw durable delivery, chain multi-part replies, and leave definite delivery failures unacknowledged for catch-up
  • persist pending inbound IDs and recover them after reconnect/restart, even when they fall outside recent inbox pages
  • expose JWT-derived identity, endpoint, credential source, access policy, reconnect state, and delivery errors in channel status
  • add directory self identity, explicit owner-command opt-in, heartbeat/proactive-routing guidance, and SecretRef shadow warnings
  • accept OpenClaw SecretRefs while prompting for an explicit Web API URL and home fmsg address
  • enforce the final circuit-breaker turn with outbound no_reply
  • add strict full-range Web API tests, live OpenClaw restart acceptance, and required fmsg-docker checks for PRs and releases
  • document first-run verification and clarify that a transcript is not proof of platform delivery

Verification

  • npm run typecheck
  • npm test (45 passed, 2 opt-in skipped)
  • Node.js 22.22.3: 45 passed, 2 opt-in skipped
  • npm run build
  • npm run test:gateway (live OpenClaw root, branch, reply-all, durable reply, SIGTERM restart, inbox catch-up)
  • npm pack --dry-run --ignore-scripts
  • git diff --check
  • real fmsg-docker acceptance is configured as a required PR/release job; it could not run locally because Docker is not installed on this host

@markmnl markmnl changed the title Add SecretRef credentials and guided fmsg setup Harden fmsg delivery, recovery, and SecretRef setup Sep 1, 2026
@markmnl
markmnl merged commit d35ff44 into main Sep 1, 2026
4 checks passed
@markmnl
markmnl deleted the feat/secretref-setup branch September 1, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant