agentleFS
JuliusBrusseeJuliusBrussee/caveman/proxy/CLAUDE.md

caveman / proxy

CLAUDE.md110k starsChanged 8 months agoApache-2.0View on GitHub

A base-URL-swap reverse proxy: match → authenticate → inspect → byte-safe transform → upstream → meter. Single-operator, BYOK, zero cloud dependencies. It shares its provider adapters with the managed gateway (the managed gateway imports them from here). caveman start launches the caveman-proxy binary. - listener lifetime is not session lifetime: serve never exits because a wrapper, native session, heartbeat, or idle timer expires. Legacy CAVEMAN_NATIVE_IDLE_TIMEOUT does not arm shutdown. The CLI never restarts a shared listener to change mode/recovery; an…

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about JuliusBrussee/caveman

The biggest 5 of 103 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 103

Talked about on GitHub, Bluesky and Hacker News (103 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 50

45 more on Bluesky

The file

Files
CLAUDE.md

proxy — the byte-safe standalone caveman proxy (commercial, binary-distributed)

A base-URL-swap reverse proxy: match → authenticate → inspect → byte-safe transform → upstream → meter. Single-operator, BYOK, zero cloud dependencies. It shares its provider adapters with the managed gateway (the managed gateway imports them from here). caveman start launches the caveman-proxy binary.

Layout

  • providers/ — the shared, public byte-safe adapter set: Adapter interface + Base embed + UsageScanner/ParseUsageBytes (adapter.go), and anthropic/openai/gemini/azureopenai/bedrock/vertex/openaicompat. ResolveUpstreamURL takes providers.RouteContext (no control-plane coupling). Anthropic + OpenAI carry both prefixed and bare routes (/v1/messages, /v1/chat/completions). vertex preserves caller OAuth bearer or Express-mode Google API-key credentials for Gemini + Claude on Vertex AI (no signing, no environment-key fallback, no custom usage parser).
  • internal/gateway/ — the request lifecycle (server.go + proxy.go) behind three injected seams: Authenticator, CredentialResolver, TelemetrySink. Ports the managed loop with the fail-open fix.
  • GET /health/ready identifies the runtime and advertises billing: "byok" because the standalone proxy forwards the caller's selected provider credential. The managed twin advertises managed; SDK dollar budgets fail closed on missing/unknown billing provenance.
  • internal/config/ — caveman.yaml loader + BYOK env-key resolution; unknown mode fails closed to record.
  • internal/store/ — ~/.caveman/caveman.db SQLite spend store (modernc.org/sqlite, cgo-free); implements TelemetrySink.
  • internal/standalone/ — wiring: static Auth, BYOK Creds, adapter set, and the always-on SSRF-guarded client.
  • internal/identity/ — who calls the framework middleware routes (legacy token, token map, OIDC/JWT, mTLS) and the reloadable TLS listener config.
  • internal/nativeruntime/ — normalized local-agent lifecycle, Task Contract, Decision Ledger, typed CCR capture/masking, child evidence merge, honest receipts, user-only Unix socket / Windows named pipe, and persistent listener lifetime.
  • internal/repointel/ — deterministic local repository map, task evidence, conservative test impact, and optional-Scout recommendation. No model/network.
  • internal/nativepack/ — embedded compiled Core/skill policy; generated from public/skills, fail-closed on schema/version drift.
  • cmd/caveman-proxy/ — binary: serve (default), stats, and content-blind agent-evidence --session --build --plan. Evidence query returns only exact provider usage, request hashes, declared context/plan identity, ordered provider-prefix component hashes, actual transform IDs/counts, and CCR handle; basis is always inferred, verified dollars always zero.

Conventions

  • Build/test: make product-build PRODUCT=proxy / make product-test PRODUCT=proxy.
  • Tests inject a plain *http.Client to reach loopback stubs; the binary uses the SSRF-guarded client.
  • New provider/optimizer work goes in providers/ (shared) — change it once, both proxies get it.

Gotchas (honesty invariants — correctness, not style)

  • listener lifetime is not session lifetime: serve never exits because a wrapper, native session, heartbeat, or idle timer expires. Legacy CAVEMAN_NATIVE_IDLE_TIMEOUT does not arm shutdown. The CLI never restarts a shared listener to change mode/recovery; an incompatible new wrap runs direct. Failed local startup also runs direct. Native session correlation entries may age out without affecting API traffic.
  • no default generation deadline: CAVE_GATEWAY_UPSTREAM_TIMEOUT_MS defaults to 0 (no total request deadline). A positive value is an explicit operator cap and includes response streaming. Client cancellation still cancels upstream; connection setup, inbound header/upload limits, and idle keep-alive socket cleanup remain bounded separately. The replacement bound for an upstream that connects and then goes silent is the transport's response-header deadline (CAVE_GATEWAY_RESPONSE_HEADER_TIMEOUT_MS, default 900000, 0 disables) — headers only, so it never truncates a live stream.
  • response protocol controls streaming: SSE/event-stream responses flush headers and chunks even without a JSON stream flag. Encoded requests keep Content-Encoding and bypass transforms. Interrupted response copies record an error and abort HTTP framing; they never become a clean successful EOF.
  • replay only when non-delivery is proven: proxy transport retries are limited to connection-setup failures — *net.OpError with Op dial or proxyconnect (a proxy that is down fails as the latter, never as a dial). A failed upload/header read or truncated response does not prove an inference was unprocessed; do not automatically replay it. An explicit transformed-request 4xx still retries once with original bytes. See docs/technical/proxy-reliability.md at the repository root.
  • byte-safe: record mode never transforms; on transform error the ORIGINAL bytes are forwarded (HTTP 200, fail-open) — never a 400.
  • native marker is local-route-only: HMAC session marker is emitted only after local runtime + route proof and stripped before capture/hash/provider. Direct, managed, proxy-disabled, invalid, and conflicting paths never correlate.
  • request-wide opt-out: x-cave-transforms: caveman.pass-through.v1 suppresses every request transform path — compress, pixel, and provider-native — not only compiled plan routes. Tests cover all three modes.
  • repository evidence is a claim, so it needs a direct match (internal/repointel + nativeruntime.renderRepositoryEvidence): a "Likely implementation path" line is injected ONLY for items whose own FILE NAME or symbol name contains a task term (EvidenceItem.Direct, Bundle.Strength == StrengthDirect). The match is on the final path component on purpose — matching the whole path meant a term naming any ancestor (src, internal, lib: ordinary prompt words) marked every file beneath it direct, i.e. no gate at all. BM25 metadata proximity alone is StrengthMetadata and is never shown, never stored, and never gets a ccr:// handle; the handle reads as authoritative, and a wrong file:line steers the agent while costing tokens every turn. A bundle qualifies on ONE direct item, so the non-direct items that ranked alongside it are stripped by Bundle.DirectOnly() BEFORE the object is written — dropping them only at render time left them stored behind the handle, one retrieval from the model. Terms are floored at three characters (NormalizeTerms, matching the producing hook) because the direct test is a substring of a file's own name: go, py, js would mark every file of that language a direct hit and hand the gate away. A declined turn is silent to the model but records repository_evidence_declined_no_direct_match in the ledger, so "declined" stays distinguishable from "broken". Scout.Status is ADVICE about repository shape and must not gate injection; conflating them made a truncated map silence real hits (#899).
  • the dependency filter runs on BOTH listing paths, and git is not trusted to be complete: listFiles prefers git ls-files --cached --others --exclude-standard, because the project's own .gitignore — not a name list we maintain — is the best statement of what is vendored. It is not sufficient on its own: an empty-but-successful listing means the cwd is itself ignored by an enclosing repo (accepting it silently disabled the whole mechanism), so empty falls back to the walk, and every git-listed path still goes through the same content-based filter as the walk via directoryFilter (memoised per directory, one probe per directory not per file) — otherwise an un-ignored conda prefix or a COMMITTED vendor/ tree reaches the model precisely because git reported it. Installed environments are identified by CONTENTS (conda-meta, pyvenv.cfg, site-packages child) so a pixi/conda prefix or virtualenv is caught under any name, along with the interpreter stdlib it carries. Only names that are never first-party (node_modules, .pixi, site-packages, …) match by name, case-folded; build/dist/target/vendor/coverage/Pods are ambiguous and excluded only when a sibling manifest proves the ecosystem, because internal/build and a hand-written vendor/ are real source. The two paths can legitimately disagree (git omits submodule contents), so Map.ListingBasis discloses which ran and is folded into ContentSHA256. Git gets at most HALF the caller's remaining warm budget (gitListBudget): the walk is the more expensive path, so a git listing that spent 2s of a 3s window left the fallback unable to finish and the map failed closed — the exact case the fallback exists for. FilesScanned stays the map size; FilesRanked is the filtered count.
  • git is invoked as an untrusted-repository operation: every git call that points at a user working directory goes through internal/gitsafe.Command (Go) or packages/cli/src/git-safe.ts (the two execFileSync sites in index.ts and native-hook-fast.ts), which pass explicit -c overrides (core.fsmonitor, core.hooksPath, core.sshCommand, core.askPass, core.editor, core.pager, core.alternateRefsCommand, diff.external, credential.helper, protocol.ext.allow, uploadpack.packObjectsHook) and strips inherited GIT_* from the environment. A repository's own .git/config names programs git will run, and core.fsmonitor runs while the index is read — so plain git ls-files in a freshly cloned hostile repo executes attacker code with no user action, at session start. repointel.listFiles was hardened first and the other callers were not, which is the shape this bug takes: nativehook.currentRepositoryState runs git status on EVERY hook event, and status refreshes the index, so it triggers core.fsmonitor harder than ls-files does. Regression tests: repointel.TestGitListingIgnoresRepositoryControlledCommands and nativehook.TestRepositoryStateIgnoresRepositoryControlledCommands (both verified to fail without the overrides), plus tests/verify_repo.py verify_untrusted_git_invocations, which fails the build on a NEW raw git -C <dir> call site anywhere in proxy/ or packages/cli/src/. Command-line -c beats repository config; never drop these to "simplify" the invocation.
  • no-fake-savings: standalone records Basis: "inferred" on every row; it never writes verified and never re-projects to a monthly figure.
  • spend is arithmetic, savings is a claim (local learn, since 2026-08-21): caveman learn MAY state a currency, under exactly these conditions. SPEND prices PROVIDER-COUNTED disjoint billing buckets read out of the transcript's own usage block, at rates from the dated shared/provider-catalog row, stamped with that row's catalog version — basis provider_counted_x_published_rate, window-bounded, never projected. A model with no catalog row is NEVER priced at a sibling's rate: its tokens are disclosed separately and the total is a stated floor (learn_pricing.go). Sinks are priced at the user's own MEASURED effective input rate, not list, so a well-cached user's findings are not inflated ~10x. SAVINGS additionally requires an attribution method (learn_attribution.go): every confirmed row names its rung (deterministic_remeasure > controlled_holdout > counterfactual_replay > interrupted_time_series), carries the standing confounders that rung cannot rule out, and reports whether the artifact caveman fingerprinted at apply time is still intact on disk. Savings totals are bucketed BY RUNG and never summed across rungs — blending a re-counted file with a before/after median launders the weak number into the strong one. A regression is never priced. Neither surface ever writes verified; that stays gateway-only. Subscription traffic has no marginal cost, and every priced surface says so.
  • practice join: local learn sinks carry additive practice_id; one fail-closed mapping table owns sink→practice and unknown sinks keep "". The historical subagent_overuse sink is count-only and deliberately has no practice id: spawn count cannot reactivate the retired context-exploration-offload opportunity or prove any spawn unnecessary.
  • local trial heuristics are not actuation evidence: a model name never emits the retired model-right-sizing id, and provider plus positive cost never emits a cache move because neither proves stable-prefix eligibility. Legacy rows for those identities are hidden at read time. Compression replay reports one trial's local engine estimated_engine_o200k before/after shape with zero dollars and low confidence; it is not provider-counted, a rate, an invoice, causal/verified savings, or task-outcome evidence.
  • Anthropic automatic caching is experimental observation only: anthropic-automatic-prompt-cache is a typed, default-off manual policy experiment and may add only Anthropic's top-level 5-minute marker on direct Messages API requests. Managed traffic additionally requires server-attested official Anthropic origin; custom or provenance-unknown origins lose the flag before the adapter. It is mutually exclusive with the explicit anthropic-cache-breakpoints transform and any caller cache_control; Bedrock and count-tokens requests stay byte-identical. An applied marker records only its optimizer id plus actual provider usage and cost. It has no practice, recipe, generic mode/candidate activation, ledger tuple, inferred savings, or verified-savings path (cache-only and forged IDs are excluded from the counted-baseline method too); evaluate it by manual paired observation because shared provider cache state can contaminate an A/B.
  • OpenAI cache-key affinity is not cache placement or savings proof: openai-prompt-cache-key adds routing metadata only. On GPT-5.6, the provider's implicit latest-message breakpoint can repeatedly write a changing suffix, and writes cost 1.25× uncached input. The usage parser normalizes official nested cache_write_tokens from both Responses input_tokens_details and Chat prompt_tokens_details into CacheCreationInputTokens; applying the affinity key never mints verified savings. Explicit prompt_cache_breakpoint placement is not implemented.
  • SSRF always on: standalone.StandaloneHTTPClient guards every upstream dial (not gated on CAVE_ENV) using ssrf.SelfHostedConfig — NOT ManagedConfig, which ignores the allowlist and would make the escape hatch a silent no-op. CAVE_SSRF_ALLOWLIST opts loopback/private hosts back in (local model servers like Ollama; localhost as an entry covers 127.0.0.0/8 + ::1); metadata/link-local stay blocked in every mode. Provider traffic honours HTTPS_PROXY/NO_PROXY by default (#1001) — upstream_proxy: env|off|<url> / CAVE_UPSTREAM_PROXY — via ssrf.Config.Proxy, which validates IP-literal/localhost destinations before proxy selection and dials the (operator-configured) proxy address unguarded; ssrf.NewHTTPClient itself stays direct unless a caller sets Proxy, and a managed-mode Config carrying one is refused loudly (every request fails with ssrf.ErrProxyInManagedMode) rather than silently dialing direct. Adapters that pre-flight a resolved endpoint (bedrock, vertex) read the selector off the request context (providers.WithUpstreamProxy, published by gateway.Handler from the upstream transport) and use ssrf.ValidateURLNoResolve for proxied destinations: a proxy-only network has no outbound DNS, so resolving there failed the request before the proxy was ever consulted. ca_bundle / CAVE_CA_BUNDLE plus inherited SSL_CERT_FILE/REQUESTS_CA_BUNDLE/NODE_EXTRA_CA_CERTS append private roots for TLS inspection through shared/platform/cabundle (fail-closed parser shared with chhttp).
  • inbound token is consumed, never forwarded: CAVEMAN_AUTH_TOKEN gates non-loopback listens (a middleware token map, OIDC issuer or TLS client CA also makes one legal; provider routes still accept only the token, and without it Auth.closed refuses every provider request off loopback); standalone.Auth deletes the matching x-cave-api-key/Authorization header before Creds.Resolve so the shared token can never be forwarded to a provider or classified as a provider credential; a bearer that is not the token survives untouched (Claude OAuth, /chatgpt/). Authenticate runs BEFORE matchAdapter so the 401/404 split cannot be used to enumerate routes, and every 401 goes through Server.rejectUnauthorized, which counts cave_proxy_unauthorized_total and warns with the path and remote host only. Health and the no-op /caveman/keepalive beacon stay unauthenticated, /metrics too unless CAVEMAN_METRICS_TOKEN is set; the X-Caveman-Instance header on /health/live is published only on a loopback bind. A token on a LOOPBACK listener is honored too (the local caveman wrap path sends none, so runServe warns). Bedrock credentials then come from shared/platform/awscreds (env → web identity → container → IMDSv2), never from the request; a PARTIAL env pair fails closed instead of falling through to an ambient role, and the winning source is logged once.
  • middleware identity is server-side and per route: middleware.Config.Identify resolves an identity.Principal from the credential alone (bearer decides when present, else a verified client certificate); ServeHTTP's decode checks Principal.Allows(scope.Namespace) on EVERY scoped route, so a new route that skips decode skips authorization. The legacy token stays single_operator with every namespace; JWT and certificate principals may never be named single_operator. Token and hash comparisons are constant-time over every entry. A token map or TLS file that fails to reload keeps the previous one. Tests: identity/*_test.go (negative JWT and mTLS cases), middleware/identity_test.go.
  • Postgres middleware store keeps SQLite's single-writer semantics per authority: store.PostgresMiddleware serializes writers of one authority with a transaction-scoped advisory lock taken by Scope (then re-read), SaveScope, Revoke, PurgeBatch, Receipt and SaveOriginal; the sweep is one-replica (try-lock) and skips busy authorities and row-locked scopes. Counters are statement-level transition-table triggers striped by txid; a per-row trigger goes quadratic on bulk statements. Lock keys include current_schema(). Run the store suite against both backends with CAVEMAN_TEST_POSTGRES_URL; middleware_concurrency_test.go fails without the locks.
  • Auth scheme is preserved: a key from an inbound Authorization: Bearer keeps Scheme:"bearer" on the providers.Credential; Anthropic and Gemini forward bearer credentials as bearer credentials (Claude/Gemini OAuth breaks if remapped to an API-key header). BYOK env keys and inbound x-api-key keep provider API-key mapping. On a named compat mount the header follows the wire protocol of the path: /compat/<name>/v1/messages gets x-api-key plus a default anthropic-version, every other path gets Bearer. A real inbound Bearer stays Bearer on every path. OpenCode Go rejects Bearer on /v1/messages (401 Missing API key., 2026-09-03). The gateway env fallback puts the key in the header that the adapter emitted, so the upstream never gets two credentials.
  • fail-closed: unknown route → 404; unknown mode → record.
  • subscription AND oauth compression is NOT account-gated: non-PAYG sessions from Claude Code, Codex ChatGPT, Gemini CLI, and other routed clients take live-zone compression with no Caveman account, entitlement, or seat. CAVEMAN_WRAP_ENTITLED and every WrapEntitled field are deleted, not merely ignored — do not reintroduce them. Exactly four conditions remain, all technical and all fail-closed (liveZoneCompressionAllowed): the operator subscription_compress switch (empty/live_zone allow, off and any unknown value close it), the adapter must implement schema-aware PrefixStabilizer zones, recovery must run through the agent's own MCP caveman_retrieve, and a durable prefix cache must be wired. The dedicated Codex /chatgpt/responses route uses the OpenAI Responses stabilizer while preserving OAuth and ChatGPT-Account-ID headers; transformed 4xx responses retry once with exact original bytes. Legacy savings fields remain tokens-only — compression_tokens_before/after + estimated_engine_o200k, never booked compression dollars. New request-comparison and price-snapshot fields support separately labeled API equivalents in local stats; those values never enter subscription spend or legacy saved-dollar fields. LOCAL wrap only; managed gateway non-PAYG behavior is unchanged.
  • recovered bytes are never a compression candidate: a tool_result answering the agent's own caveman_retrieve is excluded by every adapter (providers.IsRecoveryToolName; anthropic keys off tool_use_id, OpenAI off tool_call_id/call_id, gemini off the functionResponse name). This is not an optimization — the replacement is a deterministic function of block content and is memoised in the prefix cache, so collecting a recovery result substitutes the SAME elision straight back in and the agent has no path to its own data at all. Measured 2026-08-06: the agent retrieved, reported "Same truncation", and re-read one file seven times. Regression test internal/gateway/recovery_exempt_test.go.
  • cache safety is byte-stable replacement: a compressed live-zone turn becomes prefix on next request, so same logical message must re-serialize to deterministically identical bytes every time. Replacement is pure function of segment content (deterministic compressor + content-hash CCR marker), held in durable replacement cache and re-substituted below cache floor; new compression stays live-zone-only. Cache miss/write failure forwards original bytes. Cross-turn stability covers anthropic, openai, azureopenai/openaicompat, and gemini through ExtractStabilizable; bedrock and vertex expose no compressible blocks and stay pass-through. Anthropic uses declared cache_control; OpenAI/Gemini use latest-user/latest-tool zones against implicit provider caches. Replacement cache is SQLite spend store and must retain journal_mode(WAL) + busy_timeout.
  • tool-schema annotation strip is DEFAULT OFF and separately opted in: toolschema_strip: annotations / CAVEMAN_TOOLSCHEMA_STRIP=annotations ("", off, and any unrecognized value all mean off, normalized in the config loader AND re-checked at the decision point). It is a SECOND gate ON TOP of the four liveZoneCompressionAllowed conditions, which it reuses rather than restates, plus a THIRD: the session ledger's freeze registry (ledger.LeverAllowed) — it never runs in record mode, under caveman.pass-through.v1, under a compiled Cave Build, or in a session whose harm tripwire has frozen it. S4 + CCR (the original catalog is stored before the rewritten bytes ship, disclosed as x-caveman-toolschema-recovery-handle and on the row's RecoveryHandle), promotable only under the local-wrap clause. It removes $schema/title/examples/deprecated ONLY inside schemas reached through input_schema/inputSchema/parameters and the JSON-Schema applicator allowlist — never from a tool envelope, annotations (whose title is the tool's display NAME), _meta, or a vendor extension. ExtractToolCatalog covers the anthropic-messages shape only; openai/gemini and count_tokens fail closed. It mints NOTHING: no tokens, no ratio, no dollars — the replay grid prices it. Its version is folded into the prefix-cache scope key so toggling it is a deliberate epoch rollover, not a silent partial cold write.
  • cache-breakpoint planner defaults to frontier in optimization modes: breakpoint_plan: off / CAVEMAN_BREAKPOINT_PLAN=off is explicit off; unrecognized values fail closed to off. Record, compress, and pixel modes still never run it. Provider-native cache optimizers for Anthropic, OpenAI, and Bedrock also default on when omitted, with explicit per-id false preserved. All remain capability-, auth-, endpoint-, economics-, and caller-marker-gated. Planner metadata is upstream-only and changes no model-visible bytes. It does not mint savings: cache-breakpoint-plan remains absent from cacheOptimizerIDs. OpenAI's arm hashes session id and never overwrites caller key; prefix-signature optimizer wins when already applied.
  • harm tripwire / session ledger: internal/gateway/ledger.go keys a bounded LRU (1024) on x-cave-session; no session header = no entry and the whole mechanism is inert. Every lever asks LeverAllowed before running. A lever active on request N earns a strike when request N+1's cache_creation_input_tokens exceeds BOTH an absolute floor (50k) AND 3x the session's baseline mean; 3 strikes freeze that lever for the session, one-way (never un-freezes), fail-open to pass-through. The baseline EXCLUDES calls already judged anomalous — a plain running mean folds each spike into the bar the next spike is measured against and goes blind to persistent regressions. Disclosure is x-caveman-tripwire: <lever>=frozen, and it appears from the request AFTER the one that tripped, because usage is only known once the response is already streaming. Thresholds are conservative by construction, pending replay-derived values.
  • pixel mode: S4 lossy text→PNG (pxpipe port). Default allowlist is claude-fable-5,gpt-5.6 via CAVE_PIXEL_MODELS; original request is always in CCR before transformed bytes are sent; savings stay inferred-only; any error is byte-identical pass-through.
  • mask what cannot be summarized in place; elide what can: nativeruntime.afterTool replaces an over-threshold tool output with a ccr:// pointer stub, but NOT when Engine.Detect classifies it as json, tabular, or log (logfmt + NDJSON) — the classes with a field grammar, which the elision engine compresses in place into rows plus stated invariants (all state=charged, status: delivered×18 attempted×17, wh-5000..wh-5059 all 60 present). Masking those first destroys every fact AND costs more: the agent sees no row, then recovery re-enters the FULL original through the recovery-exempt path — whole page + stub + an extra turn, strictly worse than no wrap. Measured 2026-08-08 on the shipped default (compress → native policy safe → profile full-safe → mask on): inventory-mismatch and webhook-delivery-gaps scored 0/6 with 27–97 recovery calls, while rate-limit-forensics scored 3/3 at ~35% cheaper for the sole reason that its pages sat under the threshold. Capture is unaffected (the object is still stored, recovery still available); only the replacement is skipped, and the size rule for still-maskable classes is unchanged. Fails toward masking: no classifier → mask, so the fallback is bounded context. Tests: mask_elidable_test.go.
  • boundary: this is public code — it must never import the managed-cloud lane. make check-boundaries enforces it.

See ../../CLAUDE.md (root)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.