Skip to content

feat: prediction market endpoint — agent manifest milestone#136

Merged
danbuildss merged 1 commit into
mainfrom
claude/luca-aeon-skills-caYGZ
Jun 23, 2026
Merged

feat: prediction market endpoint — agent manifest milestone#136
danbuildss merged 1 commit into
mainfrom
claude/luca-aeon-skills-caYGZ

Conversation

@danbuildss

Copy link
Copy Markdown
Owner

What

Public endpoint tracking the prediction market question:

"Will 100 agents declare wallets via the Agent Wallet Manifest before August?"

GET /api/v1/predictions/agent-manifest-milestone

No auth required. Cached 5 minutes (s-maxage=300).

Response shape

{
  "question": "Will 100 agents declare wallets via the Agent Wallet Manifest before August?",
  "metric": "agents_with_manifest_declared_wallets",
  "current": 23,
  "target": 100,
  "deadline": "2026-08-01T00:00:00.000Z",
  "days_remaining": 39,
  "progress_pct": 23,
  "resolved": false,
  "resolution": null,
  "outcome": null,
  "trend": {
    "delta_7d": 4,
    "rate_per_day": 0.57,
    "projected_by_deadline": 45,
    "on_track": false
  },
  "context": {
    "total_agents_in_registry": 87,
    "manifest_attributed": 23,
    "discovered_not_manifest": 31,
    "unattributed": 33,
    "definition": "manifest_attributed = agent has ≥1 manifest-declared wallet of type eoa or treasury_contract",
    "manifest_guide": "https://www.zettaai.co/manifest"
  },
  "generated_at": "..."
}

Resolution logic

State resolved resolution
In progress false null
Target hit (≥ 100 agents) true "YES"
Deadline passed, target not hit true "NO"

Resolves YES the moment manifest_attributed_agents >= 100, even before August 1.

Implementation notes

  • Data source: getAttributionMetrics() — same source as attribution health dashboard
  • Trend: uses existing agent_gdp_history snapshots (attributed_agents field) — no new tables
  • manifest_attributed definition is strict: evidenceSource === manifest AND address_type ∈ {eoa, treasury_contract}
  • Deadline hardcoded: 2026-08-01T00:00:00.000Z

🤖 Generated with Claude Code

https://claude.ai/code/session_01RHDXdEbGQsn88zks713gye


Generated by Claude Code

GET /api/v1/predictions/agent-manifest-milestone

Public, no auth. Tracks: "Will 100 agents declare wallets via the
Agent Wallet Manifest before August?"

Returns current count, progress %, days remaining, resolution
(YES/NO when resolved), trend from GDP history snapshots (7d delta,
rate/day, projected count by deadline), and full context block.

Resolves YES when manifest_attributed_agents >= 100.
Resolves NO when deadline (2026-08-01T00:00:00.000Z) passes.
Cached 5 min (s-maxage=300).

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

vercel Bot commented Jun 23, 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 23, 2026 6:49pm

@danbuildss danbuildss merged commit eaa7bf5 into main Jun 23, 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