Skip to content

Instantly share code, notes, and snippets.

View IgorGanapolsky's full-sized avatar
💭
Mastering Python and AI

Igor Ganapolsky IgorGanapolsky

💭
Mastering Python and AI
View GitHub Profile
@IgorGanapolsky
IgorGanapolsky / n8n-34269-minimal-workaround.workflow.json
Created July 15, 2026 23:50
n8n #34269 production workaround: authenticated fail-closed GCS verification
{
"name": "GCS resumable upload - fail-closed verification workaround",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [-720, 0],
"id": "e5fd6958-6a52-49fa-b4e9-fb94fa74171f",
"name": "When clicking Test workflow"
@IgorGanapolsky
IgorGanapolsky / HERMES-MOBILE-LAUNCH.md
Created July 13, 2026 21:08
Hermes Mobile launch — approve AI agents from your phone (own Mac)

Hermes Mobile — phone remote for AI agents on YOUR Mac

Not another cloud agent. Control Cursor / Claude Code / Hermes gateway from your phone.

  • Free chat to your Mac gateway (Tailscale when off Wi‑Fi)
  • Leash: approve/deny dangerous tools from the couch (10 free approvals/week)
  • Keys stay on your machine

Install (Android live)

@IgorGanapolsky
IgorGanapolsky / hermes-mobile-privacy-policy.md
Created July 4, 2026 23:43
Hermes Mobile — Privacy Policy

Hermes Mobile Privacy Policy

Effective date: July 4, 2026

Hermes Mobile is published by Max Smith KDP LLC. Hermes Mobile lets you connect your phone to your own computer so you can monitor and control Hermes workflows from the mobile app.

Data We Collect

Hermes Mobile collects limited data needed to operate and improve the app:

@IgorGanapolsky
IgorGanapolsky / reliability_checklist.md
Created July 4, 2026 01:29
AI Agent Reliability Checklist — 12-point audit for production AI agents

AI Agent Reliability Checklist

The 12-point audit for teams running AI coding agents in production.


Why this exists

After 6 months of ThumbGate telemetry across Claude Code, Cursor, and Codex installations, we identified the 12 failure patterns that cause 94% of all agent incidents. This checklist helps you find them in your setup before they cost you money.

@IgorGanapolsky
IgorGanapolsky / gist_content.md
Created July 3, 2026 23:25
Stop Your AI Agent Before It Breaks Production — Pre-action gates for AI coding agents

Stop Your AI Agent Before It Breaks Production

The Problem

AI coding agents (Claude Code, Cursor, Codex) make the same categories of mistakes:

  1. Editing files outside task scope — agent "helpfully" refactors a file you didn't ask it to touch
  2. Hallucinating function signatures — calls a function with wrong params, breaks the build
  3. Making unauthorized changes — modifies config files, env vars, or deployment scripts without confirmation
  4. Ignoring instructions — skips test files, deletes comments, reformats code you told it not to touch
@IgorGanapolsky
IgorGanapolsky / 04-lead-magnet-stripe-connect-teardown.md
Created July 2, 2026 16:50
The 4 Stripe Connect failure modes that quietly cost marketplaces money — by Igor Ganapolsky (ThumbGate)

The 4 Stripe Connect failure modes that quietly cost marketplaces real money

A field teardown for anyone building split payments on a platform — and how to catch each one before it hits a real payout.

Most Stripe Connect integrations demo perfectly and then lose money in production, because the failure modes don't show up until real volume, real retries, and real disputes arrive. Here are the four I see most, ranked by blast radius, with the check that catches each one.

1. Non-idempotent charge creation → double charges on retry

A network blip makes your server retry a PaymentIntent/charge create. Without an Idempotency-Key, Stripe happily creates two. The customer is charged twice; you eat the refund and the dispute. Catch it: every create/capture call carries a stable idempotency key derived from your order id (not a random per-attempt UUID). Test it by firing the same request twice and asserting one charge.

@IgorGanapolsky
IgorGanapolsky / lipo-support.md
Created May 28, 2026 22:02
LipoShield — Support / Contact
@IgorGanapolsky
IgorGanapolsky / TERMS.md
Created May 28, 2026 21:43
LipoShield — Terms of Service

LipoShield — Terms of Service & End User License Agreement

Effective date: 2026-05-23 Last updated: 2026-05-23 Review status: Approved Approved by: Igor Ganapolsky Approval date: 2026-05-26

@IgorGanapolsky
IgorGanapolsky / PRIVACY.md
Last active June 4, 2026 15:35
LipoShield — Privacy Policy

LipoShield — Privacy Policy

Effective date: 2026-05-23 Last updated: 2026-06-04 Review status: Approved Approved by: Igor Ganapolsky Approval date: 2026-05-26

[
{
"id": "s1",
"name": "Dr. Fuhrman's LDL Biotect",
"category": "supplements",
"emoji": "💊",
"scientificInsight": "Contains aronia berry extract, phytosterols, and pomegranate, formulated to help protect LDL particles from oxidation.",
"doseRecommendation": "Use only as directed on the product label and review with a clinician if needed",
"tier": "recommended",
"packageLabel": "240 capsules",