Skip to content

Record accepted auto route and scoped Noema publication - #2632

Merged
seonghobae merged 3 commits into
mainfrom
seonghobae/accept-public-auto-adr-20261013
Oct 13, 2026
Merged

seonghobae merged 3 commits into
mainfrom
seonghobae/accept-public-auto-adr-20261013

Conversation

@seonghobae

@seonghobae seonghobae commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Record the accepted public auto review route after #2607 merged. Add a regression that binds ordinary Noema review to read-only PR metadata, then a fresh repository-scoped App write token only for publication. This exercises the restored normal review path without the unprovisioned premerge custody inputs.

Validation: 6 focused tests pass with fatal warnings; git diff --check passes. Central Noema repair #2631 passed 672 related tests (2 skipped). This PR's live current-head App review and approval remain to be observed, not inferred.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 49 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bc3f4c92-ee47-4c0d-9496-9f4cf9918749
📥 Commits

Reviewing files that changed from the base of the PR and between ce207e9 and fcebff6.

📒 Files selected for processing (1)
  • tests/test_noema_premerge_production_caller.py

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 441d5def-50d8-4797-a5f9-87a0f6c4e863
📥 Commits

Reviewing files that changed from the base of the PR and between 635c0f3 and ce207e9.

📒 Files selected for processing (1)
  • docs/adr/2026-10-11-public-personal-auto-authorization.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

ADR의 상태를 제안에서 승인으로 변경했습니다. 승인 날짜와 관련 병합 완료를 기록하고, 세션 지침과 런타임 앱 검토·승인의 근거를 구분했습니다.

Changes: ADR 승인 기록

Layer / File(s) Summary
승인 상태 및 근거 기록
docs/adr/2026-10-11-public-personal-auto-authorization.md
상태를 승인으로 변경하고 승인 날짜와 병합 완료를 기록했습니다. 요청된 엔드포인트와 모델은 명시적 세션 지침으로, 런타임 앱 검토와 승인은 별도의 승인 증거로 명시했습니다.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to ce207

The ADR update is ready to merge; no outstanding issue is evident for this documentation change.

Pre-merge checks · Passed 5
Passed Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 제목은 공개 auto 검토 라우팅 ADR의 승인 기록이라는 주요 변경을 설명합니다. Noema 범위도 변경 내용과 관련됩니다.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@seonghobae seonghobae changed the title Record accepted public auto review routing Record accepted auto route and scoped Noema publication Oct 13, 2026

@cwl-noema-review cwl-noema-review Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Noema LLM review

The ADR update is consistent, but the new regression test does not enforce the security-critical ordering it claims to cover: the read-only metadata refresh must occur before the repository-scoped write-token refresh. A workflow reordered to grant the write token first would still pass this test.

Reviewed changed lines

  • docs/adr/2026-10-11-public-personal-auto-authorization.md:5 (RIGHT): The status accurately records acceptance and preserves the separation between runtime App review and approval evidence.
  • tests/test_noema_premerge_production_caller.py:36 (RIGHT): The test identifies the read-only metadata refresh block, but does not record its position for comparison with publication.
  • tests/test_noema_premerge_production_caller.py:37 (RIGHT): The test identifies the repository-scoped publication block.
  • tests/test_noema_premerge_production_caller.py:40 (RIGHT): The only ordering assertion compares model preparation with publication; it omits the required metadata-before-publication ordering.

Adversarial validation

  • tests/test_noema_premerge_production_caller.py:40 (RIGHT) confirmed: The new test rejects a workflow that performs the read-only metadata refresh after the write-scoped publication refresh. — The assertions only require read permission in the metadata block, write permission in the publication block, and Prepare Noema model verdict before publication. No assertion compares the metadata step index with the publication step index, so the reordered workflow still satisfies all checks.
  • tests/test_noema_premerge_production_caller.py:38 (RIGHT) confirmed: The permission assertions alone guarantee that scope is read before write access is granted. — The blocks are independently extracted by name and checked only for their contained permission strings; their relative order is never validated.
  • Residual risk: A future workflow change could grant a repository-scoped write token before reading the pull request scope, while this regression test continues to pass.

Findings

  • [medium] tests/test_noema_premerge_production_caller.py:40 (RIGHT): Add an explicit assertion that the read-only metadata refresh occurs before the repository-scoped publication refresh. As written, moving metadata inspection after write-token issuance would not fail the test, leaving the intended least-privilege ordering unprotected.
  • Result: REQUEST_CHANGES
  • Head SHA: 3e0709caa57fa76e31c2dfee01f49980e68ab4bc
  • Reviewer credential: noema-review-github-app-refresh
  • Actor: cwl-noema-review[bot]

@cwl-noema-review cwl-noema-review Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Noema LLM review

Approve the bounded documentation and test changes. The ADR explicitly separates accepted routing authorization from runtime App review and approval. Static adversarial checks show that the new test rejects a metadata permission upgrade and publication reordered before the metadata refresh. No blocking defect is established by the supplied diff.

Reviewed changed lines

  • docs/adr/2026-10-11-public-personal-auto-authorization.md:5 (RIGHT): The accepted status is explicitly qualified: runtime App review and approval remain separate evidence. This preserves the distinction between authorizing the route and approving a pull request.
  • tests/test_noema_premerge_production_caller.py:36 (RIGHT): The permission check is limited to the named metadata step rather than searching the entire workflow. Removing that named step causes extraction to fail instead of allowing an unrelated read-permission declaration to satisfy the check.
  • tests/test_noema_premerge_production_caller.py:38 (RIGHT): The assertion rejects replacing the metadata step's sole read-permission declaration with write permission. It remains a textual check, not validation of parsed YAML or effective token permissions.
  • tests/test_noema_premerge_production_caller.py:40 (RIGHT): The relative-position assertion requires verdict preparation to precede the publication-token refresh.
  • tests/test_noema_premerge_production_caller.py:41 (RIGHT): The assertion independently requires the metadata refresh to precede the publication-token refresh. Together with line 40, it checks both prerequisites without asserting that preparation precedes metadata refresh.

Adversarial validation

  • tests/test_noema_premerge_production_caller.py:38 (RIGHT) falsified: The added test would silently accept changing the metadata step's sole pull-request permission from read to write. — Static evaluation of the added membership assertion yields false because the extracted metadata body no longer contains permission-pull-requests: read. The test therefore fails on this mutation.
  • tests/test_noema_premerge_production_caller.py:41 (RIGHT) falsified: The added test would silently accept minting the publication token before refreshing the metadata token. — The permission assertions can still succeed, but static evaluation makes the metadata step's source index greater than the publication step's index. The less-than assertion at this line is false, independently rejecting the ordering regression.
  • Residual risk: Validation was static; no tests were executed, and the referenced workflow was not supplied. These assertions do not establish effective repository scope, token freshness, or runtime App behavior. The ADR's stated merge date was not independently verified.

Findings

  • No blocking findings.
  • Result: APPROVE
  • Head SHA: fcebff624b0d8ed6091353fc88ea8db1785b33fd
  • Reviewer credential: noema-review-github-app-refresh
  • Actor: cwl-noema-review[bot]

@seonghobae
seonghobae merged commit 4e32b99 into main Oct 13, 2026
15 of 19 checks passed
@seonghobae
seonghobae deleted the seonghobae/accept-public-auto-adr-20261013 branch October 13, 2026 08:49
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