Repository navigation
v1.5.0
Added
-
The live test is a skill: one core of scenarios for every harness, and each harness lists only its exclusions.
.claude/skills/podium-live-test/replacesdocs/LIVE_TESTING.md.SKILL.mdholds the rules, the helpers and 22 scenarios every harness runs (allow, deny with and without a reason, a question, a message to an idle and to a busy session,/compact, the respond levels, answering off, the reporter fields, a subagent, the activity feed, a file diff, a recording, the plan tool, a name across a restart,/podium context, the messaging flag turned off, an answer given in the terminal, a server restart and a session's end).references/claudecode.mdandreferences/opencode.mdsay how each harness starts, how to check its wiring and what it cannot do, with what the run asserts instead (OpenCode has no/clearand no plan approval; Claude Code has both).references/new-harness.mdis the checklist for a harness added later. PROJECT.md now runs it before the PR for any change to the harness contract, andscripts/live-test-parity.test.tsfails innpm testwhen aplugin/<harness>/has no reference.scripts/podium-peers-e2e.sh upnow gives each window's project folder one empty commit, because a repo with none has no branch and the session reportedgit: null. DECISIONS 59 now says a session with no terminal UI is not kept on the board. Several statements in the old page had gone stale since #969, #984 and #986 and are not carried over. -
Both reporters send whole numbers whatever the host app hands them (#1007). The server now refuses a fractional time or token count with a 400 for the whole report, which would drop the session from the wall. Claude Code's
$.session.usage()figures (start time, context tokens and window), a compaction's before and after counts and a request's token usage, and OpenCode's event times, step, usage and compaction token counts and model window, are rounded to a whole number where they enter a report, by onewhole()rule inplugin/core/failures.ts. Tests inscripts/mod-report.test.tsandscripts/opencode-reporter.test.tsfeed fractions through each reporter and run the reports through the server's validator. Both harnesses had the gap; nothing changes for a host that already sends whole numbers. -
SQLite and PostgreSQL store a NaN and a NUL the same way (#1007). A NaN is stored as NULL in both (PostgreSQL kept it as a number), and a NUL is removed from text in both (PostgreSQL refused it, SQLite kept it). The report validator and the Admin routes already refuse both, so nothing a person can send changes. A fraction, an infinity or a number of 1e21 or more sent straight to an integer column still makes PostgreSQL throw where SQLite accepts it; that is accepted, because the HTTP edge refuses those numbers, and it stays on PostgreSQL's
knownlist. -
One storage test runs every adapter, none of them the reference (#1008).
server/src/storage/adapters.test.tsruns the contract, the upgrade cases and a new differential test over each kind registered inindex.ts(SQLite and PostgreSQL today); a third adapter is one registration. The differential test sends seeded random and edge-case calls (fractional and huge numbers, NUL and control characters, lone surrogates, collation cases, ties, concurrent transactions) through every adapter and diffs the results, error classes and list order; the seed is printed and replays withPODIUM_DIFF_SEED. Guards fail on a store method no case calls, a table, column or index in one adapter and not another, an adapter with no CI job, and ane2e.ymlthat leaves a database out; the release PR'sE2E summaryfails if a database's run is missing or skipped.npm testnow fails, naming the adapter, when a test server is not configured (PODIUM_TEST_ONLY=sqliteleaves it out and prints NOT RUN;ci.yml's first job does that).ContractReferenceand the SQLite reference are gone. The PostgreSQL divergences it finds (a fractional number or NUL in a column, a call from outside a transaction running inside it, NaN stored as NaN where SQLite stores NULL) are listed in that adapter'sknownlist for #1007. -
A branch that changes storage, a route or database behavior runs the e2e suite on every database (#1007).
npm run e2eruns on SQLite only, so.claude/PROJECT.md, thepodium-e2e-updateskill and thepodium-e2e-keeperagent now say to run the whole suite once on each registered database, SQLite included, in parallel, before the PR, and not twice on the same one. Until now PostgreSQL ran the whole suite only on the release PR. -
docs/DEPRECATIONS.mdlists what is being removed and when. A feature marked for deprecation is removed within three minor releases, counting the release that announces it. The first entry is reporter tokens over plain HTTP, announced in 1.5 and removed in 1.8.scripts/check-deprecations.mjsruns innpm testand fails once the version reaches a removal that has not been done. The README lists the page. -
The live-testing page covers the OpenCode checks #996 did not exercise (#1000).
docs/LIVE_TESTING.mdnow says how to check/podium context, a name kept across a restart, a session with no terminal UI (opencode runandopencode serve) and the messaging flag turned off in the middle of a session. The run passed all five on OpenCode 2.2.5; the web client and the desktop app could not be driven by an agent. -
The OpenCode reporter sends the repo, background work and whether a terminal UI is attached, shows its status in the prompt footer, and takes
/podium nameand/podium context(#987). The card shows the git project root andowner/namefrom the remote (the folder's name when there is none), the shell (by its first word, never its command) or subagent an idle session still runs, at most 20 (asexperimental.idlelists it for the root, so the card is not waiting on the person), andattachedastruewhile the TUI part is attached (unknown otherwise, neverfalse, which would hide the card of a session run without a TUI)./podiumnow prints theSign-in:,Messaging:andContext:lines,/podium name <text>is kept in the plugin's storage and wins over OpenCode's title, and/podium contextedits~/.podium/contexts.json. The status line stays in the prompt's footer (prompt.footer.status), not only as a toast on change. The messaging tools are offered only once Podium says the session takes part, throughctx.tool.reload, as in Claude Code. A dev build says so in its reports: the reporter reads the.claude-plugin/dev-build.jsonstamp.repoFromRemote, the git place reader,nameArgand theSign-in:line moved toplugin/core/and both reporters use them.session.vieweddoes not exist in OpenCode 2.2.5's plugin API, soattachedis the TUI part's own attach. A git submodule reports its own top level as the project root. -
An OpenCode run that auto-compacts three times is classed "Context window exhausted", and explained failures use a small model (#986). The reporter now passes the count and times of automatic compactions to the failure classifier, so the class and its evidence line appear as they do for Claude Code.
PODIUM_EXPLAIN_FAILURESon OpenCode asks the cheapest small model inctx.model.list()(an id naming a Haiku, mini, nano, flash, lite or small tier) instead of the session's default, uses the default only when none is listed, and ends the explanation with the model that wrote it. A shell call that exits non-zero is now reported as a failed call with its exit code: OpenCode 2.2.5 sends it as a success with the code inmetadata.exit(verified by a live run), so it was never counted as a failure before. -
The live-test script starts any harness, one run can mix them, and tmux runs on a private socket (#976).
scripts/podium-peers-e2e.sh up --harness claudecode|opencode(defaultclaudecode; a comma list is used window by window) checks only the tools that harness needs, builds its plugin, and opens each session with its own isolation: an OpenCode window gets a scratch home holding the plugin, a projectopencode.jsonthat asks before a shell or edit call, an env file andopencode --standalone, with the model from--opencode-model(never defaulted;--opencode-configadds a local provider block). A Claude Code window now gets a scratch home that links your home except.podium, so a reporter config file there can no longer send it to your own server. The seed and the script take--activity-output,--session-recordingand--file-difffor the Admin flag and the reporter option.downstops the tmux server of that socket, the server and the work folder.docs/LIVE_TESTING.mduses this instead of the hand-built OpenCode recipe. The scripts that are Claude Code only say so in their--help. -
scripts/podium-opencode-demo.shstarts and stops an OpenCode demo.startchecks the reporter certificate (parses, not within 24 hours of expiry, points atlocalhost:4318), checks Podium and the reporter port, buildsdist/opencode/, starts Ollama through Homebrew and loads a model (gemma4:12b-pinned, orDEMO_MODEL), then runsopencode --standalonewith the plugin and an Ollama provider passed inline, so~/.config/opencodeis never written.stopcloses that OpenCode, stops Ollama and confirms the OpenCode config is byte-for-byte what it was atstart. -
The spec lists what Podium can answer on OpenCode, and the OpenCode install advice no longer names tags (#970). SPEC 1 has the OpenCode answer list (a permission once or rejected, a question form, a message,
/compact; no plan approval or/clear).docs/REPORTER.mddrops the#v…and#semver:…specifiers, which could not resolve because release tags sit onmain, wheredist/does not exist: the Git route is#plugin-dist::path:dist/opencode, which follows the latest release, and a fixed version comes from the versioned zip. The consents list now includesPODIUM_EXPLAIN_FAILURES, and the OpenCode README points to the install and the "Not available" list. -
The OpenCode reporter reports what the Claude Code reporter does: effort, context window and percent, skills, tokens per model, failure detail and compactions (#969, from #847). Effort is the model's variant on each step, shown as observed. The window comes from
ctx.model.list, so a model that list does not hold shows a size and no percent. Skills come from theskilltool's result. OpenCode's tool names are shown under Claude Code's (shellasBash,subagentasAgent), and a compaction counts as acompactevent. A failure carries the engine's error text, and "Blocked by permission" when a rejected permission was the cause. -
The OpenCode reporter sends the changed-files list always, and a file's diff on request with
PODIUM_FILE_DIFF(#969). The diff reader moved fromplugin/claudecode/toplugin/core/fileDiff.ts, and both reporters use it. -
The OpenCode reporter sends the activity feed and a shell call's output, full prompts and session recording, each behind the person's consent (#969).
PODIUM_ACTIVITY_FEED,PODIUM_ACTIVITY_OUTPUT,PODIUM_FULL_PROMPTSandPODIUM_SESSION_RECORDINGwork as the Claude Code options do. The feed's limits and the session recorder moved toplugin/core/feed.tsandplugin/core/recording.ts, shared by both reporters. A recording tells the person through a toast when it starts, stops or is refused. -
Podium's answering follows the respond level for an OpenCode session (#969).
PODIUM_RESPONDtakestrue(orquestions),questions-and-plansoreverything, so answering a question no longer grants permission replies. Message ids sent to OpenCode start withmsg_, the only kind it accepts. -
OpenCode orchestrators can message each other, and a failure can be explained (#969). With
PODIUM_PEERSon, the reporter addspodium_peers,podium_sendandpodium_request_accessthroughctx.tool, delivers messages withsession.prompt, and/podium allow,/podium declineand/podium deliver <id>answer a request. Aplantool names the plan. WithPODIUM_EXPLAIN_FAILURESon, each new failure is explained throughctx.experimental.generatefrom its redacted record only, cut at 400 characters and with no cost counted. -
The OpenCode reporter takes
flushIntervalMs,heartbeatMsandsessionName, says its notices once, and shows its state (#969). Warnings go once to the console aspodium-reporter:lines, the TUI part shows a toast when the connection changes, and/podiumanswers with a toast (and a console line with no TUI part). -
The reporter docs list the OpenCode settings and what OpenCode cannot do (#969).
docs/REPORTER.mdhas an "OpenCode settings" section with eachPODIUM_*default and the list "Not available on OpenCode", each with its reason: plan approval,/clear, the fork command, the "Context window exhausted" classification, real exit codes,/podium name,contextandmessaging, hiding the messaging tools before Podium confirms, a cost and a model choice for explained failures, and rate limits (OpenCode's event stream has none; its experimentalusage.limitscall covers one vendor's plan and is not read). -
Atlas: the OpenCode reporter's parts (window, notice, peers, tools, activity, recording lines, message ids) and the shared recorder, file diff and feed in plugin/core are now in the atlas, with the respond levels for OpenCode (#969).
-
docs/LIVE_TESTING.mdcovers OpenCode as well as Claude Code (#969). It has an OpenCode procedure, a shared section on the helper scripts, and corrections to the Claude Code steps. -
The Claude Code reporter answers through the shared client, and no test configuration ships (#971, from #847).
register.tsdrops its own copy of the announcing, waiting and outbox code and usesResponderfromplugin/core/respond.ts, which OpenCode already used; what the reporter sends and accepts is unchanged. One difference: an answer that arrives after the session was re-registered or Podium answering was switched off mid-wait is now reported closed rather than acted on.dist/claudecode/anddist/opencode/no longer holdvitest.config.ts. The atlas no longer says Claude Code does not use the shared client. -
A guide to live testing with tmux and a throwaway server (#971).
docs/LIVE_TESTING.mdshows how to run real Claude Code sessions against your own server, keep them off the server in your~/.podiumconfig, answer them from the API, and shut it all down. -
Two harnesses on one machine are two reporters, and Claude Code's identity stays unchanged (#967, from #847). The server now names the Claude Code reporter
podium-reporter-claudecodeand the OpenCode reporter sendspodium-reporter-opencode;podium-reporterstays the product, plugin and MCP tool name, and the Claude Code reporter keeps sending it in its v1 reports. The server reads the legacypodium-reporteras the Claude Code reporter, so an installed reporter that has not updated keeps its row, key, peers rights and history, and stays the same row after it updates. A v1 report may carry either Claude name, a v2 report must carry its harness's own name, and any other name is a 400 on$.reporter.name; an OpenCode build that still sends the legacy name is refused rather than filed under Claude Code. Messaging to a machine by name skips a reporter that never sent the peers option when another on that machine did. The OpenCode reporter has a supported range of its own (it wasunknownbefore), so a session's warning and the reporter's row agree, and the console names the reporter to update (claude plugin update podium-reporter@eengelking-marketplace, oropencode plugin updatethenopencode service restart). An existing Claude Code machine id is never replaced: its own file, then its store, then the shared~/.podium/machine-id, and the winner is written to the shared file; an OpenCode id may change once. Both reporters read the machine name and OS one way, fromplugin/core, with the name pinned in~/.podium/machine-nameand the Claude Codepodium-machine-nameas the fallback. SPEC 6.8, DECISIONS 55,docs/REPORTER.mdand the atlas follow. No schema change (thereporter_namecolumn exists and an old row is read as the Claude Code reporter), so no storage adapter needs a migration; the contract cases run on each adapter. -
The OpenCode reporter connects to a server with built-in TLS using a reporter config file (#948, from #847). It finds the file the way the Claude reporter does (
PODIUM_REPORTER_CONFIG, a context, or the newestreporter-config-*.pemin~/.podium/), connects to the address in it with the person's certificate and the CA it carries, and needs no token. The file is read only from~/.podium/and the trusted settings, never fromopencode.json, and the key is never logged or reported. The client renews the certificate under the same lock the Claude reporter uses. A file that cannot be used (wrong mode, expired, revoked, the wrong CA or name, a server certificate that does not match) is named once in apodium-reporter:line, which OpenCode prints with--print-logs, and leadsReporter.statusText(). Reports keep the same retry backoff. With no file, a server on plain HTTP with a token works as before.docs/REPORTER.mdhas the key file in its threat note. -
The OpenCode reporter ships as an archive and from the
plugin-distbranch (#857, from #847). Each release and nightly now attachespodium-opencode-<version>.zip(the nightly's has-nightly-<date>) beside the Claude Code one, andplugin-dist.ymlpublishesdist/opencode/next todist/claudecode/. Unzip the archive into~/.config/opencode/plugins/podium/, or runopencode plugin add "git+https://github.com/eengelking/podium.git#plugin-dist::path:dist/opencode"(a tag or asemver:range works in place ofplugin-dist). Both were run on OpenCode 2.2.5.docs/REPORTER.mdhas the install steps, theopencode service restartstep and what changes when the service is disabled or OpenCode runs--standalone. The build, zip, publish and compare scripts read an OpenCode folder's version from itspackage.json,node scripts/plugin-build.mjswith no name builds both harnesses, andrelease.ymlcompares both archives withplugin-dist. No storage change, so no adapter is affected. -
The console explains reporter options for OpenCode as well as Claude Code (#857, from #847). On My reporters, "Off on the machine" has a dotted underline and opens a note on hover or focus with the steps to turn messaging on, replacing the line of text under the table. In Admin > Reporters, the "This reporter is using the admin secret" steps have a Claude Code / OpenCode picker beside "To fix it:", and OpenCode's steps set
PODIUM_TOKENandPODIUM_USERin~/.podium/config.envand runopencode service restart. The console picks the harness from the sessions it holds on that reporter's machine (a reporter row carries no harness): one harness opens its own steps, and none or both opens Claude Code's first, with OpenCode's beside them in the My reporters note. The hint on the activity feed, the recording picker and Admin's messaging section name OpenCode's variable (PODIUM_ACTIVITY_FEED,PODIUM_SESSION_RECORDING,PODIUM_PEERS) for an OpenCode session. Claude Code's words are unchanged. No storage change, so no adapter is affected. -
The atlas follows the OpenCode reporter's distribution (#857). The Harness adapter part says the build covers each harness by its own manifest, that a merge to
mainpublishesdist/opencode/besidedist/claudecode/, that a release and a nightly each carry both archives, and how OpenCode installs from the branch or the archive. -
The agent tree and the orchestrator panel follow what a harness declares (#944, from #847). A session whose harness declares
context: falseoreffort: false(or whose harness the console's table says cannot report it) has no Context column, no effort column, or neither, in the agent tree: the header, the orchestrator row and every agent row lose it, and the table's grid shrinks to match. The orchestrator panel leaves out the Effort and Context rows. Nothing stands in the place of a field that is absent. A Claude Code session, and any session that declares nothing, looks as before. Frontend only, so no storage adapter is affected.Standards: the agent tree's row gains two variants,
.no-ctxand.no-eff, that drop that column's grid track when a harness does not report the field; the maintainer approved this in the #944 mockup (mockup/podium-harness-tree-capabilities.html). -
Podium can answer an OpenCode session: a permission, a question, a message and
/compact(#858, from #847). Where the person turned onPODIUM_RESPONDandPODIUM_ACTIVITY_FEEDand the Admin's flags are on, the OpenCode reporter announces each open permission and question, and the console can allow a permission once or reject it, answer a question, send a message (labeled as coming through Podium) and run/compact. It never sends "always allow". A question is answered through a new TUI part of the plugin (./tui) when a terminal UI is attached, otherwise through OpenCode's localservice.jsonroute (read only when the answer is sent, and only for an address on this machine), and the console is not offered a question that neither can answer. Plan approval and/clearare not offered. The waiting, announcing and reporting back are inplugin/core/respond.ts, which Claude Code's reporter does not use yet. The atlas, the OpenCode README and the reporter threat note say so. -
The OpenCode reporter reads its token, server and consent only from
~/.podium/andPODIUM_*, and shares one machine id with the Claude reporter (#856, from #847). A committedopencode.jsoncan no longer set the server URL, token or user name, or turn on answering, recording or any other consent option;plugin/core/settings.tsholds the rule for the OpenCode reporter; the Claude reporter's own options are unchanged. The machine id moves to~/.podium/machine-id: an id the Claude reporter already made (~/.claude/podium-machine-id) is copied there, so an existing install keeps its row, and a machine with both reporters shows once with one id. The Claude reporter still writes its own file too.docs/REPORTER.mdhas the threat note (in-process trust, a repo that removes or injects a plugin, theservice.jsonpassword, token file permissions). No storage change, so no adapter is affected. -
Podium can watch OpenCode: the OpenCode reporter reads a session's events and reports them (#855, from #847).
plugin/opencode/is a plugin for OpenCode 2.x that subscribes to the event bus and sends v2 reports (harnessopencode). A root session and the subagent sessions it launches are one record on the wall, with the subagents in its agent list. It reports the model, tokens, the cost OpenCode itself computed (the root's figure already includes its subagents', so nothing is added twice), tools with their input and result, open permission asks and questions (the session shows as waiting), compaction, the plan from the todo tool, failures and the git branch. A session reportsdoneafter a minute of quiet (idleSeconds), at once when it is deleted or archived, and when the plugin is cleaned up, and it reopens under the same id. The event loop never waits for the server: a slow or unreachable Podium cannot grow the shared OpenCode server's memory, and the queue, backoff and offline behavior are the ones the Claude Code reporter uses. It is watch only; answering a session is a separate change. The context window and the effort are not on OpenCode's event bus, so the reporter declares neither and the card shows no Context cell. It is built withnode scripts/plugin-build.mjs opencodeintodist/opencode/, which is not published or distributed yet (#857), and it hasnpm run test:mod:opencodeandnpm run typecheck:mod:opencode, which CI runs.plugin/opencode/is no longer exempt from the script-pair test. No storage change, so no adapter is affected. -
An agent keeps its model label and provider, and the agent rows read the label (#945, from #847). A v2 report's
agents[].modelLabelandmodelProviderare stored per agent in SQLite and in PostgreSQL (migration 30, PostgreSQL step 6),nullwhen none was sent and for every agent stored before this. A later report of the agent replaces them; one that sends neither keeps what is stored unless it names a differentmodel, as for a session (#940).AgentViewcarries both, and an agent's tree row and panel show the label with the model id as the title, and the family name when there is no label, so a Claude Code agent looks as before. The provider is stored and not shown. -
Podium stores what a harness declares, and the console follows it (#940, from #847). A session keeps the
capabilitiesits report declared (the seven yes-or-no keys and the slashcommands), itsmodelLabeland itsmodelProvider, in SQLite and in PostgreSQL (migration 29, PostgreSQL step 5). A later report replaces them; a report that declares none, a v1 report or a settings hook, leaves them alone; a v1 session and every session stored before this have them as not declared. The session view carriescapabilities,modelLabelandmodelProvider, and the History row carriesmodelLabel, so an ended session opens as it did live, after a restart. The console now hides the Context cell or the effort meter when the harness declarescontext: falseoreffort: false, and no longer needs the fixed table to know: that table infrontend/src/fleet/harness.tsanswers only for a key the session did not declare, so a Claude Code session looks as before. The model chip readsmodelLabel(for example GPT-5.1) with the model id as its title, and the family name when there is none. A capability key left out of a v2 report is now "not declared" instead of "not supported", and only an explicitfalsemeans no (SPEC 6.2). The SQLite and PostgreSQL adapters both change, and the same contract case passes against each. -
The console shows which harness runs a session, and works for any harness (#853, from #847). When the wall holds sessions from more than one harness, each card and the orchestrator page carry a badge (a shape and the harness name). A cost the harness reported itself reads "from OpenCode" under the figure, and the facts bar calls it Cost, not Est. cost. A harness that does not report context size has no Context cell and no effort meter, and the orchestrator page says so once. A model that is not a Claude model no longer says so in its tooltip. The shell tool is read the way each harness spells it (
Bashfor Claude Code,shellfor OpenCode), the "(Recommended)" tag is Claude Code's alone, and a session id with a prefix such asses_keeps its prefix and the first eight characters after it (shortId, inplugin/core/protocol.ts), so two ids no longer collapse to four. Resume and Fork come from a per-harness template on the server: OpenCode resumes withopencode <dir> --session <id>, has no fork command, and its Fork cell stays in its place reading "Not available".resumeCommandandforkCommandin the session view can now benull. Nothing changes for a wall of Claude Code sessions. No storage change, so no adapter is affected.Standards: the harness badge (
chip hx), the source word under a harness-reported cost and the three-cell card footer are new, approved by the maintainer on the mockupmockup/podium-harness-badge.html. -
The supported reporter range is kept per reporter (#852, from #847).
REPORTER_SUPPORTinserver/src/fleet/compat.tsis now one range for eachreporter.name, so a reporter outside its own range gets the version warning and another reporter on the same machine does not. A reporter the server has no range for is not checked, and nothing changes forpodium-reporter, whose range is the one it had. The reply to a report carries the sending reporter's range, and the warning on a session card, the orchestrator page, Admin > Reporters and My reporters names the reporter.SessionView, the reporter rows and the peer rows gainreporterName.mod-version-check.ymlnow checks the version file of every harness underplugin/that has one (.claude-plugin/plugin.jsonorpackage.json), so a new reporter needs no workflow edit (SPEC 6.8). -
Report v2: a harness block and capabilities, read alongside v1 (#850, from #847). A report with
v: 2carriesharness(id,name,version,surface) andcapabilities(a boolean per feature, and the slashcommandsPodium may send), takes any string for effort, plan source and agent kind, and may addmodelProviderandmodelLabel. An omitted field means the harness does not support it andnullmeans supported with no value now (SPEC 6.2). The endpoint and reply are unchanged, v1 is read exactly as before and means Claude Code, and any othervis still a 400 at$.v. A report that names another harness than the one stored for its session id is a 409 at$.harness.id. The reporter shows a notice instead of the bare 400 when an older server cannot read v2, and one for the 409. Nothing is stored or shown yet: storing the harness block is a separate issue. No change for an install that only has Claude Code. -
npm run plugin:build:releasebuilds the mod with no dev stamp (#932). It runsscripts/plugin-build.mjsexactly as CI does, so its output passesscripts/podium-reporter-zip.mjsandscripts/plugin-publish.mjswith no extra step.plugin:buildandplugin:devkeep the stamp. The release check inpodium-release, CONTRIBUTING.md and the zip and publish scripts' refusal messages name it. -
npm run plugin:dev:claudecodebuilds the mod and starts Claude Code with it loaded (#927).scripts/plugin-dev.mjsruns the dev-stamped build and thenclaude --plugin-dir dist/claudecode;-- --watchrebuilds whenplugin/changes, andnpm run plugin:dev:cleanupdeletes the git-ignored build folders.plugin:dev:opencodeexits with an error until #855. -
A check that every list query is ordered the same way in every storage adapter (#910).
scripts/storage-order-parity.mjsreads the queries in each adapter folder, pairs each store method with its counterpart, and fails on a list that one adapter orders and another does not, on differentORDER BYcolumns once the dialect is set aside, on a list with noORDER BY, and on a method that lists in only one adapter. A list whose order does not matter carries// order-insensitive: <why>next to its query; the 32 that had none now do. It needs no database server and runs innpm test, and the adapter parity check inpodium-pr-workflowruns it. -
Open peer requests that existed before the insertion number list the same in SQLite and PostgreSQL (#916). Two requests with the same
created_atmade before the upgrade were ordered by insertion in SQLite and by id in PostgreSQL, which cannot recover insertion order. SQLite migration 26 now numbers them bycreated_atand thenid, as PostgreSQL step 2 does. A SQLite database that already ran migration 26 keeps the numbers it has; requests made after the upgrade are numbered as before. The upgrade contract has a tie inserted out of id order. -
A session records its harness, and a cost the harness reported is kept (#851, from #847).
sessionsgainsharness(existing rows becomeclaude-code) andcost_source, in both storage adapters (SQLite migration 28, PostgreSQL main step 4). A v1 report may now carry optionalsession.harnessandsession.costSource;costSource: "harness"makes ingest keepcostUsdas it came for a model Podium has no price for, including0, instead of storing n/a, and the session view carriesharnessandcostSourceso the console can label the figure. The harness's figure is never repriced fromusageByModel, so a mixed session keeps its whole cost. A report with neither field is stored as before, so Claude Code costs do not change. Showing the label is the UI child's job. -
A machine that runs two reporters shows two reporter rows (#849, from #847). The reporter table now records which reporter sent each row (
reporter_name,podium-reporterfor the Claude Code one), and the key is the machine plus that name: unchanged forpodium-reporter,<machine id>@<name>for any other. Before, a second reporter on the same machine overwrote the first's version, kind and peers setting. Every existing row and ignore rule keeps its key and becomes apodium-reporterrow (SQLite migration 27, PostgreSQL step 3). An ignore rule on a machine id covers every reporter on that machine. The Admin reporters list and detail carry the name; nothing on the page changes yet. -
Podium can run on PostgreSQL (#822, from #314).
PODIUM_DB=postgres://user:password@host:5432/dbname(orpostgresql://) selects a newpostgresstorage adapter, built on thepgdriver with a pool, behind the same interfaces as SQLite (DECISIONS 53). A plain path or:memory:is still SQLite and still the default, and a SQLite database from the previous release opens as before. The server makes its tables in the schemapodium, and the Activity history and the session recordings in the schemapodium_activityof the same database, on a pool of their own, so a slow history write still does not hold up a report. Text compares as bytes (COLLATE "C"),lower()folds ASCII only as it does in SQLite, and numbers come back as numbers. The log and/healthshowhost:port/dbname, never the user or the password. Limits: one server process for each database (a second server on the same one stops at start with a message, using a session advisory lock); Podium does not move data from a SQLite file into PostgreSQL; there is no read replica or high availability; connection options go only as far aspgtakes them from the URL. There is noVACUUMto run, since autovacuum owns the space. The adapter's tests run whenPODIUM_TEST_PGnames a PostgreSQL server and are skipped otherwise; CI has atest-postgresjob with a service container,scripts/throwaway-db.mjsmakes and drops a database for the scripts that start their own server, and CONTRIBUTING.md says how to run them in a Podman container. No data, setting or screen changes for an install on SQLite. -
The atlas covers the PostgreSQL adapter (#822). The storage registry now has the
sqliteandpostgreskinds, the adapter part describes both, and "Where data lives" gains the PostgreSQL database,PODIUM_DATA_DIRand the single-process lock. -
The GitHub runner image is tracked in the repo (#871).
runner/Containerfileand itsrunner/entrypoint.shbuild the image that runs this project's GitHub Actions runners. They live in their own folder so nobody mistakes them for the rootContainerfile, which still builds the Podium image and is the only onepodiumctl, the e2e scripts and the workflows use. No behavior of Podium changes. -
The PostgreSQL tests can no longer be skipped without saying so (#891).
npm testwithoutPODIUM_TEST_PGnow prints that the PostgreSQL suite was skipped and namesscripts/test-pg.sh, which starts a throwaway PostgreSQL container, runs the server suite against it and removes it. WhenPODIUM_TEST_PGis set and no server answers, the run fails with the server's host and database (never the password) instead of failing test by test. The CI jobTest with PostgreSQL(test-postgres) is meant to be a required check ondevelopmentandmain; the maintainer adds it to the ruleset. -
An upgraded database is tested to match in every adapter (#892). The storage contract only ever opened a fresh database, so no migration ran on rows that already existed.
contractUpgrade.tsnow has a case that each adapter runs: it builds a database at the schema before open peer requests got their insertion number (SQLite migration 26, PostgreSQL step 2), loads the same requests, opens it as aStorageand checks that every request keeps its values and its order, and that a new one comes after them. A migration that drops a row or changes a value in one adapter fails it. A migration that rewrites rows in a later change adds its rows to this case. No behavior of Podium changes.
Changed
-
A server test run that leaves PostgreSQL out says it is not a pass for a PR (#1011). The "not set" error now names
scripts/test-pg.shfirst and saysPODIUM_TEST_ONLYis not a way past it, and the NOT RUN notice says the same.PROJECT.mdand thepodium-pr-workflowskill now requirescripts/test-pg.shbefore a PR and a PR-body line naming each adapter that ran, with counts. -
docs/SERVER.mdhas a PostgreSQL section (#1007). It lists what the role needs (CREATEon the database, enough to make the two schemas and thepodium_lowerfunction), the 15 connections Podium opens, that only PostgreSQL 17 has been tested, the one-server-per-database lock and what happens when its connection is lost (5 tries 500 ms apart, then Podium exits), that a transaction-pooling PgBouncer is suspected to break the lock and the schema startup parameter but was never tried, how calls outside a transaction wait on an open one, and thatPODIUM_DATA_DIR(the TLS CA) still needs a backup. -
The order-parity check compares where NULLs sort and looks at single-row reads, and the storage contract covers odd text and the largest numbers (#1007).
scripts/storage-order-parity.mjsused to dropNULLS FIRSTandNULLS LASTand only read list queries. SQLite sorts NULL first in an ascending order and PostgreSQL last, so a column that can be NULL now has to sort the same way in both adapters, by what the query says or by its database's default. It also reads.getqueries that pick a row from an ordered set, and the subqueries in writes that take the first row (ORDER BY ... LIMIT 1), and fails a.getwith aLIMITand noORDER BY. It found no drift today. The contract has two new cases: text with accented letters, CJK, emoji, quotes, backslashes and%and_is stored, read and searched the same on both databases, and the largest number the validator takes round-trips through every whole-number column.docs/e2e/COVERAGE.mdsays which tests run on PostgreSQL, that no CI run of the Cypress suite has used it yet, and the options for the release gate. -
The OpenCode docs say what the reporter does and does not do after #969 to #986 (#988).
docs/REPORTER.mdandplugin/opencode/README.mdnow listfileDiffPreloadamong five plugin options (the README said three, REPORTER four), say that a sessiondoneafteridleSecondstakes no message until it reports again (and stays open while the TUI is attached), and add the status line, background tasks andattachedto "Not available on OpenCode". Both say the plugin options may not reach an auto-discovered plugin (found in #978, not yet confirmed with a live run)..claude/PROJECT.mdnames the OpenCode archive beside the Claude Code one. -
The built reporter is tracked in
dist/onmainand checked on every PR intomain, and theplugin-distbranch is gone (#983, DECISIONS 60, which supersedes 58 and closes #928). The release-prep PR rebuildsdist/claudecode/anddist/opencode/withnpm run plugin:build:release, which now emptiesdist/first, and commits them.npm run plugin:dist:check(scripts/plugin-dist-check.mjs) fails a PR intomain, or a push to it, unlessdist/is exactly a clean build ofplugin/: the same files and bytes, nothing extra, no dev stamp, every harness at the product version.eengelking-marketplacewill point atdist/claudecodeonmainwith noref(the maintainer moves it in the skills repo when the release is cut), and OpenCode installs with#main::path:dist/opencode. A developer's stamped build (npm run plugin:build,plugin:dev, the live-test and demo scripts) now goes to the git-ignoreddist-dev/, run Claude Code from a checkout withclaude --plugin-dir dist-dev/claudecode, andplugin:dev:cleanupnever touchesdist/.release.ymlruns the check, zips the trackeddist/without rebuilding and compares each zip with itsdist/<harness>/, with nothing to wait for.sonar-project.propertiesleavesdist/out of coverage and duplication only, so each release is not read as untested and duplicated, and it is still analyzed for issues. The empty wall's hint now readsclaude --plugin-dir dist-dev/claudecode. -
The reporter's TLS code lives in
plugin/core/tls/, one copy for every harness (#948, from #847). The Claude reporter's helper (helper.mjs) is now a thin shell around a shared client (client.mjs) in core, which also holds the config file reader, the certificate renewal and its cross-process lock, the CA rotation check, the error words and the one reporter route list the server's gate imports as well. The config file selection, contexts and the wording of TLS problems moved to core TypeScript. What a Claude session does and shows is unchanged. The Claude reporter keeps only what is its own: starting the helper, the socket and the Windows mailbox, and findingnode. Tests that neednode:modules are named*.node.test.tsand are not shipped in the built plugin. -
A stored model label and provider follow one rule for sessions and agents, and a report with no model stores none (#952, from #847).
sessionRowandagentRownow share one helper. A report whosemodelis null stores no label and no provider, so a row never holds a label with no model (before, a session or agent that reported no model kept the old label next to a null model). The read before the agent upsert asks only for the agents the report names (new store methodgetAgentsByIds, in SQLite and PostgreSQL, with a contract case), and is skipped when a report names none. Nothing a person sees changes for a label that is stored correctly. PostgreSQL and SQLite both carry the new query; no table changes. -
Every harness's reporter has the same checks, and the shared code is tested without a harness CLI (#934, from #847).
npm run test:coreruns the tests inplugin/core/with no Claude Code or other harness installed, and CI runs it in its own job.npm run test:modandnpm run typecheck:modare renamednpm run test:mod:claudecodeandnpm run typecheck:mod:claudecode, with no alias for the old names, so each harness can ship atest:mod:<harness>andtypecheck:mod:<harness>pair. A test innpm testfails when a folder underplugin/(other thancore, andopencodeuntil #855) has no such pair. The convention is inCONTRIBUTING.md("Testing a reporter"), andPROJECT.mdandpodium-pr-workflownow say which checks a change runs by where it sits. -
The reporter moves from
mod/podium-reporter/toplugin/, and the report types and shared reporter code live once inplugin/core/(#927, from #847).plugin/claudecode/holds what is specific to Claude Code,plugin/core/holds the code every reporter shares (the report types, transport, failures, redaction, plan, machine id), andplugin/opencode/is a placeholder for #855. The server, the UI and the reporter import oneprotocol.ts, so the byte copy in the mod, its comparison test and its Sonar duplication exclusion are gone, andplugin/core/is now measured for coverage. A test fails whencoreimports a harness or one harness imports the other.scripts/plugin-build.mjs(npm run plugin:build) builds each harness into a self-containeddist/<harness>/, and the release archive is a zip of that folder. What a person sees: to run the reporter from a checkout, build it and load the built folder,npm run plugin:buildthenclaude --plugin-dir dist/claudecode, and the "no sessions" hint on the wall says so.npm run test:modbuilds first.npm run plugin:buildstamps the commit, its tag and whether the tree had edits intodist/claudecode/.claude-plugin/dev-build.json, so a reporter run from a checkout still showsDev: <commit>; the stamp is opt-in (--dev-stamp), CI never writes it, and the publish and zip scripts refuse a folder that has one. The server's compiled output is now underserver/dist/server/src/, withserver/dist/index.jskept as the entry. DECISIONS 56 and 57 record the change and supersede themod/toreporters/plan in 55 and the byte copy in 6. -
The built reporter is published to a
plugin-distbranch on a merge tomain(#927, from #847)..github/workflows/plugin-dist.ymlruns the tests and the build, then commitsdist/claudecode/(anddist/opencode/once it has a manifest) as a new commit onplugin-dist, never by force and with nothing published on a failure or an unchanged tree.mainmoves only on a release, so a release is what publishes it. The marketplace entry is to point atref: plugin-distandpath: dist/claudecode(#928, a separate change), so the reporter is installed from the built folder and a later release arrives as a new commit there.release.ymlfails a release whose zip differs from whatplugin-distholds, and the nightly builds its zip the same way and publishes no branch. DECISIONS 58 records the path and amends 12. -
The atlas follows the reporter's move to
plugin/(#927). The Claude Code session part namesplugin/claudecode/, the shared reporter files are referenced underplugin/core/, and the part says how the reporter is built, what the publish script refuses and how a release is checked againstplugin-dist. The server'sprotocol.tsreferences and the protocol file's description now say the report types live once inplugin/core/protocol.ts. The atlas is harness-neutral: the first part is now "Coding harness session" (Claude Code today), a new "Harness adapter" part holds what is specific to one harness (plugin/claudecode/today,plugin/opencode/reserved) and the build and publish path, the other reporter parts say which of their code is shared inplugin/core/and which is in the Claude Code adapter, and the hooks section says its hooks are Claude Code's (thirty-four parts now). -
Five forms reset their typed value during render instead of in a mount effect (#861).
PeerLimitRow(Admin's limits and My reporters),HistoryForm,DaysRow(Certificates),ForgetDaysandRecordingLimitskept the last saved value in state and set the typed value when it differs, so an edit made right after the form appears is no longer put back to the saved value. A newly saved value, from this box or another browser, still replaces what is typed.PeerLimitRowstill clears its sent and refused refs in an effect. Nothing on screen changes. The idle wait insetupTests.tsstays, because other mount effects need it. -
The atlas gives storage its own column and a part for PostgreSQL (#923). The system map has a Storage column between the Podium server and the Browser, holding the storage interface, the adapters,
podium.sqlite,activity.sqliteand a new PostgreSQL database part (thirty-three parts now). The PostgreSQL text says what the code does: thepodiumschema has three steps after its baseline. The Key functions tables follow, andscripts/atlas-functions.mjslists the new part. The map now opens with no flow drawn, so Claude Code session and Hooks and reducers no longer stay lit whatever box is selected; picking a flow draws it, and picking the same flow again clears it. -
A report and a snapshot take far fewer statements on PostgreSQL (#906, from #822). A report was about 67 statements and is now about 19; a snapshot (
GET /api/fleet/state) was about 205 and is now about 15 to 19. The live count in a report's reply, the agents of a report and their texts, and the snapshot's reads of sessions, agents, blowouts, compact events, samples, owner groups and recordings are each one statement for all the sessions, not one for each. With a 1 ms hop to the database a report's p50 went from about 230 ms to about 77 ms and a snapshot's from about 670 ms to about 65 ms (docs/PERFORMANCE.md). Each is a new method on the store interface, in both adapters, with a contract case. Nothing the stream carries is cached or sent less often. -
The spec describes Podium for any agent harness (#854, from #847). The goals, the glossary and the introductions to sections 5 and 6 now say that Claude Code and OpenCode are the supported harnesses, and the non-goals say Podium answers a session only in the ways the harness's own dialogs offer. DECISIONS 54 restates the non-goals for any harness (watch; answer only where the harness's dialogs offer it; never type into a terminal; no agent switching or interrupting). DECISIONS 55 records the reporter key (machine plus reporter name), the
v: 2report with the server reading both versions, and the plan to renamemod/toreporters/with the second reporter. No code, setting or screen changes, and no section number moved. -
SQLite gets migration 25, and a few queries end on an explicit tiebreak (#822).
peer_messagesandperson_certificatesgain aseqcolumn (existing rows take theirrowid, a new row takes the next number) that the two orderings leaning onrowidnow use, and the queries that sorted only by time end onid(liveCandidatesandendedBetweenbystarted_at, id, blowouts byt, id), because PostgreSQL has norowidand no stable order on a tie. On SQLite the answers are the same as before, and the shared contract asserts these orders for both adapters. A database from the previous release migrates at the next start. -
A failed unit-test step in CI gets two retries (#822).
scripts/ci-retry.shruns the test command up to three times, each under a time limit, in thetest-and-buildandtest-postgresjobs and in the Sonar workflow's coverage job, so a timeout on a loaded runner does not fail the PR. Each failed attempt leaves a warning that names the step and shows the last lines of its output, and a pass after a retry writes a line to the job summary, so the flake stays visible and can be filed. The end-to-end workflow, installs, builds and the Sonar scan are not retried. -
podiumctl, the Containerfile, CI and the end-to-end suite pass the database through (#822).podiumctlacceptsPODIUM_DB=postgres://...in both modes (the container then needs no/data/podium.sqlite), keepsPODIUM_DATA_DIRfor the TLS CA, hides the user and the password inpodiumctl config, and showshost:port/dbnamein its status. TheContainerfiledoes not setPODIUM_DATA_DIR, so an image run directly with a SQLitePODIUM_DBkeeps its TLS CA beside the database file, and one run with a PostgreSQLPODIUM_DBneeds the variable (podiumctlpasses it).scripts/e2e-up.shtakesE2E_DB=postgres(andE2E_PG_IMAGE) and runs a PostgreSQL container beside the server; theE2Eworkflow has adatabasesinput, defaultsqlite postgres, runs the whole suite on each one, and its timeout is 180 minutes. The smoke, soak, perf, live-recording and peers scripts take a PostgreSQLPODIUM_DBfrom their environment and use a database of their own on it.docs/SERVER.md,docs/e2e/COVERAGE.md,docs/architecture/and SPEC 7.2 describe it. -
The console runs on React 19 (#290).
react,react-dom,@types/reactand@types/react-dommove from 18 to 19.3 together, which also supersedes Dependabot's PR #12 and #340 (each moved only half of the four). Four things the new types reject are fixed:useRowAnchortakes a ref that may be empty,BoardgivesuseRefits argument,FileDiffModal's ref callback returns nothing, andRail,WallandActivityFeedimport theJSXtype, since a clean install no longer provides it as a global. Several Admin and top-bar tests failed now and then on 19: its scheduler runs a component's mount effects in a later task than the commit, so a form's effect could write the saved value back over a test's edit. The test setup now makes everyfindByandwaitForalso wait until React's scheduler is idle, gives the wait 5 s instead of 1 s and a test 20 s instead of 5 s, andscheduleris a dev dependency of the frontend for it; a few assertions also wait for what they check. Nothing a person sees or does changes.
Standards: no token, component, variant or pattern changes;docs/standards/components.htmlis regenerated in this PR because React 19 writes an input'stypeandcheckedattributes in a different order (38 lines, the same markup to a browser). The generator now numbers React 19's_r_…_ids and waits for effects before it takes a sample, so the pages come out the same on every run; approved by the maintainer in the work on #290 (PR #859). -
The server and the container run on Node 26 (#391). Node 26 is an LTS line (26.13.0, "Lithium"). The
Containerfile(both stages), every GitHub workflow that sets up Node, and the docs that name the version move from Node 24 to 26, and@types/nodeinserver/moves from 24 to 26 with them, which supersedes Dependabot's PR #342.node:sqliteneeded no change: the storage adapter uses onlyprepare,execandclose, and the tests print no warning on Node 26. Anyone running the server as a plain Node process needs Node 26 now. No behavior changes. -
TypeScript 7 builds and type-checks the project (#291).
typescriptmoves from 5.9 to 7.0 infrontend/andserver/, which supersedes Dependabot's PR #13. It goes to 7 directly and not through 6, because 6.0.3 is the last 6.x and a stop on the way would have meant the same fixes twice. Three things changed for it. The frontend declares thevite/clienttypes (frontend/src/vite-env.d.ts) so a CSS import is a known module, and its tsconfig listsnodeundertypes, because the new compiler no longer loads every@typespackage on its own (@types/nodeis now declared in the frontend as well). TypeScript 7 has no JavaScript compiler API, so the two storage guard tests (neutral.test.ts,portableSql.test.ts) andscripts/promise-misuse.mjsimport it from@typescript/typescript6, a root dev dependency. That package brings a secondtscthat npm links first, so the build scripts andscripts/podium-mod-typecheck.shrun TypeScript 7 by its path (the gotcha "npx tsc prints Version 6 although the project is on TypeScript 7" says why), and a test inscripts/versions.test.tsfails if a script goes back to a baretsc. The emitted server build is identical to the 5.9 one except for those two import lines.npm run typecheck:modis still run locally. No behavior changes. -
The server runs on Express 5 (#392).
expressmoves from 4.22 to 5.3 and@types/expressfrom 4 to 5, which supersedes Dependabot's PR #338. The test that failed in that PR,textOutput.test.ts, was a real failure and not a port race: the console's fallback routeapp.get("*")is not a valid path in Express 5, so the server stopped at startup before it listened. It is now/{*splat}, which still matches/. Four other differences were found and kept as Express 4 had them. A request with no JSON body reaches a handler withreq.bodyas{}, through a newjsonBodyaroundexpress.json, because Express 5 leaves itundefinedand the validators behind the report and respond routes answer that differently. The fallback page is named relative to the build folder, because Express 5 answers 404 for an absolute path with a dot-directory in it, which would have broken every deep link and refresh for an install under~/.local, say. A port that is already taken still stops the server, because the entry point listens withhttp.createServer(app), as Express 4'sapp.listendid. A route's parameters are typed as one string each, because the Express 5 types allow a list. One header changes: the built JavaScript file is served astext/javascriptand no longer asapplication/javascript, which browsers treat the same. On the same data, every read route and every database row is identical, and so are the statuses and headers on a fixed set of requests (deep links, refused reports, the rate limit). New tests pin the body, fallback and listen behavior. -
The storage contract compares both databases on every store, and six list orders now say what they are (#890).
runStorageContracthad 11 cases covering people, sessions, reporters, certificates, conversations and recordings. It now has a case for every method onStorageand on the report queries (settings, feature flags, wall and TLS settings, model prices, fleet spend and retention, the People tab's deletes, ignore rules, rights and requests, messages, the Activity history, recordings, rollups and the Admin log), each running one scenario over the adapter and over a second SQLite storage and comparing every recorded value. The cases found orders the code left to the table, which differed between the two databases or between two runs, and each now ends on a key in both adapters: open peer requests (they ended on a random id, so requests made in the same millisecond came back in any order; they now take an insertion number,peer_requests.seq, added by SQLite migration 26 and PostgreSQL step 2, and an existing row keeps its place by its old rowid or, on PostgreSQL, by time and id),clearedInto(a tie now takes the highest id on SQLite as it did on PostgreSQL), the per-session spend list, the reporter keys of a filtered view, the ids of the recordings that are running, the reporter versions a server has seen, and the days a rollup holds. Nothing else about the answers changes. The one schema change, theseqcolumn, is in both adapters with an upgrade test in each. The Haiku adapter parity check inpodium-pr-workflownow sweeps every list query in every adapter for drift instead of reading only the diff, and #910 tracks a script that does the same check innpm test.
Deprecated
- Reporter tokens over plain HTTP are deprecated, and removed in 1.8. A reporter that proves who it is with a token sent over the plain HTTP port still works in 1.5, but the token travels in a header anyone on the network path can read. From 1.8 the HTTP port refuses reporter traffic and the Admin setting Allow reporters to connect over HTTP is gone. The console and Admin on the HTTP port, and a reporter on the server's own loopback address, keep working. Turn on built-in TLS and give each person a reporter config instead.
docs/DEPRECATIONS.mdhas the steps and the dates.
Fixed
-
The two reporters now agree on seven things the wall shows (#1012). Read from the code of each harness, not confirmed in a live session. (1) A failed tool call on OpenCode no longer raises a
failevent of its own: as in Claude Code it is the candidate for the failure, and the event comes when the turn or the agent fails. (2) A plan the plan tool named with no steps yet is reported by its title alone on both harnesses, bytoPlaninplugin/core/plan.ts; Claude Code did not report it before. (3) A question with more than four options is left to the terminal on both harnesses (tooManyOptionsinplugin/core/protocol.ts); OpenCode used to cut it to the first four. (4) An OpenCode permission whose resources include a structured one no longer reads[object Object]in the waiting note. (5) OpenCode writes no terminal confirmation lines for a recording, which is intended and now said in its README. (6) With explain failures on, OpenCode explains only failed agents, as Claude Code does; it used to spend a model call on the root session's failure, which no report carries. (7) A permission or question answer OpenCode could not take is reportedrefused, notnot-taken, which locks the ask and which SPEC 7.1 keeps for a plan approval. -
After a Claude Code
/clear, the context bar no longer shows the old session's figure (#1014). The host keeps answering$.session.usage()with the cleared session's context tokens until the next prompt, so the new session reported a full window while empty. The reporter now remembers the old count at the/clearand ignores the host's context figure until it changes. OpenCode has no such gap: it sizes context from each step's own usage and has no/clear. The session name still does not carry over a/clear, by design (#322). -
The OpenCode reporter says answering is off, and reports a failed message as refused (#1011). With answering off it sent no
respond, which the console reads as "Reporter can't answer" and tells the person to update the plugin; it now sends leveloffas Claude Code does. A message sent while a turn runs reportsqueuedand thentook. A message or/compactthat OpenCode fails to take reportsrefused, notnot-taken, which SPEC 7.1 keeps for a plan approval and which locked the ask.PODIUM_RESPONDonly affects OpenCode, so the comment inplugin/core/settings.tsnow says so. A Claude Code ask answered in the terminal that gets a 404 within a second is SPEC 7.1's rule that a closed ask is forgotten once the session runs again (#829), and a test now pins it. -
A repository with no commits now reports its branch (#1013).
readGitaskedgit rev-parse --abbrev-ref HEAD, which fails before the first commit, so the whole read returned null and the card showed no branch, worktree or status. It now falls back togit symbolic-ref --short HEAD, which names the unborn branch. A directory that is not a repository still reports null. The code is inplugin/core/, so Claude Code and OpenCode both get it. -
A NUL in an ignore pattern and a huge number in a query string are refused with a 400 (#1007). Admin > Reporters stored an ignore pattern containing a NUL character on SQLite but failed on PostgreSQL.
POST /api/admin/reporters/ignoresnow answers 400 for it on both. The whole-number query parameters (beforeandlimiton/api/fleet/events,pageandpageSizeon/api/fleet/history) took any run of digits, sobefore=100000000000000000000reached PostgreSQL's 64-bit column and failed; a value past 2^53 - 1 is now a 400 on both. -
On PostgreSQL a transaction is now exclusive, as it is on SQLite (#1007).
Storage.txtook transactions one at a time, but a store call made outside a transaction ran at once on the pool. So a read outside an open transaction returned without the transaction's rows, and a transaction that read a session, then lost a write another task made before its own write (thedropped_atset between the read and the upsert came backnull). Every PostgreSQL statement outside a transaction now waits for an open one, as every SQLite call waits for the connection lock. This also closes the race where Admin "move person to group" ran against a group being deleted. Calls outside a transaction on PostgreSQL now run one at a time, as they already did on SQLite. New contract cases run against both adapters. -
A report with a fractional time or token count is refused, so both databases give the same answer (#1007). SPEC 6.2 says times are epoch milliseconds and token counts are integers, but the validator took any finite number. SQLite stored 1000.5 as it was, while PostgreSQL refused it for its integer column, rolled the report back and returned a 500. A fractional epoch time (session and agent start and end, event time, ask opened, failure time, wake-up, activity and recording times,
sentAt) or token count (session, agent and per-model tokens,context.tokensandwindow, the two counts a compact event carries) is now rejected with a 400 that names the field, on both databases. Percentages and costs may still have a fraction. -
A report with a huge number can no longer make a session unreadable (#1007). The validator took any finite number, so
tokens.input: 1e16was stored and every later read of that session threw, on SQLite and on PostgreSQL alike, which broke the wall and the next start. Every number in a report, a recording batch and an ask is now refused when it is larger than 2^50 (about 1.1e15) either way, with the path of the field in the error. That is far above any epoch millisecond or token count, and leaves room to add rows together. The two counts a compact event carries are checked the same way. A new contract case runs against both adapters: a refused report leaves stored sessions readable, and the largest accepted value is stored and read back. -
A Claude Code session whose main loop is working no longer reads "waiting" after a background agent wakes it (#997). The mod kept the main loop idle from a
Stopuntil the next prompt. A background agent's report starts a new turn with no prompt, so a session that was running a command (for examplegh pr checks --watch) showed "Waiting for your approval" on its card and band with nothing to approve. A tool call in the main loop now ends the idle state, and the nextStopsets it again. A turn that is only thinking, with no tool call yet, still reads as idle: no hook tells the mod otherwise. -
The OpenCode footer status clears when the connection is gone, is sent only when it changes, and
/podium contextwrites safely (#999). The status goes to the TUI part when its text changes and when a TUI part attaches, not on every flush, and an empty text clears the footer once no connection to Podium remains./podium contextcreates~/.podiumwhen it is missing, writescontexts.jsonthrough a temporary file and a rename (so a failed write leaves the old file), and says plainly when there is no home folder, as the Claude Code command does. -
A card's session ID leaves the wall with the card (#992). The ID is a button beside the card's own button, so the leave animation, which ran on the card alone, left it (and the pin, Remove and respond buttons) on screen for a moment. The animation now runs on the slot that holds all of them.
-
The console no longer says OpenCode cannot message, and an OpenCode card shows Context and Effort (#985). The OpenCode report now sends
peers: falsewhen messaging is off (it left the field out, which SPEC 6.2 reads as "not supported"), so a session with messaging off shows as "messaging off". The Admin and My reporters pages tell people to switch messaging on withPODIUM_PEERS=true, and the console's fallback for OpenCode no longer declares context and effort unsupported. -
An idle OpenCode session stays open and can still be messaged while its terminal UI is attached (#984). The reporter used to end a session quiet for
idleSecondsand stop reporting it, so a message or/compactfrom the console was dropped. While the TUI part is attached the session stayswaiting; with no TUI, idle still means done. Deleting or archiving a session that is already done no longer reopens it first: the feed shows one "session ended". SPEC 1,docs/REPORTER.mdand DECISIONS 59 say so. No storage change, so no adapter is affected. -
The OpenCode demo script turns the messaging tools on.
scripts/podium-opencode-demo.sh startnever setPODIUM_PEERS, so the session hadplanbut notpodium_peers,podium_sendorpodium_request_access. It now exportsPODIUM_PEERS=trueunless the variable is already set (PODIUM_PEERS=falseleaves the tools out), and says which it chose. The server's Orchestrator messaging flag in Admin > Settings still has to be on. -
A long model name stays inside the Agents table's Model column (#975). OpenCode sends names such as
google/gemma-4-26b-a4b-it, and the chip did not clip, so the label painted over the Effort and Context columns. The Model column is now 148px wide (it was 92px), every model chip in it fills the column, and a longer name is cut with an ellipsis, with the full model id as the chip's title. The table's minimum width grows by 56px, and it still scrolls sideways inside its own container at 400px. A model chip's label is now its own element inside the chip. Any harness with a long model name was affected, not only OpenCode.
Standards: the Agents table's Model track is 148px, not 92px, and the model chip (chip model) fills its cell there and clips its label; no new component or variant. The maintainer approved this in the #975 mockup (mockup/podium-model-long-name.html). -
The console offers an OpenCode session only what its reporter can do, and a deny reason reaches OpenCode (#968, from #847). The server answers 422 to a command that is not in the session's declared
capabilities.commands(a session that declares no capabilities takes every command, so Claude Code is unchanged), and Compose lists only the commands the session declares, so an OpenCode session is no longer offered/clear. A permission can be answered with a reply in place of allow or deny: OpenCode rejects it with the text. The OpenCode reporter passes the deny reason as the permission replymessage(Denied from Podium.when it is empty). A question takes no reply in its place yet: the OpenCode reporter reports the newno-reply-in-placelimit, the server answers 422 to such a reply, and the console shows a note instead of sending it. The text for turning onpeersin OpenCode now says the OpenCode reporter does not message yet, instead of namingPODIUM_PEERS. SPEC 6.2 lists the new limit. No storage change, so no adapter is affected. -
The reporter key prefix test gives the same answer on SQLite and PostgreSQL (#943, from #847).
knownKey, which finds the row that already holds a session, tested theaddr:orhooks:prefix withLIKE, which folds ASCII case on SQLite and not on PostgreSQL, so a key such asHOOKS:10.0.0.9was a match on one and not the other. Both adapters now compare the prefix by bytes (substr(key, 1, length(prefix)) = prefix). No stored row differed, because keys are written in lowercase. AcontractUpgrade.tscase seeds keys with the prefix in another case and passes against both; the upgrade seeders can now link a seeded reporter to its sessions. Both adapters change, and the same contract case passes against each. -
The atlas's Server source index no longer runs file names into their descriptions. The name column was a fixed 150px, so a long path such as
storage/postgres/singleton.tsoverlapped the text beside it. The column is now 42% of the row and a long name wraps. Atlas page only; no console, server or storage change, so no adapter is affected. -
An effort that is not one of Claude Code's five levels shows as what was sent (#936, from #850). A report v2 can send any text as
effort, such asminimal. The meter draws it as five hollow bars with "Effort: minimal" as its tooltip and accessible name, instead of "Effort not reported", which now means onlynull. The agent tree's effort column puts no effort first, thenlowtomax, then any other text aftermaxin the order of that text, where it used to sort with no effort. SPEC 8.1 Effort meter now says so; an e2e case covers it.
Standards: a new variant of the effort meter,eff-other(five hollow bars outlined in--muted), for an effort outside the five levels; approved by the maintainer when they acceptedmockup/podium-effort-other.htmlon 2026-11-02. -
The connection helper starts when the plugin is reached through a symlink (#918). On a machine where
/homeis a link to/var/home(Fedora Atomic, Bazzite), the helper compared the resolved path of its own file with the path it was started from, decided it was not the entry script and exited with code 0 and no output, so/podiumshowedConnection: offline, retryingfor good. Both sides are now real paths. A helper that exits before it is ready with nothing printed now says so in/podiumand names the path it was started from, in place of the bare "stopped" text. -
The TLS renewer's "retries on its own timer" test no longer fails when the machine is busy (#904). The test waited up to 5,000 ms for the renewal retry, which is also vitest's default limit for the whole test, so on a loaded machine the test timed out before the wait could. The test now has a 30 s limit and waits up to 25 s, as the earlier timeout fixes (#680, #681) did. It takes about 0.25 s on a quiet machine. Only that test changed; no production code did.
-
The toolbar spec's "Newest" order no longer flips in whole-suite runs (#898). The first fix (#911) gave each seeded session its own start time 50 minutes back, but the server keeps a new session's claimed start only within 2 minutes of its own clock (
START_TOLERANCE_MS) and otherwise stores the moment the report arrived. So the order came from arrival times, and Tester and arm64-check, reported one after the other, arrived in the same millisecond in 4 of 40 reseeds; the tie fell back to the name, where "Tester" sorts first. The seed now claims starts 10 seconds back, which the server keeps (60 of 60 reseeds kept the seed's order), and it fails at once if the server stores any other start time. The unit test now runs the seed's reports through the server's own ingest, with every report arriving in the same millisecond. Only the e2e seed, its test and a spec comment changed; the product does not.