GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Agent slot gate: routes that wake an idle thread are still ungated · Issue #711 · scuttletoby/t3code

Agent slot gate: routes that wake an idle thread are still ungated #711

New issue
Copy link
New issue
Copy link
Closed
#717
Closed
Agent slot gate: routes that wake an idle thread are still ungated#711
#717
Copy link

Description

@scuttletoby
scuttletoby
opened on Nov 21, 2026
Issue body actions

Follow-up to #706 / #710. #710 puts create_threads, t3_thread_launch and scheduled runs behind the same agent slot gate as delegate_task. These routes still start an agent run in an existing idle thread without taking a slot:

  • t3_thread_send to an idle thread
  • t3_thread_transfer when it forks the thread
  • wait deliveries (wait_for etc.) that wake an idle thread

A person typing in the composer is left ungated on purpose (a person decides).

Decide per route: gate it (refuse or hold with the same plain reason), or document why it stays open. Mind that a woken parent that is refused must not lose the wake-up (it should start when a slot frees, like refused scheduled runs in #710).

🤖 Generated with Claude Code

Activity

  1. scuttletoby
    added 2 commits that reference this issue on Nov 21, 2026

    agent slots: a refused scheduled run waits for a slot, never lost (#706)

    12baaf9

    agent slots: a refused direct webhook delivery is stored, so a restar…

    ae6d2c2
  2. scuttletoby commented on Nov 21, 2026

    @scuttletoby
    scuttletoby
    on Nov 21, 2026
    OwnerAuthor
    More actions

    One more ungated start, found in the last review round of #710:

    • What happens: a scheduled task is bound to a thread whose run is active, so it only queues its prompt there and takes no slot. If that run ends in the few milliseconds between the "is it running" check and the send (mode: "queue"), the send starts one new run without a slot: on an idle thread, a queued send starts at once.
    • Effect: nothing is lost and nothing runs twice, but there is one start over the limit.
    • Fix: it is the same case as "t3_thread_send to an idle thread" above, and closes with it, when the send itself asks the gate for an idle thread.

    🤖 Generated with Claude Code

  3. scuttletoby
    added 3 commits that reference this issue on Nov 21, 2026

    Agent slots: every route that starts an agent goes through the slot g…

    f5d430c

    Fork: slot gate for the remaining wake-up routes; count each held wak…

    8f4b5d3

    fork seams: announce the slot lines on t3_thread_send and its attachm…

    1c42ec4
  4. scuttletoby
    closed this as completedin #717on Nov 21, 2026
  5. scuttletoby
    added 15 commits that reference this issue on Nov 21, 2026

    Agent slots: every route that starts an agent goes through the slot g…

    691a3be

    fork seams: announce the slot lines on t3_thread_send and its attachm…

    d5fc758

    Fork: gate agent messages and wait wake-ups that start a run in an id…

    99c06bb

    Agent slots: every route that starts an agent goes through the slot g…

    156ecda

    fork seams: announce the slot lines on t3_thread_send and its attachm…

    23e6c77

    Fork: gate agent messages and wait wake-ups that start a run in an id…

    918b059

    Agent slots: every route that starts an agent goes through the slot g…

    e130186

    fork seams: announce the slot lines on t3_thread_send and its attachm…

    d23d106

    Fork: gate agent messages and wait wake-ups that start a run in an id…

    aa50edd

    Agent slots: every route that starts an agent goes through the slot g…

    da260e8

    fork seams: announce the slot lines on t3_thread_send and its attachm…

    02652ce

    Fork: gate agent messages and wait wake-ups that start a run in an id…

    ae0526a

    Agent slots: every route that starts an agent goes through the slot g…

    a6c5977

    fork seams: announce the slot lines on t3_thread_send and its attachm…

    46cc60f

    Fork: gate agent messages and wait wake-ups that start a run in an id…

    aad0d2f
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.