Skip to content

Changelog

What changed in each release of session-hub and model-router. Each plugin has its own version; releases are listed newest first. The format follows Keep a Changelog, and both plugins use semantic versioning.

2026-12-02

  • The scope guard lets a child write in the system temporary folders (/tmp, /private/tmp, /var/folders, /private/var/folders) with Write, Edit and NotebookEdit, as the shell check already did, so a child can keep its session scratchpad (a pull request body, a throwaway script) without an out-of-scope request (issue #108). Both guards read the list from TEMP_FOLDERS in write-root.mjs. The path is still judged where it really lands, and the hard link and settings rules still apply.
  • The scope guard judges a target with .. both as the file system reads it (from a link’s target) and as the file tools read it (folded as text), and allows the write only when both are allowed. A link followed by enough .. could make the guard judge a place inside the root while Write wrote outside it.
  • A child’s scope line and the fixed rules of its handoff say that throwaway files may go in its session scratchpad or the system temporary folder: with only “files only under the write root”, a child refused such writes before any guard was asked.

2026-11-30

  • In Herdr, spawn writes the token parent_pane=$HERDR_PANE_ID on each child’s pane (herdr pane report-metadata <pane> --source session-hub --token parent_pane=…), after the pane is created and before herdr agent start, in both layouts. Tools that group Herdr agents, such as herdr-jump, read the master of a child from herdr agent list instead of guessing it. Best effort: a failure does not stop the child.

2026-11-25

  • spawn: the rule against --add-dir on a child’s start command is stated once in the launch steps instead of three times, and the references drop an issue number and a repeated Herdr error text. No change in behaviour.

2026-11-25

  • The handoff hook: a classic SessionStart hook that adds a child’s handoff file to its context at the start and again after /clear and a compaction. A handoff over 9,500 characters is cut at a line, and the child is told from which line to read the rest; one that cannot be read is shown to the user (#101).
  • spawn no longer gives a child --add-dir <handoff folder>. Claude Code asked at every child’s start whether that folder, a new one for every master session, was trusted, and in Herdr agent start returned agent_not_ready until the user answered in each child’s pane (#101).
  • The first prompt of a child is one line: Herdr refused the multi-line one (agent arguments cannot be encoded safely for the target shell). It tells the child that its handoff is in its context and names the file for a child whose hook did not run.
  • The scope line no longer tells a child to read its handoff again after a compaction: the hook adds it.

2026-11-25

  • A child is pinned to its master by session id and ref (SESSION_HUB_MASTER_SESSION_ID, SESSION_HUB_MASTER_REF), so renaming the master with /rename, a title hook or Remote Control no longer cuts its children off. The send guard takes the master’s first name, its ref or its current name as the master and delivers by session id, then by the current name (#97).
  • The outbox: a message the master cannot receive is saved next to the children record, and the child is told so, instead of being lost. registry.mjs outbox lists and removes the messages; dispatch reads them at the start of work and with the status; the children panel counts them (#97).
  • spawn records the master’s identity in the children record (registry.mjs master), and the master’s mod tells the user once when the master was renamed while children run, and whether they still reach it (#98).
  • scripts/launch.mjs prints this session’s id (master.sessionId).
  • The first prompt of a child names the work: the handoff’s title, one or two lines on the goal and <handoff>Read and follow <file></handoff>. It always rides the start command, Herdr included, so a folder-trust dialog can no longer leave a child idle with no task (#20, #97).
  • A refusal of the send guard names the master’s current name after a rename, and says that its first name still works.

2026-11-24

  • choose-model says how to tell whether an agent’s definition fixes its model or effort: read the frontmatter of a project or user agent, and pass neither value to an agent that cannot be checked, such as a plugin’s. A value on the call overrides the definition, and the list of agent types does not show these fields.

2026-11-24

  • The router honours an effort declared in an agent’s frontmatter (effort:). Before, an agent that declared its effort but no model went to the judge, and the router could set its own effort on it, also for risky work. The rule is now written down: the router always honours the model and the effort an agent declares.

2026-11-23 · pull request #94

  • The option titles, the usage view’s status line, the report’s note and the README no longer say that adaptive selection arrives in release 0.4: the router only measures so far, and the options adapt, projectPriorStrength and exploreCap are not used yet.
  • The README says that the judge has four tiers and when the router picks fable.

2026-11-23 · pull request #93

  • A Savings view says whether routing pays off: what the subagents cost against what the same tasks would have cost on the model of the session that started them. It shows the cost per successful task and its baseline, the amount saved, the share of tasks moved to a cheaper model, whether their quality holds, the spend per week, the saving per pair of models and the judge’s time, under a verdict of pays off, not proven or costs more. It is the first section of the quality report, a view of /model-router in the terminal and a view of its card on the desktop app. The baseline prices each task’s tokens, kind by kind, at prices read back from the logged costs of the session’s model; the plugin holds no price list. It counts the tasks started from this release on.
  • The report and outcome records carry usage, the tokens by kind (input, output, cache read, cache write).

2026-11-23 · pull request #92

  • On native Windows the scope guard no longer blocks every Edit and Write of a child (issue #89). It walked the drive (C:) as a folder, so every file seemed outside the write root; it now starts from the path’s own root, a drive or a network share.
  • SESSION_HUB_SCOPE_ROOT accepts a Windows path (C:\hub\repo, C:/hub/repo, \\server\share\repo), and a drive root such as C:\ is refused as too wide, like /. The repository’s .claude/settings*.json stays blocked with either separator.
  • The hook command sets MSYS2_ENV_CONV_EXCL so that Git Bash no longer rewrites the SESSION_HUB_* values before the guard reads them.

2026-11-23 · pull request #91

  • The spawn and outcome records of the event log carry parentModel, the model of the session that started the subagent, so the log shows which starts ran on a cheaper tier than the one they would have inherited.

2026-11-23 · pull request #90

  • The judge has a fourth tier, frontier, behind fable. A start with no model is raised to it only when the task’s class is design-open and the judge’s confidence is at least 0.7; any other frontier answer counts as the deep tier and its decision’s reason ends with held to deep. A frontier answer never lowers a start, so a subagent of a fable session keeps fable on it. Risky work still goes to the deep tier.
  • Options frontierModel (default fable) and minFrontierConfidence (default 0.7).

2026-11-23 · pull request #86

  • In the Claude desktop app the model no longer writes its own 🔀 routing line, in terminal glyphs, above the Agent calls whose line the app already draws. The note that tells it so now also rides the choose-model skill’s text: the system prompt section alone was dropped where an organization’s managed mod skips user mods’ prompt.compose hooks. A child session or a workflow still gets the line.

2026-11-23 · pull request #85

  • In the Claude desktop app /model-router is one card in the conversation, drawn like the app’s own /stats and /context cards: a view dropdown (Overview, Models, Task classes, Projects, Decisions, Trend, Log) at the left, the scope and the window at the right, and a title that folds the card to its header and one bar of tasks by model. Overview has a heatmap of tasks per day, Models a row per model with each effort level’s count and right-first-time rate, Trend the weekly quality and cost as bar charts, Log the event log by kind and over time.
  • /model-router report and /model-router log open the same card on Trend and on Log. Trend links the HTML report page in its last line; Log links events.jsonl. The report and log panes are gone.
  • Only the newest card follows its data, redrawn as subagents report; the few before it keep their header and bar.
  • The line under an Agent call is one quiet line in words there, Routed to Haiku · low …; the 🔀 icon, the teal accent and the model and effort colours are the terminal’s only.
  • The terminal is unchanged: the usage view, the report page and the log file open as before.

2026-11-23 · pull request #85

  • In the Claude desktop app /session-hub is one card in the conversation with two views: Children, the children by status with their model and effort in words, what the session list says and their last message; and Record, the children record as counts and its latest events, narrowed to one child with a dropdown. /session-hub log opens it on Record and links the record file. The newest card follows the 30-second refresh. The log pane is gone, and no pane opens beside the chat.
  • While the desktop app shows the session, a child started with the app’s session tool gets no start line and no notice: the app’s own session card names it, and nothing a plugin adds shows under that card. A launch under a Bash row is one quiet line in words there.
  • The terminal is unchanged: the children panel, the table and the record file open as before.

2026-11-22 · pull request #82

  • In the Claude desktop app the report pane opened empty, with the app’s own “Nothing to show yet”, for a report with several classes and projects. Claude Code refuses a tree of more than 100,000 characters, and a report of six classes and two projects drawn whole is about 150,000. The pane now measures what it draws and, when the whole report does not fit, draws each project as one line, then each class as one line too, saying what it left out and that Open as page shows everything; past that it draws one line and the page button. The usage view and the log dashboard keep to the same bounds.
  • The log dashboard charts the last 24 hours by hour, under the title By hour (UTC); with one bar for the whole window the chart said nothing. The other windows stay by day.
  • A record of a written file shows the file’s name, not its path: a path showed the machine’s folders, and a temporary one the user’s name. The path is no longer read into the pane at all; Open file has the log itself.
  • A session-end record reads session ended, with its reason when it has one; it used to show the bare word other.

2026-11-22 · pull request #82

  • The log pane and the children panel keep within Claude Code’s bounds for what a pane draws (100,000 characters), past which the Claude desktop app shows an empty pane. A record with many children is drawn in brief in the log pane, each child as one line with the latest events, then its first sixty children with the rest counted; the children panel draws as many rows as fit and counts the others. Each says that the file has everything.
  • The start line of a child started in the Claude desktop app shows again. The app draws its start_session call as a session card of its own, not as a tool row, so the line drawn under that row since 0.4.1 was never seen. The line is now a notice in the transcript, written when the start has succeeded: 🔀 sonnet · medium → t-1-product-test, in words, one per child. A start made with a launch command keeps its line under the Bash row.

2026-11-22 · pull request #81

  • In the Claude desktop app (and in VS Code and the mobile apps) the report is a native pane beside the chat, not a web page: Report in the usage view, o and /model-router report open it with the 30-day headline, the models, the weekly trend, the routing decisions, a card per task class and the projects, drawn with the app’s own elements in its light or dark theme. Its footer has Open as page, which writes the HTML page and opens it in the default browser, and Refresh. In the terminal nothing changes: the page is written and opened.
  • In the Claude desktop app the event log is a dashboard pane too, not a file opened in another app: Log in the usage view, l and /model-router log open model-router log, with the records counted by type and by day, buttons for the window (24h, 7d, 30d, all) and the record type, the latest records in a table that pages twenty at a time (time, type, session, and what each type records: a decision’s action, models and reason; an outcome’s class, tier and cost), the size of the log and its archive files. It reads the log and its archive in one bounded pass and never shows prompt text or task descriptions. Open file in its footer opens the log in the default app; in the terminal l and /model-router log still do that.
  • The report no longer goes through the desktop app’s Browser pane, which showed a page outside the project folder as a still image in the light theme and asked for a permission.
  • /model-router typed as the first command of a session in the Claude desktop app printed the terminal’s text view, its text art broken by the app’s font. The app attaches its surface only at its first draw, so the pane looked impossible to place. The pane is now kept and drawn when the app attaches, and the answer is one line; the text view stays for a terminal too narrow for the pane and for claude -p.

2026-11-22 · pull request #81

  • In the Claude desktop app (and in VS Code and the mobile apps) the children record opens as a pane beside the chat, session-hub log, not as a file in another app: the Log button of the children panel and /session-hub log show one card per child (status, model and effort, when it started, its last message, its requests) and a timeline of starts, messages and requests with their outcomes, newest first. Its footer has Open file, which opens the record in the default app, and Refresh. In the terminal nothing changes: the key and the command open the file.

2026-11-22 · pull request #80

  • The usage view opens the event log: the l key in the terminal (listed in the footer), a Log button beside Report and Refresh in the Claude desktop app, and /model-router log. It opens <config dir>/model-router/events.jsonl in the system’s default app and writes its path as a line in the session, with the archive/ folder when there is one; a log just rotated away opens that folder. With no log yet, or where nothing can be opened (a hosted session, a system with no known opener), the line says so and gives the path.
  • /model-router log no longer opens the Decisions tab: use /model-router decisions.
  • In the Claude desktop app, /model-router report and the Report button open the report page in the app’s Browser pane. Where the pane is not there or refuses the page, the system’s default browser opens it, and failing that the answer gives the path: the line says which of the three happened.
  • The report page is redrawn in the Claude desktop app’s look, in light and dark after the system’s setting. It opens with the headline of the last 30 days, the same KPI cards, chips and sparklines as the usage view; the weekly trend is two charts that draw bars for up to three weeks; task counts are whole numbers, with the age-weighted count in a tooltip; one notice replaces the n < 5 flag on every row; a project that only repeats the user level is one line, and several projects are folded under their paths; the date is readable and the config path is in the footnote. It reads at the width of a side pane.

2026-11-22 · pull request #80

  • The children panel and /session-hub log open the children record, session-hub’s log, in the system’s default app: the l key in the terminal, a Log button in the Claude desktop app. The path is written as a line in the session; with no record yet the line says so and nothing is opened. A child opens the record of its master.

2026-11-22 · pull request #78

  • /model-router draws its usage view natively in the Claude desktop app (and in VS Code and the mobile apps): a segmented header, four KPI cards with SVG sparklines and status chips, bars for models and classes, chips for routing decisions, and one sample-size notice instead of “weak” on every tile. The terminal view is unchanged. The text-art tiles and columns it drew there before broke in the app’s proportional font.

2026-11-22 · pull request #77

  • The start line now shows in the Claude desktop app too. There, session-hub:spawn starts a child with the app’s start_session tool instead of a launch command, so no line was drawn: the line is now read from that call’s input (its name and model; the tool takes no effort, so the line says default) and drawn under its row.

2026-11-21 · pull request #76

  • The event log no longer only grows (#50). Compaction rotates events.jsonl into <config dir>/model-router/archive/ once it reaches 32 MB, without rewriting a log another session may be appending to: the log is renamed, and the rotation is finished two minutes later, when the records of tasks still open are carried into the new log and the rotated one is slimmed to outcomes, decisions and starts (the stored prompt text is dropped). After 90 days a rotated log keeps its outcomes only. The report and /model-router read the archive too: every outcome stays in the all-time window and the weekly trend.

2026-11-21 · pull request #74

  • scripts/launch.mjs reads how the session was started: the identity variables its launcher set (HOME, CLAUDE_CONFIG_DIR, SHALLOW_PROFILE, the XDG_*_HOME folders), the configuration flags of its claude process and whether it bypasses permission prompts. It prints named variables only and lists what it is unsure of.
  • Child sessions keys: Permissions (ask or inherit) and Carry (names of more variables to take from the master’s launch). setup proposes them.
  • A child that runs under another configuration folder than its master says so in its scope line and in /session-hub.
  • A master started through an alias or a wrapper started children under the account’s default profile: another subscription, other settings, no messages between the sessions. spawn now builds every start from launch.mjs, carries a wrapper’s profile variable too, checks after the start that the child is listed, and its description covers sessions started outside a hub (#72).
  • With Permissions: inherit, children of a master that bypasses permission prompts start in the same mode without a question at every start (#72).

2026-11-21 · pull request #71

  • A child may not write the repository’s Claude Code settings, <root>/.claude/settings*.json: their env and hook settings turned the guards off at the child’s next start. The scope guard and the shell check block it and send the change to the master (#56).
  • The children record can no longer land inside the hub: every path is judged where it really lands, the default path included; a write with --file needs --hub; a relative CLAUDE_CONFIG_DIR is refused (#28).
  • The registry script refuses an option a command does not take, a repeated option, and --live with --live-none; status takes --reason (#27).
  • A child started under the name of a finished one gets a fresh entry, and spawn no longer reuses such a name (#29).
  • A stale lock is taken over atomically, and a lock whose writer has ended is cleared at once (#33).
  • tmux: the child’s command is given to tmux as arguments, so a JSON --settings, a $ or a backtick in a carried flag reaches the child as written (#30); the child is named by the pane option @session_hub_child, since Claude Code overwrites the pane title (#31).
  • spawn no longer writes a hub’s ## Child sessions section when it is missing, and Guards is described as turning off all three guards (#32).

2026-11-21 · pull request #70

  • The shell check reads find. The command of -exec, -execdir, -ok and -okdir is judged like a wrapped command, with {} standing for the starting points; with -execdir only its absolute targets and its {} are judged, since it runs in each file’s folder. The file of -fprint, -fprint0, -fprintf and -fls is a write target, and with -delete the starting points are, as for rm.

2026-11-21 · pull request #69

  • The effort question for xhigh (long, hard, critical and unattended) is asked before the one for high. A critical task almost always also answers yes to the high question, so xhigh was practically unreachable.
  • An agent definition is no longer read from a file that declares another agent’s name. Claude Code names an agent type after its frontmatter name, not its file, so such a file could make an agent with a fixed model look routable; the start is now kept.

2026-11-21 · pull request #68

  • The children panel is drawn with model-router’s look: the model bold in its tier’s colour, the effort as a four-cell bar and a word in its level’s colour, the record and live statuses in the theme’s success, warning or error colour, the header and the notes dim.
  • A start line under each Bash call that starts children in a master: ⎿ 🔀 opus ▰▰▰▱ high -> <child>, one per child, read from the launch command of spawn (plain, tmux send-keys or herdr agent start).
  • tests/validate.sh fails when session-hub’s copy of the shared colours differs from model-router’s.
  • The /session-hub table shows the effort as the bar and the word (sonnet ▰▰▱▱ medium) instead of sonnet/medium.
  • Manual and site screenshots of the panel and the table retaken.

2026-11-21 · pull request #67

  • A batch of similar starts on different files (rename in a.ts, then b.ts, then c.ts) is no longer scored as rework: a similar start is a redo only when it names a file the task wrote or the same files. A correction sent to the same subagent inside the rework window of its report is now a rework signal.
  • The usage view measures text in terminal columns: wide characters and emoji in a project root or a model id no longer push rows past the pane, and a cut never splits a character.
  • The event log is never read whole: compaction reads from its offset in chunks, and the report and the usage view keep only the records they show. A log past 2 GB no longer breaks them. Old events are still not rotated.
  • Only the prompts the outcome logic reads are stored: the next two after a subagent’s report, inside the rework window. Before, every typed prompt was kept, also in sessions without subagents.
  • choose-model: the shape of quality/recommendations.json is fixed (classes.<class> with tier, effort, source, n) and the skill names those fields. An agent definition that fixes its own model is an exception to the project’s defaults and the grid, no longer a rule between them that contradicted the first.

2026-11-21 · pull request #61

  • The shell check reads a command as bash and zsh do where it used to let a write outside the write root through: <>; << inside arithmetic, which hid the rest of the command as a here-document; $'…' quoting; zsh’s >!, >>!, &>! and &>>!, noglob, nocorrect, -, repeat N and =command; coproc. Also, found in review: << in ((…)) after a reserved word, in $[…] and in an array subscript; zsh’s >&| and >&!; brace expansion; a cd at the end of a zsh pipeline; chdir; zsh’s always; env -S and env -P; sed -l, cp -S and install -S, which take no value on macOS.
  • Inputs built to make the check run for seconds or out of memory (nested failed arithmetic, links that share a name, a long run of relative cds) end quickly; past a bound the command is denied.
  • The commands inside backticks, inside $(…) in double quotes, ${…} and arithmetic, inside <(…) and >(…), and in the body of a here-document whose delimiter is not quoted are judged. So is the literal line given to eval or to sh, bash, zsh, dash or ksh -c.
  • A here-document whose delimiter never comes, and any command the check cannot read, is denied with the reason.
  • A target whose name starts with & is judged; only descriptor words such as the &2 of >&2 are dropped.
  • The shell check refuses the write roots the scope guard refuses: /, the home folder, and a root that is not an existing folder. Both use the same rules.
  • A hard link (ln, cp -l) to a file outside the write root is denied, and a write through a symbolic link made in the same command is judged where the link points.
  • The scope guard blocks a write to a file with more than one hard link, since another name of the file may be outside the write root. A file inside the root with a second hard link can no longer be edited in a child.

2026-11-21 · pull request #59

  • A risky ! tag counts whatever its class, case or spacing: [mr:migration!] (a class not in the grid), [MR:edit-specified!] and [mr: read-search !] now send the start to the deep tier with at least high effort. Before, such a start could go to the fast tier.
  • Compaction no longer appends outcomes after a torn last line of events.jsonl, which lost them and later closed the torn task as cancelled. While the torn line is recent the run closes nothing and the next run does it; a torn line older than two minutes is ended with a newline first.
  • Each hook that fails writes one debug line, [model-router] <hook>: <error>, before going on unchanged. At agent.spawn, an unreadable grid or project no longer loses the spawn record: it is written without them.
  • The cost and token means of a quality cell count only the outcomes that carried a cost or a token count (new costN and tokensN weights, aged with the cell), and a class summary weighs each cell’s means the same way. Before, tasks with no cost pulled the means down.
  • One outcome with an unreadable time no longer makes the report fail with Invalid time value: it is skipped.
  • The Models tab counts the closed tasks the KPI tiles count; cancelled tasks are left out of its counts, tokens and cost.
  • A remote URL that names a port (ssh://git@github.com:22/o/r, https://github.com:443/o/r) gives the same project id as the other spellings; in the scp form (git@github.com:1234/r) a numeric owner is kept. A project whose remote named a port gets a new id once, and starts its project level afresh.

2026-11-21 · pull request #18

  • README: the privacy line no longer says that nothing leaves the machine; the judge’s one call goes through the session’s own client. The repository home page now leads with what each plugin does.

2026-11-21 · pull request #17

  • report.mjs, usage.mjs and compact.mjs run when the plugin path passes through a symbolic link. Before, they exited with no output and the report key logged an empty path; an empty path from report.mjs now counts as a failure.

2026-11-21 · pull request #16

  • The report path is written as a line in the session instead of a toast.

2026-11-21 · pull request #15

  • The choose-model line 🔀 opus ▰▰▰▱ high -> reason, with a four-cell effort bar.
  • With the mod on, the same line drawn in colour under each Agent call’s row, with the model and effort the subagent actually got and the routing reason; the row is drawn alone on any error.
  • 🔀 becomes the plugin’s mark in the usage view, its answers, the help and the report page title.
  • Manual screenshots retaken with demonstration data.

2026-11-21 · pull request #14

  • KPI tiles in Overview (first-pass yield, cost per success, rework, routed starts) with changes against the previous window and status dots; sparklines and FPY bars coloured by threshold.
  • The usage view follows Claude Code’s Settings dialog: a tab row, a window and level row, a footer of key hints. Tab and Shift+Tab switch tabs, Down and Up step the window, with no click needed.

2026-11-21 · pull request #13

  • A user manual for both plugins, as a PDF built from docs/manual/manual.html, with screenshots.
  • /session-hub names the hub and the record path separately.

2026-11-21 · pull request #12

  • Routing works in auto permission mode. The subagent’s effort is set on each of its model requests, never on the Agent call, which the engine refused to run after a hook changed it.

2026-11-21 · pull request #11

  • The shell check follows cd and pushd to a literal folder, so cd <root> && echo x >> link/f is judged where the link lands.
  • A denial names where a linked path resolves.

2026-11-21 · pull request #9

  • session-hub: skill review of dispatch and spawn; the children record commands and rules move to a reference both skills read; the idle notice is renewed after each notice.
  • model-router: the report skill suggests /model-router report, says a rerun is safe and lists cancelled tasks as not learned.

2026-11-20 · pull request #8

  • model-router: /model-router opens a tabbed usage view (Overview, Models, Classes, Decisions) on the same aggregation as the report page, with a text fallback where no pane fits.
  • session-hub: /session-hub help; the command’s answers are for the person only.
  • model-router: argument lookup, a distinct report error, one refresh at a time.

2026-11-20 · pull request #7

  • The session-hub mod: the send guard, a best-effort shell check on Bash, origin marking of messages from other sessions, the scope line, the children panel and the /session-hub command.
  • Gaps found in review of the mod guards: here-documents, line continuations, Monitor commands, links and .. in the shell check; delivery of name [ref] to the bare name in the send guard.

2026-11-20 · pull request #6

  • The router mod: a judge for subagent starts that carry no model, the event log and /model-router.
  • Compaction of the quality loop and the local report page; the model-router:report skill.
  • Compaction reruns are safe, a stale lock is taken over, the options are saved for compaction, and resumed sessions close their tasks at the next end.

2026-11-20 · pull request #4

  • The spawn, dispatch and setup skills.
  • The scope guard hook for child sessions.
  • The children record helper, with a lock and atomic writes.
  • The scope guard is hardened against relative paths, roots that are too wide, role spelling and timeouts.

2026-11-20 · pull request #3

  • The grid, with grid.json as its single source, and the choose-model skill.
  • The setup skill for a project’s ## Model routing section.