EphemeralReply type with auto-delete TTL #659
Notifications
Due Date
No due date set.
Depends on
Reference: sam/archie#659
Reference in new issue
Block a user
An
EphemeralReplytype for messages the gateway sends that should self-delete after a TTL — status/progress placeholders ("thinking…", "running tool X…") that shouldn't linger in the chat history once superseded.Context for implementers
No ephemeral-reply file exists yet in
internal/gateway. Deletion requires adapter support:BasePlatformAdapter(internal/gateway/adapter.go) currently exposes onlyConnect/Disconnect/Send/ChatInfo— no delete method. This depends on (or should land alongside)archie-core-1786637493329-136-49b39c78(BasePlatformAdapter optional methods, which includes delete) — an adapter without a delete method can't honor the TTL.Acceptance Criteria
An
EphemeralReplycarries a TTL after which the gateway issues a delete against the originating adapter. Adapters without delete support degrade gracefully (e.g. leave the message, log once) rather than erroring the turn. TTL firing is covered by a test using an injected clock, not a real sleep.Close reason
Closed
Imported from beads
archie-core-1786637493282-134-cf46838e· GitHub #155 · type task · priority P2 · created 2026-08-08 · closed 2026-10-02