Back to DevLog

Shipped: Auto-Invite System & Session Rules for MemStack Pro

2 min read

Just wrapped up a satisfying cleanup session across three repos that feels like the final touches before MemStack Pro is truly ready for prime time.

The Big Win: Smart Auto-Invites

The coolest improvement was parameterizing the Stripe webhook to auto-invite new Pro customers to both repositories they need access to. Instead of duplicating code, I built a clean inviteCollaborator(username, repo) function that handles both the main memstack-pro repo and the new memstack-skill-loader repo in parallel via Promise.all.

This means when someone upgrades to Pro, they instantly get access to both the core framework and the growing collection of 77 indexed skills. No manual work on my end, no waiting for customers.

Documentation That Actually Helps

I added a full MCP Skill Loader section to the getting started guide with proper setup, verification, and rebuild instructions. Nothing worse than paying for something and then struggling to figure out how to use it.

Also updated the free version's README to mention the skill loader as a Pro feature. Gotta make that value prop crystal clear.

A Small but Clever Rule

Here's something nerdy but useful: I created a session-start rule that automatically loads diary context when users reference prior work with phrases like "finish that task" or "continue where we left off."

I went with a rule instead of a skill because rules are always-on, while skills need keyword triggers. Sometimes the simple approach is the right approach.

Clean Slate

Everything's committed and pushed across all three repos. No hanging threads, no half-finished features. The webhook is ready to handle its first dual-repo invite, and I'm curious to see how the session-start rule performs in the wild.

Next up: monitoring those Stripe logs and maybe adding the skill loader repo name to the notification emails so customers know exactly what they're getting access to.

Feels good to ship something complete.

Share this post