learning-systems

Record task outcomes and compute implicit feedback scores with confidence decay.

Updated Aug 30, 2024
One-click install
npx skills add https://github.com/minhtri2710/dotfiles --skill learning-systems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learning-systems
Source: https://github.com/minhtri2710/dotfiles/tree/main/dot_config/opencode/skill/learning-systems
Command: npx skills add https://github.com/minhtri2710/dotfiles --skill learning-systems

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The swarm plugin learns from task outcomes to improve decomposition quality over time using implicit feedback scoring, confidence decay, and pattern maturity progression.

Core Features & Use Cases

  • Implicit feedback scoring: Convert outcomes into learning signals.
  • Confidence decay: Weigh recent results more heavily.
  • Pattern maturity: Track and evolve decomposition patterns.

Quick Start

swarm_record_outcome({ bead_id: "bd-123.1", duration_ms: 180000, error_count: 0, retry_count: 0, success: true, files_touched: ["src/auth.ts"], strategy: "file-based" }) swarm_record_outcome({ bead_id: "bd-123.2", duration_ms: 120000, error_count: 1, retry_count: 1, success: false, files_touched: ["src/db.ts"] })

Frequently Asked Questions about learning-systems

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I score implicit feedback from task outcomes to improve swarm decomposition?

Implicit feedback scoring converts task outcomes—success rates, error counts, retry attempts, and execution duration—into learning signals that guide pattern maturity progression. Use swarm_record_outcome() to log bead results; the system weights recent outcomes more heavily via confidence decay to prioritize current performance over historical patterns.

What is confidence decay and how does it weight task results over time?

Confidence decay applies a half-life based mechanism that diminishes the influence of older task outcomes, ensuring recent results carry more weight in pattern evaluation. This prevents stale data from blocking pattern promotion or deprecation and keeps learning loops responsive to current swarm performance.

How do I track pattern maturity and know when to promote or deprecate a decomposition pattern?

Pattern maturity transitions are driven by aggregated implicit feedback scores across subtasks. The system monitors outcome recordings—duration, errors, retries, success flags—and automatically evaluates when patterns meet thresholds for promotion to production use or demotion when performance declines.

Can I use implicit feedback scoring to debug why a decomposition pattern isn't performing?

Yes. Record outcomes with files_touched and strategy metadata to identify which patterns and file-based strategies underperform. Implicit feedback signals reveal error patterns, retry clusters, and duration outliers, enabling targeted debugging of pattern decomposition quality.

What data should I record in swarm_record_outcome() to get meaningful learning signals?

Capture bead_id, duration_ms, error_count, retry_count, success flag, files_touched, and strategy to enable comprehensive implicit feedback scoring. Complete outcome recording ensures confidence decay, pattern maturity transitions, and anti-pattern inversion work accurately across your swarm learning loops.