Inbox status alignment: keep the ask when a job-report turn replaces the reply

Open
#612 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
swift
Domain
backend

Research direction

Start with Stage 0's IntegrationTests case for a job-report turn and confirm that it reproduces the lost ask; the issue says to drop the change if it does not. Then read SessionFacts and the Stop handling that overwrites lastReply. Done means preserving the prior unanswered ask when a job report or subagent result replaces the reply, showing the newer reply as the summary, and keeping SessionFacts at or under 2560 bytes.

Written by the indexing model from the issue text.

Description

The piece of Stage 5 that the freshness work (branch haacked/inbox-freshness) leaves out. It changes item composition, so it starts after Stage 2 merges.

Stop always overwrites lastReply. A turn that a background job's report or a subagent's result starts ends with its own reply, and a question in the earlier reply is gone from the item (RC5, D10).

  • Confirm it with Stage 0's IntegrationTests case for a job-report turn, or drop this if the case doesn't reproduce.
  • SessionFacts keeps the last reply that asked something when a later turn's prompt was a job report or a subagent result and I sent nothing in between.
  • The item leads with that ask and shows the newer reply as the summary.

SessionFacts must stay at or under 2560 bytes.

Dominant language
Swift
Stars
0
Forks
1
Avg merge
12h 39m
Merged PRs (30d)
409

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from haacked/switchboard

All issues in haacked/switchboard

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.