fix(agents): align RAI assessments with supplied materials - #2764
Open
okada-kai wants to merge 4 commits into
Open
fix(agents): align RAI assessments with supplied materials#2764okada-kai wants to merge 4 commits into
okada-kai wants to merge 4 commits into
Conversation
- route every entry mode through template-first preflight - persist template state for resume and recovery - validate preflight state fixtures 🔍 - Generated by Copilot Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- create one Mural widget for every supported content row - preserve rai-plan sources when no template is supplied - allow impact assessment structures to grow with evidence 🧩 - Generated by Copilot Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- use neutral assessment-focused report prose - exclude conversation and drafting narration from reports 📝 - Generated by Copilot Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Author
|
@microsoft-github-policy-service agree company="Microsoft" |
okada-kai
marked this pull request as ready for review
August 26, 2026 01:29
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2764 +/- ##
==========================================
+ Coverage 82.98% 83.07% +0.08%
==========================================
Files 183 171 -12
Lines 33787 33947 +160
Branches 25 0 -25
==========================================
+ Hits 28038 28200 +162
- Misses 5746 5747 +1
+ Partials 3 0 -3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Problems and fixes
project materials and optional templates, causing rework or missing evidence.
Fix: Phase 1 checks optional templates before project materials and
permitted evidence sources.
content to only part of the assessment. Fix: Supplied templates use a
stable-ID
assessment-content.mdprojection, and rows and widgets expandbeyond existing placeholders.
drafting, or tool narration that required cleanup. Fix: Generated
documents use assessment-focused prose and exclude process narration.
Related Issue(s)
None.
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:
document and Mural templates before project materials.
assessment-content.mdskeleton.rows or Mural widgets to existing placeholders.
rai-plan.mdand prepares only theoutputs produced by the assessment.
Output Artifacts:
.copilot-tracking/rai-plans/{project-slug}/rai-plan.mdcontaining thecanonical assessment findings, evidence, controls, decisions, and tradeoffs.
.copilot-tracking/rai-plans/{project-slug}/assessment-content.mdcontaining stable rendering IDs and the combined structure of every supplied
template.
Success Indicators:
rai-plan.md.assessment-content.mdis required before they are populated.Existing Mural widgets and anchors define layout only; the planner creates
one widget for every stable-ID content row.
## System Definition, A2 from### AI Component Inventory, and A3 from## Stakeholder Impact.narration.
For detailed contribution requirements, see:
Testing
All validation ran under Node.js 24:
npm run test:ps -- -TestPath scripts/tests/linting/Test-RaiStateSchema.Tests.ps1passed 7 of 7 tests.
npm run docs:generate:checknpm run plugin:validatenpm run validate:docsnpm run spell-checknpm run lint:md-linksnpm run lint:tablesnpm run lint:frontmatternpm run lint:ai-artifactsnpm run validate:skillsnpm run validate:localDiff review confirmed that Entry Modes and
suggestedDepthTierbehavior remainunchanged from the base branch and that placeholder/cardinality behavior is
contained in one commit. The HVE Builder behavior simulation passed with no
in-scope findings. Native Mural, WorkIQ, backlog, signing, and file-write
behavior was not exercised.
Checklist
Required Checks
The six-phase workflow and Entry Modes remain unchanged. The state schema now
requires persisted template-preflight records, so state created before this
change requires migration.
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
GHCP Artifact Maturity
Warning
This PR includes an experimental GHCP artifact that may have breaking changes.
.github/agents/rai-planning/rai-planner.agent.md.github/instructions/rai-planning/rai-identity.instructions.md.github/agents/rai-planning/rai-planner.agent.md.github/instructions/rai-planning/rai-identity.instructions.mdGHCP Maturity Acknowledgment
Additional Notes
The repository pull request template was preserved. Required AI artifact and
maturity acknowledgments are complete. Nothing has been pushed and no pull
request has been created.