probabilistic-decision-core
Operational probability, calibration, and expected-value discipline for YURI OS decisions under uncertainty. Use when making or supporting a decision involving task priority, route selection, risk acceptance, opportunity ranking, forecast-backed planning, resource allocation, go/no-go judgment, escalation threshold, or postmortem calibration — e.g. '/yuri probability', '/probability', or '/pdc'.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- probabilistic-decision-core
- scope
- harness
- status
- active
- version
- 1.0.0
- requires
- [ "execution-domain-core", "non-destructive-infinity-guard", "failure-evolution-loop" ]
- triggers
- [ "/yuri probability", "/probability", "/pdc" ]
- invocation
- ability
- description
- Operational probability, calibration, and expected-value discipline for YURI OS decisions under uncertainty. Use when making or supporting a decision involving task priority, route selection, risk acceptance, opportunity ranking, forecast-backed planning, resource allocation, go/no-go judgment, escalation threshold, or postmortem calibration — e.g. '/yuri probability', '/probability', or '/pdc'.
- enterprise_ready
- true
- non_destructive_default
- true
03 SKILL.md 正文
Probabilistic Decision Core Skill
When to use
Use this skill when Yuri OS / YURI must make or support an operational decision under uncertainty:
- task priority
- route selection
- risk acceptance
- opportunity ranking
- forecast-backed planning
- resource allocation
- go / no-go judgment
- escalation threshold
- postmortem calibration
Also use it when the active task matches this operating principle:
Separate forecast, goal, plan, confidence, and cost of error before action. Update the estimate when evidence changes. Calibrate against outcomes after the decision resolves.
When not to use
Do not use this skill when:
- the task is deterministic and local evidence fully decides it
- the decision is identity-level, relationship-critical, or owner-only
- the only available estimate would be fake precision
- the action is high or critical risk and lacks owner approval
- the outcome cannot be observed later enough to calibrate
Operating doctrine
- Forecasts are not goals.
- Probability is a decision input, not a permission slip.
- Base rates come before local signals.
- Local signals must name direction and strength.
- Confidence describes evidence quality, not emotional certainty.
- Expected value must include cost of being wrong.
- High-impact irreversible actions require guard routing even when probability is favorable.
- Forecasts must be logged when the outcome can later be checked.
Required output shape
probabilistic_decision:
decision: string
outcome_being_estimated: string
time_horizon: string
base_rate:
estimate: number | unknown
source: string
confidence: low | medium | high
predictability:
factor_understanding: low | medium | high
data_available: none | weak | adequate | strong
future_similarity: low | medium | high
observer_effect: none | weak | material
verdict: low | medium | high
signals_for:
- signal: string
strength: weak | medium | strong
source: string
signals_against:
- signal: string
strength: weak | medium | strong
source: string
estimate:
probability: number | range | not_estimable
confidence: low | medium | high
rationale: string
decision_value:
upside: string
downside: string
cost_if_wrong: low | medium | high | critical
reversibility: low | medium | high
expected_value: negative | neutral | positive | unclear
action:
recommendation: proceed | defer | gather_more_evidence | escalate_to_owner | block
next_step: string
calibration_log_required: true | false
Execution steps
- Define the decision and the concrete outcome being estimated.
- Separate goal from forecast: name what Marcel wants and what seems likely.
- Check predictability before assigning a probability.
- Establish a base rate from local history, external evidence, or mark it
unknown. - Add local evidence as signals for and against, with strength.
- Estimate probability as a range unless evidence supports a point estimate.
- Evaluate expected value, reversibility, and cost of error.
- Select action: proceed, defer, gather evidence, escalate, or block.
- If the outcome is observable, append a calibration row to the active probability calibration log.
Probability bands
| Band | Use |
|---|---|
| 0-20% | unlikely |
| 20-40% | doubtful |
| 40-60% | uncertain / coin-flip zone |
| 60-80% | likely |
| 80-95% | strong likelihood |
| 95%+ | only for deterministic or heavily evidenced cases |
Calibration rules
- Prefer ranges for first-pass estimates.
- Do not use decimals unless produced by a real model or calculation.
- Mark
not_estimablewhen predictability is low and evidence is weak. - Score resolved binary forecasts with Brier score:
(forecast_probability - outcome)^2. - Review calibration in buckets: 20-40%, 40-60%, 60-80%, 80-95%.
- Treat overconfidence as a failure pattern and route repeated failures through
failure-evolution-loop.
Integration with Yuri operations
- Use before
execution-domain-corewhen uncertainty shapes the domain boundary. - Use before
non-destructive-infinity-guardwhen probability affects risk acceptance. - Use after
failure-evolution-loopwhen a wrong estimate caused bad routing, priority, or action. - Use alongside market intelligence, operational planning, research prioritization, and other work where outcome probabilities drive decisions.
Quantum-probability instrument (gate-passed 2026-06-11)
For ORDER-SENSITIVE or frame-dependent evidence, classical Bayes is provably blind to
sequence effects. The quantum-probability layer passed its falsification gate
(node _SYSTEM/Scripts/quantum-vs-bayes-benchmark.mjs → exit 0; 4/4 gates: machinery
exact, QQ-coincidence <1% under the classical family on Gallup order-effect data, no
spurious win on order-free control). Module: _SYSTEM/Scripts/quantum-hypothesis-tracker.mjs.
- WHEN: combining evidence whose framing/order changes the judgment (sequential advisor opinions, owner corrections after partial conclusions, poll-style A-then-B assessments). With commuting/compatible evidence it reduces EXACTLY to Bayes — use plain Bayes there.
- API:
stateVector,projector,hypothesisPosteriors(psi, hypotheses, evidenceSeq)(order-aware),qqEquality(the structural test),schmidtDecomposition(coupling test for "are these two variables genuinely entangled or independent"). - KNOWN LIMITS (recorded in the benchmark): 2D models force p(yy)/p(yn)=p(nn)/p(ny) per order — quantitative joint fits of heterogeneous populations need dim>2; the Clinton/Gore joint cells used by gates G2/G4 are literature-recalled and flagged OWNER-VERIFY; one real dataset so far (literature has 72 — extend when verified tables are available).
Research basis
- Forecasting practice should distinguish forecasts, goals, and plans; planning responds to forecasts and goals.
- Predictability depends on factor understanding, data availability, future similarity to the past, and whether forecasts affect the outcome.
- Distributional forecasts should be evaluated against outcomes, not just stated.
- Decision analysis should propagate uncertainty through alternatives instead of relying only on point estimates.
- Proper scoring rules such as Brier score reward honest probabilistic forecasts and support calibration review.
Sources:
- https://otexts.com/fpp3/planning.html
- https://otexts.com/fpp3/what-can-be-forecast.html
- https://otexts.com/fpp3/distaccuracy.html
- https://www.nist.gov/publications/incorporating-attribute-value-uncertainty-decision-analysis
- https://link.springer.com/article/10.1007/s10994-023-06336-7
Safety rules
- Do not let favorable probability bypass explicit owner approval.
- Do not convert owner preferences into forecasts.
- Do not treat model confidence as evidence confidence.
- Do not log personal, identity-level, or relationship-sensitive predictions unless explicitly requested.
- Do not write to protected state surfaces.
Success criteria
The skill succeeds when it produces:
- a clear decision recommendation
- separated forecast, goal, plan, and confidence
- explicit base rate or
unknown - named evidence for and against
- cost-of-error and reversibility assessment
- calibration log proposal when the outcome can be checked
Failure handling
If execution fails, return:
failure:
extension_id: "probabilistic-decision-core"
halt_reason: string
missing_inputs: []
unsafe_precision_risk: true | false
recommended_next_action: string
Session Notes
2026-06-16
- session: 183m | peak ctx: 0% | compacts: 0
- tools: Bash×400, Read×122, Edit×62, Write×19, WebSearch×19, Agent×10, WebFetch×8, ToolSearch×5, TodoWrite×4, ExitPlanMode×3, AskUserQuestion×2, Workflow×1, Skill×1
- corrections: none
- errors: none
2026-06-15
- session: 136m | peak ctx: 0% | compacts: 0
- tools: Bash×272, Read×67, Edit×26, WebSearch×19, Write×9, WebFetch×8, Agent×7, ToolSearch×5, ExitPlanMode×2, TodoWrite×2, AskUserQuestion×1, Workflow×1
- corrections: Base directory for this skill: /Users/marcelspatz/.claude/skills/cross-reference-navigation
Cross-Reference Navigation (XREF)
The GROUND step of the work loop, made reflexive. One question asked a | Base directory for this skill: /Users/marcelspatz/.claude/skills/quantum-hypothesis-simulation
Quantum Hypothesis Simulation
The quantum-probability layer for YURI's claim/pulse machinery. It mode | Base directory for this skill: /Users/marcelspatz/.claude/skills/cross-reference-navigation
Cross-Reference Navigation (XREF)
The GROUND step of the work loop, made reflexive. One question asked a
- errors: none
2026-06-11
- session: 50m | peak ctx: 100% | compacts: 8
- tools: Bash×66, Read×24, Edit×15, Write×14, WebFetch×7, WebSearch×3, TodoWrite×3, ToolSearch×2, Agent×1
- corrections: none
- errors: none
2026-05-16
- session: 41m | peak ctx: 0% | compacts: 0
- tools: Bash×44, Write×25, Edit×21, TodoWrite×6, Read×5, mcp×1, Skill×1
- corrections: Base directory for this skill: /Users/marcelspatz/.claude/skills/end-of-transmission
End of Transmission
Continuous background reflection engine for YURI. Runs two modes:
- Micro-EOT
- errors: none
2026-05-10
- tools used: web research, local file inspection, apply_patch
- corrections: none
- errors: none
- notes: Created as an operational decision layer for Yuri OS probability, uncertainty, expected value, and calibration discipline.
04 同仓库更多 Skills
zoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.
yuri-shura
6-perspective adversarial review for high-stakes turns (architecture decisions, refactor planning, deployment review) — fans out architect, adversary (7-vector attack), maintainer, ops, product, and security perspectives in parallel, then consolidates. Use when user says 'review this decision', '/shura', 'adversarial review', 'what could go wrong', 'architecture review', or 'deployment review'.
yuri-sales-intelligence
Unified sales and outreach skill generating cold outreach openers, social selling sequences, objection rebuttals, and ad creative for any paid platform — multi-persona aware, adapting tone and offer frame to buyer type. Use when user says 'write a cold email', 'outreach sequence', 'objection handling', 'ad copy', or 'sales pitch'.
yuri-code-intelligence
Unified code quality intelligence layer that diagnoses code smells (Long Method, Feature Envy, design pattern issues), prescribes targeted Fowler refactoring techniques, and reviews code for security, performance, and clarity. Use when user says 'review this code', 'refactor this', 'what's wrong with this method', 'code smells', or 'clean this up'.
yuri-adw
Invoke when user asks to run the ADW loop / agentic engineering loop / software factory workflow.
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment