Repository navigation
Add daily Responsible AI specification review with prepared background - #77468
Conversation
Prepare source-cited RAI background for recurring use and deliver the top three validated fixes through constrained draft pull requests. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
✅ PR Specification Reviewer completed successfully!
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
Critical security gaps allow agent-modified setup code to execute with host credentials and secret-flagged output to be published before human review.
6 open issues
Keep the rubric out of the published workflow-guidance directory · New Restore trusted setup-action sources before the post step · New Block publication when threat detection flags output · New Advance the feature cursor before agent execution · New Stage the report in an accepted upload directory · New Include the assessment in eval-visible safe-output fields · New
What changed in this PR
Adds a recurring Responsible AI review to gh-aw’s repository automation, examining one safe-output type or compiler threat rule per run using a prepared reference.
Changes:
- Adds the daily review workflow and its compiled GitHub Actions lock.
- Defines six-principle assessments, evidence requirements, analysis artifacts, and constrained draft-PR remediation.
- Refreshes workflow inventory and model-alias documentation.
| File | Description |
|---|---|
docs/src/content/docs/reference/model-tables.md |
Updates detection and evaluation alias documentation. |
docs/src/content/docs/agent-factory-status.mdx |
Refreshes workflow entries, names, and displayed schedules. |
.github/workflows/daily-rai-spec-review.md |
Defines feature rotation, review criteria, reporting, and bounded remediation. |
.github/workflows/daily-rai-spec-review.lock.yml |
Provides executable scheduling, sandbox, evaluation, and publication jobs. |
.github/aw/responsible-ai.md |
Supplies prepared principles, source provenance, and an evidence-and-risk rubric. |
Review effort: Max (dynamic)
| --- | ||
| description: Prepared Microsoft Responsible AI background and gh-aw-specific assessment rubric for recurring specification reviews. | ||
| --- |
| persist-credentials: false | ||
| - name: Setup Scripts | ||
| id: setup | ||
| uses: ./actions/setup |
| - name: Install locked JavaScript test dependencies | ||
| working-directory: actions/setup/js | ||
| run: npm ci --ignore-scripts --no-audit --no-fund | ||
| safe-outputs: |
|
|
||
| Read `/tmp/gh-aw/cache-memory/rai-spec-review/rotation.json`, whose only fields are `version` (exactly `1`) and `last_feature` (a key matching `^(safe-output:[a-z][a-z0-9_]*|compiler-threat:CTR-[0-9]{3})$`). Reject duplicate JSON keys, unknown fields, wrong types, oversized files (over 4 KiB), or invalid versions. A missing or invalid cache is a reported cold start, not a clean bill of health. | ||
|
|
||
| Select the first current key lexicographically greater than `last_feature`, wrapping to the first key when necessary. On a cold start, select the first key. This also handles a removed feature without relying on a stale index. Immediately persist the selected key in the same schema before investigation, including on later no-op, duplicate, or blocked outcomes. If cache persistence fails, report the error with `report_incomplete` and stop. Cache eviction may restart a cycle; do not claim uninterrupted coverage. If either source is missing, unreadable, or yields no features, use `report_incomplete` instead of silently narrowing the catalog. |
|
|
||
| ## 5. Preserve the analysis and deliver | ||
|
|
||
| Write `/tmp/gh-aw/agent/rai-spec-review.md` and upload it with `upload_artifact` on every completed review, including a no-finding or duplicate result. Use the same report to preserve partial evidence on a blocked run, explicitly marked incomplete. If upload fails, report that failure rather than claiming the analysis was preserved. |
|
|
||
| When there are validated changes, commit only the intended allowed files locally and call `create_pull_request` once with `title`, `body`, and the local `branch`. Do not push or create a PR through git, gh, or GitHub write APIs. The PR must summarize the selected feature, deduplication key, top findings and their RAI principles, fixes, regression evidence, remaining risks, and any blocked selected fixes. Include the six-principle assessment in collapsible details and link the run's analysis artifact. Use `###` or lower for headings in generated PR bodies. The PR remains a draft for human review; never merge it. | ||
|
|
||
| After a complete review with no novel actionable findings or only already covered findings, call `noop` with the selected feature and reason. Do not create a report-only or empty PR. If missing data, tooling, failed validation, or policy uncertainty blocks the requested work, use `report_incomplete` with the exact blocker rather than a success-shaped no-op. |
|
🎉 This pull request is included in a new release. Release: |


Why
Add a recurring, feature-scoped Responsible AI review of safe-output specifications and compiler threat rules, without making each run rediscover Microsoft's RAI framework.
Approach
The new workflow's compiled lock is included so GitHub Actions can execute it after merge;
exclude-lock-yml: trueapplies to the remediation PRs it creates. This is an engineering assessment framework, not a Microsoft compliance certification.Validation
make recompilesuccessfully compiled all 367 workflows.make agent-report-progressreached the repository-wide drift check; impacted Go tests were skipped because no Go files changed. The gate remains blocked by pre-existing drift in.github/workflows/ci-front-door-researcher.lock.yml. That unrelated file is unchanged in this PR.No workflow was dispatched.