HydraIssues

HydraBrain third role: the issue agent, plus the Inkling 2 Mini ruling
open feature Project: hydrabrain Parent: #1198 Reporter: 23 Nov 2026 14:43

Description

Amendment to #1198. That issue carries a TWO role design, front door and judge.
This issue adds a THIRD role, the issue agent, and records the model ruling
that goes with it so nobody re-runs the evaluation. Owner asked for this on
2026-11-23. Nothing in #1198 is implemented yet, so amending now is cheap.

This brief is self-contained. A future agent can deliver from this text alone,
plus ~/scripts/backlog/README.md.

1. The claim

The issue agent is already in production. It has no name, no role field, and no
discovery. It is the only one of the three roles with a live consumer.

The backlog loop has run hourly since 2026-11-12 in tmux hydra:backlog,
INTERVAL=3600. It reads all 591 open issues on this tracker through chunky,
classifies them, proposes categories, clusters duplicates, and writes a digest
that a human or Claude then acts on. Code in ~/scripts/backlog/, state in
~/backlog, runbook in ~/scripts/backlog/README.md. Read the runbook before
changing anything.

2. It passes the owner's three tests (ruling of 2026-11-17)

The test: a role must FILL the card, have a consumer TODAY, and have no cheaper
home. Fail one and it is not a role.

  1. Fills the card. chunky-turnip-23 holds Qwen3.8-27B UD-Q4_K_M, 15.33 GiB
    of weights, 19,862 of 24,564 MiB on the A5000, two 32K slots at -np 2.
  2. Consumer today. The backlog loop, hourly, measured: snapshot of 591 in
    65 s, triage ~2.2 s an issue, full pass ~20 min. Front door and judge are
    both still unimplemented. This one is running right now.
  3. No cheaper home. See section 3. This is the test that needed work.

3. Why it does NOT collapse into the judge

In #1198 a role is which ARTIFACT is loaded, not which prompt is sent. That is
why chat, vision and speech collapsed into one front door, and it is the right
question to ask here.

Judge and issue agent are both constrained text reasoning with strict
json_schema. The difference that makes them two roles is size, not prompt:

  • Judge: Qwen3 8B Q8_0, 32K, thinking ON, about 14 of 15.9 GiB. It is 8B
    because crispy is a 16 GB card and a judge must hold what it judges.
  • Issue agent: Qwen3.8-27B Q4_K_M, 32K, -np 2. The 27B does not fit 16 GB
    at any context worth accepting (ladder measured in #1172: Q3_K_XL 12.24 GiB is
    the largest that fits, Q4_K_M at 15.33 does not).

So these are two artifacts on two cards, not one artifact at two settings. That
is a real role. Batch versus interactive is -np plus
max_concurrent_requests, and those knobs already exist since #1170.

Keep the #1198 ruling: ZERO new lifecycle states. A node mid switch is
starting and is already invisible to every consumer
(hydracluster/pkg/api/handlers_hydrabrain.go:388 skips a node unless
status.State == "ready" AND fresh AND cfg.Enabled AND WireGuardIP != "").
A switch stays ready -> starting -> ready. No drain, no releasing, no blocked.

4. What the role actually buys

Today the loop is pinned to chunky by hand. WORKERS=2 is hand matched to that
node's -np 2, not to the gateway limit of 4. All brain providers announce the
same alias qwen3.8-27b, so discovery cannot tell an issue agent from the
general pool, and hydrabrainserver orders fastest first
(internal/brain/client.go:171) which would route this batch job to whichever
card happens to be quickest.

A role field is the difference between a loop that FINDS its provider and a loop
that hardcodes a node. Precedent for a distinct alias already exists:
fluffy-dumpling-87 announces lobo-qwen3.8-27b and therefore never joins the
shared pool.

5. Hard constraints the delivery must not break

These are paid-for findings. Breaking any one of them costs more than the role.

  • The write boundary stays. The model gets NO tracker credential. Nothing it
    says reaches the tracker directly. 40-apply.sh writes. It refuses a
    description change outright, because a PATCH REPLACES a field and that
    destroyed the brief on #1155 once. actions.jsonl is DRY RUN ONLY, and
    applying closures is the owner's call.
  • The quote discipline stays. Asked "does this issue look done", the model
    said yes 420 times out of 591, median confidence 0.35. Rewritten to ask
    only what the text can answer, "does the issue SAY it shipped, and if so copy
    the line into quote", the claim rate fell to 10% and every survivor was
    real. Naming the role does not make the model able to verify anything. Any
    claim about the world needs a verbatim fragment or it comes back as a CHECK
    for whoever can run one.
  • "Says shipped" is NOT "is done". #177 quotes "Fixed in v2.0.41 by removing
    the flag"
    , the flag is indeed gone, and the issue is still open work because
    it asks for a code comment that does not exist. Always run the check.
  • The deterministic blocker is what keeps it affordable. All pairs of 591
    issues is 174k comparisons. Same project plus Jaccard 0.34 on title words
    gives 241. Missing a reworded duplicate is the right way to be wrong.
  • WORKERS must track -np, not the gateway limit. More workers buy
    nothing until -np rises, and each 32K slot costs about 2.5 GB of KV.

6. Model ruling: Inkling 2 Mini is HELD, do not re-evaluate

Thinking Machines published Inkling 2 Mini on 2026-11-20, Apache 2.0, open
weights at https://huggingface.co/thinkingmachines/Inkling-2-Mini. It was
evaluated against all three roles on 2026-11-20. Verdict: hold, revisit when
llama.cpp lands the architecture.

What it is: a looped transformer, MoE, 26.4B total and 3.4B active, with the
middle 12 layers run three times per token for about 5.4B effective activations.
Text and image in, text out. 1M context. Trained and shipped natively in
NVFP4 and MXFP8 as one checkpoint of about 20 GB, 32 GB+ VRAM recommended.

  • Front door: NO, and the reason is structural. It has no audio encoder.
    The front door exists because chat, vision and speech collapse into one
    workload, and the Gemma 4 12B choice was made because it is the largest Gemma
    4 that HEARS. Choosing Inkling would bring whisper.cpp back, and cancelling
    that sm120 build was the biggest win of the 2026-11-17 replan.
  • Judge: NO. A 20 GB checkpoint does not fit a 16 GB card at all, and the
    rule is to drop the quant, never to cut context.
  • Issue agent: NO, today. It leads open weights under 100B on DeepSWE
    (48.2%) and is strong on tool use, MCP Atlas 82.7% and BrowseComp 79.0%, which
    is the right shape. But it is behind Qwen3.8-27B on ComplexConstraints at
    33.4%
    and on MultiChallenge at 50.0%. For a schema-strict batch job that
    already works at 2.2 s an issue, worse constraint following is the wrong
    trade. Its own card warns it misreports outcomes and may take destructive
    actions without confirmation, which is the exact failure mode section 5
    exists to contain. Its 1M context buys nothing here, because the loop reads
    one issue at a time and blocks dedupe deterministically.
  • Two runtime facts for whoever revisits. Our pinned runtime is
    0.6.0-dev (build 11624, commit af0579c78) CUDA 13.4, the only sm120 build we
    have tested, and an architecture published on 2026-11-20 is not in it. Also,
    the "no quantization conversion loss" claim is a property of the NVFP4
    checkpoint. Convert to GGUF and that argument is gone. The published
    intelligence-per-watt figure of 0.703 was measured on a DGX Spark at MXFP8 and
    does not transfer to llama.cpp GGUF on consumer cards.

7. Fleet state at filing (2026-11-23)

node card model tok/s VRAM
cosmic-pretzel-98 RTX 5090 32 GB Qwen3.8-27B Q6_K 59 27262/32607
chunky-turnip-23 node-b961f1c8 A5000 24 GB Qwen3.8-27B Q4_K_M 33 single, 53 aggregate 19862/24564
crispy-badger-25 node-1eb186e9 RTX 5080 16 GB Qwen3.8-27B Q3_K_XL 56 15121/16303

zappy-cactus-6 is NO LONGER a brain. Owner converted it to hydramancer on
2026-11-15. fluffy-dumpling-87 is the parked sm120 Lobo appliance with its own
alias, enabled: false on purpose. Leave it.

chunky is node-b961f1c8, mesh 10.10.100.16, venue cloud-seven, district
bxl1-mercator-35.

8. Traps for the delivering agent

  • NEVER rebuild a brain config from a GET. nodeToResponse in
    hydracluster/pkg/api/handlers_api.go strips arguments, environment and
    artifacts on purpose so workload credentials never leak. A GET shows
    arguments: null on a node that is serving perfectly. Always PUT the desired
    document from the hydrabrain repo, whole, because the PUT uses
    DisallowUnknownFields.
  • A concurrency change takes BOTH halves and the missing half is SILENT.
    HydraCluster v2.3.0 plus HydraBrain v0.5.0 on the node. With only the cluster
    half live the PUT was accepted and the GET read the value back while the
    gateway went on admitting the old number. Prove it with behaviour, never
    with a GET
    : set the limit to 1, fire two requests at once, they must
    serialise.
  • A brain needs hydraguard-air FIRST. A node with no wireguard_ip can
    never appear in /api/v1/hydrabrains, whatever its agent reports.
  • The node exec channel times out at about 2 minutes. A long command returns
    exit_code: -1 with empty stdout while the work carries on and succeeds.
  • Measure the rate label on a LONG generation. 500 token runs are stable to
    0.1 tok/s. A 97 token run read 28.6 against a true 33, because warmup spreads
    over too few tokens. A wrong rate MOVES TRAFFIC.

9. Definition of done

  1. The #1198 plan field says THREE roles, with the collapse argument in section
    3 recorded so it is not re-litigated.
  2. issue-agent exists as a role or profile value. No new lifecycle state.
  3. The backlog loop discovers its provider instead of hardcoding chunky, and
    WORKERS is derived from the provider's -np, not hand set.
  4. A distinct alias so the batch job never lands on the fastest-first chat pool,
    following the lobo-qwen3.8-27b precedent.
  5. Proof by behaviour for any concurrency value, per section 8.
  6. Section 5 verified intact after the change: no tracker credential on the
    model, 40-apply.sh still refuses description changes, actions.jsonl still
    dry run.

10. Open for the owner

  • Does the issue agent get its own card, or is it chunky's role when chunky is
    not judging? There are three brains and three roles, which is tidy but leaves
    no spare.
  • Does the role ever WRITE, or does 40-apply.sh stay the only writer forever?
    Section 5 assumes the latter. Changing that is a separate ruling.

Session Context

Venue
cloud-seven