feat(skills): add outcome hypothesis authoring - #2680
feat(skills): add outcome hypothesis authoring#2680Katrien De Graeve (katriendg) merged 44 commits into
Conversation
✨ - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c08e98f2-f1c8-4be5-9f0c-bf0cc0b073e8
- synchronize current upstream changes without rewriting history - add committed eval coverage and close final review findings - regenerate project-planning documentation and package projections ✨ - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c08e98f2-f1c8-4fde-8486-42b710625a89
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2680 +/- ##
==========================================
- Coverage 83.17% 82.91% -0.26%
==========================================
Files 180 181 +1
Lines 32201 32550 +349
Branches 25 25
==========================================
+ Hits 26782 26989 +207
- Misses 5416 5558 +142
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Bill Berry (WilliamBerryiii)
left a comment
There was a problem hiding this comment.
Thanks for this, Max Zeier (@zeier) — we really like this PR and would like to see it land.
The D1-D7 scorecard does something we do not do anywhere else: it makes a team prove they have the evidence before it lets them write a number down. The Investigate route is what gives that teeth. Two other things we noticed: the fabrication guardrails are stated three times independently, which is the right redundancy for a rule a model will otherwise soften; and the eval header count is a fix, not a regression — main declared 133 while actually holding 141.
We have left line comments on the individual files. Each carries a research prompt rather than a prescribed fix, so the plan and implementation stay yours. None are blockers. A fresh hve-builder review afterwards would be worth it, since several comments touch SKILL.md, the reference, and the template together.
Forewarning, not a request: we expect to give this skill a footing in the delivery lifecycle by wiring it into the handoff out of Design Thinking Method 4, augmenting that method with a little extra data-collection coaching. That work is ours to do as maintainers after this merges — nothing in this PR needs to change for it. The skill stays independently useful either way; direct /outcome-hypothesis invocation remains a first-class entry point.
One logistical note: Katrien De Graeve (@katriendg)'s #2682 touches nine of the same files, and two conflicts will auto-merge to the wrong value — you both shift the same three generated sidebar_position values by +1 when the second merge needs +2, and you both rewrite the eval suite header count. Re-running npm run docs:generate after whichever lands second sorts it out. Worth a rebase too; the branch is BEHIND main.
✨ - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
📝 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
✨ - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…is-skill # Conflicts: # .github/skills/project-planning/outcome-hypothesis/SKILL.md # docs/reference/skills/project-planning/outcome-hypothesis.md
- default to aggregate or cohort measurement - gate personal or sensitive individual metrics on Privacy Planner - add advisory behavior coverage 🔒 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…hypothesis-skill # Conflicts: # .github/skills/project-planning/outcome-hypothesis/SKILL.md # .github/skills/project-planning/outcome-hypothesis/references/readiness-and-validation.md
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> 🎯 - Generated by Copilot
…hesis-skill # Conflicts: # evals/behavior-conformance/skill-behavior.eval.yaml
🔀 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…is-skill # Conflicts: # .github/skills/project-planning/outcome-hypothesis/SKILL.md # .github/skills/project-planning/outcome-hypothesis/references/readiness-and-validation.md
🧭 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🤖 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…is-skill # Conflicts: # .github/skills/project-planning/outcome-hypothesis/SKILL.md
🧭 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
📊 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🧭 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ypothesis-skill # Conflicts: # .github/skills/project-planning/outcome-hypothesis/SKILL.md
🔗 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: def20591-5fdb-4d28-9dfd-f1665dc15a6b
🧭 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…come-hypothesis-skill # Conflicts: # .github/skills/project-planning/outcome-hypothesis/SKILL.md # evals/behavior-conformance/skill-behavior.eval.yaml
🔗 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 15ecd109-5d96-4e1a-84ce-94adf070d890
…come-hypothesis-skill # Conflicts: # .github/skills/project-planning/outcome-hypothesis/SKILL.md
- align create, assess, confidence, and status behavior - preserve validated BRD handoff provenance - strengthen behavior-conformance coverage 🛠️ - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1ff33ab5-09cd-408b-a976-d12f298750a3
- reconcile disclaimer and marketplace additions - preserve upstream and outcome behavior stimuli - regenerate reference documentation 🔀 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1ff33ab5-09cd-408b-a976-d12f298750a3
Thank you for the thorough and constructive review Bill Berry (@WilliamBerryiii), much appreciated! All review findings have been addressed through coordinated updates to the Outcome Hypothesis workflow, validation rules, templates, BRD handoff contract, and behavior-conformance coverage. Each review thread includes a reply describing its resolution. The threads remain unresolved, please verify the changes and resolve them when satisfied. Validation completed:
|
📝 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1ff33ab5-09cd-408b-a976-d12f298750a3
Katrien De Graeve (katriendg)
left a comment
There was a problem hiding this comment.
Approving though left a few comments. And because of plugin refactor, please review the Skill contributing guide to automate inclusion and generation of the right files and solve merge conflicts, see https://github.com/microsoft/hve-core/blob/main/docs/contributing/skills.md#plugin-manifest-registration
We would like this to land before #2682. Both PRs extend requirements-author, and this one is the upstream half of the lifecycle, so taking it first keeps the incoming-contract change and the outgoing-contract change in a sensible order. #2682 will pick up the reconciliation. I'll work on that integration once this one lands on main.
🔧 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
♻️ - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🧭 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…come-hypothesis-skill # Conflicts: # .github/skills/project-planning/outcome-hypothesis/SKILL.md
✅ - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1ff33ab5-09cd-408b-a976-d12f298750a3
✅ - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1ff33ab5-09cd-408b-a976-d12f298750a3
Addressed by adopting the aggregate |
Katrien De Graeve (katriendg)
left a comment
There was a problem hiding this comment.
Thank you for the additional changes, I believe all looks good and I will land my PR in follow-up.
Re-approving so you can merge. Thanks again!
🔀 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🔀 - Generated by Copilot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Katrien De Graeve (@katriendg), thank you again for the review and approval. I don't have merge permissions, could you please merge the PR for me? |
Katrien De Graeve (katriendg)
left a comment
There was a problem hiding this comment.
Thank you, reapproving and merging!
6f22d31
into
microsoft:main
Pull Request
Description
Adds a user-invocable
outcome-hypothesisskill for creating and assessing evidence-grounded, falsifiable predictions of measurable business outcomes.The skill scores D1-D7 readiness before drafting, routes requests to Ready, Provisional, or Investigate, validates outputs against OH.0-OH.12, and makes missing evidence explicit rather than inventing baselines, targets, owners, sources, stakeholders, or dates. It complements Design Thinking's user-centric perspective by articulating measurable business outcomes and enabling continuous optimization toward them.
The capability is registered in the
project-planningandhve-core-allpackages with generated reference, plugin, and extension projections.Related Issue(s)
Closes #2679
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
hve-builderand addressed all actionable findings.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md).github/hooks/*/*.json)evals/)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
User Request:
Execution Flow:
Output Artifacts:
The skill returns an inline outcome-hypothesis document with the readiness decision, expected outcomes, indicator table, outcome chain, measurement plan, assumptions, falsification criteria, validation result, and evidence gaps. It writes a Markdown file only after the user confirms a destination.
Success Indicators:
The user can see why the hypothesis is Ready, Provisional, or Investigate; every target is measurable and time-bound; leading and lagging indicators connect to the intervention and business outcome; unknown facts remain explicit gaps.
For detailed contribution requirements, see:
Testing
evals/behavior-conformance/skill-behavior.eval.yaml: knowledge, indirect tool trigger, and bleed detection. All four static eval gates passed; hosted model-backed execution remains CI-owned.npm run validate:docspassed 10 suites and 101 tests.npm run spell-checkpassed across 808 files.git diff --checkpassed.npm run lint:md-links, and thereforenpm run validate:local, remain unchecked because five external-link failures reproduce unchanged onupstream/main. The affected upstream files are.github/instructions/rai-planning/rai-license-posture.instructions.md,.github/skills/experimental/powerpoint/SKILL.md,.github/skills/experimental/video-to-gif/SECURITY.md,.github/skills/rai/rai-standards/references/eu-ai-act.md, and.github/skills/rai/rai-standards/SKILL.md. All outcome-hypothesis links pass targeted validation.Checklist
Required Checks
AI Artifact Contributions
hve-builderreview mode to review contributionhve-builderreviewRequired Local Checks
The following local-safe validation commands must pass before merging:
npm run validate:localnpm run validate:docsnpm run spell-checknpm run lint:md-linksSecurity Considerations
Additional Notes
This is an additive, documentation-only skill with no executable scripts, hooks, dependencies, workflow changes, lint configuration, security configuration, or devcontainer changes. Accordingly, the 15 unrelated category and security checkboxes remain unchecked as not applicable rather than being marked complete.
The skill is intentionally positioned before BRD/PRD authoring: it establishes the measurable outcome and evidence gaps that later requirements work can formalize. It requires no bash or PowerShell scripts because it has no executable runtime.