Skip to content

fix(b20): correct link_method for candidate wallet match#131

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

fix(b20): correct link_method for candidate wallet match#131
danbuildss merged 1 commit into
mainfrom
claude/luca-aeon-skills-caYGZ

Conversation

@danbuildss

Copy link
Copy Markdown
Owner

Summary

  • linkTokenToAgent case 3 (issuer wallet found in agent's wallet list, but not manifest-declared) was incorrectly setting method: "manifest" — making it look in the DB and UI like a confirmed manifest link when it is only a candidate match
  • Changed to method: "none" — the agent association is still captured via agentName + confidence: "candidate"
  • deriveManifestStatus was already correct: it gates "attributed" on confidence === "confirmed" AND method ∈ {manifest, known_token}, so no financial data was ever affected — only the link_method metadata label was wrong

Data integrity impact: None — financial attribution was never at risk. This is a labelling fix caught during the post-B20-V1 verification pass.

Test plan

  • Index a B20 token whose issuer wallet appears in an agent's wallet list but is not manifest-declared
  • Confirm link_method in DB is "none", link_confidence is "candidate", manifest_status is "candidate"
  • Confirm token profile page shows "Awaiting Manifest" status badge
  • Confirm b20-token-analysis skill returns manifest_status: "candidate" not "attributed" for this token

🤖 Generated with Claude Code

https://claude.ai/code/session_01RHDXdEbGQsn88zks713gye


Generated by Claude Code

…ToAgent

Case 3 (issuer wallet in agent wallet list but not manifest-declared) was
incorrectly setting method to "manifest". Changed to "none" — the agent link
is still captured via agentName/confidence:candidate. deriveManifestStatus
correctly returns "candidate" via the agentName null-check regardless.

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 7:35am

@danbuildss danbuildss merged commit ccbda0f 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