Canvas bind flow drops a new source's signing secret #141

Closed
opened 2026-10-27 13:35:07 +00:00 by sam · 0 comments
Owner

Goal

Creating a source from the workflow canvas (BindEvent) shows its webhook URL and secret once, or offers the unsigned request, like SourcesPanel.

Evidence

ui/src/workflows/BindEvent.vue calls api.sourceCreate and discards the response; the secret is returned only by that write (internal/webui/api_source.go:14-16). New sources are signed, so their events never dispatch.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • After creating a source in BindEvent the panel shows the full URL and secret with copy buttons until dismissed, reusing SourcesPanel's display.
  • Playwright check at 1920x947 with stubbed API.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

Fixed in 16b8c230. Canvas creates a source before requiring an example event and retains the one-time signing secret until dismissal. Shared Sources display shows full webhook URL and secret with copy controls. Playwright at 1920x947 with stubbed API reproduced the failure against the previous component and passed against the final component, including copy, dismissal, event arrival, and binding save without source recreation. Dashboard regenerated; task check passed.


Imported from beads archie-core-bdb5.1 · GitHub #1396 · type bug · priority P0 · created 2026-10-05 · closed 2026-10-05

## Goal Creating a source from the workflow canvas (BindEvent) shows its webhook URL and secret once, or offers the unsigned request, like SourcesPanel. ## Evidence ui/src/workflows/BindEvent.vue calls api.sourceCreate and discards the response; the secret is returned only by that write (internal/webui/api_source.go:14-16). New sources are signed, so their events never dispatch. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] After creating a source in BindEvent the panel shows the full URL and secret with copy buttons until dismissed, reusing SourcesPanel's display. - [ ] Playwright check at 1920x947 with stubbed API. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason Fixed in 16b8c230. Canvas creates a source before requiring an example event and retains the one-time signing secret until dismissal. Shared Sources display shows full webhook URL and secret with copy controls. Playwright at 1920x947 with stubbed API reproduced the failure against the previous component and passed against the final component, including copy, dismissal, event arrival, and binding save without source recreation. Dashboard regenerated; task check passed. --- _Imported from beads `archie-core-bdb5.1` · GitHub #1396 · type bug · priority P0 · created 2026-10-05 · closed 2026-10-05_
sam added the criticalbug labels 2026-10-27 13:35:07 +00:00
sam self-assigned this 2026-10-27 13:35:07 +00:00
sam closed this issue 2026-10-27 13:35:07 +00:00
sam added a new dependency 2026-11-14 14:45:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#141