Skip to content

feat(pr): require AI-assisted contribution disclosure - #203

Merged
xLagerFeuer merged 2 commits into
mainfrom
policy/ai-assessment-pr-disclosure
Nov 10, 2026
Merged

xLagerFeuer merged 2 commits into
mainfrom
policy/ai-assessment-pr-disclosure

Conversation

@xLagerFeuer

@xLagerFeuer xLagerFeuer commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Purpose

Make third-party maintainers and AI reviewers aware of how OpenSiro contributions are prepared, what has—and has not—been checked, and where responsibility for reviewing code lies.

Rule

Append the versioned AI-assisted contribution disclosure after the target repository's original, project-native PR template. Preserve all original required fields.

The disclosure states that:

  • each PR links to the current canonical Index assessment and an immutable assessment snapshot used for the contribution, with the assessment's reviewed_at date and assessed review_ref;
  • the technical analysis, changes, and reported checks are produced by AI agents informed by VSM assessments;
  • currently a human approves PR publication while monitoring the automated pipeline for errors, not claiming an independent manual technical review;
  • the contribution can contain mistakes and must be evaluated against the diff and evidence;
  • fully autonomous end-to-end publication is the future intended mode, not the current state.

Enforcement

  • Update the contribution/publication guidance for external Corrective and organization-fork PRs.
  • Require the rendered v2 disclosure exactly once, including consistent live/pinned assessment links, a valid date and a pinned source revision, at the end of an external PR description, in the existing read-only upstream_pr_handoff.py preflight.
  • Preserve the Ready-for-review default and all existing approval, licensing, and source-native format boundaries. No expanded publication rights.

Existing external PRs updated

The disclosure has been appended to each of the seven existing external PR descriptions without changing their original PR text:

Validation

  • python3 -m unittest discover -s tests — 630 tests passed.
  • Targeted test_upstream_pr_handoff.py — 24 tests passed.
  • git diff --check — clean.
  • Checked all 7 external PR descriptions for exact v2 disclosure, both assessment links, date, reviewed source SHA, and preserved native body.

Preserve each target repository's PR template while disclosing agent-led
technical work, the temporary human publication gate, and error risk.
Reject handoffs without the exact versioned disclosure.
Link the current Index assessment and the immutable snapshot used for
each external change; show reviewed_at and the assessed source revision.
Fail closed on missing or mismatched provenance in PR preflight.
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