summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-12 14:57:21 -0500
committerBen Sima <ben@bsima.me>2025-11-12 14:57:21 -0500
commit2e3d0626341291dd71a92ed58815616d4e276dca (patch)
tree34081302183e3097a1dd5ae27f8198a8f94e5f9e /AGENTS.md
parent92ddb4f3407e34fe8eb4b53abfdbc77f75a24bfe (diff)
Add complete Stripe billing integration to PodcastItLater
- Implement Biz.PodcastItLater.Billing with checkout sessions, billing portal, webhook handling - Add subscription database schema: plan_tier, stripe fields, period dates, stripe_events table - Three-tier pricing: free (10/month), personal (/month, 50 articles), pro (9/month, unlimited) - Usage tracking and enforcement with tier-based limits - Full billing UI with plan display, usage stats, pricing cards, upgrade buttons - Dashboard shows current tier with billing button - Update Web.nix with Stripe environment variables - Fix POST redirects to Stripe with 303 status code for CloudFront compatibility Amp-Thread-ID: https://ampcode.com/threads/T-c139e5b5-1901-4cd6-8030-5623bfe1df35 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md30
1 files changed, 27 insertions, 3 deletions
diff --git a/AGENTS.md b/AGENTS.md
index e1f35f5..b39c1a1 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -343,14 +343,38 @@ task ready
## Build and Test Commands
-Build the task manager:
+### bild
+
+`bild` is the universal build tool. It can build and test everything in the repo.
+
+Examples:
+```bash
+bild --test Omni/Bild.hs # Build and test a namespace
+bild --time 0 Omni/Cloud.nix # Build with no timeout
+bild --plan Omni/Test.hs # Analyze build without building
+```
+
+### run.sh
+
+`run.sh` is a convenience wrapper that builds (if needed) and runs a namespace.
+
+Examples:
```bash
-bild --time 0 Omni/Task.hs
+Omni/Ide/run.sh Omni/Task.hs # Build and run task manager
+Omni/Ide/run.sh Biz/PodcastItLater/Web.py # Build and run web server
```
+This script will:
+1. Check if the binary exists in `_/bin/`
+2. Build it if it doesn't exist (exits on build failure)
+3. Execute the binary with any additional arguments
+
+### Test Commands
+
Run tests:
```bash
-task test
+task test # Run task manager tests
+bild --test Omni/Task.hs # Build and test a namespace
```
## Integration with Git