Skip to content

feat: P1 trust-score states + skill title SEO format#454

Open
itskai-dev wants to merge 1 commit intomainfrom
link/p1-trust-seo
Open

feat: P1 trust-score states + skill title SEO format#454
itskai-dev wants to merge 1 commit intomainfrom
link/p1-trust-seo

Conversation

@itskai-dev
Copy link
Copy Markdown
Collaborator

P1 Implementation (from Pixel handoff spec)

Implements process/task-1771432664683-pslf78h9j-handoff-spec.md.

1) Trust-score state model + priority logic

Implemented states and rendering rules:

  • known: finite numeric score 0-100 (clamped)
  • unverified: isVerified === false or missingVerificationPrereqs
  • unknown: score not present and no explicit unverified flags

Priority: known > unverified > unknown

2) Final copy + visual treatment

Added exact display strings from spec:

  • Trust score: {N}
  • Trust score: Not available yet + We’re still calculating this score.
  • Trust score: Unverified + Complete verification to receive a trust score.

Applied to:

  • src/app/agents/agents-page-client.tsx
  • src/app/agents/[handle]/page.tsx

3) Remove misleading silent 0 defaults

  • src/lib/server/agentProfiles.ts no longer coerces missing trust score to 0
  • Missing score now remains absent and can render unknown/unverified states correctly

4) Skill detail SEO title format

  • src/app/skills/[slug]/page.tsx metadata now uses:
    • {Skill Name} | forAgents.dev
    • fallback: Skill Details | forAgents.dev
  • Updated generateMetadata to async params handling for Next 16

Verification artifacts

Screenshots captured in process/:

  • agents-trust-known.png
  • agents-trust-unknown.png
  • agents-trust-unverified.png
  • agents-trust-states-full.png

Title proof:

  • curl http://localhost:3000/skills/agent-memory-kit<title>Agent Memory Kit | forAgents.dev</title>

Notes / ambiguity

Minor ambiguity in handoff around semantic token class names (bg-success-subtle, etc.) vs project utility classes. Implemented equivalent visual semantics using existing utility classes (emerald/amber/muted) to avoid introducing new token utility build config in this PR.

Part of task-1771432024242-cq9eaky1m

- Add trust states (known/unknown/unverified) with priority logic
- Remove silent trustScore=0 defaults from agent profile normalization
- Add explicit helper copy for unknown/unverified states
- Update agents directory cards to show state-specific badges
- Update agent detail trust display to same state model
- Skill metadata titles now use '{Skill Name} | forAgents.dev'
  with fallback 'Skill Details | forAgents.dev'
- Seed profiles updated to representative known/unknown/unverified states

Implements handoff spec: task-1771432664683-pslf78h9j
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 18, 2026

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

Project Deployment Actions Updated (UTC)
agent-hub Ready Ready Preview, Comment Feb 18, 2026 5:21pm

Request Review

@supabase
Copy link
Copy Markdown

supabase Bot commented Feb 18, 2026

This pull request has been ignored for the connected project oldbapagtyvkplbqllwa because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

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.

1 participant