Skip to content

feat: automated data pipeline — crons, treasury health, product audit fixes - #219

Merged
danbuildss merged 5 commits into
mainfrom
claude/luca-aeon-skills-caygz-ybmgik
Jul 27, 2026
Merged

feat: automated data pipeline — crons, treasury health, product audit fixes#219
danbuildss merged 5 commits into
mainfrom
claude/luca-aeon-skills-caygz-ybmgik

Conversation

@danbuildss

Copy link
Copy Markdown
Owner

Summary

  • Treasury health auto-updaterefresh-all-verdicts cron now derives and writes treasury_health from real on-chain economics nightly. No more "Pending" forever.
  • index-observed-truth timeout fix — reduced batch from 50 → 10 wallets per run. Schedule updated to every 6 hours so all wallets still get covered daily.
  • Product audit fixes — contact email updated to dan@zettaai.co, all zetta.financezettaai.co, Luca terminal link live, billing page real, adminNotes stripped from static fallback, homepage wired to real Supabase data.
  • USD stablecoin pricing — Alchemy and Etherscan providers now price stablecoin transactions at 1:1 instead of returning undefined.
  • Auth fix — Gmail/X sign-in users can now link wallets and use the dashboard correctly.

What runs automatically after this merges

Time (UTC) Job What it does
01:00 daily sync-bankr Syncs agent metadata from Bankr/Dune
02:00, 08:00, 14:00, 20:00 index-observed-truth Indexes on-chain transactions (10 wallets per run)
03:00 daily refresh-books Rebuilds revenue/expenses for attributed agents
04:00 daily refresh-all-verdicts Rewrites Luca verdicts + treasury health from fresh books
06:00 daily anomaly-scan Detects anomalies in financial patterns
08:00 Mondays weekly-digest Weekly financial summary

Generated by Claude Code

claude added 3 commits July 27, 2026 15:48
… terminal

- homepage-data: wire real revenue from financial_snapshots, real GDP/expenses/net-income; default state zeros not stale hardcoded numbers
- luca/page: replace illustrative footer text with live terminal link (/dashboard/luca)
- developer/page: fix all zetta.finance → zettaai.co; remove "SDKs coming soon"
- embed/page, aeon-integration, erc-8004: domain fix zetta.finance → zettaai.co
- billing/page: replace silent redirect with real Free Tier plan page
- reports/page, settings/page: add mailto links (dan@zettaai.co)
- card-nav, all contact refs: update contact@zettaai.co → dan@zettaai.co
- registry/data.ts: strip all adminNotes (internal CRM notes, P3 data leak)
- page.tsx: nav dropdown copy fix; default state all zeros

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RjpGP3kYKnQuQAUoK6RZky
…l timeout

50 wallets processed sequentially exceeded Vercel's function timeout.
10 wallets per run completes in ~60s. Schedule every 6h to cover all wallets daily.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RjpGP3kYKnQuQAUoK6RZky
refresh-all-verdicts cron now derives and writes treasury_health alongside
the verdict text. Agents with real on-chain data get Stable/Active/Unverified/Inactive.
Agents with no data stay Pending. Runs daily at 04:00 UTC.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RjpGP3kYKnQuQAUoK6RZky
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zetta Ready Ready Preview, Comment Jul 27, 2026 4:56pm

Vercel kills functions at 60s by default. index-observed-truth and
refresh-books both process wallets sequentially and need up to 5 minutes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RjpGP3kYKnQuQAUoK6RZky
…n SeedAgent

- homepage-data: total_gdp_usd → total_revenue_usd, net_income_usd → total_net_income_usd
- data.ts: exclude adminNotes from SeedAgent type, inject null in AGENTS mapper

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RjpGP3kYKnQuQAUoK6RZky
@danbuildss
danbuildss merged commit 7aace4d into main Jul 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants