Skip to content

Validate assessment report evidence claims (#131) - #307

Merged
sodejm merged 17 commits into
mainfrom
codex/issue-131-report-review
Oct 15, 2026
Merged

sodejm merged 17 commits into
mainfrom
codex/issue-131-report-review

Conversation

@sodejm

@sodejm sodejm commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Problem and change

Assessment reports could overstate coverage when evidence fell outside a live observation window, covered only some affected assets, or consisted only of scanner assertions. Saved reports could also present contradictory status, evidence-strength, provenance, and trust claims while passing schema validation.

This change validates report semantics at generation and re-import. Findings and coverage are bound to eligible per-asset evidence; gaps and source-authenticity limits remain visible; every ActionPlan is represented; and invalid result joins and attack-path dependencies are rejected. Saved partial findings require corresponding per-asset coverage and limitations. Executable acceptance scenarios, reporting guidance, and the threat model cover these cases. Reporting is an offline component of the larger engagement flow and makes no claim that a report hash proves authorization or source authenticity.

Validation

  • 113 focused reporting tests passed at the final local head.
  • The full pre-push gate passed at signed head 430e2840dc4914ad31e98603d25294e2bc2dae76, including Ruff, the full test suite, policy checks, and dependency auditing with no known vulnerabilities.
  • Hosted CI passed 18/18 checks at the exact signed head; all 15 review threads are resolved.

Refs #131

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T04:18:54.476635Z 430e284 New commits
🔒 Security Review ✅ Completed 2026-10-15T04:04:57.292144Z 8410e31 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 55474612d6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cops/reporting/assessment.py Outdated
Comment thread cops/reporting/assessment.py Outdated
Comment thread cops/reporting/assessment.py Outdated
Comment thread specs/engagement-findings-and-reporting.spec.md

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b6f8b62f19

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cops/contracts/validation.py
Comment thread cops/reporting/assessment.py
Comment thread cops/reporting/assessment.py

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eb8cad67af

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread specs/engagement-findings-and-reporting.spec.md
Comment thread cops/reporting/assessment.py Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 61132efaae

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cops/reporting/assessment.py Outdated
Comment thread cops/reporting/assessment.py Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f82c9815f5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cops/reporting/assessment.py
Comment thread cops/reporting/assessment.py
Comment thread cops/reporting/assessment.py
@sodejm

sodejm commented Oct 15, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@sodejm

sodejm commented Oct 15, 2026

Copy link
Copy Markdown
Owner Author

@codex security review

@sodejm

sodejm commented Oct 15, 2026

Copy link
Copy Markdown
Owner Author

Review-thread reconciliation for a316bc9:

  • Embedded findings are validated before scanner classification; saved report strength, evidence notices, and evidence references now have semantic checks.
  • Coverage binds to full canonical plan targets and the correct scenario; singleton CIDRs normalize to host identity, and scanner corroboration is per asset.
  • Result-less coverage cannot claim evidence, and multi-asset findings retain gaps for each asset.
  • The reporting threat model and executable Gherkin scenarios cover these rules and the remaining acceptance cases.

The 100 focused reporting tests, repository make check, and full push gate passed on this head. I am resolving the 14 threads from earlier commits as addressed; the fresh code and security reviews requested for this head remain in progress.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: a316bc9ecc

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a316bc9ecc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cops/reporting/assessment.py
# Conflicts:
#	cops/reporting/assessment.py
#	docs/ENGAGEMENT_REPORTING.md
#	specs/engagement-findings-and-reporting.spec.md
#	tests/step_defs/test_engagement_reporting_steps.py
#	tests/test_engagement_reporting.py
@sodejm

sodejm commented Oct 15, 2026

Copy link
Copy Markdown
Owner Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 8410e31cce

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@sodejm
sodejm merged commit 9e71209 into main Oct 15, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant