Skip to content

Releases

0.46.3

Choose a tag to compare

@cliftonc cliftonc released this 28 Nov 17:40
0.46.3
0081e0f

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's NOTES.txt, rp-deploy and SETUP.md 2.1: under the default APP_ENV=production a magic link is never logged; sign in first through a mailer or OIDC, or APP_ENV=staging for a local try-out.
  • apps/web/scripts/lib/docs-stale.ts: in a copy (.rocketflare.json kit.commit set) an unknown verified sha is read from the commit that brought that line in (baselined), not a structural error; docs-stale.ts supplies isKitCopy and verifiedLineArrived.
  • scripts/rename.mjs: re-points Guide pages' kit verified: shas to the copy's HEAD (repointVerified); leaves docs/DEPLOY.md, rp-deploy and any line naming docker compose or the container on port 3001; reads the test ports from apps/web/docker-compose.test.yml (readTestPorts); names the old role <kit snake>_app.
  • scripts/lib/rename-lib.mjs: Start from Rocketpod and Rocketpod kit are preserved, so detach.sh still recognises a detached copy and comments about the kit's history ("the ones the Rocketpod kit dropped") keep naming the kit; toKitNames reads an app's text back in the kit's names.
  • packages/shared/src/ai/eval-coverage.ts: baselineWarning takes a list of current versions; tests/config/eval-coverage.test.ts passes the template's own and, in a copy, its toKitNames reading, so a rename alone never warns.
  • .claude/skills/rp-adapt/checklist.md and its SKILL.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 and docs/ADAPTING.md §3 now agree with rp-design's shape.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.md and rp-doc-sync describe the above.

How to apply

  1. Take apps/web/scripts/lib/docs-stale.ts, apps/web/scripts/docs-stale.ts and apps/web/tests/config/docs-stale.test.ts from the kit; then pnpm web docs:stale lists the kit shas it baselined instead of failing on them.
  2. Take packages/shared/src/ai/eval-coverage.ts, scripts/lib/rename-lib.mjs, scripts/lib/rename-lib.d.mts and apps/web/tests/config/eval-coverage.test.ts from the kit, translated into the app's names (pnpm kit:upgrade does it).
  3. In scripts/detach.sh and .claude/skills/rp-setup/SKILL.md, put back the kit's literal Start from Rocketpod wherever the rename wrote Start from <App>: it is the subject of the copy's first commit.
  4. 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.md 2.1, docs/CONCEPTS.md §18 "Staying true", docs/EVALS.md § The coverage contract, .claude/skills/rp-doc-sync/SKILL.md.
  5. If docs/DEPLOY.md says open http://localhost:<dev API port> under § Docker Compose, set it back to the compose WEB_PORT default, 3001.
  6. Take the .claude/skills/rp-how-do-i/SKILL.md §0 "Default to the app" paragraph and its "Done when" line, and docs/ADAPTING.md §3's matching paragraph, from the kit.
  7. rp-adapt is neverPort: copy its checklist.md and SKILL.md row letters from the kit by hand if you still use them.

Conflicts to expect

  • docs/DEPLOY.md → the Compose block lost its docker compose logs line and gained a sign-in paragraph → keep your own edits around it.
  • apps/web/tests/config/eval-coverage.test.ts → current is now a list → take the kit's todaysVersions call.

Verify

  1. pnpm web docs:stale in a detached copy exits 0, and --json lists the kit shas under baselined.
  2. pnpm test config apps/web/tests/config/eval-coverage.test.ts apps/web/tests/config/docs-stale.test.ts passes and prints no eval baselines need attention block for a prompt only the rename touched.
  3. grep -n "Start from Rocketpod" scripts/detach.sh matches both the check and the commit message.
  4. grep -n "^open http://localhost" docs/DEPLOY.md names the port docker-compose.yml publishes (WEB_PORT, default 3001).

0.46.2

Choose a tag to compare

@cliftonc cliftonc released this 28 Nov 16:05
0.46.2
7ca14d7

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 <=> then asc(chunks.id); the lexical leg by ts_rank_cd DESC then asc(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 and apps/web/src/api/services/ai/CLAUDE.md say so.

How to apply

  1. In apps/web/src/api/services/ai/retrieval.ts, add asc to the drizzle-orm import and append asc(chunks.id) to the .orderBy(...) of every dense query and of the lexical query.
  2. Take the new it in apps/web/tests/api/ingest-retrieval.test.ts as it is.
  3. Take the one-sentence hunks in docs/CONCEPTS.md and apps/web/src/api/services/ai/CLAUDE.md.

Conflicts to expect

  • apps/web/src/api/services/ai/retrieval.ts → a copy that changed a leg's orderBy → keep the copy's ordering and append asc(chunks.id) as its last key.

Verify

  1. pnpm test api apps/web/tests/api/ingest-retrieval.test.ts apps/web/tests/api/knowledge-rerank.test.ts passes.

0.46.1

Choose a tag to compare

@cliftonc cliftonc released this 28 Nov 09:34
0.46.1
83e55ad

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: an APP_DATABASE_URL user equal to APP_ROLE makes that role LOGIN NOINHERIT with the URL's password, grants it SYSTEM_ROLE and CONNECT, and changes nothing else about it; the owner, SYSTEM_ROLE and a non-identifier are still refused; the separate login is unchanged (docs/TENANT-ISOLATION.md § 3).
  • apps/web/scripts/db-roles.ts post-check: the app login, either shape, must not inherit SYSTEM_ROLE's privileges (a grant WITH INHERIT TRUE fails migrate).
  • apps/web/src/db/client.ts runtimeDatabaseUrl: for a login that IS APP_ROLE, adds -c statement_timeout=0 -c idle_in_transaction_session_timeout=0 -c lock_timeout=0 before the URL's own options, 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

  1. Take the scripts/release.mjs hunk as it is.
  2. Take the apps/web/scripts/db-roles.ts hunks as they are: appLoginOf refuses only the owner, SYSTEM_ROLE and a non-identifier and returns isAppRole; the role phase skips creating the login and grants only SYSTEM_ROLE when isAppRole; postCheck adds inherits_system.
  3. Take the runtimeDatabaseUrl hunk in apps/web/src/db/client.ts as it is (it imports APP_ROLE from ./schema/rls).
  4. Take the new describe blocks and the reworked refusal test in apps/web/tests/api/db-roles.test.ts.
  5. Take the docs/TENANT-ISOLATION.md § 3, docs/DEPLOY.md § Two database logins, docs/RLS.md, docs/CONCEPTS.md and apps/web/src/db/CLAUDE.md hunks, keeping the copy's role names.
  6. 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 edited appLoginOf or the login statements → keep the copy's edits and re-apply the isAppRole branches.

Verify

  1. pnpm test kit-only apps/web/tests/kit-only/release-stamp.test.ts passes.
  2. pnpm test api apps/web/tests/api/db-roles.test.ts apps/web/tests/api/rls-enforcement.test.ts passes.

0.46.0

Choose a tag to compare

@cliftonc cliftonc released this 28 Nov 05:35
0.46.0
20f915d

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= and POST /api/ai/documents/upload are removed.
  • api.upload(target, file, { fields }) replaces api.upload(url, formData) in the UI, and ApiClient.upload(target, …) replaces postForm in the CLI.
  • apiBodyLimit takes 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/uploads runs every check the old routes ran and answers a PUT URL.
    • POST /api/uploads/:id/confirm checks 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 PutObject with its type, length and If-None-Match: * signed. It needs an https endpoint 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 required permission and a key rule.
    • confirm gets the tenant's storage, plus bucket as a deprecated alias so a Rocketflare 0.46 plugin compiles.
    • uploadPaths and uploadLimits still work, but are deprecated.
  • Fixes:
    • A document upload keeps its visibility and groups.
    • detach.sh no 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 shadow mode. STORAGE_TENANT_FENCE=on needs 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

Choose a tag to compare

@cliftonc cliftonc released this 27 Nov 10:24
0.45.1
fc5ecdc

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=true on the interrupt inbox feeds the badge.
  • Knowledge:
    • The Promote picker, plus mentions in search facts, which find rows named in the query.
    • Contextual prefixes behind the knowledge-context flag (off by default), with a backfill from the Search page.
    • New CLI commands: docs and facts.
  • Tooling:
    • plugin check parses the TypeScript AST and fails on an import it cannot resolve, or on a cloudflare:* 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.
    • Provenance is the one "where this came from" treatment.
    • Runs show who requested them and accept ?until=.
    • Wording is plainer throughout.
  • Not applied: Rocketflare's ember look. Rocketpod keeps its palette and fonts, and pnpm design:docs --adopt-default-look adopts it on request.
  • Also in this release: a release workflow for AWS ECS on infrastructure managed elsewhere (deploy-aws.yml, configured by one AWS_DEPLOY_CONFIG variable).

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

Choose a tag to compare

@cliftonc cliftonc released this 24 Nov 07:30
0.44.1
0bfd79f

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:

  • /mcp now needs mcp in FEATURES_ENABLED, and each organisation has to switch MCP on in Settings → MCP.
  • Exposure is read-only by default.
  • list_tenants and the per-call tenant argument are gone. Connect to /mcp/t/<slug> or send the mcp-tenant header 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_SERVER go 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.surfaces and Tool.mcp. ServerPlugin.tools replaces agentTools, and testkit gains callMcpTool.
  • Upgrades:
    • kit:upgrade runs the target release's own upgrader and 3-way merges patches that no longer apply (--3way).
    • --apply-deletes now works, and the upgrade stages exactly what it wrote.
  • Starting an app: new /rp-start and /rp-design skills and scripts/detach.sh. Licence files are never translated.
  • Plugins:
    • pnpm plugin list --available shows the plugin catalogue.
    • New seams: Home cards, ctx.embeddable(), uploadLimits up to 50 MiB, RequestCtx.apiKeyId, guards on settings tabs, and seed hooks with setFeature.
  • Faster gate:
    • pnpm gate --changed and pnpm 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:generate scratch 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-size to 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

Choose a tag to compare

@cliftonc cliftonc released this 20 Nov 12:59
0.40.0
1fb3a7f

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 of RUN_ERROR.
  • ctx.once keys now hash their inputs.

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-facts flag): 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: /mcp offers the agents' tools to MCP clients, authorised by an outside OAuth server. It is off until MCP_AUTHORIZATION_SERVER is set.
  • Tooling:
    • pnpm kit:upgrade --continue and pnpm plugin upgrade <id> --continue.
    • CLI path fixes, and a warning when environment keys override a saved login.
    • pnpm test refuses 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 chunks needs CREATE 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

Choose a tag to compare

@cliftonc cliftonc released this 11 Nov 04:52
0.32.2
5d2b472

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) and startAgentRun from 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-client replaces 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.
    • /ws only 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 add translates 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. See docs/FORK.md.

Five new migrations. The upgrade steps are in the porting note.

0.2.0

Choose a tag to compare

@cliftonc cliftonc released this 30 Oct 07:26
0.2.0
42400f2

The first tagged Rocketpod release: the multi-tenant SaaS starter on Node, in a container, with no Cloudflare dependency.

  • Runtime: a Node server (web, worker or all mode) behind a neutral Platform. It uses:
    • Postgres for everything stateful;
    • pg-boss for jobs and cron;
    • OpenWorkflow for durable agent runs;
    • ws with 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 openai on 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 Gate check, 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.