Add local synthetic intake Relay demo

KH
1h ago
+1306-0

Summary

  • Adds a fictional intake rehearsal with named local Relay agents for Slack routing, research, CRM drafting and deduplication, and independent review.
  • Uses a loopback Relaycast engine for the four acknowledged Direct Messages. Two local viewer identities independently read and reply to the shared review post.
  • Demonstrates an update draft for mock-crm-042. The independent reviewer omits the unverifiable phone and records zero CRM writes.
  • Documents the replay commands, receipt IDs, and the procedure for an authorized Slack test. The Slack adapter was exercised with a synthetic Relayfile record. A single human-authored synthetic Slack message from the designated test channel reached the local session and produced all four Relay handoffs. Replaying the same stored provider record verified that the demo now accepts the live record format directly.

Verification

  • npm run build:core
  • npm run lint completed with existing CLI warnings
  • npm test passed 3,533 tests with 20 skipped
  • npm --prefix packages/sdk test passed 207 tests
  • node --test demos/nabis-intake/intake.test.mjs passed six tests, including coverage for the live Relayfile webhook record
  • node demos/nabis-intake/run.mjs passed on Node 22.14 and 26.8. The runbook lists the Relay message and delivery IDs.

Demo runbook and recorded evidence


See it in action
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.