LangAlpha / web
AGENTS.md1.8k starsChanged 57 days agoApache-2.0View on GitHub
Frontend for langalpha — React 19 + Vite + TypeScript SPA. Talks to the FastAPI backend over REST (api/client.ts, a thin fetch client) + SSE (raw fetch). Path alias @ → src/ is declared once, as paths in the tsconfig projects, and Vite and Vitest read it through resolve.tsconfigPaths; @e2e/ exists only in tsconfig.vitest.json, so app code cannot import the e2e fixtures. Single source of truth for AI coding agents in web/. CLAUDE.md imports this via @AGENTS.md; Codex/Cursor read it…
Trending
More talk lately.thin dataabout the whole repository
Who's talking about ginlix-ai/LangAlpha
- A Hacker News story“Show HN: LangAlpha – what if Claude Code was built for Wall Street?”Hacker News · Apr 14, 2026 · 148 points
- @aifoundersczech.bsky.social“LangAlpha packages a persistent research-agent workflow around MCP tools, filesystem memory, and …”Bluesky · Apr 17, 2026 · 2 likes
- YY-Studios/learn-claude-code“🌐 Claude Code 커뮤니티 업데이트 (2026-04-17)”GitHub · Apr 17, 2026 · 1 reactions
- @topickapp.bsky.social“https://github.com/ginlix-ai/langalpha LangAlphaは、市場分析と投資判断を支援するAI研究基盤です。 …”Bluesky · Apr 15, 2026 · 1 likes
- sudosubin/agents.nix“agent-plugins.github.ginlix-ai.langalpha: init at 2026.09.07”GitHub · Oct 4, 2026
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub, Bluesky and Hacker News (7 times).
On GitHub · 4
- Apr 17, 2026🌐 Claude Code 커뮤니티 업데이트 (2026-04-17) — YY-Studios/learn-claude-code1 reaction · 1 comment
- Oct 4, 2026agent-plugins.github.ginlix-ai.langalpha: init at 2026.09.07 — sudosubin/agents.nix0 reactions
- Sep 30, 2026Refer to these agentic investing repos — suvimatt/agentic-thesis0 reactions
- Mar 26, 2026This repo is early work and no longer maintained — Chen-zexi/LangAlpha0 reactions
On Bluesky · 2
- Apr 17, 2026LangAlpha packages a persistent research-agent workflow around MCP tools, filesystem memory, and programmatic tool calling, aiming to make… — @aifoundersczech.bsky.social2 likes and reposts · 1 reply
- Apr 15, 2026https://github.com/ginlix-ai/langalpha LangAlphaは、市場分析と投資判断を支援するAI研究基盤です。 ワークスペースに調査を蓄積し、ニュース・決算・マクロを並列分析します。 Web… — @topickapp.bsky.social1 likes and repost
On Hacker News · 1
- Apr 14, 2026Show HN: LangAlpha – what if Claude Code was built for Wall Street?148 points · 53 comments
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- desktop/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- web/CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 51
Every var(--color-*) must be declared in tokens.css (styles/__tests__/tokenRefs.test.ts fails on undeclared names).
- Very specific: line 62
Types are the hard gate; lint gates only its errors: Keep pnpm typecheck green (it gates build + CI) and lint at zero errors (CI).
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
langalpha web
Frontend for langalpha — React 19 + Vite + TypeScript SPA. Talks to the FastAPI backend over REST (api/client.ts, a thin fetch client) + SSE (raw fetch). Path alias @ → src/ is declared once, as paths in the tsconfig projects, and Vite and Vitest read it through resolve.tsconfigPaths; @e2e/ exists only in tsconfig.vitest.json, so app code cannot import the e2e fixtures.
Single source of truth for AI coding agents in
web/.CLAUDE.mdimports this via@AGENTS.md; Codex/Cursor read it directly. Edit here, not there.
Commands
pnpm dev # dev server on 127.0.0.1:5173 (proxies /api/v1 + /ws/v1 → VITE_PROXY_BACKEND, default :8000)
pnpm build # tsc -b && vite build && check-critical-path — typecheck and first-load budget both gate the build
pnpm typecheck # tsc -b over the app, test and node projects (gated in CI)
pnpm test # vitest run; test:e2e = Playwright
pnpm lint # ESLint 10 flat config, cached in node_modules/.cache; errors gate CI, warnings are advisoryStreaming perf benchmarks live in e2e/perf/, are gated behind PERF=1, and their flags and canonical invocations are in e2e/perf/README.md.
Landmines (non-obvious)
- Dual-mode auth (
contexts/AuthContext.tsx), switched byVITE_HOST_MODE(config/hostMode.ts, defaultoss):platform→SupabaseAuthProvider(real session; the API client reads its Bearer token fromlib/authToken.ts);oss→ static local-dev context, always logged in asVITE_AUTH_USER_ID(defaultlocal-dev-user).VITE_SUPABASE_URL/_KEYonly gate Supabase-client construction, NOT the mode — checkisPlatformMode, neverVITE_SUPABASE_URL. - Chat/market SSE uses raw
fetch()+ReadableStream, NOT the API client (the client reads whole bodies):streamFetch()inpages/ChatAgent/utils/api/transport.ts+pages/MarketView/utils/api.ts. Its token comes fromlib/authToken.ts, the same shared cache the API client uses. Most authenticated REST goes through the shared client (api/client.ts, auto-Bearer, baseVITE_API_BASE_URL), but public/unauthenticated calls (pages/SharedChat/api.ts),auth/sync, and market-data WebSocket use rawfetch/WS, not the client. api/client.tsis a thinfetchwrapper that keeps axios's shape on purpose, because ~200 call sites and every error reader (apiErrorDetail,apiErrorStatus, the 429rateLimitInfo/retryAfterreaders) were written against it. A call resolves{ data, status, headers }with lower-cased header names; a non-2xx rejects anApiErrorcarryingresponse: { status, data, headers }; an abort rejects withname === 'CanceledError'; the messages are axios's (Request failed with status code N,timeout of Nms exceeded,Network Error), since call sites showerr.message.paramstake scalars only, in axios's encoding (:,$literal, space as+), which is what the backend has always received; a repeated key goes asURLSearchParams. Never setContent-Typeon aFormDatabody: the browser writes the multipart boundary.onUploadProgress/onDownloadProgressmove that one call onto XHR, the only transport that reports upload progress.- Every access token comes from
lib/authToken.ts, and nothing else callssupabase.auth.getSession()per request.getSession()is not an accessor: its own docs say it "returns the session, refreshing it if necessary", so calling it per outbound request turned one cold load into ~20 network refreshes. On a device whose clock is off by more thanJWT_TTL - 90severy read looks near-expiry, which exhausts Supabase's per-IP token budget (1800/hr, burst 30, not customizable) until a 429 arrives, and auth-js treats a 429 as fatal and destroys the session. So: read the cached token, never the session.AuthContextowns the onlyonAuthStateChangesubscription and pushes into the cache synchronously; do not add a second subscriber, because each registration runs_emitInitialSessionand can itself refresh.lib/authFetch.tsis the client'sfetch: it strips the server'sexpires_atso auth-js recomputes expiry fromexpires_inon the local clock (skew cancels only if one clock does both halves), and it converts a 429 on the token endpoint into a retryable 503 while holding the endpoint closed forRetry-After. A pre-expiry margin belongs inauthToken, never in a caller. The breaker is scoped togrant_type=refresh_token, because GoTrue multiplexes five grants onto that one path and signing in is how a user recovers from a storm. One caveat worth knowing before you deploy a second app beside this one: the correction lives in this bundle's JS, but the session lives in a cookie keyed bycookieOptions.name. Any other app sharing that origin and that key shares the session itself, and an app without this fetch can still take a fatal 429 and delete the cookie out from under this one. Give every app on the origin the same fetch, or give them different cookie names. - A dropped link and an unhappy network are handled differently on the SSE reconnect path (
pages/ChatAgent/session/stream/lifecycle.ts). Retries only spend against a network that is present; withnavigator.onLinefalse the loop waits on theonlineevent for up to 5 minutes instead, because the turn keeps running server-side and reconnect resumes it gaplessly from the cursor. Budgeting retries against a dead link is what used to truncate an answer ~15s in. Connectivity helpers live inlib/network.ts(isOnline/waitForOnline) —useNetworkStatusand the app-wideNetworkBanner(mounted once incomponents/Main) read the same source. - The app shell owns the viewport; route roots must not.
.app-layoutis the only100vhbox (App.css);.app-main→.main→ the animated route wrapper are allheight: 100%beneath it. A route root that pins itself to the viewport instead (h-screen,height: 100vh) looks identical until something else takes column height — the app-wideNetworkBannerdoes — and then it overflows the shrunken column by exactly that height,.app-main(overflow: auto) grows a scrollbar, and the bottom of the page (the chat composer) sits below the fold. Size route roots withh-full/height: 100%;calc(100vh - …)maxima inside a route's own scroll container are unaffected. Measure the shrink point, not.app-main. The shrink is done by a wrapper carryingminHeight: 0incomponents/Main— one per branch, and the mobile branch must also be a flex column because the mobile dashboard isheight: autoand gets its height from being a flex item. On mobile.app-mainreserves the bottom tab bar aspadding-bottom, so a route that overflows by the banner's height slides under the tab bar and.app-main's own overflow stays 0: check.mainthere. The desktop shell gives the same rule a second cause: a reserved titlebar inset makes a frameless window's viewport taller than its content box, sovhunits overflow by exactly the inset (100dvhstays right where the mobile toolbar is the concern). - The window-chrome contract with the desktop shell is decided in
index.html, not in the bundle. A<meta name="langalpha-window-chrome">declares whether this build reserves the strip the macOS window buttons float over — a declaration, because the reservation is only painted once the shell says the titlebar is gone, so a shell that measured it would only find its own last answer. An inline script inindex.htmlreads the shell's preload bridge and stampshtml.desktop-mac, and every downstream rule is gated on that class in CSS (styles/chrome.css,App.css,Sidebar.css, the#window-dragblock inindex.html), never on the bridge and never on a React branch: the class is stamped once before the bundle runs and cannot change, so a JS condition on it would be a second mechanism for a decision that already has one, and the strip the sidebar renders could disagree with the onechrome.csspaints.#window-dragalso lives inindex.htmlso a window whose entry chunk never ran is still movable. Treat the bridge as an enhancement and feature-detect each method — the shell ships on its own slow cadence while this app deploys continuously, so a new web build must never require a new shell. - Agent artifact path routing has ONE source of truth:
pages/ChatAgent/utils/agentPaths.ts.classifyAgentPath(→memory|memo|user-data|skill|file, normalizingfile://,/home/(workspace|daytona)/,./,__wsref__/<wsid>/…cross-workspace refs;user-datais a data file underUSER_DATA_DIRS, the profile files and one file per automation) +computeAgentArtifactRouting(pure: which panel tab/key/workspace to open). Add new path types here, not in panel components — each new location duplicates the normalization rules.- A destination and a path are read differently, and each string gets one reading.
normalizeAgentHrefreads a markdown destination: it drops a?query/#fragmentand percent-decodes, both exactly once.parseAgentPath/normalizeAgentPathread a path and are idempotent. The rule is not stylistic: decoding turns%23into a literal#, so a second URL reading of the result eats the rest of the name andresults/issue#1.mdbecomesresults/issue— no extension, no card, and a read for a file nothing wrote. Whatever holds the string chooses the reading; nothing downstream re-reads it. The same split is whyfileExtensiontakes a path andisImagePathsplits the location off itself. - The layout literals are generated, not typed.
agentPaths.generated.tsis emitted byscripts/gen_agent_paths.pyfromsrc/ptc_agent/core/paths.py(directory names, the sandbox roots, the system-dir list) andagentPaths.tsre-exports it.tests/unit/core/test_sandbox_layout.pyregenerates and diffs the file, so a hand edit fails CI; changepaths.pyand regenerate. - A relative path keeps the levels it climbs.
../data.csvnormalizes to../data.csv, notdata.csv: folding it away names a different file that often exists, so the link opens the wrong document rather than missing, andfileRefResolver.linkCandidatesloses the one thing it joins against the viewing file's directory. Only a rooted or sandbox path clamps, having nowhere to climb.
- A destination and a path are read differently, and each string gets one reading.
- Zod validates untrusted persisted/user input at the boundary, not API responses. Widget prefs (schemas in
configSchemas.ts, applied viasafeParseinmigrations.ts), onboarding prefs, MCP config — allsafeParse+ per-field.catch()(never throw). Typed API responses are plain TS interfaces, not runtime-validated. - First-load bundle is asserted, not eyeballed (
scripts/check-critical-path.mjs, gated inpnpm build+ CI). Vite's build table lists every chunk as if it were lazy; only whatdist/index.htmlreferences is actually on the critical path. A chunk group (scripts/chunking.ts) that captures a dependency the entry needs pins the whole group to the entry — that is how the chart bundle rode first paint for five months. If the guard trips, fix the import graph; bumpEXPECTED/MAX_EAGER_KBonly deliberately. Reproducing the shipped bundle needsVITE_HOST_MODE=platformandVITE_SUPABASE_URL/_PUBLISHABLE_KEY—lib/supabase.tsguards the client behindurl && key, so unset vars tree-shake the whole SDK out and understate first load by ~27 kB gz. That client is auth-js'sAuthClientalone, given@supabase/ssr's cookie storage and the optionscreateBrowserClientwould pass, because the full client put postgrest, realtime, storage and functions on first paint (~31 kB gz) for code that only calls.auth.lib/__tests__/supabaseCookies.test.tspins its cookies byte for byte againstcreateBrowserClient's, and the export is typed{ auth }so a.from()or a realtime channel is a deliberate new client, not a quiet regrowth of this one. - Stale-build recovery spans four layers that cannot see each other. A deploy swaps every content-hashed filename, so a tab still holding the previous document asks for chunks that no longer exist. The pre-boot half is an inline ES5 IIFE in
index.html— inline because the bundle is what failed, ES5 because a parse error there would disable recovery on exactly the browsers most likely to be stale, and in<head>because the listener must beat the entry script. It hands off to the app through three globals:__LA_BOOTED__(set bymarkBooted(), and the only thing stopping a reload from discarding a streaming turn),__LA_STALE_BUILD__, and thela:stale-buildevent; the app hands a boot failure its listeners cannot see back through__LA_RECOVER__.lib/staleBuild.tsxowns everything post-boot and re-implements the pre-boot classifier in TypeScript. Sinceindex.htmlnever reaches tsc, two test files pin the halves together, both by reading its source text:lib/__tests__/staleBuild.test.tsxasserts the shared literals (prefix, regex anchoring, event name) still match, andlib/__tests__/staleBuildPreBoot.test.tslifts the IIFE out and runs it in its own jsdom, so the two classifiers are exercised against the same messages and the reload bound is reachable at all. Same-origin/assets/is a hard precondition: settingVITE_CDN_BASEmoves the build off this origin and every layer silently classifies a real dead asset as somebody else's problem. /version.jsonis build output with serving guarantees this repo cannot enforce. The vite pluginversionManifestwrites the entry filename;check-critical-path.mjsasserts it matchesdist/index.htmland that there is exactly one module script (a second one would be read as the entry and give every user a permanent "new version" prompt). At the edge it must 404 on a miss rather than fall through to the SPA shell, carryapplication/json, and never be cached — andindex.htmlitself must not be long-cached, or the recovery reload refetches the same dead asset names. Those rules live in the deploy-time serving config andpublic/_headers, which are untracked here, so nothing in this repo will tell you when they break: the client fails closed and silent by design, with oneconsole.warnon an unreadable manifest as the only operator signal.- The React Compiler compiles the app and the unit suite (
scripts/react-plugins.ts;REACT_COMPILER=offbuilds and tests without it, which is how to tell a compiler regression from an app one). It caches each computation in a component on that computation's inputs, so whatever render reads behind its back freezes at the first value it saw:Date.now(), the modulei18ninstance, a DOM attribute, a ref, a mutable object that keeps its identity. Forcing a re-render does not help, since the tick that forced it is not an input. Hand render what it depends on: the language fromuseLocale(), the time fromuseNow(), the theme fromuseTheme(), and anything else as state or auseSyncExternalStoresnapshot with a new identity per change. A dependency listed inuseMemobut never read in its body is dropped, so a version counter must reach the computation itself. Functions the compiler cannot compile (a ref read in render, atry/finallyanywhere in the component, areact-hookseslint suppression) run as before, so a trap can sit unnoticed in one until a refactor makes it compile; thereact-hooks/*lint warnings are that list. - i18n: locale lives in a
localecookie (cookie → browser →en-US), no live cross-tab sync. Every formatter inlib/format.tstakes the locale as an argument, fromuseLocale(), andrelativeTimetakesnowfromuseNow(); a helper that readsi18n.languageitself keeps the old language after a switch.useSyncUserLocalecan switch the language after first load with no user action, so this is not only a Settings concern. - Catalogs load on demand, one chunk per locale.
main.tsxrenders only afterinitI18n()has the active one, so the first paint never shows keys, and a catalog that fails leaves#rootto the pre-boot recovery. Change language throughswitchLocale()(lib/locale.ts), neveri18n.changeLanguage: it waits for the chunk and keeps the current language if the chunk is gone. There is no fallback language, so a key missing fromzh-CN.jsonrenders as the key;locales/__tests__/keys.test.tsfails on one.scripts/locale-preload.tshasindex.htmlfetch the active catalog alongside the entry, inlining the sameresolveLocale()(lib/resolveLocale.ts) the app boots with (pinned bylib/__tests__/localePreload.test.ts), andcheck-critical-path.mjscounts the larger catalog in the first-load sum. Unit tests hand both catalogs toinitI18nintest/setup.ts, so a switch there is synchronous. typescriptinpackage.jsonis the TS 6 API;tscis TS 7. TS 7.0 is a native compiler with no JS API, and@typescript-eslintthrows on import whentypescriptresolves to 7. Sotypescriptaliases@typescript/typescript6(the TS 6 API for ESLint; its CLI istsc6), and@typescript/nativealiasestypescript@7, which owns thetscbin thatpnpm typecheckandpnpm buildrun. This is the side-by-side setup from the TS 7.0 release notes: collapse it to a plaintypescript@^7only once typescript-eslint supports TS 7 (typescript-eslint#10940). Separately, TS 6+ defaultstypesto[], so an@types/*package that only adds globals or ambientdeclare modules must be listed in the project'stypes, or its declarations drop out of the program.tsconfig.jsononly lists three projects, sotsc --noEmitagainst it checks nothing; runtsc -b(pnpm typecheck).tsconfig.app.jsonis the app:srcminus tests, DOM types only, soprocess,Bufferand aNodeJS.TimeoutfromsetTimeoutfail there as they would in the browser.tsconfig.vitest.jsonis the tests plussrc/test, which run in Node and add its types.tsconfig.node.jsonis the config files,scripts/*.ts, the gate script and the e2e global setup, Node types only; its JavaScript is checked through JSDoc. A module a test and the app share must pass both. The e2e specs andscripts/perf-summary.mjsare in no project.
Conventions
- API layering: each page group owns its calls in a local
utils/api.ts(ChatAgent,Dashboard,MarketView,Automations); cross-page data goes through shared hooks inhooks/. - React Query: hierarchical key factory in
lib/queryKeys.tsenables prefix invalidation (e.g. invalidatequeryKeys.user.all). Dashboard prefs write back through a guarded writer that survives cross-tab races + cold-cache mounts. - Styling: Tailwind 4 (CSS-first config in
src/index.css, v3 defaults kept insrc/styles/tailwind-v3-theme.css) + theme-aware CSS custom properties (var(--color-*)) used directly in style props;cn()(clsx + tailwind-merge) for conditional classes; Radix primitives incomponents/ui/viaclass-variance-authority.- Browser floor: Chrome/Edge 111, Safari 16.4, Firefox 128. Tailwind 4 sets it (cascade layers,
@property,color-mix()); Vite 8's default build target alone would allow Firefox 114. Below the floor the page still loads but styles break, so a feature above it needs a fallback rather than a polyfill. - Design system — palette, typography, accent discipline, and status/liveness vocabulary are defined in the repo-root
DESIGN.md("Quiet Workspace"). Read it before styling anything user-visible. - Background roles — pick by surface, not by matching a hex:
bg-page(app ground) →bg-canvas(ground under a card grid) →bg-card/bg-tool-card(cards on it) →bg-elevated(menus, tooltips) →bg-input(fields) →bg-popover(Radix popover/select). The full table is the comment above the background group instyles/tokens.css. - Floating surfaces deliberately do not share one fill yet (popover/select on
--popover, tooltips + menus onbg-elevated, four dialogs still onbg-page); unification is deferred pending a side-by-side visual call — don't converge one of them in isolation. - Every
var(--color-*)must be declared intokens.css(styles/__tests__/tokenRefs.test.tsfails on undeclared names); canvas painters that can't read CSS variables go throughlib/themeTokens.ts, never a fresh hex literal.
- Browser floor: Chrome/Edge 111, Safari 16.4, Firefox 128. Tailwind 4 sets it (cascade layers,
- Tests: co-located in
__tests__/next to the code; Vitest + jsdom + Testing Library. Global setup mocksmatchMedia/IntersectionObserver/ResizeObserver(src/test/setup.ts).vitest.config.tssplits the suite into two projects. A new file runs under jsdom in the vm pool. A DOM-free file declares// @vitest-environment nodeon its first line, where reading any browser global fails the file (src/test/browserTraps.ts, armed bysrc/test/setup.tswhen there is nowindow). A file that replaceswindoworwindow.location, or needs Node'sReadableStream, goes inFORKS_FILES, since a vm context's global is the jsdom window itself.- Playwright specs import
testfrome2e/fixtures.js, which gives each worker its own mock server and routes the app's API origin to it. On bare@playwright/test, an API call reaches a port nothing listens on.
- Side-by-side ChatView + FilePanel headers must stay height-aligned — if you touch either header's padding/icon size, verify they still line up (
FilePanel.cssfile-panel-header).
Working principles
- Keep API calls in the api layer, not in components. Endpoint/fetch calls belong in a page's
utils/api.tsor a sharedlib/*client module (e.g. market data inlib/bars,lib/quotes) — never inline in a component. Server-state access goes throughhooks/+ React Query; React-lifecycle singletons throughcontexts/. Components composecomponents/ui/primitives (they don't hand-roll Radix). - One source of truth — don't duplicate the cross-cutting modules. Agent-path logic →
agentPaths.ts; query keys →queryKeys.ts(never inline key arrays — it breaks prefix invalidation); locale/formatters →lib/locale.ts+lib/format.ts(never ad-hocIntl.*); class merging →cn()(never concatenate class strings). - Server state is React Query; validate untrusted input at the boundary. Don't mirror server data into local state; invalidate by key prefix. Zod (
safeParse+.catch, never throwing) guards only persisted/user input — never runtime-validate trusted API responses, never.parse()at a boundary. Module-level singletons that outlive React must be reset on logout. - Types are the hard gate; lint gates only its errors. Keep
pnpm typecheckgreen (it gates build + CI) and lint at zero errors (CI); avoidany— narrowunknowninstead — even though ESLint won't stop you.
Env
| Variable | Default | Purpose |
VITE_HOST_MODE | oss | platform → Supabase auth mode; oss → local-dev, no auth |
VITE_API_BASE_URL | (empty = same-origin) | Backend base URL for the API client and raw streams (dev: same-origin, proxied) |
VITE_PROXY_BACKEND | http://localhost:8000 | Dev-server proxy target for /api/v1 + /ws/v1 |
VITE_DEV_ALLOWED_HOSTS | (unset = Vite default) | Comma-separated extra Host headers the dev server accepts, for tunnels (ngrok etc.) |
VITE_SUPABASE_URL | — | Supabase project URL (gates client creation, not mode) |
VITE_SUPABASE_PUBLISHABLE_KEY | — | Supabase anon key |
VITE_AUTH_USER_ID | local-dev-user | User id in oss mode |
VITE_CDN_BASE | / | Asset base for CDN builds. Disables stale-build recovery — every layer assumes same-origin /assets/ (see Landmines) |
VITE_COOKIE_DOMAIN | (unset = host-only) | Parent domain to share auth/locale cookies across subdomains |
VITE_APP_ENTRY_PATH | /app (platform) / / (oss) | Where the SPA entry (login + anonymous bounce) mounts; set / on a dedicated app subdomain |
VITE_PLATFORM_URL | /account | Platform console origin/path for account, plans and integrations links. Absolute origin on a split-host deploy; no trailing slash (call sites concatenate) |
VITE_CONTACT_EMAILS | (unset = no contact rows) | Comma-separated support addresses for the dashboard help popover; the first is also the spec dialog's "Contact support" link |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

