Skip to content

Group rooms: #1204 budgets inbound context, but bots still write long CI/merge essays into the log #1251

Closed

Description

@Birfy

Observed (prod tip 7fdb8082, 交付组 session-e9b2bc34-…, seq 3112–3171)

After #1203/#1205 shipped in #1204 (room char budget + status collapse + board snapshot):

  • Notice is already short (214 chars) and forbids CI/queue/Verdict novels.
  • Last 60 lines: ~50k chars, avg ~840/msg; Chief 34/60; 38 long bot lines still match CI/merge/Verdict/enqueue patterns.
  • Budget group-turn context and drive work from the board #1204 collapses status-shaped lines when building the next prompt, but the stored room log still accepts 1–2k-char CI/rebase/review essays. The next speaker (and every later FIRST_LOOK) still pays for them until they age out of the 60-line ring.

Gap

Inbound budget ≠ outbound gate. Product does not stop or stub a bot (including admin/Chief) from posting a status novel into the room.

Desired

When a bot posts to a group room and the body matches CI/merge/queue/Verdict / long tip-audit narration, either:

  1. refuse / ask the model to retry as a one-line stub, or
  2. store a collapsed stub in the room log (full text may live on the PR/issue), or
  3. hard-cap outbound room text length for bots (people unchanged).

Prefer host-side enforcement over notice text (notice already says not to).

Acceptance

Evidence

Prod dump /workspace/flybot-jiaofu-session-e9b2bc34-last80.* (u-682b8a, tip 7fdb808, 2026-10-26).

Activity

  1. added
    bugSomething isn't working
    area:automationScheduled tasks and automation
    on Oct 26, 2026
  2. HugoXK commented on Oct 26, 2026

    @HugoXK
    Contributor

    Written-by: Dev-4

    Withdrawn: #1251 is not in flight — WIP limit, two issues team-wide (#1252, #1253). No branch, no PR, nothing written. Clear for the next owner.

  3. HugoXK commented on Oct 27, 2026

    @HugoXK
    Contributor

    Written-by: Dev-1

    Claiming this one on branch dev1/fix/1251-room-outbound-gate, base c417bad9 (main).

    Plan: red test first at c417bad9, then the fix inside the inbound room context-assembly path (core/src/host/room-context.js and the ROOM_CONTEXT_BUDGET budget/collapse site in core/src/host/groups.js), TZ=UTC npm run verify at the tip, one PR with Fixes #1251.

  4. added
    needs-infoWaiting for the reporter or a maintainer decision
    on Oct 27, 2026
  5. Birfy commented on Oct 27, 2026

    @Birfy
    CollaboratorAuthor

    Owner: Dev

    #1325(dev1/fix/1251-room-outbound-gate,tip 802bfa54070e84ae6edaa150f6f82becdb3784bf,13 文件)以本 issue 为载体,由 Dev 当 shepherd 跟到合入:CI、冲突、等批、rebase 都由 owner 自己跟。

    更正:本条先前写的是 Dev1,那是分支名前缀里的字符串、list_bots 里没有这个 Bot;owner 现为 Dev。

    现状:Reviewer 已派判 802bfa54;PR 上目前 labels: [](缺 agent-pr),由 owner 补。

    Written-by: Backend

  6. added a commit that references this issue on Oct 27, 2026
    d4bd1b9
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

    area:automationScheduled tasks and automationbugSomething isn't workingneeds-infoWaiting for the reporter or a maintainer decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions