Commit Graph

441 Commits

Author SHA1 Message Date
martbost 0c9866699c Event pop-up: body text keeps its paragraph breaks
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 13:01:21 -05:00
martbost 731fce8c78 Webinar flyer for Tuesday September 29 (live training + open Q&A)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-28 16:56:29 -05:00
martbost 398bf14d4a who-gets-paid gate: handle the page in the page router, not the API section
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 15:35:10 -05:00
martbost 8a4871bf36 who-gets-paid is private: opens only from a link carrying the private key
The page and its payment-path data answer only to the rmc.priv cookie that a
?k=<privateToolsKey> link sets; everyone else gets the 404. The key lives in
the volume config (admin API), never in the repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 15:28:14 -05:00
martbost 1f906a161e docs: AI review prompt that fetches the contract from the public record
Same neutral questions as the pasted-source version, but the AI must pull the
verified source itself (Sourcify exact match, Blockscout, Polygonscan), report
where it got it and its verification status, and stop if it cannot fetch it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 12:37:56 -05:00
martbost 7527ba5026 docs: neutral AI review prompt for the RM Circle contract
Plain-text prompt plus the full verified source with line numbers, so anyone
can paste it into an AI of their choice and get an independent read of how
the contract works. Contains questions and scenarios, none of our conclusions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 12:28:16 -05:00
martbost 7bf34b33c2 who-gets-paid: unlisted (noindex, no canonical)
Marty: keep the page live but not findable. No page links to it; now search
engines are told not to index it either.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 10:52:49 -05:00
martbost f8bb84de1c who-gets-paid: buyer row names the level actually being bought
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 09:11:56 -05:00
martbost f27f2894d0 New public page /who-gets-paid: live upgrade payment path for any position
Marty: let anyone enter a position and watch who the contract pays when it
upgrades, so members can simulate helping someone. chain.paymentPath reads the
buyer and up to 16 matrix uplines live from the contract (not the snapshot) and
stops where _payUpline stops (root #1, empty, 16). GET /api/public/payment-path
is rate-limited like the member lookup, cached 60 s. The page walks the rule
from the buyer upward, one generation per step; the real next upgrade is
labelled, higher levels are what-ifs, and any passed-over upline gets a "what
if they did?" to give them the missing level or direct and re-run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 09:08:50 -05:00
martbost 687ecb7eb6 Dashboard: wallet funded status only for the verified owner
Manson via Marty: do not show whether a position's wallet can cover its next
upgrade to anyone but that position's owner. The member endpoint strips
nextStep.funded unless the request carries a verified session (owning-wallet
signature or verified Telegram app) for that exact ID; owner responses are
private, no-store so the shared cache never serves them to anyone else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 09:03:24 -05:00
martbost ed78aeb4a1 Positions tab: show 8 generations for everyone, nothing deeper
Marty: the earlier cap by level was not what he meant. Every position now
shows Gen 1-8 in the generations list, pyramid, list view and org bar. Gen 8
is labelled as pass-up only, since there is no 9th level to pay at.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 08:56:59 -05:00
martbost bfbd6a7a60 docs: fully annotated copy of the TRUSTCorona contract
Identical executable code to the verified Polygonscan source (330 lines,
checked by stripping comments from both); only comments added. Not served by
the site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 07:34:11 -05:00
martbost 1a06f50d9f Positions dashboard: show only the generations a position can be paid from
Marty: members were confused by generations far below them that their level
cannot reach. A position at level L catches upgrades from generations 1..L
(7 at most), so the pyramid, the list view, the generations list and the org
bar now stop there. Drilling into a card is only allowed where reachable
generations remain. Team size and qualified/earned totals are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 07:11:42 -05:00
martbost d6fdabdcba Positions dashboard: drop two caution lines and the Total received box
Manson's ask via Marty: remove "Upgrades are optional and self-paced..."
and "You stop wherever you like...", and hide the Total received fact.
The how-pay-works disclaimer and the tools-page objection answer stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 06:22:52 -05:00
martbost cd2d1d34aa How pay works: disclaimer says results are your own, not "most never do"
Marty: the old line read as a deterrent. Same substance (illustration, not a
promise; maximum only if every position fills and upgrades; POL moves; not
guaranteed), framed on the member's own effort instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 05:42:08 -05:00
martbost 1b41823745 Chain feed: four providers, 2000-block logs, a snapshot that cannot stall the tail
The live feed sat silent from 17:58 UTC on 24 September: seven hours of
registrations, upgrades and payouts unannounced. Two faults, one storm.

First, publicnode cut its getLogs range below the 9,000 blocks the tail asked
for ("invalid block range params"), so the tail failed on its own. Second, the
daily snapshot was due. It is ~3,600 calls; it failed part-way on publicnode's
per-IP limit (the site, the IAP app and the cron watchers all share core's one
IP), snapshotAt never advanced, and the next tick started it again from
scratch. Because the snapshot ran BEFORE the tail, every failing attempt also
stopped every live event. 1rpc, the only fallback, had exhausted its free
allowance. The retries were the storm that starved everything else on the IP,
the IAP burner included.

Now: chunk 2000 (measured on publicnode and tenderly), four providers rotated
per call instead of camping on the last one that worked (all four measured
from core; polygon-rpc.com, ankr, blastapi and blockpi refuse), the snapshot
paced at 200 ms per member so it stays under every limit, and a failed
snapshot backs off 30 minutes while the tail runs regardless. A snapshot can
be late; it can no longer make the feed lie by omission.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 20:06:28 -05:00
martbost 09e9d469dc Watch #220, and say who actually caught the money
Marty asked for a watchdog on position #220: tell him when they buy their
upgrade and whether Orlando's #30 gets paid.

The chain says it should. #220 sits at Apex with four uplines between them
and #30, and a level-6 upgrade skips exactly those four, so #30 is the first
candidate the contract tests and it passes both gates (level 5 > 4, three
directs). That is a prediction, though, and the watcher does not report
predictions: it reads MemberUpgraded and UplineRewarded off the logs and says
who was actually paid and how much. If somebody else catches it, it says so.

Tested by replaying real history (BACK=600 over a live #319 upgrade) on both
a wide-range endpoint and a chunked 50-block one, then the dedupe guard, then
two outage cases.

The outage cases mattered. A watchdog that dies quietly is worse than no
watchdog, because silence gets read as "nothing happened", so:

  - a failed scan never advances the block pointer; unread blocks are read
    on the next run rather than skipped
  - four consecutive failures sends a warning instead of going quiet, and
    both failure paths feed one counter. The first version only counted the
    log scan, so a total outage -- where even the block number is unreachable
    -- raised straight past the counter, and the one outage most worth
    shouting about was the one that would have stayed silent.

Also brings rmc-depth-watch.py into the repo. Both watchers existed only on
core, with no copy anywhere, so a rebuilt box lost them silently. The README
records the restore steps and which Polygon RPCs actually serve eth_getLogs
(publicnode and tenderly take 2000 blocks; drpc and 1rpc cap at 50; four
others refuse outright), measured from core rather than assumed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-24 16:25:27 -05:00
martbost 1555d4ef6f Announcement card: a notice can explain itself
The cancellation card could only say two lines, an eyebrow and a date label,
because the card has no prose field and the API never passed one. A notice needs
to say what happened and what comes next, so it now carries a body.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-24 12:46:25 -05:00
martbost 9ac2384e87 Announcement card doubles as a notice
Today's webinar was cancelled and the card had no way to say so: it required a
flyer to render at all, and it always drew a Join Google Meet button and the
calendar buttons, so the only shape it could take was an invitation.

It now renders without an image, and with no meetUrl it draws no Join button and
no calendar row. Never invite someone to a meeting that is not happening.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-24 12:45:19 -05:00
martbost 3b35afa944 Webinar flyer re-dated for Thursday 24 September
Same artwork and the same time list, which is still correct: the event keeps its
19:30 UTC start and no zone offset moves between the 22nd and the 24th (US DST
runs to 1 November, EU to 25 October). Only the date headline is redrawn, with
the background read from the rows either side of the old ink so the table glow
keeps its falloff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-24 06:50:10 -05:00
martbost a95633c6ca Day page: a past date with no activity is not found, and never written to disk
Probing any old date returned an empty page with a 200 and left a junk file
behind for it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-23 05:46:00 -05:00
martbost 4c6fb7bed2 A page per day: the whole contract, midnight to midnight
The daily snapshot outgrew Telegram. Past 1,000 members the post hit the
4,096-character limit and was rejected outright two mornings running, and
capping the lists to fit meant choosing what to throw away. Manson caught what
that cost: the level-up list was ordered by time, so the cap hid two Culmen and
thirteen Fabrica behind two dozen routine Ascensus upgrades.

/day/<date> now carries every climb, every payment with its Polygonscan link,
every new position and every recruiter, with no cap on any of it. Company-wide,
no team filter, keyed to the Central calendar day so a link posted on Monday
still shows Monday next year. Today is computed live; a finished day is written
to disk once, because the chain index only keeps a few hundred payouts and an
older day could never be rebuilt from it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-23 05:41:31 -05:00
martbost e6cdd77d17 Webinar flyer: correct the time list
The printed times contradicted the event's own start. Eastern and Central were
right, but Pacific was given as 1:30 PM when 12:30 PM is correct, Mountain was
missing entirely, Kenya sat an hour early beside South Africa, and Europe sat
three hours early beside Ghana. The block is redrawn as one zone per line, in
the flyer's own typeface, on the original artwork. New filename so nobody is
served the old one from cache on the day.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 08:50:04 -05:00
martbost 2c6b116e9a Add to Calendar: hand phones the .ics file instead of a Google link
On a phone the Google Calendar app claims calendar.google.com links and opens
its own home screen, dropping the event. The pop-up now offers one "Add to
Calendar" button that goes to the calendar file on iOS/Android (served inline
so the phone hands it to its calendar) and to the Google event editor on
desktop, with the other route as the second button either way. The .ics is
also folded to RFC 5545 line lengths so Outlook accepts it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 06:26:21 -05:00
martbost 9249ae6368 Member milestones: a celebration photo + caption to the proof channel, team feed and shared payments topic when the contract reaches 1,000 members (then 2,500 / 5,000 / 10,000), once per milestone; sendPhoto capability; admin preview route
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 04:50:56 -05:00
martbost d72248bacb SafePal is the preferred wallet: listed first with a Recommended tag in the picker, detected by flag/window.safepal, named first in the in-app notice, join error, chatbot answer and AI prompt
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-20 08:45:14 -05:00
martbost c3523bdac2 Webinar flyer for Tuesday, September 22 (event pop-up)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-20 06:40:08 -05:00
martbost f28804862b Training: two NAS zones (above the first video, above the Circle Method); CSP allows the NAS script and https images
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 16:41:25 -05:00
martbost c6e6acbdc5 PolHunter embed on /training, CSP allows polhunter.com
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 14:12:25 -05:00
martbost 9ad864c0ba join-click and admin: finish removing the queue calls (an idempotency guard skipped two edits)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 07:30:58 -05:00
martbost 7c8a43a055 Delete the rotation queue; sponsors.json stays as the member directory
Marty (2026-09-19): delete it if it no longer serves a purpose. The public link has run on the
chain walk since the mode flip and the queue's active head never received a join. Gone:
active/waiting/qualified statuses, normalizeStatuses, activeSponsor, publicSponsorPayload, the
increment/activate/qualify/reset actions, the click counter, the auto-count/auto-advance/
level-sync block, the legacy queue branches in current-sponsor and the submit-id classifier,
the chatbot's "placements waiting" facts, and the queue columns and buttons in admin. What stays
is a member directory (name, parent, level, notes, contact email) because the payout alerts and
the feed's name map read it. The chain walk is the only company rotation now.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 07:26:25 -05:00
martbost 4981b1a923 Retire the rotation queue's voice; team links pick the nearest open spot in their own leg
The queue's AUTO-ADVANCE post announced a rotation event this morning when a member had
built his own leg (the Triple Play). The queue stopped placing anyone when the public link
moved to the chain walk; what was left of it was three Telegram messages, a classifier that
called any join under a former queue member a "rotation join" and swept the newcomer into
the queue, and a preference inside the team-link picker for queue positions over the nearest
open one (15 members affected).

Verified offline over the full snapshot first: all 889 personal links already target the
member or a position inside their own subtree; the walk starts at the member's own children
and cannot leave the leg. Now: the three messages are gone (counters still update silently);
a join is a rotation join only if the company link could have produced it (the company link
always offers the shallowest open position, so a deeper referrer rules it out; 'invite-<id>'
submissions are leg joins outright); nothing is auto-added to the queue; and the team link
picks the nearest open position in the member's own leg, in tree order.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 06:50:32 -05:00
martbost 97ddea7e1e Training video: how your link places people
94 seconds on the two placement settings that shipped today, in Marty's
voice, on /training as a new card.

Covers what members will actually ask: what each setting does, that Team
rotation means their OWN downline and never the company rotation, that a
new member starts on their sponsor's setting so a team runs its leader's
play by default, that one click changes it and nobody is locked in, and
that changing it only affects new joins because placements are permanent
on-chain.

Ends on where to find it and the standard risk disclaimer.

Project: video-placement (tts.cjs -> build.py -> HyperFrames). Audio
loudness-normalised to a -18.8 dB mean, which is the target the earlier
videos landed on.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 16:35:52 -05:00
martbost b88218b1fb Add a Presentation item to the site nav
One click to the full team-build walkthrough from anywhere on the site.
Sits next to Training on the prospect-facing pages.

Deliberately NOT added in two places: the presentation page itself keeps
no nav at all, so a viewer is never offered a join route that bypasses
whoever invited them, and the invite page keeps its existing nav for the
same reason.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 16:21:17 -05:00
martbost 838e5bb2d0 Only the position's owner sees the placement switch
Marty asked where to find the setting, which surfaced the problem: /my/<id>
is a public page and the switch was rendering on it for every visitor. The
POST is wallet-gated so nobody could actually change someone else's
placement, but offering a stranger a control over another member's team is
wrong on its face.

It now stays hidden until /api/public/msg-me confirms the viewer has proved
with their wallet that the position is theirs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 15:49:44 -05:00
martbost da223c288b Remove the last three-state references from the spec
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 15:35:24 -05:00
martbost f99a777b71 Spec now describes what shipped: two settings, no leg locking
Marty's decisions, 18 September: two states rather than three, and no
ability for a leader to lock their leg. Also records the fix behind
Terry's original complaint — a personal link no longer falls through to
the company rotation.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 15:35:02 -05:00
martbost 07ab4cec79 Members choose how their link places people
Terry asked how a referral of his would be set up as "Direct with
spillover", and whether his team could follow suit. Two settings, on the
member's own dashboard:

  Team rotation — the join goes to the next position IN THEIR OWN TEAM
                  that still needs its 2
  Direct        — every join lands directly under them, as depth

A new position starts on whatever its SPONSOR was using at the moment it
joined, so a team duplicates its leader by default. That is a one-time
copy, not a live link: a sponsor changing their mind later never moves
anyone already in their team, and an explicit choice is never overwritten
from above. The panel says where an inherited setting came from, so nobody
discovers months later that their link was doing something they did not
pick.

Also closed the hole behind Terry's original complaint: a member's
personal link no longer falls through to the COMPANY rotation when their
leg is fully qualified. Team rotation means rotation inside their own
downline and nothing else — handing someone's referral to a position they
have never met was never the intent, and it is what offered Terry's
prospects #148.

The five positions already on directDefaultIds (21, 137, 139, 30, 840)
read as explicit Direct, so nothing changes for them. Everyone else stays
on Team rotation, which is what they have today.

qa/placement.mjs, 17 checks: defaults, choosing, inheritance from the
sponsor, explicit choices surviving a re-run, a sponsor switching not
moving their existing team, and persistence across a restart.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 13:54:14 -05:00
martbost 80461a948d Spec: member-selectable placement setting, with sponsor inheritance
Terry asked how a new referral of his would be set up as 'Direct with
spillover', and Marty asked whether a leader's choice should carry down to
their team. This writes up the answer for the three of them to agree on
before anything is built.

Three states — Team first, Direct, Follow my sponsor — with a new member
starting on whatever their sponsor uses, so a team duplicates its leader
by default without anyone being locked in.

The rule that needed pinning down: inherit from the SPONSOR, never the
matrix parent. Under spillover those are frequently different people, and
the setting should follow whoever recruited and teaches them rather than
whoever they happened to land beneath.

Also names the pitfalls rather than leaving them to be discovered — chiefly
that inherited Direct is a doctrine change, not just a setting, since it
reverses the team-first play for everyone below a leader who picks it.

Nothing built. Three open questions at the end need Marty's call.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 13:42:33 -05:00
martbost 5c34ab3305 Remove the duplicate-hunt instrumentation, keep the audit line
The verbose per-send logging did its job: it proved this process sends
each payout once, which is what pointed the search away from the deployed
app and at a second server running elsewhere with the same bot token.

Dropping the text dump. Keeping one line per send with the message_id
Telegram assigns — that is the line that made the second sender findable,
and a payment feed is worth being able to audit.

Confirmed fixed: the payout at 17:47 posted exactly once to each feed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 12:50:28 -05:00
martbost 5b2dcb943a Post each on-chain event once per feed, permanently
Marty is still seeing duplicate payment lines, and the instrumented log
finally showed enough to act on rather than keep hunting.

Two things were wrong.

The dedupe I added earlier keyed on message TEXT within 15 minutes, which
fails in both directions. The log caught it swallowing a legitimate post:
two different registrations generate identical "the team just grew" copy,
so the second one was suppressed as a duplicate. Meanwhile anything
carrying a different transaction link sails straight past it.

And it only ever lived in memory, so it could not help across a restart or
across the moment during a deploy when two containers are both alive and
both tailing the chain.

The key is now the on-chain event itself — type, transaction, the member
ids, the amount — recorded per destination chat in a file on the volume,
written before the request goes out. Same event, same feed, one post, no
matter how many times anything calls it or how many processes are running.
Distinct events are never confused, because the transaction hash is in the
key.

All four feeds carry it: team-build topic, recruit topic, proof channel,
shared payments topic.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 12:06:48 -05:00
martbost 096c12ab46 Fix scope bug that dropped the referral from the join button
The placement flag was declared inside the invited-visitor branch but read
further down when building the join button href, so it threw a
ReferenceError there. The display was right — the page named the inviter
correctly — but the button fell back to a bare /join-now, which is the one
place that actually matters.

Caught by walking the live paths rather than trusting the earlier pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 11:30:30 -05:00
martbost 8987451cf6 Carry the placement choice with the referral too
Auditing the rest of the prospect paths after Terry's leak. Every entry
point funnels through /join/<id> — the Telegram Mini App redirects there,
member page-builder pages link there, the public /my/<id> share panel
links there — so the cookie covers all of them.

One gap left: ?direct=1 is the inviter's explicit decision to take the
join under themselves rather than route it down their leg, and only the
id was being remembered. A prospect who opened a direct link and then
wandered through the nav came back through the moving link instead — the
opposite of what the shared link asked for.

The flag now rides along in its own cookie, and both /start and /join-now
prefer an explicit choice over the position's default.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 11:25:34 -05:00
martbost 2b36a29a68 Stop the invite being lost when a prospect clicks through the nav
Terry hit this: he shares /join/840, his prospect taps "Training" in the
nav, and by the time they reach /start the site has forgotten him and
offers the COMPANY rotation position — #148. His referral, handed to a
stranger, because the prospect read the training first.

The invite now outlives the page it landed on:

- Serving /join/<id> sets an rmc_ref cookie (30 days, Lax).
- /start reads it (or an explicit ?ref=) and shows the INVITER instead of
  the company rotation, routed by exactly the same rules the inviter's own
  page uses — direct placement if their position is set that way, else the
  next open spot in their leg. The two pages can no longer disagree.
- The Join button carries ?ref through to /join-now, which already knew how
  to place a ref correctly but was never being given one from here.
- /join-now also falls back to the cookie when it arrives with no ?ref.

The page now says whose team it is ("Invited by Member #840") rather than
an anonymous "current placement", and when the inviter is already
qualified it says plainly that the entry fills the next open spot in their
team.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 11:18:23 -05:00
martbost 25b3636352 Presentation page: drop 'at full participation'
Manson's third note, and a standing preference: the phrase reads as a
caveat about falling short rather than a description of the mechanism.

The sentence still says the numbers describe how the contract works
mechanically, and the next one still says they are not a projection, a
guarantee, or a typical result.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 11:04:36 -05:00
martbost 7f7732b441 Log the Telegram message_id we get back, to settle which copy is ours
RM Circle has one indexer, one sender, one proof-channel send site, and the
instrumented log shows it sending each payout exactly once. Yet duplicates
keep appearing in the channel, so a second sender with the same bot token
is posting the other copy.

Recording the message_id Telegram assigns makes the next occurrence
decisive: if both visible copies carry ids this process logged, it sent
twice; if only one does, the other sender is external and the id gap says
roughly when it posted.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 10:55:56 -05:00
martbost 90189aab6c Presentation page: drop the 'most people earn little or nothing' clause
Manson's second note. The sentence now reads 'Results depend entirely on
your own effort, your timing, and factors outside anyone's control.'

The paragraph still opens with 'This is not an income promise' and still
says the figures are not a projection, a guarantee, or a typical result.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 10:31:47 -05:00
martbost d85999535d Presentation page: lead the risk paragraph with 'There is no company'
Manson's note on the page. Dropping the opening sentence about buying
positions with crypto and leading with the no-company line puts the
strongest point first: nobody is holding the money. Everything that
sentence carried is still there — Polygon, volatility, irreversibility —
just folded into the sentences that follow.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 10:28:34 -05:00
martbost 653f4f94be Standalone presentation page: the video, subtitles, nothing else
Marty needs a link he can send that shows the full team-build presentation
without steering anyone toward a sponsor. So the page carries no header,
no navigation and no join button — whoever shared the link is the person
the viewer goes back to, and a single line under the player says exactly
that.

The player fills the first screen and the subtitle chips sit directly
under it, same as the training videos: English, Italian, French, Spanish,
German and Portuguese, off by default for an English reader and switched
on automatically for anyone who has already picked a language with the
globe button.

The disclaimers are complete but deliberately below the fold, per Marty's
ask — income language, crypto risk, irreversibility, no-advice — reachable
by scrolling rather than sitting on top of the video.

Served at /presentation and /webinar so either link works. noindex, since
it is a link to hand out rather than a page to rank.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 10:12:20 -05:00
martbost f18ef592fa Make announce-once survive a deploy, not just a restart
Instrumenting every send found the real shape of this: the live process
sends each payout exactly once, to each feed, with no duplicate to
suppress. So the second copy members were seeing never came from the
running container — it came from ANOTHER one.

During a deploy the outgoing container and the incoming one are both alive
for a moment, and both tail the chain. The announce-once record was held
in memory, so each had its own copy and each announced the same payout,
about a poll interval apart. That matches exactly what the proof channel
showed: identical lines a minute apart, and more of them today because I
deployed four times in half an hour.

The record now lives in its own small file, read fresh and written
atomically on every announcement, so whichever process gets there first is
visible to the other. It also closes the original hole, where the
announcement went out before the state recording it was flushed at the end
of a tick.

Events are a few an hour, so a small read and write per event costs
nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 10:02:14 -05:00