Commit bd5b4a5
committed
feat(skills): skill marketplace v0 — sell + rate skills as units (bundle download + skill-as-a-service)
- ServiceOffer type=skill (spec.skill: name/version/sha256/bundleConfigMap, CEL
guard); controller validates bundle CM (existence/900KB cap/sha256 match) and
renders a restricted-PSS busybox httpd bundle server behind the standard
Middleware+HTTPRoute publish path; anti-spoof: upstream pinned to the
controller-rendered workload name
- 402 extra.skill {name,version,sha256} surfaced free pre-purchase (additive)
- obol sell skill (--from/--from-embedded, deterministic tar via
internal/skillpkg, warn-only secret scan, server-side CM apply, resume-ledger
bundle) + --as-service sugar over type=agent
- obol skills calldata set-hash|feedback (tag1=asr:skill, ERC-8239 PR#1704
interim tag2), reputation (getSummary + --raters whitelist), verify
(on-chain sha256 vs local bundle); operator submits, controller never signs
- hermes-skill-publish Role (namespace-scoped CM create/get/update/patch) gated
by new VAP rule: agent ConfigMap writes must be *-skill-bundle — hermes-config
untouchable; agent-side publish documented in sell/monetize-guide skills
- flows/flow-19-skill-sale.sh + docs/guides/skill-marketplace.md
- review: high (binary-corrupting buy.py download instructions) fixed in-flow;
post-review hand fixes: 63-char Service/label cap on workload names, VAP
ConfigMap guard, sell delete cleans bundle CM, secret-scan errors surfaced,
doc drift1 parent b76098e commit bd5b4a5
38 files changed
Lines changed: 8180 additions & 7 deletions
File tree
- cmd/obol
- docs/guides
- flows
- internal
- embed
- infrastructure/base/templates
- skills
- monetize-guide
- sell
- references
- erc8004
- monetizeapi
- serviceoffercontroller
- skillpkg
- x402
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
2811 | 2812 | | |
2812 | 2813 | | |
2813 | 2814 | | |
| 2815 | + | |
| 2816 | + | |
| 2817 | + | |
| 2818 | + | |
| 2819 | + | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
| 2827 | + | |
| 2828 | + | |
2814 | 2829 | | |
2815 | 2830 | | |
2816 | 2831 | | |
2817 | 2832 | | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
| 2838 | + | |
2818 | 2839 | | |
2819 | 2840 | | |
2820 | 2841 | | |
| |||
4793 | 4814 | | |
4794 | 4815 | | |
4795 | 4816 | | |
4796 | | - | |
| 4817 | + | |
| 4818 | + | |
| 4819 | + | |
| 4820 | + | |
4797 | 4821 | | |
4798 | 4822 | | |
4799 | 4823 | | |
| |||
0 commit comments