Skip to content

Agents.MD shipped and bug fixes to DB agent - #86

Merged
clibequilibrium merged 2 commits into
mainfrom
preview
Oct 13, 2026
Merged

clibequilibrium merged 2 commits into
mainfrom
preview

Conversation

@clibequilibrium

Copy link
Copy Markdown
Member

No description provided.

Coding agents are becoming the first visitor that matters: Deno ships
deno.com/agents.md and a paste-one-line block, and the same door was
missing here. static/agents.md is setup instructions written for an
agent, with three verified paths - a throwaway demo project the agent
mints itself (no account; the id is the credential, the dashboard link
is the handoff), a self-hosted deploy via the CLI, and a managed
console project. llms.txt points at it.

The landing page gets a Deno-style install section between the runtime
strip and pricing: the CLI one-liner, then "Or let your agent do it"
with a copyable "Read frostbase.dev/agents.md and set up Frostbase in
this project".

The demo path was verified against production, which surfaced two
things the doc now reflects: fresh collections default to
readAccess/writeAccess "auth", so the flow mints a project JWT via
anonymous sign-in first; and the doc creates collections explicitly
(PUT /db/admin/collections/:name) because the lazy auto-create pull is
currently answering persistent 503s on production while the explicit
push path works - see the ensure-config Sentry tag.
The first REST touch of a brand-new project answered a persistent 503
("collection is unavailable") - on production and reproduced locally.
The collection's lazy config pull reached the parent DbAgent through a
raw namespace stub, and plain RPC bypasses the SDK's fetch-path
initialization, so a parent that had never been woken over HTTP served
the pull before onStart had run its migrations: "no such table:
collections", caught, 503 - forever, until anything touched the parent
over HTTP. The dashboard always provisions through the admin surface
(which wakes the parent properly), which is why the console masked it
and why every e2e db test missed it too.

getAgentByName exists for exactly this - it synchronizes on onStart
before returning the stub - so the three parentStub helpers (collection,
table, gateway) now use it instead of namespace.get(idFromName()). The
new e2e test drives the uncovered path: a genuinely fresh project whose
very first contact is the REST write, asserting the auth refusal that
proves auto-create ran rather than the 503.

Found while verifying agents.md's demo path against production; the
version stays 0.7.0 so publishing remains a release decision.
@clibequilibrium
clibequilibrium merged commit 1c0b104 into main Oct 13, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
preview — 57bd3095 Deployed Oct 13, 2026 by clibequilibrium via Deploy Preview #68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant