Skip to content

feat: decentralized skill marketplace — publish, discover, rank, auto-adopt#158

Open
jimmy-claw wants to merge 2 commits into
masterfrom
jimmy/lmao-issue-140-20260415
Open

feat: decentralized skill marketplace — publish, discover, rank, auto-adopt#158
jimmy-claw wants to merge 2 commits into
masterfrom
jimmy/lmao-issue-140-20260415

Conversation

@jimmy-claw

Copy link
Copy Markdown
Owner

Summary

Implements the core infrastructure for a decentralized skill marketplace (#140):

  • Core types (logos-messaging-a2a-core/src/marketplace.rs): SkillRecord, SkillRating, TrustSet/TrustEntry, AutoAdoptConfig, SkillFeedback/FeedbackKind
  • Subjective trust model: Effective rank = weighted average of ratings from trusted agents only — no global authority, different agents end up with different installed skill sets
  • Auto-adopt logic: Configurable threshold + minimum trusted rating count, with candidates_for_adoption() to find eligible skills
  • Node operations (logos-messaging-a2a-node/src/marketplace.rs): publish_skill() (upload to Codex + announce), discover_skills() (drain marketplace topic), rate_skill() (broadcast rating), send_skill_feedback() (structured feedback to authors)
  • Wire protocol: New A2AEnvelope::SkillAnnouncement variant + SKILL_MARKETPLACE topic constant
  • 25 unit tests covering serialization, trust ranking math, adoption logic, and publish/discover roundtrip over InMemoryTransport

Test plan

  • All 25 new marketplace tests pass
  • Full cargo test --workspace passes (no regressions)
  • Manual integration test: publish skill from one node, discover from another over nwaku
  • Verify SkillAnnouncement envelope round-trips correctly on the wire

Fixes #140

🤖 Generated with Claude Code

jimmy-claw and others added 2 commits April 15, 2026 04:10
Add a dashboard UI plugin for logos-app that provides real-time monitoring
of LMAO agent status, metrics, and identity information.

Changes:
- Add lmao_get_metrics() and lmao_get_info() FFI functions to expose
  MetricsSnapshot and agent identity/topics via the C interface
- Create logos-dashboard-plugin/ with IComponent implementation:
  - DashboardComponent: plugin entry point with QQuickWidget
  - DashboardBackend: C++ bridge exposing FFI calls as Q_PROPERTY/Q_INVOKABLE
  - DashboardView.qml: dashboard with identity, topics, and 17 metric cards
  - MetricCard.qml: reusable metric display component
  - Dark theme consistent with logos-app styling
- Add unit tests for new FFI functions (metrics serialization, info structure)

Fixes #132

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…-adopt

Add skill marketplace infrastructure for LMAO agents (#140):

- Core types: SkillRecord, SkillRating, TrustSet, TrustEntry,
  AutoAdoptConfig, SkillFeedback, FeedbackKind
- Subjective trust model: weighted-average ranking from trusted peers
  only — no global authority, different agents get different skill sets
- Auto-adopt: configurable threshold + min-ratings gate with
  candidates_for_adoption() to find eligible skills
- Node methods: publish_skill() uploads to Codex + announces on
  marketplace topic, discover_skills() drains announcements,
  rate_skill() broadcasts ratings, send_skill_feedback() sends
  structured feedback to authors
- New A2AEnvelope::SkillAnnouncement variant for wire protocol
- New SKILL_MARKETPLACE topic constant
- 25 unit tests covering serialization, trust ranking, adoption
  logic, and publish/discover roundtrip over InMemoryTransport

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

feat: decentralized skill marketplace — publish, discover, rank, auto-adopt

1 participant