Conversation
The directory is other people's blogs. traffic_hourly says most of what reads them is machines and crawl_sales says what those machines paid, and none of that money had any route back to the people who wrote the posts. /sell is that route. Prove you own the site behind a feed we already index (DNS TXT or one file under /.well-known, both automated), pick topics, add a USDC address, and take a share. The rate starts at 20% and climbs 5 points per verified property and per niche to a cap of 80%, on the same ladder the public board shows, so nobody is quoted two different numbers. Attribution belongs here because only this side knows whose feeds are in the index: a verified domain is matched against the host of each feed's site_url, and a sale is shared pro-rata by items contributed, each at their own rate. The credit ref carries the partner id, so a settlement delivered twice pays once. It runs after the sale is booked and can never fail it. The module owns none of the auth: it asks who is here and we answer from the rsa_session cookie the rest of the site already uses. Without PARTNER_VERIFY_SECRET it does not construct, which is right (a guessable verification token pays the wrong person for someone else's writing) and must not take the site down, so /sell 404s until the secret is set. Verified against a local libSQL file, driving the real route handler: signed out gets the pitch and a redirect to /signin, apply lands on the dashboard, a property shows its real token, one verified property plus two topics reads 35%, a $20 sale splits to 700 cents and the same sale replayed adds nothing. The existing 382 tests still pass and the build carries /sell. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0144uEVbZK3jdaQkwcLYTXPE
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
The repo checks that a timestamped migration is not in the future, and 05:00 had not arrived when the file was written. A good guardrail: a migration dated ahead sorts before files that genuinely come later. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0144uEVbZK3jdaQkwcLYTXPE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The directory is other people's blogs.
traffic_hourlysays most of what reads them is machines, andcrawl_salesnow says what those machines paid. None of that money had any route back to the people who wrote the posts./sellis that route.What a publisher walks through
/sell, public, with the ladder and what they need./.well-known, both automated; there is no "email us" path.The rate starts at 20% and climbs 5 points per verified property and per niche to 80%, on the same
commissionLadderthe public board displays.Attribution
Only this side knows whose feeds are in the index, so the split lives here: a verified domain is matched against the host of each feed's
site_url, and a sale is shared pro-rata by items contributed, each partner at their own rate.The credit
refcarries the partner id, so a settlement delivered twice pays once. The split runs after the sale is booked and can never fail it, because the money has already moved.Two decisions worth reviewing
/sellinstead of crashing the site. The module will not construct withoutPARTNER_VERIFY_SECRET, which is right (a guessable verification token pays the wrong person for someone else's writing), but that must not take the directory down on a deploy where the variable was forgotten.OPEN_PATHS. Charging a crawler to read our own recruiting page would be an odd way to run a marketplace. The data itself stays paywalled.Verified against a local libSQL file, driving the real route handler
/signin?next=/sell/sell/[[...path]]PARTNER_VERIFY_SECRETis already set on therssamplifier.comservice and stored in therssamplifier-com--prodvault.🤖 Generated with Claude Code
https://claude.ai/code/session_0144uEVbZK3jdaQkwcLYTXPE