powermem icon indicating copy to clipboard operation
powermem copied to clipboard

bug: PowerContext 1.5.0 can replace a newer effective fact with late older evidence

Open hireview001 opened this issue 4 weeks ago • 1 comments

Summary

PowerContext 1.5.0 can publish an older effective fact as current when that evidence arrives later than a newer effective fact. This is a release-specific retest of the existing report #2342, with additional SQLite and OceanBase 5.0.1 observations. The real-model scenario is nondeterministic; these observations do not establish a failure rate or a database-specific root cause.

Reproduction

Run the checked-in real-model acceptance scenario tests/e2e/test_atomic_memory_temporal_conflicts_live.py::test_late_old_evidence_preserves_newer_fact_then_accepts_new_correction[configured] against an isolated database and a configured real generation/embedding provider. Using the built-in prompts in automatic mode, submit and flush facts for the same standing PostgreSQL policy in this arrival order:

Arrival Port Effective at Recorded at
1 6432 2026-05-01T00:00:00Z 2026-05-02T09:00:00Z
2 5432 2026-03-01T00:00:00Z 2026-09-01T09:00:00Z
3 7432 2026-07-01T00:00:00Z 2026-07-02T09:00:00Z

The scenario calibrates its current-claim interpreter before publishing facts. After arrival 2, inspect the public Memory list for the current policy.

Expected: 6432 remains current because its effective date is later than the late-arriving 5432 fact. A later truly effective correction can then update it.

Observed in the failing runs: the published current memory contained 5432 instead of 6432. The test failed at late_old: current memory does not contain only the effective port with assert {5432} == {6432}; arrival 3 was not reached in those runs.

PowerContext 1.5.0 retest

Backend Observation
SQLite failure reproduced
SeekDB passed
OceanBase CE 4.3.5.6 passed
OceanBase CE 4.6.0.1 first attempt returned HTTP 503; a retry passed
OceanBase CE 5.0.1.0 failure reproduced

Each listed run used a disposable database and the official 1.5.0 wheel (SHA-256 6feb1066b1ad93bf1bc7bc55ad1dabee01b9aace85ab0e5b19422b206e2b4cb6). The acceptance harness ran from a source checkout against the installed release package. The model-dependent behavior and analysis in #2342 remain relevant; the passing runs do not rule out intermittent failures on those backends.

hireview001 avatar Nov 04 '26 14:11 hireview001

Closing this report because the real-model result is nondeterministic and the same underlying scenario is already tracked in #2342. The 1.5.0 observations remain documented above for reference.

hireview001 avatar Nov 04 '26 15:11 hireview001