Hypothesis validation and closed-loop learning
Hypothesis validation and closed-loop learning.
"What will be is what survives the test."
/wyrd # Show current confidence state
/wyrd calibrate # Recalculate from rejection history
/wyrd test hypothesis.md # Validate hypothesis against codebase
/wyrd learn # Extract patterns from recent rejections
Wyrd (Old English: fate, destiny) reveals truth through testing.
/wyrd)grimoires/rune/wyrd.md## Wyrd State
| Effect | Base | Adjustment | Current |
|--------|------|------------|---------|
| Financial | 0.90 | -0.05 | 0.85 |
| Destructive | 0.90 | 0.00 | 0.90 |
| Standard | 0.85 | +0.05 | 0.90 |
| Local | 0.95 | 0.00 | 0.95 |
### Learning Metrics
- Total hypotheses: 47
- Validation rate: 78%
- Rejections this sprint: 2
/wyrd calibrate)grimoires/rune/rejections.mdgrimoires/rune/wyrd.md/wyrd learn)grimoires/rune/rejections.mdgrimoires/rune/patterns.mdPattern detected: 3 timing reductions for Financial effect
Average adjustment: 800ms → 520ms
Create taste entry? [y/n]
confidence = base_confidence + taste_adjustment + rejection_adjustment
Where:
- base_confidence: Effect-specific default
- Financial: 0.90
- Destructive: 0.90
- Standard: 0.85
- Local: 0.95
- taste_adjustment: +0.05 per Tier 2+ taste match
- rejection_adjustment:
- -0.05 per similar rejection in last 30 days
- -0.10 if same component rejected before
- Cap at -0.30
| Construct | Wyrd's Role |
|---|---|
| Sigil | Wyrd feeds rejection learnings → Sigil records as taste |
| Glyph | Wyrd provides confidence → Glyph shows in hypothesis |
| Rigor | Wyrd invokes Rigor during self-validation phase |
rules/wyrd/00-wyrd-core.md - Philosophyrules/wyrd/01-wyrd-hypothesis.md - Hypothesis formatrules/wyrd/02-wyrd-learning.md - Learning protocolrules/wyrd/03-wyrd-confidence.md - Confidence calculationrules/wyrd/08-wyrd-recalibration.md - Recalibration protocolrules/wyrd/04-wyrd-rejection-capture.md - Explicit rejection handlingrules/wyrd/05-wyrd-file-modification.md - Implicit edit detectionrules/wyrd/06-wyrd-change-analysis.md - Physics change analysisrules/wyrd/07-wyrd-pattern-detection.md - Pattern detection algorithm| File | Purpose |
|---|---|
grimoires/rune/wyrd.md |
Current confidence state |
grimoires/rune/rejections.md |
Rejection history (append-only) |
grimoires/rune/patterns.md |
Extracted patterns |
User Rejection ("n") ──┐
├──→ rejections.md ──→ Pattern Detection ──→ Tier Promotion
User Edit (implicit) ──┘
│
↓
3+ similar rejections
│
↓
patterns.md → taste.md (Tier 2)
After Glyph generates a file: