This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Jeffrey Smith 680ec3b897
All checks were successful
CI/CD / detect-changes (push) Successful in 3s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Successful in 2m34s
CI/CD / test-sqlite (push) Successful in 2m46s
CI/CD / build-and-deploy (push) Successful in 1m55s
Feat rebrand armature (#43)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
2026-03-31 23:25:37 +00:00
..
2026-03-31 23:25:37 +00:00
2026-03-30 17:04:40 +00:00
2026-03-30 17:04:40 +00:00

Workflow Chat Integration

Creates scoped chat conversations when workflow stages require team collaboration.

Setup

  1. Install the workflow-chat and chat-core packages.
  2. In your workflow stage with audience: team, set stage_config:
{
  "on_advance": {
    "package_id": "workflow-chat",
    "entry_point": "on_advance"
  }
}
  1. When the workflow advances to that stage, ensure stage_data includes:
{
  "title": "Bug Triage Discussion",
  "team_members": [
    {"id": "user-1", "display_name": "Alice"},
    {"id": "user-2", "display_name": "Bob"}
  ],
  "creator_id": "user-1",
  "creator_display_name": "Alice"
}

The hook will:

  • Create a group conversation titled "Bug Triage Discussion [abcd1234]" (suffixed with instance ID)
  • Add all team members as participants
  • Send a system message linking to the workflow instance
  • Enrich stage_data with the conversation_id

Idempotency

If stage_data already contains a conversation_id, the hook returns None (no-op).