Skip to content

refactor: move product domain modules into polylogue/products/ (#414) - #565

Merged
Sinity merged 1 commit into
masterfrom
feature/refactor/414-product-ownership
Apr 28, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/refactor/414-product-ownership

Conversation

@Sinity

@Sinity Sinity commented Apr 28, 2026

Copy link
Copy Markdown
Owner

Summary

Move 8 product-domain modules from package root into polylogue/products/ and remove the cli/products_workflow.py compatibility shim.

Changes

  • archive_product_models → products/archive_models
  • archive_product_rollups → products/archive_rollups
  • archive_product_summaries → products/archive_summaries
  • archive_products → products/archive
  • archive_resume → products/resume
  • authored_payloads → products/authored_payloads
  • product_export_bundles → products/export_bundles
  • product_readiness → products/readiness
  • Removed cli/products_workflow.py (thin re-export shim)
  • Updated all ~52 import sites across polylogue/, devtools/, tests/
  • Updated topology-target.yaml (refactor: rationalize product ownership and package boundary #414 cells → stable)

Ref #414

🤖 Generated with Claude Code

Move 8 product modules from package root into polylogue/products/:
- archive_product_models → products/archive_models
- archive_product_rollups → products/archive_rollups
- archive_product_summaries → products/archive_summaries
- archive_products → products/archive
- archive_resume → products/resume
- authored_payloads → products/authored_payloads
- product_export_bundles → products/export_bundles
- product_readiness → products/readiness

Remove cli/products_workflow.py compatibility shim.
Update topology-target.yaml (#414 cells → stable).

Ref #414

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@Sinity
Sinity merged commit fea4c25 into master Apr 28, 2026
3 of 12 checks passed
@coderabbitai

coderabbitai Bot commented Apr 28, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@Sinity has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 35 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 17a2fa41-1a1b-49c2-bab1-63c8464835a2

📥 Commits

Reviewing files that changed from the base of the PR and between da38b6d and 4403fa4.

📒 Files selected for processing (58)
  • docs/plans/topology-target.yaml
  • polylogue/api/archive.py
  • polylogue/api/products.py
  • polylogue/api/sync/products.py
  • polylogue/cli/commands/products.py
  • polylogue/cli/helper_summary.py
  • polylogue/cli/products_workflow.py
  • polylogue/cli/resume_rendering.py
  • polylogue/operations/archive.py
  • polylogue/products/archive.py
  • polylogue/products/archive_models.py
  • polylogue/products/archive_rollups.py
  • polylogue/products/archive_summaries.py
  • polylogue/products/authored_payloads.py
  • polylogue/products/export_bundles.py
  • polylogue/products/readiness.py
  • polylogue/products/registry.py
  • polylogue/products/resume.py
  • polylogue/scenarios/assertions.py
  • polylogue/scenarios/cli_surfaces.py
  • polylogue/scenarios/corpus.py
  • polylogue/scenarios/executable.py
  • polylogue/scenarios/execution.py
  • polylogue/scenarios/metadata.py
  • polylogue/scenarios/projections.py
  • polylogue/scenarios/specs.py
  • polylogue/showcase/catalog_loader.py
  • polylogue/showcase/qa_markdown.py
  • polylogue/showcase/qa_session_payload.py
  • polylogue/showcase/qa_summary.py
  • polylogue/showcase/report_models.py
  • polylogue/showcase/showcase_report_payloads.py
  • polylogue/showcase/showcase_runner_support.py
  • polylogue/site/models.py
  • polylogue/storage/backends/queries/mappers_product_aggregates.py
  • polylogue/storage/backends/queries/mappers_product_legacy.py
  • polylogue/storage/backends/queries/mappers_product_profiles.py
  • polylogue/storage/backends/queries/mappers_product_timelines.py
  • polylogue/storage/products/aggregate/records.py
  • polylogue/storage/products/session/aggregates.py
  • polylogue/storage/products/session/profiles.py
  • polylogue/storage/products/session/records.py
  • polylogue/storage/products/session/threads.py
  • polylogue/storage/products/session/timeline_rows.py
  • polylogue/storage/products/timeline/records.py
  • tests/unit/cli/test_analytics.py
  • tests/unit/cli/test_products.py
  • tests/unit/cli/test_products_command_runtime.py
  • tests/unit/cli/test_products_helper_runtime.py
  • tests/unit/core/test_facade_api.py
  • tests/unit/core/test_product_export_bundles.py
  • tests/unit/core/test_product_readiness.py
  • tests/unit/core/test_product_registry_runtime.py
  • tests/unit/core/test_repo_identity.py
  • tests/unit/mcp/test_tool_contracts.py
  • tests/unit/scenarios/test_authored_payloads.py
  • tests/unit/showcase/test_report.py
  • tests/unit/sources/test_compaction.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/414-product-ownership

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
Review rate limit: 0/1 reviews remaining, refill in 59 minutes and 35 seconds.

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

@Sinity
Sinity deleted the feature/refactor/414-product-ownership branch April 28, 2026 14:13

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

"""Versioned archive data product contracts."""

P1 Badge Preserve legacy root import paths for product modules

Moving the archive product modules under polylogue.products without keeping compatibility shims at the old root paths (polylogue.archive_products, polylogue.product_readiness, etc.) introduces an import-time break for existing library consumers; those paths are still part of the documented usage (docs/library-api.md imports polylogue.archive_products), so upgrading to this commit now raises ModuleNotFoundError for previously valid code. Please keep thin re-export modules (or equivalent module aliasing) for at least one deprecation window.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Sinity
Sinity requested review from Copilot and removed request for Copilot May 1, 2026 00:45
@Sinity

Sinity commented May 1, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented May 1, 2026

Copy link
Copy Markdown
✅ Actions performed

Full review triggered.

@Sinity
Sinity requested a review from Copilot May 1, 2026 01:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sinity added a commit that referenced this pull request May 7, 2026
## Summary
Move 8 product-domain modules from package root into
`polylogue/products/` and remove the `cli/products_workflow.py`
compatibility shim.

## Changes
- `archive_product_models` → `products/archive_models`
- `archive_product_rollups` → `products/archive_rollups`
- `archive_product_summaries` → `products/archive_summaries`
- `archive_products` → `products/archive`
- `archive_resume` → `products/resume`
- `authored_payloads` → `products/authored_payloads`
- `product_export_bundles` → `products/export_bundles`
- `product_readiness` → `products/readiness`
- Removed `cli/products_workflow.py` (thin re-export shim)
- Updated all ~52 import sites across polylogue/, devtools/, tests/
- Updated topology-target.yaml (#414 cells → stable)

Ref #414

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 <[email protected]>
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.

2 participants