Skip to content

[Bug]: contact-form recipe recommends delivering messages from logs that omit bodies #783

Closed

Description

@jimhoyd

Runtime revision and environment

URLCode v0.6.2 (a7d7ce1c4a540032cbc032ca0f605f1b3555b996), published npm core 0.6.2; macOS, Node v26.8.2. Read-only review on 2026-09-26; reproductions in disposable directories.

Minimal reproduction

Read recipes/contact-form/README.md's final paragraph. It correctly says signals carry only fixed route/method/status metadata, then recommends putting a store or mailer behind the hook "that reads the request log" to deliver the submitted message.

The runtime request logs deliberately exclude request bodies and form field values (see docs/OPERATIONS.md and packages/core/src/observability.ts). A downstream hook cannot recover name/email/message from those logs. The recipe responds accepted but provides no message-delivery path through the recommended log approach.

Expected: remove this unusable workflow and point readers to the current declarative forms/mail or form-records/store composition, depending on delivery versus persistence. Keep the metadata-only signal and body-free logging contracts intact. Make clear what the minimal recipe demonstrates and what requires a configured delivery/storage capability.

Relevant output

Source and documentation inspection; the current README explicitly says the signal omits the message. No external hook was contacted and no production logs inspected.

Activity

  1. jimhoyd commented on Sep 26, 2026

    @jimhoyd
    CollaboratorAuthor

    Fixed in #786 (dfa5489); GitHub didn't close this automatically.

    • Removed: the contact-form recipe no longer suggests delivering messages from the request log.
    • What the recipe says now: it shows validation plus a metadata-only signal, and it neither delivers nor keeps the message. It links the log privacy guarantees.
    • Where to go instead: forms + notify + mail for delivery, or form-records + store for persistence.
    • Unchanged: the signal and body-free logging contracts.

    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions