Skip to content

Instantly share code, notes, and snippets.

View allisonpaigemcentire's full-sized avatar

Allison McEntire allisonpaigemcentire

View GitHub Profile
@allisonpaigemcentire
allisonpaigemcentire / impressions-cache-loaders-AGENTS.md
Last active September 29, 2026 21:35
TYP-44224 sample (Cody): lean impressions-cache-loaders AGENTS.md + parent Children line for -vN bump (urbn/r15-services-customer#18808)

Impressions cache loaders

Deployable Spring Boot service that loads AlloyDB caches from Kafka (nav, inventory, sku-choice-mapping, customer location). Cx-wide: ../AGENTS.md. Related nav_snapshot BQ writer bump/flag: ../impressions-async/AGENTS.md.

Consumer group bumps (-vN)

When a flag-gated loader has been skip-and-acking under ff_cx_impressions_cache_loaders, its consumer group may already hold committed offsets. To let EARLIEST replay, abandon that group by suffixing -vN on the companion GROUP_ID. The canonical value is always the *ConsumerConfig companion constant — not this file.

Current (TYP-44224)

@allisonpaigemcentire
allisonpaigemcentire / make_accessible.py
Last active October 10, 2025 07:04
SwiftUI Accessibility Refactor Script
# make_accessible.py
import os
import sys
import re
from openai import OpenAI
INJECTION_PATTERNS = [
r"ignore.*instructions", r"disregard.*above", r"assistant.*role", r"user.*role",
r"only respond with", r"do not follow", r"system:.*", r"@role", r"::"
]