agentleFS
kindrat86kindrat86/agentmail/CLAUDE.md

agentmail

CLAUDE.md2 starsChanged 4 months agoMITView on GitHub

  • Reads credentials
  • In this repositoryOne other file it gives its agents.

The file

We found no rules to list in this file: it reads as prose or reference rather than instructions.

Files
CLAUDE.md

sanctionsai.dev — граблі та правила

Деплой

  • Fly.io, app = agentmail-api: flyctl deploy (без нових secrets)
  • fly.toml: autostop=suspend — критичний фікс, який РЕВЕРТНЕТЬСЯ, якщо деплоїти зі старим fly.toml. Перед деплоєм перевір, що suspend на місці

Критичні граблі

  • api.py = 836KB, всі manifests віддаються inline з нього — НІЯКОЇ хірургії api.py; статичний контент (glossary /learn/) — окремими файлами під served-префіксом
  • Stripe webhook (fix 2026-08-15, v521): stripe>=9 construct_event повертає StripeObject (без .get()) — handlers отримують plain dict через json.loads(payload) після верифікації підпису. Verified-but-ignored події = 200 (не 400), інакше Stripe ретраїть днями і спамить failure-емейли. _stripe_webhook тепер логить кожну подію.
  • Compliance-контент: тільки VETTED verbatim визначення + disclaimers; verbatim gate обовʼязковий, нічого не вигадувати
  • Dashboard фільтрує verify_* пінги; реальних відвідувачів історично ~0 — не інтерпретуй пінги як трафік
  • Owner-задача (не робити самому): ротація ключів sanctionsai
  • api.py.bak файли в репо — бекапи, не видаляти

Нові роути (DotCom Secrets audit 2026-07-26)

  • /playbook.pdf — лід-магніт (PDF, генерується scripts/build_playbook.py). /start обіцяв його з launch; welcome-лист тепер його доставляє.
  • /checkout/dev/bump — order-bump interstitial (Ch14). МАЄ матчиситись ДО префікс-роуту /checkout/, інакше префікс зловить dev/bump як план і 500не на відсутньому STRIPE ключі.
  • /upgrade — upsell Dev→Pro (Ch15), лінкається з post-purchase листа.
  • Tripwire /tripwire — CTA тепер env-driven: STRIPE_PAYMENT_LINK_TRIPWIRE → реальна Stripe кнопка, інакше робочий fallback (playbook + ручний invoice).
  • /subscribe більше не бреше email_sent:true — повертає реальний результат + email_configured.
  • Owner-only (див. OWNER_ACTIONS_DOTCOM_2026-07-26.md): RESEND_API_KEY, STRIPE_PAYMENT_LINK_TRIPWIRE, STRIPE_PRICE_BUMP_AUDIT.

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.