Repository navigation
docs: map provider origin identity boundaries (#2184) - #2185
Conversation
Problem: Polylogue had useful but scattered vocabulary notes for Provider, Origin, Source, parser binding, material source, capture mode, and archive refs. New issues from /tmp/ideas.md need one durable map so future import, provider-completeness, debt, and ref-resolution work does not collapse those coordinates into one source/provider string.\n\nWhat changed: add docs/provider-origin-identity.md with the classification table, current code invariants, and feature guidance for ImportExplain, provider completeness, archive debt, and ref resolution. Link the map from architecture docs and the generated docs surface.\n\nVerification: nix develop --command devtools verify --quick; nix develop --command devtools render all --check; nix develop --command devtools verify doc-commands; git diff --check.\n\nRef #2184
|
Warning Review limit reached
More reviews will be available in 47 minutes and 13 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?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 credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. 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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds ChangesProvider/Origin/Source Identity Documentation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 `@AGENTS.md`:
- Around line 691-694: In the AGENTS.md file, locate the markdown link reference
to provider-origin-identity.md near the end of the file description where it
mentions "Provider, Origin, and Source Identity Map". Update this link path from
provider-origin-identity.md to docs/provider-origin-identity.md to correctly
reference the file location in the docs directory since AGENTS.md is at the
repository root.
🪄 Autofix (Beta)
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: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 1dfc38ee-e571-48cb-96b8-e123ed7afbcf
📒 Files selected for processing (5)
AGENTS.mdREADME.mddevtools/docs_surface.pydocs/architecture.mddocs/provider-origin-identity.md
Problem: CodeRabbit found that the generated AGENTS.md copy of the architecture docs rendered a repo-root-relative link as a broken sibling path. What changed: Referenced the identity-map document as docs/provider-origin-identity.md in the source architecture doc and regenerated AGENTS.md. Verification: nix develop --command devtools render all --check; git diff --check. Ref #2184
Summary
Adds a durable Provider/Origin/Source identity map so import, query, read, debt, provider-package, and ref-resolution work have one vocabulary boundary to cite.
Problem
Polylogue had partial identity guidance in
provider_identity.py,core/sources.py, anddocs/architecture.md, but the guidance was fragmented. The issue-set extracted from/tmp/ideas.mdnow asks for ImportExplain, provider completeness, unified debt rows, and public ref resolution; those features need a precise map of which coordinate owns provider-wire family, public origin, material source, capture mode, parser binding, archive refs, provider-native ids, run/context/event refs, model metadata, and repo/workspace context.Solution
docs/provider-origin-identity.mdwith doctrine, a classification table, current code invariants, feature-specific guidance, cleanup opportunities, and non-goals.docs/architecture.mdand corrected its staleProviderfile reference topolylogue/core/enums.py.This is a map-first issue. It does not start a broad rename campaign, add compatibility aliases, or add tests that only prove old spellings are absent.
Verification
nix develop --command devtools verify --quick-> exit_code 0nix develop --command devtools render all --check-> sync OK, including docs-surface and agentsnix develop --command devtools verify doc-commands-> 82 doc files scanned, no stale commandsgit diff --check-> cleanCloses #2184
Summary by CodeRabbit