Skip to content

feat: registry stats, bulk verdict refresh, live agent count#163

Merged
danbuildss merged 2 commits into
mainfrom
claude/luca-aeon-skills-caYGZ
Jun 29, 2026
Merged

feat: registry stats, bulk verdict refresh, live agent count#163
danbuildss merged 2 commits into
mainfrom
claude/luca-aeon-skills-caYGZ

Conversation

@danbuildss

Copy link
Copy Markdown
Owner

Summary

  • Registry Stats card in /luca-admin — live counts from Supabase on demand: total agents, breakdown by ecosystem and verification status, profile coverage % (X handle / website / ticker / verdict), agents refreshed this month
  • POST /api/admin/registry/refresh-all-verdicts — bulk verdict refresh endpoint; loops all agents with declared wallets, recomputes books + verdict from live data, writes back to Supabase. Supports dry_run: true. This is the endpoint Luca calls daily from Hermes.
  • GET /api/admin/registry/stats — raw stats endpoint backing the admin card
  • Public registry live badge — green dot + "N agents indexed" in the filter bar, count comes from Supabase

Luca integration

Luca (on Hermes) should call POST /api/admin/registry/refresh-all-verdicts daily with the admin Bearer token. Returns { succeeded, failed, total_eligible, results[] } so Luca can log or alert on failures.


Generated by Claude Code

…badge

- GET /api/admin/registry/stats — live counts from Supabase: total, by ecosystem,
  by verification status, by outreach, profile coverage (wallets/X/website/ticker/verdict)
- POST /api/admin/registry/refresh-all-verdicts — bulk verdict refresh for all
  agents with declared wallets; called by Luca on Hermes daily; supports dry_run
- Registry Stats card in /luca-admin: live numbers, profile coverage %, manual
  "Refresh All Verdicts" trigger with result summary
- Public registry filter bar: green live dot + "N agents indexed" label

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

vercel Bot commented Jun 29, 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 Jun 29, 2026 6:16am

Blocker 1 — analyze/revenue-audit truth mismatch:
- analyze now uses isBooksEligibleWallet (same gate as agent-books/revenue-audit)
  to determine wallets_verified and books_eligible_wallets count
- Previously: analyze used wallets.length > 0 + verificationStatus → could claim
  manifest-backed when evidenceSource or address_type was missing
- Now both endpoints agree: a wallet only counts if evidenceSource=manifest AND
  address_type in [eoa, treasury_contract]
- Wallet list in analyze response now includes books_eligible and ineligible_reason
  per wallet — transparent about why a wallet doesn't produce books

Blocker 2 — generate_report --force returns 500 on duplicate slug:
- saveReport now accepts { upsert: true } option
- force=true path uses upsert (onConflict: slug) instead of insert
- Non-force path unchanged — still returns existing=true without overwriting
- No more 500 on valid same-day rerun with force flag

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RjpGP3kYKnQuQAUoK6RZky
@danbuildss danbuildss merged commit 012eab8 into main Jun 29, 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