@wowok/skills 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +4 -0
- package/dist/cli.js.map +1 -1
- package/dist/skills.d.ts.map +1 -1
- package/dist/skills.js +33 -0
- package/dist/skills.js.map +1 -1
- package/examples/MyShop/MyShop.md +67 -60
- package/package.json +5 -1
- package/scripts/install.js +4 -0
- package/wowok-arbitrator/APPENDIX.md +545 -0
- package/wowok-arbitrator/SKILL.md +15 -1
- package/wowok-auditor/APPENDIX.md +487 -0
- package/wowok-auditor/SKILL.md +110 -0
- package/wowok-guard/APPENDIX.md +428 -0
- package/wowok-guard/SKILL.md +15 -1
- package/wowok-machine/APPENDIX.md +407 -0
- package/wowok-machine/SKILL.md +13 -1
- package/wowok-messenger/APPENDIX.md +550 -0
- package/wowok-messenger/SKILL.md +17 -1
- package/wowok-onboard/APPENDIX.md +472 -0
- package/wowok-onboard/SKILL.md +65 -0
- package/wowok-order/APPENDIX.md +777 -0
- package/wowok-order/SKILL.md +132 -1
- package/wowok-output/APPENDIX.md +575 -0
- package/wowok-output/SKILL.md +12 -0
- package/wowok-planner/APPENDIX.md +700 -0
- package/wowok-planner/SKILL.md +73 -0
- package/wowok-provider/APPENDIX.md +425 -0
- package/wowok-provider/SKILL.md +48 -1
- package/wowok-safety/APPENDIX.md +561 -0
- package/wowok-safety/SKILL.md +12 -0
- package/wowok-scenario/APPENDIX.md +97 -0
- package/wowok-scenario/MODE-DETAILS.md +275 -0
- package/wowok-scenario/SKILL.md +252 -0
- package/wowok-tools/APPENDIX.md +388 -0
- package/wowok-tools/SKILL.md +30 -1
package/wowok-order/SKILL.md
CHANGED
|
@@ -291,6 +291,123 @@ Schema: `onchain_operations_order`. Builder-only operations: `order.transfer_to`
|
|
|
291
291
|
|
|
292
292
|
---
|
|
293
293
|
|
|
294
|
+
## Phase 3: Customer Intelligence (Optional Enhancement)
|
|
295
|
+
|
|
296
|
+
> **When to use**: When `customer_intelligence` runtime service is enabled (default ON), the MCP server automatically populates `semantic.customer_advice` in order/query operations. This is a layer ON TOP of E1-E10 — never a replacement for due diligence.
|
|
297
|
+
|
|
298
|
+
### Information Puzzle (6 dimensions)
|
|
299
|
+
|
|
300
|
+
E1-E10 captures static facts. The information puzzle assembles them into a dynamic, evolving picture that gets richer with every query:
|
|
301
|
+
|
|
302
|
+
| Dimension | Source | Fragments |
|
|
303
|
+
|-----------|--------|-----------|
|
|
304
|
+
| Service basics | E1 query | publish/pause/price/sales/WIP |
|
|
305
|
+
| Workflow structure | E3 machineNode2file | nodes/forwards/user-operable/refund path |
|
|
306
|
+
| Fund safety | E5 + E7 | allocators/compensation/price anomaly |
|
|
307
|
+
| Trust signals | E6 + E9 | arbitration/reviews/dispute rate |
|
|
308
|
+
| Merchant behavior | onchain_events | completion rate/trend/refund rate |
|
|
309
|
+
| Market context | batch query_toolkit | similar services/price distribution |
|
|
310
|
+
|
|
311
|
+
**Incremental collection**: Don't fetch all 6 every time. Browse = dim 1+6, Evaluate = +2/3/4, Preorder = +5, Monitoring = 2+5.
|
|
312
|
+
|
|
313
|
+
### Risk Scoring (4 dimensions, 100 points)
|
|
314
|
+
|
|
315
|
+
E1-E10 produces ⚠️/🔴 flags. Risk scoring converts them to a quantitative score:
|
|
316
|
+
|
|
317
|
+
| Dimension | Max | Key checks |
|
|
318
|
+
|-----------|-----|------------|
|
|
319
|
+
| Workflow | 35 | refund path / arbitration path / user-operable / dead ends |
|
|
320
|
+
| Fund | 25 | compensation coverage / allocator fairness / price anomaly / lock duration |
|
|
321
|
+
| Trust | 20 | arbitration independence / dispute rate / reputation / trust score |
|
|
322
|
+
| Behavior | 20 | completion trend / response time / refund rate / arb loss rate / anomalies |
|
|
323
|
+
|
|
324
|
+
**Levels**: 🟢 ≥85 low | 🟡 70-84 medium-low | 🟠 50-69 medium-high | 🔴 <50 high (advise against)
|
|
325
|
+
|
|
326
|
+
### User Preference Matching (7 dimensions, 100 points)
|
|
327
|
+
|
|
328
|
+
When the user has 3+ historical orders, the system infers preferences and scores each Service:
|
|
329
|
+
|
|
330
|
+
| Dimension | Max | What it measures |
|
|
331
|
+
|-----------|-----|------------------|
|
|
332
|
+
| Price | 25 | budget fit or market avg comparison |
|
|
333
|
+
| Time | 15 | cycle ≤ max_acceptable_cycle |
|
|
334
|
+
| Region | 10 | preferred_region match |
|
|
335
|
+
| Brand | 10 | min_order_history + merchant age |
|
|
336
|
+
| Bargain | 15 | reward/discount presence |
|
|
337
|
+
| Emotion | 10 | after_sales_expectation + transparency |
|
|
338
|
+
| Risk | 15 | risk_score ≥ min_trust_score + arb/comp requirements |
|
|
339
|
+
|
|
340
|
+
**Score ≥ 75** = strong match. **< 50** = significant mismatch. The `matches`/`mismatches` arrays explain the score so you can present tradeoffs to the user.
|
|
341
|
+
|
|
342
|
+
### Reminder System (6 stages, 4 priorities)
|
|
343
|
+
|
|
344
|
+
Reminders are populated in `semantic.customer_advice.reminders` based on the operation stage:
|
|
345
|
+
|
|
346
|
+
| Stage | When | Example reminders |
|
|
347
|
+
|-------|------|-------------------|
|
|
348
|
+
| browse | query_toolkit on Service | reviews summary / price anomaly / no arb / no comp |
|
|
349
|
+
| evaluate | deeper analysis | checklist / high risk (required) / ambiguous guard (required) / no refund path |
|
|
350
|
+
| preorder | order creation | payment confirm (required) / compensation insufficient / arb missing (required) |
|
|
351
|
+
| in_progress | order monitoring | progress stalled / compensation drop / messenger unanswered |
|
|
352
|
+
| complete | order done | review reminder / review window |
|
|
353
|
+
| after_sale | post-purchase | arb window / refund received |
|
|
354
|
+
|
|
355
|
+
**Priority order**: `required` (blocks purchase) > `recommended` (strong caution) > `info` (advisory) > `reminder` (timed nudge). Fatigue control: max 3 high-risk reminders per response.
|
|
356
|
+
|
|
357
|
+
### Game Strategy Quick Reference (8 scenarios)
|
|
358
|
+
|
|
359
|
+
When the user faces a specific negotiation, refer to the strategy matrix:
|
|
360
|
+
|
|
361
|
+
| Scenario | Merchant tactic | User strategy |
|
|
362
|
+
|----------|------------------|---------------|
|
|
363
|
+
| Info asymmetry | Hides Machine details | Demand machineNode2file export + Messenger Q&A |
|
|
364
|
+
| Fund safety | No/low compensation | Require 100% coverage + WTS agreement |
|
|
365
|
+
| Refund dispute | No refund path | Demand 100%→Order Allocator + Messenger terms |
|
|
366
|
+
| Arb fairness | Self-built arbitration | Verify arb owner via query_toolkit |
|
|
367
|
+
| Pricing | Price >120% market avg | Reference market_context.avg_price + request discount/Reward |
|
|
368
|
+
| Delivery SLA | No milestone nodes | Require milestone config + written timeline |
|
|
369
|
+
| Quality | WIP hash unverified | Require WIP verify + sample/staged delivery |
|
|
370
|
+
| After-sales | No Messenger | Require Messenger config + written after-sales terms |
|
|
371
|
+
|
|
372
|
+
**Red lines** (do not purchase): no arb + no refund path, OR compensation_ratio < 0.5.
|
|
373
|
+
|
|
374
|
+
### Industry Personalization (6 industries)
|
|
375
|
+
|
|
376
|
+
Each industry has specific risk checks and preference templates:
|
|
377
|
+
|
|
378
|
+
| Industry | Cycle (days) | Response (h) | Arb | Comp | Risk appetite | Delivery |
|
|
379
|
+
|----------|--------------|--------------|-----|------|---------------|----------|
|
|
380
|
+
| freelance | 30 | 4 | ✓ | ✓ | balanced | normal |
|
|
381
|
+
| rental | 7 | 8 | ✓ | ✓ | conservative | normal |
|
|
382
|
+
| education | 90 | 24 | ✓ | ✓ | conservative | flexible |
|
|
383
|
+
| travel | 14 | 2 | ✓ | ✓ | conservative | urgent |
|
|
384
|
+
| subscription | 30 | 24 | – | – | aggressive | normal |
|
|
385
|
+
| retail | 7 | 8 | ✓ | ✓ | balanced | normal |
|
|
386
|
+
|
|
387
|
+
**Industry-specific risks**: freelance checks WIP verified + milestone nodes; rental checks compensation coverage + lock duration; travel checks urgent delivery + Messenger; subscription checks no-lockin + user-operable; etc.
|
|
388
|
+
|
|
389
|
+
### Post-Purchase Support (4 phases)
|
|
390
|
+
|
|
391
|
+
When the order is in progress or completed, post-purchase support covers:
|
|
392
|
+
|
|
393
|
+
- **Refund tracking**: monitor refund Allocator triggers, check refunded vs order amount
|
|
394
|
+
- **Quality issue**: WIP hash mismatch detection + evidence collection (≥3 items recommended)
|
|
395
|
+
- **Merchant unreachable**: >3 days warning, >7 days arbitration advice (if available)
|
|
396
|
+
- **Arbitration support**: evidence collection → application template → progress monitoring → result interpretation
|
|
397
|
+
|
|
398
|
+
### Runtime Service Toggles
|
|
399
|
+
|
|
400
|
+
Use `config_operation` to toggle Phase 3 services at runtime:
|
|
401
|
+
|
|
402
|
+
| Service | Default | What it controls |
|
|
403
|
+
|---------|---------|------------------|
|
|
404
|
+
| `customer_intelligence` | ON | Populates `semantic.customer_advice` (reminders + risk + preference match) |
|
|
405
|
+
| `order_monitor` | OFF | Active order monitoring (Progress stall + compensation change + Messenger timeout) |
|
|
406
|
+
|
|
407
|
+
Toggle example: `config_operation` → `action: "toggle"`, `service: "order_monitor"` to enable active monitoring when the user has active orders.
|
|
408
|
+
|
|
409
|
+
---
|
|
410
|
+
|
|
294
411
|
## Quick Reference
|
|
295
412
|
|
|
296
413
|
Schemas: `schema_query({ action: "get", name: "<name>" })` for `onchain_operations_service`, `onchain_operations_order`, `onchain_operations_arbitration`, `messenger_operation`, `query_toolkit`, `onchain_table_data`, `wip_file`.
|
|
@@ -316,4 +433,18 @@ E1 (Service) ──→ E2 (Products/WIP)
|
|
|
316
433
|
2. **E3 no-refund + E6 no-arb** — no mechanism to recover funds. Single most important decision factor.
|
|
317
434
|
3. **E3 Forward with Guard** — "user-operable" is misleading if Guard blocks you. Verify requirements.
|
|
318
435
|
4. **E2 WIP hash mismatch** — seller altered claims post-publish. Red flag regardless of other factors.
|
|
319
|
-
5. **E9 High dispute rate** — >10% quantitative warning independent of structural analysis.
|
|
436
|
+
5. **E9 High dispute rate** — >10% quantitative warning independent of structural analysis.
|
|
437
|
+
6. **Phase 3 customer_advice** — when `customer_intelligence` is ON, read `semantic.customer_advice` first in every order/query response. The `reminders` array is pre-sorted by priority; `required` items block purchase.
|
|
438
|
+
|
|
439
|
+
---
|
|
440
|
+
|
|
441
|
+
## Appendices (Progressive Disclosure)
|
|
442
|
+
|
|
443
|
+
> The following sections have been extracted to [APPENDIX.md](./APPENDIX.md) for on-demand loading:
|
|
444
|
+
> - Dialogue Scripts (R1-R10) — guided conversation scripts
|
|
445
|
+
> - Decision Trees — branching logic reference
|
|
446
|
+
> - Failure Playbooks — recovery scenarios
|
|
447
|
+
> - Tier Layering — expertise-tier based guidance
|
|
448
|
+
> - Phase 3 Integration — information puzzle + risk scoring + preference matching + game strategy + post-purchase playbook
|
|
449
|
+
>
|
|
450
|
+
> Load APPENDIX.md when the user needs guided dialogue, recovery help, or tier-specific guidance.
|