Skip to content

fix(contract): close auth Origin audit gaps (#163) - #179

Merged
KalebCole merged 5 commits into
mainfrom
fix/163-auth-contract-final
Aug 11, 2026
Merged

KalebCole merged 5 commits into
mainfrom
fix/163-auth-contract-final

Conversation

@KalebCole

@KalebCole KalebCole commented Aug 11, 2026 •

Copy link
Copy Markdown
Owner

Proposes Remote API contract revision 2026-08-11.4 as the follow-up to the merged PR #178 audit. It records Origin uncertainty in the machine ledger, checks Origin header names case-insensitively across path-level and operation-level OpenAPI parameters, and scans the cited auth observation for unsupported Origin claims. The revision remains proposed pending the delegated Standards and Spec review. No live probe or private value was used. Targeted contract tests pass. Linked: #163.

Summary by CodeRabbit

  • Documentation

    • Updated the remote API contract and evidence records to revision 2026-08-11.4.
    • Clarified unresolved Firebase API-key Referer and Origin behavior.
    • Marked the latest evidence and API specification as proposed pending review.
  • Tests

    • Enhanced contract validation for citations, origin statements, parameter scopes, provenance, and unsafe-source exclusions.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: 7b842425-e150-41a6-9cd2-6b0842fe8c01
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@KalebCole, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 50 minutes

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

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b39f5c69-f066-48f2-bc46-b067d8d875ba

📥 Commits

Reviewing files that changed from the base of the PR and between f7ad834 and 3774bf5.

📒 Files selected for processing (5)
  • docs/REMOTE-API-CONTRACT.md
  • docs/research/2026-08-10-partiful-api-contract-evidence-ledger.md
  • spec/partiful.api-evidence.json
  • spec/partiful.openapi.json
  • tests/remote-api-contract.test.js
📝 Walkthrough

Walkthrough

Changes

Remote API contract evidence

Layer / File(s) Summary
Contract and evidence revision
docs/REMOTE-API-CONTRACT.md, docs/research/*, spec/partiful.api-evidence.json, spec/partiful.openapi.json
The remote API artifacts now use proposed revision 2026-08-11.4. The evidence records unresolved Firebase Referer coverage and Origin request facts.
Evidence validation updates
tests/remote-api-contract.test.js
Tests recursively inspect evidence and cited Markdown sources, support path-item and operation parameters, and enforce Firebase Referer provenance and the approved unresolved Origin statement.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: closing authentication Origin audit gaps in the remote API contract.
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.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/163-auth-contract-final

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.

@github-actions

github-actions Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.1

🚀 View preview at
https://KalebCole.github.io/partiful-cli/pr-preview/pr-179/

Built to branch gh-pages at 2026-08-11 16:50 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Ubuntu added 4 commits August 11, 2026 06:25
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 7b842425-e150-41a6-9cd2-6b0842fe8c01
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 7b842425-e150-41a6-9cd2-6b0842fe8c01
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 7b842425-e150-41a6-9cd2-6b0842fe8c01
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 7b842425-e150-41a6-9cd2-6b0842fe8c01
@KalebCole
KalebCole merged commit b2a55e6 into main Aug 11, 2026
2 checks passed
@KalebCole
KalebCole deleted the fix/163-auth-contract-final branch August 11, 2026 21:02
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