Commit Graph

459 Commits

Author SHA1 Message Date
martbost 2ba35dcc4e AI calls: reasoning off for the chatbot and translator (deepseek-v4-flash now thinks by default; chat answers came back empty)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 05:30:26 -05:00
martbost 83e882af8b Level Reach video + presentation Part four: correct the level rule in the narration
Scene 5 of "Your level is your reach" said "Stay one level ahead of your
deepest active layer", which overstates the rule by one. A qualified position
catches a payment when its level is at or above the level the buyer is
LEAVING, and layer N upgrades from level N. Scene 5 now says "Keep your level
at or above your deepest active layer". No other sentence conflicted with the
rule and no on-screen text carried the phrase.

Only scene 5 was re-voiced (Marty Normal Voice, same model and settings,
14.77 s vs 15.60 s, still ends before scene 6); all other audio and every
frame are unchanged (PSNR inf at all spot checks).

- /v/rmc-level-reach-a0d9258e71.mp4 (training Video 7): URL end card +
  music bed, same mix, 48 kHz, -17.9 dB mean (old -17.8 dB)
- /v/rmc-team-build-presentation-ce298d4742.mp4: only segment 09 rebuilt
  from the music-free URL-free render, re-joined, captions re-merged
- captions in en/it/fr/es/de/pt for both (hand translations where the site
  translator returned English)

Old files kept so existing links keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:01:01 -05:00
martbost 70c4106e07 Level rule wording: 'keep your level at or above your deepest active layer' everywhere (was 'one level ahead', which overstates it by one); chatbot canned answer included; cache tags bumped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 12:47:33 -05:00
martbost 714a93cfa8 Team-build overview + presentation: correct the catch-or-pass rule
The narration said a position catches a level payment only when it is
qualified AND "already at the level being bought", and told members to
"stay one level ahead of your team's deepest active layer". The contract
pays a qualified position (two directs) that is at or above the level the
buyer is LEAVING. Marty approved the replacement passage.

Only scene 4 was re-voiced (Marty Normal Voice, same model and settings);
every other scene keeps its original audio. The scene 4 on-screen checklist
and tip now say the same thing. Both videos re-rendered the way they were
first built: the overview with the rmcircle.team end card, the presentation
from the URL-free render spliced back into the original segments (only
segment 03 rebuilt, its cut moved by the 2.69 s the new scene adds).

New files beside the old ones (old links keep working):
  rmc-team-overview-db8a8e23af.mp4            4:54, 48 kHz
  rmc-team-build-presentation-f970ee64a9.mp4  19:02, 48 kHz
with captions in en/it/fr/es/de/pt; /training and /presentation point at them.
The placement video does not contain the passage and is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 11:34:29 -05:00
martbost 4fefbd2abb Flyer for the 2026-10-15 live webinar (event pop-up)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 09:19:13 -05:00
martbost 3f48f6848f Triple Play training video (2:40, Marty's voice) with captions in en/it/fr/es/de/pt on /training and /how-pay-works; four-person reality added to the page, chatbot and AI prompt; captions.mjs gains --dump/--tr-dir for hand translations while the site translator is down
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 17:37:00 -05:00
martbost 9c892d4b12 RPC breaker: bench only for health failures (request errors such as invalid block range move on without benching); drop the discontinued 1rpc.io provider
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-12 11:40:26 -05:00
martbost 7dc537ba1f RPC circuit breaker: bench a failing provider for 10 min, 4 s timeout on eth_call (cold member lookups were paying the 15 s timeout)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-11 18:21:29 -05:00
martbost e352a0c82e Objection bank + chatbot + AI prompt: "my direct upgraded to Fabrica but I was not paid" (depth-matched payouts, layer rows)
Verified on chain 2026-10-11 for #1857/#2064: the Fabrica upgrade paid the
second matrix upline (#1651), as _payUpline specifies.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-11 12:01:30 -05:00
martbost a5e14b1dbc Dashboard: 'Switch to this position' link when signed in as a different ID (Triple Play holders were pinned to the first wallet by the 30-day cookie); next sign-in forces the wallet account picker
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 13:32:19 -05:00
martbost 59ec48c346 Webinar flyer for Wednesday 2026-10-07 (Marty's "Don't take my word for it" artwork + times block)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 09:46:32 -05:00
martbost e859ba4653 Count Polygon RPC calls by method (DATA_DIR/rpc-count.json every 5 min) for a 24 h measurement
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 08:47:15 -05:00
martbost b43d3ba1af Placement switch: drop the cached member view on change and redraw fresh (Clinton #218 saw 'Team rotation' for up to 2 min after choosing Direct)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 12:57:12 -05:00
martbost 451bd50eb3 Member milestones no longer post to the team-build topic (it keeps discussion + daily snapshots only)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 20:43:21 -05:00
martbost 6c195c902b Join/submission alerts go to the private chat (config telegramPrivateChatId), not the team topic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 13:59:36 -05:00
martbost ce6f41ab8a team-reach: every position ID links to its My Position dashboard
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 14:22:24 -05:00
martbost 8f344bed9a team-reach: no earnings figures on the sheet (privacy)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 14:19:27 -05:00
martbost fbdeda68c6 Private pages served from private/ (who-gets-paid moved out of public/); new /team-reach training sheet behind the same key
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-29 14:00:59 -05:00
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