Repository navigation
Releases
0.46.3
What changed
Production Compose sign-in is documented; the rename leaves Compose ports alone, reads test ports, re-points Guide verified: shas, keeps kit-history phrases (fixing detach.sh's "already detached" check) and stops flagging eval baselines; checklist letters match and plugin-or-app guidance agrees.
docs/DEPLOY.md§ Docker Compose,deploy/compose.env.example, the chart'sNOTES.txt,rp-deployandSETUP.md2.1: under the defaultAPP_ENV=productiona magic link is never logged; sign in first through a mailer or OIDC, orAPP_ENV=stagingfor a local try-out.apps/web/scripts/lib/docs-stale.ts: in a copy (.rocketflare.jsonkit.commitset) an unknownverifiedsha is read from the commit that brought that line in (baselined), not a structural error;docs-stale.tssuppliesisKitCopyandverifiedLineArrived.scripts/rename.mjs: re-points Guide pages' kitverified:shas to the copy's HEAD (repointVerified); leavesdocs/DEPLOY.md,rp-deployand any line naming docker compose or the container on port 3001; reads the test ports fromapps/web/docker-compose.test.yml(readTestPorts); names the old role<kit snake>_app.scripts/lib/rename-lib.mjs:Start from RocketpodandRocketpod kitare preserved, sodetach.shstill recognises a detached copy and comments about the kit's history ("the ones the Rocketpod kit dropped") keep naming the kit;toKitNamesreads an app's text back in the kit's names.packages/shared/src/ai/eval-coverage.ts:baselineWarningtakes a list of current versions;tests/config/eval-coverage.test.tspasses the template's own and, in a copy, itstoKitNamesreading, so a rename alone never warns..claude/skills/rp-adapt/checklist.mdand itsSKILL.md: rows lettered as the script prints them, (a)–(j) plus (k) when the kit commit is missing; installed plugins are (l).rp-how-do-i§0 anddocs/ADAPTING.md§3 now agree withrp-design'sshape.md§8: an app's own features are built in the app; a plugin is for something reusable across apps.- MCP comments say "Rocketpod kit only";
docs/CONCEPTS.md§13 and §18,docs/EVALS.md,docs/ADAPTING.mdandrp-doc-syncdescribe the above.
How to apply
- Take
apps/web/scripts/lib/docs-stale.ts,apps/web/scripts/docs-stale.tsandapps/web/tests/config/docs-stale.test.tsfrom the kit; thenpnpm web docs:stalelists the kit shas it baselined instead of failing on them. - Take
packages/shared/src/ai/eval-coverage.ts,scripts/lib/rename-lib.mjs,scripts/lib/rename-lib.d.mtsandapps/web/tests/config/eval-coverage.test.tsfrom the kit, translated into the app's names (pnpm kit:upgradedoes it). - In
scripts/detach.shand.claude/skills/rp-setup/SKILL.md, put back the kit's literalStart from Rocketpodwherever the rename wroteStart from <App>: it is the subject of the copy's first commit. - Take the doc hunks:
docs/DEPLOY.md§ Docker Compose ("Signing in the first time"),deploy/compose.env.example,deploy/helm/<slug>/templates/NOTES.txt,.claude/skills/rp-deploy/SKILL.md,SETUP.md2.1,docs/CONCEPTS.md§18 "Staying true",docs/EVALS.md§ The coverage contract,.claude/skills/rp-doc-sync/SKILL.md. - If
docs/DEPLOY.mdsaysopen http://localhost:<dev API port>under § Docker Compose, set it back to the composeWEB_PORTdefault, 3001. - Take the
.claude/skills/rp-how-do-i/SKILL.md§0 "Default to the app" paragraph and its "Done when" line, anddocs/ADAPTING.md§3's matching paragraph, from the kit. rp-adaptisneverPort: copy itschecklist.mdandSKILL.mdrow letters from the kit by hand if you still use them.
Conflicts to expect
docs/DEPLOY.md→ the Compose block lost itsdocker compose logsline and gained a sign-in paragraph → keep your own edits around it.apps/web/tests/config/eval-coverage.test.ts→currentis now a list → take the kit'stodaysVersionscall.
Verify
pnpm web docs:stalein a detached copy exits 0, and--jsonlists the kit shas underbaselined.pnpm test config apps/web/tests/config/eval-coverage.test.ts apps/web/tests/config/docs-stale.test.tspasses and prints noeval baselines need attentionblock for a prompt only the rename touched.grep -n "Start from Rocketpod" scripts/detach.shmatches both the check and the commit message.grep -n "^open http://localhost" docs/DEPLOY.mdnames the portdocker-compose.ymlpublishes (WEB_PORT, default 3001).
0.46.2
What changed
Knowledge search breaks a score tie by chunk id in every dense and lexical leg, so equal-scored passages come back in the same order whichever plan Postgres picks.
apps/web/src/api/services/ai/retrieval.ts: the tenant, platform and shared dense legs order by<=>thenasc(chunks.id); the lexical leg byts_rank_cd DESCthenasc(chunks.id). The HNSW index is still used (an incremental sort over it).apps/web/tests/api/ingest-retrieval.test.ts: two passages tied in both legs, the later-stored one with the smaller id, rank in chunk-id order.docs/CONCEPTS.md§9 andapps/web/src/api/services/ai/CLAUDE.mdsay so.
How to apply
- In
apps/web/src/api/services/ai/retrieval.ts, addascto thedrizzle-ormimport and appendasc(chunks.id)to the.orderBy(...)of every dense query and of the lexical query. - Take the new
itinapps/web/tests/api/ingest-retrieval.test.tsas it is. - Take the one-sentence hunks in
docs/CONCEPTS.mdandapps/web/src/api/services/ai/CLAUDE.md.
Conflicts to expect
apps/web/src/api/services/ai/retrieval.ts→ a copy that changed a leg'sorderBy→ keep the copy's ordering and appendasc(chunks.id)as its last key.
Verify
pnpm test api apps/web/tests/api/ingest-retrieval.test.ts apps/web/tests/api/knowledge-rerank.test.tspasses.
0.46.1
What changed
Migrate accepts the tenant role itself (<snake>_app) as APP_DATABASE_URL's login, for platforms that provision the login under that name, and pnpm kit:release no longer refuses a version file that already carries the release's version.
scripts/release.mjs: a version file already at the release version is stamped as it is; a file with no version field is still an error (tests/kit-only/release-stamp.test.ts).apps/web/scripts/db-roles.ts: anAPP_DATABASE_URLuser equal toAPP_ROLEmakes that role LOGIN NOINHERIT with the URL's password, grants itSYSTEM_ROLEand CONNECT, and changes nothing else about it; the owner,SYSTEM_ROLEand a non-identifier are still refused; the separate login is unchanged (docs/TENANT-ISOLATION.md§ 3).apps/web/scripts/db-roles.tspost-check: the app login, either shape, must not inheritSYSTEM_ROLE's privileges (a grantWITH INHERIT TRUEfails migrate).apps/web/src/db/client.tsruntimeDatabaseUrl: for a login that ISAPP_ROLE, adds-c statement_timeout=0 -c idle_in_transaction_session_timeout=0 -c lock_timeout=0before the URL's ownoptions, so the tenant role's per-role timeouts do not govern system-role sessions.apps/web/tests/api/db-roles.test.ts: the tenant role as the login (log in, RLS binds, system-role path, rerun and password change, refusals).
How to apply
- Take the
scripts/release.mjshunk as it is. - Take the
apps/web/scripts/db-roles.tshunks as they are:appLoginOfrefuses only the owner,SYSTEM_ROLEand a non-identifier and returnsisAppRole; the role phase skips creating the login and grants onlySYSTEM_ROLEwhenisAppRole;postCheckaddsinherits_system. - Take the
runtimeDatabaseUrlhunk inapps/web/src/db/client.tsas it is (it importsAPP_ROLEfrom./schema/rls). - Take the new
describeblocks and the reworked refusal test inapps/web/tests/api/db-roles.test.ts. - Take the
docs/TENANT-ISOLATION.md§ 3,docs/DEPLOY.md§ Two database logins,docs/RLS.md,docs/CONCEPTS.mdandapps/web/src/db/CLAUDE.mdhunks, keeping the copy's role names. - Nothing to do in a deployment that uses a separate login: migrate behaves as before.
Conflicts to expect
apps/web/scripts/db-roles.ts→ a copy that editedappLoginOfor the login statements → keep the copy's edits and re-apply theisAppRolebranches.
Verify
pnpm test kit-only apps/web/tests/kit-only/release-stamp.test.tspasses.pnpm test api apps/web/tests/api/db-roles.test.ts apps/web/tests/api/rls-enforcement.test.tspasses.
0.46.0
Rocketpod catches up with Rocketflare 0.46.0. Uploads go through /api/uploads in three steps (reserve, PUT, confirm). With STORAGE_DIRECT_UPLOADS on, the browser uploads straight to S3 on a presigned URL. Plugins gain uploadTargets.
Breaking:
- The multipart
POST /api/files?scope=andPOST /api/ai/documents/uploadare removed. api.upload(target, file, { fields })replacesapi.upload(url, formData)in the UI, andApiClient.upload(target, …)replacespostFormin the CLI.apiBodyLimittakes one options object.
Migration: 0020_kit-pending-uploads adds pending_uploads, a tenant table with its RLS policy. Its user_id is nullable, with ON DELETE SET NULL.
What's new:
- Uploads:
POST /api/uploadsruns every check the old routes ran and answers aPUTURL.POST /api/uploads/:id/confirmchecks the stored object against what was declared.- A nightly prune deletes expired uploads and their objects.
- Where the bytes go:
- Off (the default): the server's own upload URL, streamed to the store, up to 50 MiB, with a 256-bit single-use token.
- On: a presigned S3
PutObjectwith its type, length andIf-None-Match: *signed. It needs anhttpsendpoint and a bucket CORS rule (docs/DEPLOY.md§ Direct uploads). - Under
STORAGE_TENANT_FENCE=on, the URL is signed with the tenant's own session.
- Plugins:
ServerPlugin.uploadTargets, with a requiredpermissionand a key rule.confirmgets the tenant'sstorage, plusbucketas a deprecated alias so a Rocketflare 0.46 plugin compiles.uploadPathsanduploadLimitsstill work, but are deprecated.
- Fixes:
- A document upload keeps its visibility and groups.
detach.shno longer exits 141 on a long history.
Verified on the real Node stack: separate web and worker processes against their own Postgres and S3 gateway.
- Direct uploads on and off: the store refuses a wrong type or length and a second write.
- A confirm mismatch, and the nightly prune.
- The fence in
shadowmode.STORAGE_TENANT_FENCE=onneeds real STS and was not tested locally.
Porting note: docs/upgrades/0.46.0.md. Rocketflare change by change: docs/FORK.md.
0.45.1
Rocketpod catches up with Rocketflare 0.45.0. Run timelines now show model calls. Knowledge gains a Promote picker and contextual prefixes. plugin check parses source, a kit guard and a UI lint steer agents, and Home and sign-in are redesigned.
Plugins: Rocketpod 0.45.0 carried only Rocketpod's own changes. A plugin whose minKit is 0.45.0 needs this release (see docs/FORK.md).
Migration: 0019_kit-knowledge-context adds chunks.context and context_model, and regenerates the stored search_vector to read the context first. It rewrites chunks.
What's new:
- Agents:
- Every model call writes a
kind: 'model'row on the run timeline, so agents no longer bracket their own model calls. - Answering an ask marks its notifications read, and
?mine=trueon the interrupt inbox feeds the badge.
- Every model call writes a
- Knowledge:
- The Promote picker, plus
mentionsin search facts, which find rows named in the query. - Contextual prefixes behind the
knowledge-contextflag (off by default), with a backfill from the Search page. - New CLI commands:
docsandfacts.
- The Promote picker, plus
- Tooling:
plugin checkparses the TypeScript AST and fails on an import it cannot resolve, or on acloudflare:*import.pnpm design:lint.- The kit guard: Claude Code hooks that steer edits to kit core towards a seam, translated to Rocketpod's tree.
- The brand and contrast tooling.
- UI:
- Home is a dashboard (
GET /api/home/summary), and sign-in is a split screen. Provenanceis the one "where this came from" treatment.- Runs show who requested them and accept
?until=. - Wording is plainer throughout.
- Home is a dashboard (
- Not applied: Rocketflare's ember look. Rocketpod keeps its palette and fonts, and
pnpm design:docs --adopt-default-lookadopts it on request. - Also in this release: a release workflow for AWS ECS on infrastructure managed elsewhere (
deploy-aws.yml, configured by oneAWS_DEPLOY_CONFIGvariable).
Verified on the real Node stack, with separate web and worker processes and a fake model:
- A worker killed mid model call still bills exactly once.
- Contextual prefixes reach
search_vector. - The app login works under
TENANT_SCOPE_MODE=enforce, including MCP over OAuth.
Porting note: docs/upgrades/0.45.1.md
0.44.1
Rocketpod catches up with Rocketflare 0.44.1. This adds an MCP server that is its own OAuth authorization server, one tool seam for chat, agents and MCP, pnpm gate --changed, TypeScript 7, and a kit:upgrade that 3-way merges.
Breaking, for /mcp users from 0.40.0:
/mcpnow needsmcpinFEATURES_ENABLED, and each organisation has to switch MCP on in Settings → MCP.- Exposure is read-only by default.
list_tenantsand the per-calltenantargument are gone. Connect to/mcp/t/<slug>or send themcp-tenantheader instead.
What's new:
- MCP server (Rocketflare 0.41.0):
- The app is its own OAuth 2.1 authorization server. Clients identify themselves with a metadata document (Claude, ChatGPT), and the server handles consent, PKCE, refresh rotation with reuse detection, and revoke.
- Settings → MCP holds the switch, the exposure, who may connect, the tools, the connected clients and the call log. Profile → Connected apps lists a person's own connections.
- Calls are rate-limited per connection, per person and per organisation.
- Outside OAuth servers still work. Tokens from
MCP_AUTHORIZATION_SERVERgo through the same checks as the app's own. Cognito and Entra access tokens (typ: JWT) are now accepted; SETUP §2.3d names the claims they must carry. - Private addresses are refused. The fetch of a client's metadata document goes through
publicFetch, which refuses loopback, private and reserved addresses when it connects. - One tool seam:
toolsFor(surface),Tool.surfacesandTool.mcp.ServerPlugin.toolsreplacesagentTools, and testkit gainscallMcpTool. - Upgrades:
kit:upgraderuns the target release's own upgrader and 3-way merges patches that no longer apply (--3way).--apply-deletesnow works, and the upgrade stages exactly what it wrote.
- Starting an app: new
/rp-startand/rp-designskills andscripts/detach.sh. Licence files are never translated. - Plugins:
pnpm plugin list --availableshows the plugin catalogue.- New seams: Home cards,
ctx.embeddable(),uploadLimitsup to 50 MiB,RequestCtx.apiKeyId, guards on settings tabs, and seed hooks withsetFeature.
- Faster gate:
pnpm gate --changedandpnpm test <suite>.- TypeScript 7 cuts typecheck from 12 s to 3 s.
- Tests share module registries.
- The kit's tooling tests leave a copy's gate.
- Smaller fixes:
- Role labels.
- The
db:generatescratch check. - Clearer errors when the test database fails to start.
- WSL support in the bootstrap.
Deploying:
- One new migration,
0017_kit-mcp-server. - If the web pods' egress is restricted, allow outbound HTTPS, because the server fetches each client's metadata document.
- Raise the ingress
proxy-body-sizeto the largest upload cap a plugin declares.
Not ported: Rocketflare 0.35.0 (the security-audit skill), plus the Cloudflare-only tooling. See docs/FORK.md.
The upgrade steps are in the porting note.
0.40.0
Rocketpod catches up with Rocketflare 0.40.0. This adds a durable agent runtime, a structured knowledge base with typed facts, two security rounds, a remote MCP server at /mcp, and upgrade tooling that resumes after rejects.
Breaking changes:
- A cancelled run now ends as
RUN_FINISHED { outcome: cancelled }instead ofRUN_ERROR. ctx.oncekeys now hash theirinputs.
What's new:
- Durable agent runs:
- Runs resume from a journal of model turns and tool results, so no turn is billed twice.
- A cancel stops the call in flight.
- A sweeper settles lost runs.
- Runs record their agent version and build (
APP_VERSION_ID). - An ask can have a deadline, reminders and assignees.
- A run can spawn child runs.
- There is a run inspector timeline, new agents pages and
rocketpod agents inspect.
- Knowledge base:
- Chunks are cut at headings and table rows, and each records the model that embedded it.
- Documents re-embed when the model changes, and unchanged content is deduplicated.
- An optional HTTP reranker and a new Search page.
- Knowledge facts (behind the
knowledge-factsflag): an extraction job, review, a decision-model judge,lookup_facts, a Facts view and entity cards. - Security rounds 3 and 4:
- Suspended tenants run no agents or queued jobs.
- Invitations follow the authority of whoever issued them.
- Limits on owning and creating organisations.
- API keys stay in their organisation.
- Facts follow document visibility.
- The chunker runs in linear time.
- Remote MCP server:
/mcpoffers the agents' tools to MCP clients, authorised by an outside OAuth server. It is off untilMCP_AUTHORIZATION_SERVERis set. - Tooling:
pnpm kit:upgrade --continueandpnpm plugin upgrade <id> --continue.- CLI path fixes, and a warning when environment keys override a saved login.
pnpm testrefuses Node < 26.
Not ported: Rocketflare 0.35.0, the security-audit skill, and the counts-only security reports that depend on it. See docs/FORK.md.
Deploying:
- There are five new migrations.
- The one that changes
chunksneedsCREATE EXTENSION pg_trgm, and it rewrites the table under an exclusive lock. Above about a million chunks, run it in a maintenance window. - Ingress access logs record magic-link and invitation tokens (
docs/DEPLOY.md).
The upgrade steps are in the porting note.
0.32.2
Rocketpod catches up with Rocketflare 0.32.2 and takes its version number. From now on, a Rocketpod release has the version of the Rocketflare release it has caught up with.
- Agents at volume: batches, a per-tenant run cap, a daily spend gate, per-call usage with budgets, tool-loop policies, concurrent tool calls, replay (
pnpm web agent:replay) andstartAgentRunfrom jobs and crons. - Node 26 and current dependencies: React 19, React Router 7, vitest 5, Vite 8, postgres.js 4, CASL 7 and Anthropic SDK 1.x. Node 26 ships without corepack, so install pnpm with
npm i -g pnpm@10. - Security hardening:
openid-clientreplaces arctic.- API key scopes are enforced.
- CLI login is confirmed in the browser.
- Invitation and sign-in emails are rate-limited.
- Sockets close across every process when someone is removed, blocked or loses admin.
/wsonly accepts allowed origins.- Trace content capture is off by default.
- New plugin capabilities: an identity seam (sign-in, provisioning, SSO-required policies, login methods), public sites served on their own hosts, platform knowledge,
streamChat, header and navigation seams, and plugin events with agent triggers. - Rocketflare plugins install in Rocketpod:
pnpm plugin addtranslates their names on the way in. - Not ported: inbound email, Cloudflare Images, public-site caching and the Workers AI parser. Rocketpod still has no
'success'toast. Seedocs/FORK.md.
Five new migrations. The upgrade steps are in the porting note.
0.2.0
The first tagged Rocketpod release: the multi-tenant SaaS starter on Node, in a container, with no Cloudflare dependency.
- Runtime: a Node server (
web,workerorallmode) behind a neutralPlatform. It uses:- Postgres for everything stateful;
- pg-boss for jobs and cron;
- OpenWorkflow for durable agent runs;
wswith LISTEN/NOTIFY for realtime;- an S3-compatible store for files;
- Postgres-backed rate limits and locks.
- Deploy: one container image (
ghcr.io/rocketflare-dev/rocketpod), run with Docker Compose or the Helm chart. - AI: current models (Claude 5.x, GPT-6, with
openaion the Responses API), the Guide (an in-app user guide with Ask the Guide), and admin email on approval sign-ups. - CI: the gate runs as parallel jobs behind one required
Gatecheck, and a tag builds the image while CI runs. - Clean copies: a renamed copy carries none of the kit's machinery (its tests, release scripts, maintainer hook, roadmap or pending notes). The rename renames the app's own image and reports the licence, the image owner and a missing kit commit. Source comments and docs no longer carry fork history or Cloudflare wording.
0.1.0 (12 October) was the fork point and was never tagged. A copy recording kit 0.1.0 with commit: null cannot run kit:upgrade from it, so port this release by following the note.
See the porting note — the full list of changes and the steps to apply them.