Skip to content

feat(migration): scope entity creation by category and references - #276

Open
autohub-codex[bot] wants to merge 1 commit into
developfrom
codex/scoped-entity-migration-181
Open

autohub-codex[bot] wants to merge 1 commit into
developfrom
codex/scoped-entity-migration-181

Conversation

@autohub-codex

@autohub-codex autohub-codex Bot commented Nov 6, 2026

Copy link
Copy Markdown

Summary

The entity migration currently processes every accepted category at once. Add optional --categories and --min-references filters so an operator can preview and migrate a smaller slice, while retaining the existing default behavior.

Reference counts use distinct memory IDs after canonicalization; scoped skips are reported separately from validation rejections. The migration guide documents a staged run and explains that repeated references do not establish entity quality. This addresses the staging controls in #181; the separate people-entity classification work remains open.

Verification

  • pytest -q tests/test_entity_identities.py tests/test_entity_quality.py tests/test_repair_entity_tags.py tests/test_identity_config.py — 174 passed.
  • Black check passed for the three changed Python files.
  • The preceding isolated research run compared default and scoped CLI invocations against disposable FalkorDB graphs, including dry runs, invalid arguments, reruns, and widening the scope. It did not touch production data. A repeated noise example still passed the reference threshold, so this is an operator control rather than an identity-quality fix.

Implementation: AutoMem research loop, integrated and reviewed by Codex desktop. GitHub identity: autohub-codex[bot].

@autohub-codex autohub-codex Bot added babysit:waiting-ci Babysit waiting-ci status babysit:waiting-codex Babysit waiting-codex status and removed babysit:waiting-ci Babysit waiting-ci status labels Nov 6, 2026
@jack-arturo

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T17:21:27.317327Z 4b70907 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 4b70907c78

ℹ️ 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".

@autohub-codex autohub-codex Bot added babysit:ready Babysit ready status and removed babysit:waiting-codex Babysit waiting-codex status labels Nov 6, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

babysit:ready Babysit ready status

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant