Skip to content

Instantly share code, notes, and snippets.

@aldrinleal
aldrinleal / mvp-740-followup.md
Created June 15, 2026 15:55
MVP-740 Feed-per-tags v1 — Coverage Confirmation (code audit, 2026-06-15)

MVP-740 — Feed per Tags, Algorithm v1 — Coverage Confirmation (Code Audit)

Companion to: MVP-782–789 follow-up · MVP-790 & 791 follow-up · original Algo Signal Upgrades gist Date: 2026-06-15 Question audited: "Confirm this also applies to MVP-740." Verdict: 🟢 MVP-740 is satisfied, and superseded, by the current implementation. The swipe/follow mechanics shipped under 784/787/788/790/791 are the v2 evolution of exactly this v1 feature. No new backend code required.

Original Ticket (as provided)

@aldrinleal
aldrinleal / mvp-790-791-followup.md
Last active June 15, 2026 13:54
MVP-790 & MVP-791 Follow-up Analysis & Ticket Status (code audit, 2026-06-15)

MVP-790 & MVP-791 — Follow-up Analysis & Ticket Status (Code Audit)

Companion to: MVP-782–789 follow-up · original Algo Signal Upgrades gist Date: 2026-06-15 (updated — MeSH floor implemented) Method: audited each ticket's acceptance criteria against sh-backend develop. Tests + the 4a floor fix added this pass.

TL;DR

@aldrinleal
aldrinleal / mvp-782-789-followup.md
Created June 15, 2026 12:08
MVP-782–789 Follow-up Analysis & Ticket Status (code audit, 2026-06-15)

MVP-782–789 — Follow-up Analysis & Ticket Status (Code Audit)

Follows up on: Algo Signal Upgrades gist Date: 2026-06-15 Method: direct audit of sh-backend develop against each ticket's acceptance criteria (file:line references below)

TL;DR

@aldrinleal
aldrinleal / 20260524-mvp-808-feed-preload-pagination.md
Created May 25, 2026 04:27
MVP-808: Feed Preload & Pagination Fix

MVP-808: Feed Preload & Pagination Fix

Goal: Faster perceived startup, fix broken Trending/Recent pagination, and add feed-cap recycling so the user never hits a dead end.


Root-cause audit (current state)

Why Trending/Recent never scroll past page 1

@aldrinleal
aldrinleal / mvp-804-cognito-custom-domain.md
Created May 24, 2026 18:42
MVP-804: Cognito Custom Auth Domain — implementation plan

MVP-804: Cognito Custom Auth Domain

Goal: Replace the auto-generated Cognito hosted UI URL (us-west-2gpfpyjsfg.auth.us-west-2.amazoncognito.com) shown in iOS OAuth dialogs with branded custom domains so users see:

"SherpaHealthy" Wants to Use "auth.sherpahealthy.com" to Sign In

Domain Mapping

@aldrinleal
aldrinleal / 20260516-getstream-reaction-dedup.md
Created May 16, 2026 06:23
GetStream reaction dedup via Postgres cache (sh-backend)

GetStream Reaction Dedup via Postgres Cache

Date: 2026-05-16
Branch: develop
Commit: c046d4ae


Problem

@aldrinleal
aldrinleal / 20260426-MVP-782-789-algo-signal-upgrades.md
Created April 26, 2026 14:00
MVP-782–789: Algo Signal Upgrades — sherpahealthy backend plan

MVP-782 · MVP-783 · MVP-784 · MVP-785 · MVP-786 · MVP-787 · MVP-788 · MVP-789 — Algo Signal Upgrades

Source: Confluence: Algo / FE / BE upgrades needed 4/18/2026
Date: 2026-04-26
Status: Implementation in progress

Decisions Locked

Question Decision
tag_unfollow weight −1.5 (softer than +2.0 follow — accidental unfollows shouldn't nuke affinity) — expressed as constant TAG_UNFOLLOW_DELTA
@aldrinleal
aldrinleal / 20260425-bot-crawler-seo-strategy.md
Created April 25, 2026 18:39
MVP-761: Bot, Crawler & SEO Protection Strategy for sherpahealthy.com

Bot, Crawler & SEO Protection Strategy

Ticket: MVP-761 — Lock down API to prevent IP theft
Date: 2026-04-25
Status: In Progress
Stakeholders: Engineering, Product, SEO


Problem Statement

@aldrinleal
aldrinleal / gpsdecoder.py
Last active July 29, 2017 10:06
pytrack gps decoder
class GPSDecoder:
def __init__(self, i2c=None):
if i2c is None:
from machine import I2C
i2c = I2C(0, mode=I2C.MASTER, pins=('G9', 'G8'))
self.i2c = i2c
self.buf = ""
self.clear()
def clear(self):
self.fixStatus = self.lat = self.lng = self.utcTime = None
@aldrinleal
aldrinleal / cowparade-belem.kml
Created August 24, 2016 12:24
Vacas do Cowparade Belem - Formato .kml
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns='http://www.opengis.net/kml/2.2'>
<Document>
<name>Roteiro Cowparade</name>
<Placemark>
<name>01 - Chitinha Cow</name>
<description><![CDATA[<img src="https://lh4.googleusercontent.com/proxy/A9T_ZLuZ7NVzkBWhoblPi-1tD6C00CCem-xnoX03K_QADmGMQ1Z-PSRoUFTsBWa-7WPWOeXDdXbEkG7NG0LVXwZra-Y" height="200" width="auto" /><br><br>Artista: ALEX GARCIA<br>Patrocínio: Extrafarma]]></description>
<styleUrl>#icon-503-DB4436</styleUrl>
<ExtendedData>
<Data name='gx_media_links'>