Repository navigation
docs(contract): propose event and contact read evidence (#164, #165) - #180
Conversation
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reached
Next review available in: 55 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 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe proposed remote API contract advances to revision ChangesRemote contract revision
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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. Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@spec/partiful.openapi.json`:
- Around line 2708-2715: Update spec/partiful.openapi.json so currentGuest is
required and uses only the exact CurrentGuest schema reference, removing the
permissive {} anyOf branch. Update tests/remote-api-contract.test.js to assert
both the required currentGuest field and its exact CurrentGuest reference.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: c66077f1-3a68-47e3-a25c-ccbfd47f8ad9
📒 Files selected for processing (10)
docs/CLI-PRODUCT-CONTRACT.mddocs/REMOTE-API-CONTRACT.mddocs/research/2026-08-10-contract-evidence-sources.mddocs/research/2026-08-10-partiful-api-contract-evidence-ledger.mddocs/research/2026-08-11-contacts-pagination-public-assets.mddocs/research/2026-08-11-event-contacts-read-observation.mdspec/partiful.api-evidence.jsonspec/partiful.openapi.jsonspec/research/read-evidence-redacted-20260811.jsontests/remote-api-contract.test.js
Co-authored-by: Copilot <[email protected]>
|
Independent review cycle 1 found 2 Standards and 2 Spec blockers. Required fixes: remove universal anonymous |
Co-authored-by: Copilot <[email protected]>
Review cycle 1 resolvedFixed in
The contract remains Validation: targeted contract/drift 36 passed; full non-live JS 292 passed; TypeScript typecheck, Go race tests, vet, build, module verification, diff check, repository PII guard, and focused strict privacy guard passed. One initial concurrent full-suite run timed out an unchanged skill test; its isolated retry and the serial full-suite rerun passed. |
|
Independent review cycle 2: two blockers remain. The proposal must leave the approved/shipped CLI product revision at |
Co-authored-by: Copilot <[email protected]>
|
Review cycle 2 blockers are fixed in
Validation: targeted contract/drift 36/36; full non-live JS 292/292 under Remaining gate: independent owner review and merge of proposed remote revision |
Co-authored-by: Copilot <[email protected]>
|
Final Spec blocker is fixed in
Validation passed: red/green focused test; targeted contract/drift 36/36; full non-live JS 292/292 under The proposal remains |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/research/2026-08-11-contacts-pagination-public-assets.md`:
- Line 148: Update the phrase in the list to “status or error-body mappings for
unsupported cases” so it clearly refers to mappings associated with unsupported
cases, not unsupported mappings.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: ac871eab-3d32-4ae5-a951-58edafeda359
📒 Files selected for processing (9)
docs/CLI-PRODUCT-CONTRACT.mddocs/REMOTE-API-CONTRACT.mddocs/research/2026-08-10-contract-evidence-sources.mddocs/research/2026-08-10-partiful-api-contract-evidence-ledger.mddocs/research/2026-08-11-contacts-pagination-public-assets.mddocs/research/2026-08-11-event-contacts-read-observation.mdspec/partiful.api-evidence.jsonspec/partiful.openapi.jsontests/remote-api-contract.test.js
🚧 Files skipped from review as they are similar to previous changes (3)
- docs/research/2026-08-10-contract-evidence-sources.md
- docs/REMOTE-API-CONTRACT.md
- spec/partiful.openapi.json
| - cursor lifetime, reuse, and invalid-cursor behavior; | ||
| - the backend ordering key and snapshot behavior; | ||
| - the behavior of `useAuthUser`; | ||
| - rate limiting and unsupported status or error-body mappings; and |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Clarify the unsupported-case mapping phrase.
unsupported status or error-body mappings is ambiguous. It can describe unsupported mappings instead of mappings for unsupported cases. Replace it with status or error-body mappings for unsupported cases.
Proposed wording
- - rate limiting and unsupported status or error-body mappings; and
+ - rate limiting and status or error-body mappings for unsupported cases; and📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - rate limiting and unsupported status or error-body mappings; and | |
| - rate limiting and status or error-body mappings for unsupported cases; and |
🧰 Tools
🪛 LanguageTool
[uncategorized] ~148-~148: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...ior; - the behavior of useAuthUser; - rate limiting and unsupported status or error-body ma...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/research/2026-08-11-contacts-pagination-public-assets.md` at line 148,
Update the phrase in the list to “status or error-body mappings for unsupported
cases” so it clearly refers to mappings associated with unsupported cases, not
unsupported mappings.
Source: Linters/SAST tools
Co-authored-by: Copilot <[email protected]> Copilot-Session: 7b842425-e150-41a6-9cd2-6b0842fe8c01
Summary
2026-08-11.5for the read evidence needed by Implement event reads in Go #164 and Implement contacts and private resolution in Go #165.proposed; it is not owner-reviewed.Exact evidence
Event and guest reads
result.data.upcomingEventsandresult.data.pastEvents, with 35 and 294 items.getEventInforeturned HTTP 200 for one selected readable event, including while signed out.NOT_FOUND.getCurrentGuestreturned HTTP 200 for the selected event.PERMISSION_DENIEDfor both the selected readable ID and a synthetic ID.Contact reads
nextCursorvalues; the terminal response omittednextCursor.getContactsreturned HTTP 401 withUNAUTHENTICATED.params/paging,maxResults: 1000, sequential cursor traversal, and local name filtering.Remaining unknowns and implementation gates
useAuthUser, rate limiting, future completeness, and duplicates outside the two traversals remain unknown. Local ambiguity behavior still needs synthetic fixture coverage during implementation.Privacy
The committed artifact contains only allowlisted HTTP metadata, normalized paths and types, counts, equality facts, and stable error codes. It contains no raw private values, credentials, identities, names, event IDs, contact details, phone numbers, email addresses, or tokens.
Validation
TZ=America/Los_Angeles npm test -- --run tests/remote-api-contract.test.js tests/drift.test.js— 34 passedTZ=America/Los_Angeles npm test -- --exclude='tests/*-integration.test.js' --exclude='tests/smoke-real-api.test.js'— 290 passed; no live tests runnpm run typecheck— passedgo test -race ./...— passedgo vet ./...— passedgo build ./...— passedgo mod verify— passedgit diff --check origin/main...HEAD— passedRelated to #164 and #165. Do not merge until independent review is complete.
Summary by CodeRabbit
Documentation
API Reference
Tests