Skip to content

feat: add AI-assisted OSPS-QA-06.02 evaluation and config docs#326

Open
vinayada1 wants to merge 2 commits into
ossf:mainfrom
vinayada1:docs/ai-config-usage
Open

feat: add AI-assisted OSPS-QA-06.02 evaluation and config docs#326
vinayada1 wants to merge 2 commits into
ossf:mainfrom
vinayada1:docs/ai-config-usage

Conversation

@vinayada1
Copy link
Copy Markdown
Contributor

@vinayada1 vinayada1 commented May 21, 2026

Summary

This PR adds the first AI-assisted scanner evaluation for OSPS-QA-06.02 and documents how to configure and interpret the new behavior.

Changes in this branch:

  • add AI-assisted evaluation logic for OSPS-QA-06.02 in the OSPS quality steps
  • add focused tests for pass/fail, invalid responses, timeouts, provider errors, and partial AI configuration fallback
  • document AI-assisted configuration and usage in the README
  • add commented AI configuration examples to example-config.yml

Behavior

When AI is configured successfully, OSPS-QA-06.02 evaluates contributor-facing test execution guidance found in README and CONTRIBUTING content and returns a structured pass/fail result.

When AI is configured incorrectly, unavailable, times out, or returns an unusable response, the scanner falls back to the existing review-needed behavior instead of failing the run.

Review Guidance

This branch includes the implementation for #318 and the related documentation updates for #319 together.

Please review the implementation changes for #318 first, since the documentation updates in this branch describe the behavior introduced by that code.

Dependencies

This PR depends on the SDK AI foundation being available in privateer-sdk before the scanner branch can merge cleanly.

Related SDK work:

Issues

vinayada1 added 2 commits May 20, 2026 14:08
Signed-off-by: Vinaya Damle <vinayada1@users.noreply.github.com>
Signed-off-by: Vinaya Damle <vinayada1@users.noreply.github.com>
@vinayada1 vinayada1 requested a review from a team as a code owner May 21, 2026 17:04
@vinayada1 vinayada1 changed the title feat: add AI-assisted OSPS-QA-06.02 evaluation feat: add AI-assisted OSPS-QA-06.02 evaluation and config docs May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: document AI configuration and usage

1 participant