Skip to content

fix(atomic-memory): disable alias recall by default - #2926

Closed
hidb4ai wants to merge 1 commit into
masterfrom
codex/alias-recall-default-off
Closed

hidb4ai wants to merge 1 commit into
masterfrom
codex/alias-recall-default-off

Conversation

@hidb4ai

@hidb4ai hidb4ai commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Which issue or RFC does this PR close?

Follow-up to #2674.

Rationale for this change

Historical alias recall should require explicit opt-in. Deployments that omit the setting should skip alias recall during Atomic Memory reconciliation.

What changes are included in this PR?

  • Default RuntimeConfig.atomic_memory_alias_recall and the processor's alias_recall to False.
  • Document the disabled default and explicit enablement in English and Chinese.
  • Cover omitted configuration alongside explicit disablement and enablement in the existing SQLite reconciliation scenarios, and verify processor configuration defaults and opt-in propagation.

Are there any user-facing changes?

Yes. Alias recall is now disabled when unconfigured. Set POWERCONTEXT_SERVER_RUNTIME_ATOMIC_MEMORY_ALIAS_RECALL=true or RuntimeConfig(atomic_memory_alias_recall=True) to enable it. Explicit settings remain effective. Alias maintenance and projection rebuilding remain independent of this switch; there are no schema changes.

How was this change tested?

  • uv run --frozen pytest tests/builtin/runtime/test_artifact_processing_config.py tests/e2e/test_atomic_memory_alias_recall.py tests/e2e/test_atomic_memory_alias_edges.py -q
  • uv run prek run -a (including Ruff and ty).
  • git diff --check.

Business scenarios exercise SQLite with deterministic embedding and generation fixtures; no live provider or OceanBase acceptance is claimed.

AI usage statement

Implemented and validated with OpenAI Codex.

@hidb4ai hidb4ai added the 1.6.1 v1.6.1 release tracking label Nov 30, 2026

@hidb4ai hidb4ai left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed dd99f8b. No blocking findings. Both runtime defaults consistently require explicit opt-in; alias maintenance and rebuilding remain independent. No new database tables, migrations, or interfaces are introduced, so no change to draft revision 000 is needed. Existing deployments that omit the setting intentionally lose historical-alias recall.

Validated the focused regression suite and the real Runtime ingestion/reconciliation/persistence/readback path with configured generation and embedding providers on SQLite for omitted, false, and true settings. OceanBase was not exercised. Current CI passed and the current-master merge is conflict-free. Merge confidence: 90/100.

Approval was attempted, but GitHub rejected it because the authenticated reviewer is the PR author. This comment does not count as an approval.

@hidb4ai hidb4ai closed this Dec 1, 2026
@hidb4ai
hidb4ai deleted the codex/alias-recall-default-off branch December 1, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6.1 v1.6.1 release tracking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants