Repository navigation
Use Factory's webhook secret on make-bot-ui - #21
Conversation
The user creates a Webhook-trigger automation, pastes the URL, and keeps the secret in an env file. The server sends X-Webhook-Secret. The URL-is-the-secret rule and the droid exec wake path are gone. Co-authored-by: Kaitian Xie <caelaxie@users.noreply.github.com>
caelaxie
left a comment
There was a problem hiding this comment.
verdict: changes requested (comment review, same account).
content matches #19's smallest fix: factory webhook automation, url in chat, secret in the env file, X-Webhook-Secret, url-is-the-secret branch and droid exec path gone, "do not guess the id" kept, private-preview line added. host, tailnet, and probe sections untouched. sender key -> secret follows factory's own name, fine.
one thing:
skills/make-bot-ui/SKILL.mdL9: new blank line between the frontmatter---and# How to make a bot UI. upstream L8-L9 has none, and neither did the port. drop it.
proof: Validate plugin was still running on bc80165. droid ci does marketplace add + droid plugin install + list, so green ci at the final head is enough for this text-only fix. merge once the blank line is gone and ci is green.
| exposing that UI on Tailscale. | ||
| disable-model-invocation: true | ||
| --- | ||
|
|
There was a problem hiding this comment.
stray blank line. upstream goes straight from --- to # How to make a bot UI. drop it.
|
Harness proof. Command output is unedited. |
Upstream has no blank line between the closing --- and the heading. Co-authored-by: Kaitian Xie <caelaxie@users.noreply.github.com>
caelaxie
left a comment
There was a problem hiding this comment.
verdict: pass at 300b4a4, merging.
- blank line after the frontmatter is gone; L8-L9 match upstream again.
- matches #19's smallest fix. checked against docs.factory.ai automations:
https://api.factory.ai/api/webhooks/automations/<webhook-id>,X-Webhook-Secret, secret shown once in the webhook created dialog, private preview, droid computer or environment. all correct. - no cursor files or paths. host, tailnet, probe, and wake sections untouched apart from sender key -> secret.
validate plugingreen at 300b4a4 (marketplace add + install + list).Closes #19, not a draft.
Closes #19
The user creates a Webhook-trigger automation in the Factory app, pastes the URL in chat, and puts the secret in the server's env file. The server sends
X-Webhook-Secret. The "URL is the secret" branch and thedroid execwake path are deleted. "Do not guess the id" stays. One line notes that webhook triggers are in private preview and that a webhook run executes on a Droid Computer or an Environment.Host, probe, and tailnet steps stay. The wake section does not restore upstream's
[routine]turn or<webhook_event>block. Those are Cursor routine fields. Factory's webhook docs say the raw request body is what the run receives.The guide's
/make-bot-uisentence no longer mentionsdroid exec.