Skip to content

send.sh accepts nonexistent from/to agents without validation #355

Description

@fujibee

Summary

send.sh <team> <from> <to> <message> performs no existence check on either the from or the to agent name. A typo'd recipient (e.g. an accidental ... send.sh <team> <agent> dummy "x") is accepted and stored: the message lands in the DB addressed to a nonexistent agent, is never deliverable, and pollutes team history. A typo'd sender is equally accepted, which can misattribute messages in history.

Observed on a live team DB (v1.1.7-dev): a mistyped send to a nonexistent agent dummy was stored successfully with exit 0.

Expected

Notes

Validation belongs in send.sh (front door) rather than the storage layer, so api.sh/programmatic paths can decide their own policy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions