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 — Dynamic agent slots: finish D4-D8 so slot counts come from the machine, not from instructions · Issue #882 · scuttletoby/t3code

Dynamic agent slots: finish D4-D8 so slot counts come from the machine, not from instructions #882

New issue
Copy link
New issue
Copy link
Open
Open
Dynamic agent slots: finish D4-D8 so slot counts come from the machine, not from instructions#882
Copy link

Description

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

What: dynamic agent slots. How many agents and heavy jobs may run at once is worked out from the machine's real memory and measured use, not from fixed numbers in the instructions.

Why the owner wants it: "anyone who sets it up should not have to do anything; the software handles where tasks run, how many and what kind." Fixed slot counts are only floors until this is done.

Already built: DS1 capacity rule and pure evaluator #203, DS2 readings #284, DS3 slot gate in observe mode #332, one first-come line in the gate #752, every agent start goes through the gate #710.

Left (checklist):

  • D4 enforce the rule by default: Slot gate: enforce the capacity rule by default (dynamic slots D4) #823 (merged) (follow-ups Agent memory gate: follow-ups from #823 (kill raise lost on calm spell, swap trend, elevated exit) #839, open)
  • D5 learn the cost of each kind of agent from measured runs
  • D6 kit: heavy facts gives per-kind "fits"; the capacity check and slot hook call it: heavy facts: per-kind fits from the kernel ledger; kit capacity evaluator and callers #786 (merged) (leftovers heavy facts (D6): leftovers from the #786 reviews #800, open; part of General vs project: move general tooling into the fork (audit checklist) #834 G2)
  • D7 kit: memory caps follow the machine
  • D8 the server asks the kit when it is present, with a status card
  • Lift the fixed ceilings once a week of logs shows no overload; the machine instructions shrink to one line

Related: #861 (reservations and flapping), #866 (tools enforce capacity), #849 (one slot count).

Done when: a fresh install needs no slot numbers, admissions never cause an overload in a week of logs, and the fixed limits are gone from the instructions.

🤖 Generated with Claude Code

Activity

  1. scuttletoby commented on Nov 28, 2026

    @scuttletoby
    scuttletoby
    on Nov 28, 2026
    OwnerAuthor
    More actions

    Working on D5, part 1: the slot gate learns each agent kind's cost from the memory its last runs used (highest of the last 20 runs x 1.15, never below the rule's start cost, as heavy does for jobs). One fork PR.

    🤖 Generated with Claude Code

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

    fork changes: agent slots learn agent costs from their runs (#1206)

    ad8c5ae

    Dynamic slots D5: agent costs learned from their last runs' memory (#882

    316d6e3
  3. scuttletoby commented on Nov 28, 2026

    @scuttletoby
    scuttletoby
    on Nov 28, 2026
    OwnerAuthor
    More actions

    Working on D5 part 2: the learned agent costs survive a server restart (each kind's last 20 run peaks kept on disk, read back at start), and the log line reports the cost the gate really uses (after the rule's clamp), from the #1206 review. One fork PR.

    🤖 Generated with Claude Code

  4. scuttletoby commented on Nov 28, 2026

    @scuttletoby
    scuttletoby
    on Nov 28, 2026
    OwnerAuthor
    More actions

    Owner decision (2026-11-28): learned agent costs may go below the start cost. When the gate learns real peaks are smaller, it should use them. Planned as D5 part 3 after #1226 merges: lower only after enough finished runs of that kind, keep a margin over the measured peak and a hard floor that a bad peaks file cannot get under.

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 01402775 — 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.