Repository navigation
docs: add import/maintenance entrypoint inventory (#861) - #908
Conversation
|
Warning Rate limit exceeded
To continue reviewing without waiting, purchase usage credits in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ 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.
Pull request overview
Adds an “entrypoint inventory” section to the ImportOperation contract module docstring to document which product surfaces (CLI ingest, daemon HTTP, live watcher, MCP maintenance) are intended to consume or adapt the contract, and where gaps remain.
Changes:
- Documented a classification of import/maintenance entrypoints as canonical vs adapter vs low-level vs not-yet-adapted.
- Added concrete references to current consumers (daemon HTTP handler, CLI ingest, library helpers) and known divergence points (MCP maintenance, live watcher cursor updates).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| Entrypoint inventory (which surfaces consume this contract): | ||
| - Canonical operation: ``ImportOperation`` consumed by daemon HTTP | ||
| ``_handle_ingest()`` and CLI ``polylogue ingest`` (#883, #902) |
| ``_handle_ingest()`` and CLI ``polylogue ingest`` (#883, #902) | ||
| - Adapter: CLI ``ingest_command`` adapts daemon response through | ||
| ``ImportOperation.from_dict()`` | ||
| - Low-level library: ``Polylogue.parse_file()`` / ``parse_sources()`` |
Adds the per-entrypoint inventory called for by #861's import and maintenance operation contracts. Without it, future PRs had to rediscover which surface owned which path: CLI ingest, daemon HTTP, the live watcher, and MCP maintenance each had different expectations. - `polylogue/operations/import_contracts.py` gains a per-entrypoint table classifying each path as CANONICAL, ADAPTER, LOW_LEVEL, or NOT_YET_ADAPTED so the typed `ImportOperation` contract from PR #883 has a published inventory of its consumers. Refs #861
Adds the per-entrypoint inventory called for by #861's import and maintenance operation contracts. Without it, future PRs had to rediscover which surface owned which path: CLI ingest, daemon HTTP, the live watcher, and MCP maintenance each had different expectations. - `polylogue/operations/import_contracts.py` gains a per-entrypoint table classifying each path as CANONICAL, ADAPTER, LOW_LEVEL, or NOT_YET_ADAPTED so the typed `ImportOperation` contract from PR #883 has a published inventory of its consumers. Refs #861
Entrypoint inventory classifies CLI ingest, daemon HTTP, live watcher, MCP maintenance as canonical/adapter/low-level/not-yet-adapted.