Concave parity

From udecode/kitcn · View interactive version

Concave parity is an AI agent skill from the GitHub repository udecode/kitcn. Skill: concave-parity

How to use this skill

Skill file

Concave Parity

Contract

When the user asks for Concave parity, treat Convex behavior as the source of

truth for kitcn runtime contracts.

Do not hand-wave with "compatible enough."

Do not normalize a parity shift into "just how Concave works" if kitcn

already has a shim for it. Name the shift, point at the shim, and state the

delete condition.

If upstream Concave reaches parity, delete the bandaid. Do not keep fallback

sludge around for nostalgia.

Hard Rules

deletable right now.

the bandaid section.

Active Bandaids

1. Local dev site-side `3211` proxy

Convex local dev shape in this repo:

Concave alpha.14 fixed the backend default to 3210, but it still does not

expose the site side on 3211.

kitcn workaround:

Code locations:

Why it exists:

Delete when:

2. Startup retry loop for dev migration/backfill hooks

Convex dev startup usually accepts kitcn migration/backfill hooks

cleanly on first call.

Concave alpha.14 fixed concave run for internal runtime functions, but

startup can still race readiness.

kitcn workaround:

Code locations:

Why it exists:

is ready

Delete when:

or

3. Vite scenario backend/frontend split

Prepared Vite scenarios in this repo are supposed to prove:

Concave alpha.14 still auto-detects and starts Vite itself, which steals

frontend ownership and lands on 5173.

kitcn workaround:

Code locations:

Why it exists:

auto-detected default frontend behavior

Delete when:

no special handling

4. Generated auth runtime fallback for empty Concave internals

Convex-generated _generated/api.js exposes internal refs for generated auth

runtime calls.

Concave alpha.14 still leaves prepared auth apps with:

export const internal = {};

That breaks generated auth runtime access like authFunctions.findOne even

though the actual function paths are known.

kitcn workaround:

empty internal object

Code locations:

Why it exists:

refs that Convex-generated output exposes

Delete when:

and

5. Concave `run` output JSON fallback parsing

Convex-style machine output is clean JSON when kitcn shells out to a

backend run command and expects structured results.

Concave alpha.14 now prints a human preamble before the JSON body, for example:

kitcn workaround:

Code locations:

Why it exists:

startup migration and aggregate flows kitcn shells out to

Delete when:

can rely on, and

6. Manual static JWKS export command

Convex has an env CLI seam, so kitcn env push can fetch and sync static

JWKS.

Concave still has no equivalent upstream env command surface. That means auth

runtime parity exists, but env-management parity does not.

kitcn workaround:

Code locations:

Why it exists:

Delete when:

JWKS-specific manual helper

Removed Bandaids

Internal runtime execution via `/api/execute`

Removed in alpha.14 verification.

Old workaround:

Why it died:

generated/aggregate:aggregateBackfill

Forced `3210` dev port on Concave

Removed in alpha.14 verification.

Old workaround:

dev boot

Why it died:

Source-backed Concave API type override

Removed in alpha.14 verification.

Old workaround:

Why it died:

override used to force

Watchlist: Known Gaps Without a kitcn Bandaid

`staticDataModel` mismatch

Current repo truth:

Current location:

Meaning:

Read First

Start with the active bandaid seams:

Then read the solution notes:

Verification

When touching any active Concave parity bandaid, run the smallest real gate

that proves the seam:

bun test packages/kitcn/src/cli/commands/dev.test.ts \
  packages/kitcn/src/cli/commands/migrate.test.ts \
  packages/kitcn/src/auth/generated-contract.test.ts \
  tooling/scenarios.test.ts

bun run test:concave
bun run scenario:test -- next-auth
bun run scenario:test -- vite
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.