Text chat 20: fluxer-devserver textchat scenario #270

Closed
opened 2026-11-12 11:07:42 +00:00 by charles · 0 comments
Owner

Plan: docs/superpowers/plans/2026-11-12-textchat.md, section "Task 20". Spec: docs/superpowers/specs/2026-11-12-fluxer-native-textchat-design.md.

Task 20: fluxer-devserver textchat scenario

Issue: #TBD

Files:

  • Create: fixtures/scenarios/textchat.toml, fixtures/gateway/textchat_ready.json, crates/fluxer-devserver/src/{chat.rs,uploads.rs,search.rs,gifs.rs}
  • Modify: crates/fluxer-devserver/src/{scenario.rs,http.rs,gateway.rs,images.rs,lib.rs}, crates/fluxer-devserver/README.md
  • Test: crates/fluxer-devserver/tests/textchat.rs

Interfaces:

  • Produces: spec §12 "fluxer-devserver"; scenario textchat: guild with custom emoji (still + animated) and stickers, threads key with two threads, a channel history containing every content kind (1–10 image mosaics, video, audio, file, spoiler, alt text, expired attachment, each embed type, sticker, forward, reply + deleted reply, system messages incl. pin), reactions incl. a scripted MESSAGE_REACTION_ADD_MANY, pins, a group DM and relationships, saved messages, memes; REST for every endpoint of Text chat 5 and 6 with the server's validation (limits, permissions, empty message, 30 reactions, pin types) and events echoed like the server (pin → CHANNEL_PINS_UPDATE + system message + MESSAGE_UPDATE); multipart parsing and the presigned flow (scenario flag presigned = true also flips the discovery feature); search answering {indexing:true} (HTTP 200) on the first query per channel, then substring results; unfurl MESSAGE_UPDATE with a link embed 1 s after a message with a URL; media paths emoji/{cp}.svg (drawn SVG), emojis/{id}.webp, stickers/{id}.webp, attachments/{c}/{a}/{name}, external/{sig}/{path}; GIF endpoints from fixtures.

  • Step 1: Write failing tests: multipart_send_stores_attachments_and_echoes, presigned_flow_put_complete_send, attachment_limits_enforced, reaction_put_emits_event_and_add_many_script, pin_emits_three_events, search_indexing_then_results, unfurl_update_after_link, group_dm_recipient_events, twemoji_svg_served, scenario_fixtures_parse_with_proto_types.

  • Step 2–5: FAIL → implement → PASS → commit feat(devserver): textchat scenario.

🤖 Generated with Claude Code

Plan: `docs/superpowers/plans/2026-11-12-textchat.md`, section "Task 20". Spec: `docs/superpowers/specs/2026-11-12-fluxer-native-textchat-design.md`. ### Task 20: `fluxer-devserver` textchat scenario **Issue:** #TBD **Files:** - Create: `fixtures/scenarios/textchat.toml`, `fixtures/gateway/textchat_ready.json`, `crates/fluxer-devserver/src/{chat.rs,uploads.rs,search.rs,gifs.rs}` - Modify: `crates/fluxer-devserver/src/{scenario.rs,http.rs,gateway.rs,images.rs,lib.rs}`, `crates/fluxer-devserver/README.md` - Test: `crates/fluxer-devserver/tests/textchat.rs` **Interfaces:** - Produces: spec §12 "fluxer-devserver"; scenario `textchat`: guild with custom emoji (still + animated) and stickers, `threads` key with two threads, a channel history containing every content kind (1–10 image mosaics, video, audio, file, spoiler, alt text, expired attachment, each embed type, sticker, forward, reply + deleted reply, system messages incl. pin), reactions incl. a scripted `MESSAGE_REACTION_ADD_MANY`, pins, a group DM and relationships, saved messages, memes; REST for every endpoint of Text chat 5 and 6 with the server's validation (limits, permissions, empty message, 30 reactions, pin types) and events echoed like the server (pin → `CHANNEL_PINS_UPDATE` + system message + `MESSAGE_UPDATE`); multipart parsing and the presigned flow (scenario flag `presigned = true` also flips the discovery feature); search answering `{indexing:true}` (HTTP 200) on the first query per channel, then substring results; unfurl `MESSAGE_UPDATE` with a link embed 1 s after a message with a URL; media paths `emoji/{cp}.svg` (drawn SVG), `emojis/{id}.webp`, `stickers/{id}.webp`, `attachments/{c}/{a}/{name}`, `external/{sig}/{path}`; GIF endpoints from fixtures. - [ ] **Step 1: Write failing tests**: `multipart_send_stores_attachments_and_echoes`, `presigned_flow_put_complete_send`, `attachment_limits_enforced`, `reaction_put_emits_event_and_add_many_script`, `pin_emits_three_events`, `search_indexing_then_results`, `unfurl_update_after_link`, `group_dm_recipient_events`, `twemoji_svg_served`, `scenario_fixtures_parse_with_proto_types`. - [ ] **Step 2–5:** FAIL → implement → PASS → commit `feat(devserver): textchat scenario`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
charles added this to the Text chat milestone 2026-11-12 11:07:42 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#270
No description provided.