bug: baseline Codex fixture merges configured SeekDB path into SQLite settings
Describe the bug
The baseline real-Codex harness forces a SQLite database but retains the configured SeekDB environment's POWERCONTEXT_SERVER_DATABASE_PATH. Settings merging adds the SeekDB-only path field to the explicit SQLite configuration, raising a validation error before Server creation. The baseline journey and memory-routing acceptance cannot run in a valid configured SeekDB environment.
This is a repository acceptance-fixture isolation defect, not evidence of a production runtime failure. It is distinct from #2329: this failure occurs in settings construction, before background resource admission.
Steps to reproduce
At 0c1dfc289b28e9f529555fb57bf771ce51103913, save the following as test_baseline_environment.py and run PYTHONPATH=. python -m pytest test_baseline_environment.py -q --tb=short --junitxml=baseline.xml:
import os
from tests.e2e.real_experience_skill.harness import _start_server
def test_baseline_accepts_configured_seekdb_environment(tmp_path,monkeypatch):
monkeypatch.chdir(tmp_path)
for key in tuple(os.environ):
if key.startswith("POWERCONTEXT_SERVER_"):
monkeypatch.delenv(key)
monkeypatch.setenv("POWERCONTEXT_SERVER_DATABASE_KIND", "seekdb")
monkeypatch.setenv("POWERCONTEXT_SERVER_DATABASE_PATH", str(tmp_path / "configured-seekdb"))
server = _start_server(tmp_path / "baseline.db", tmp_path / "scheduler.db")
server.stop()
This probe invokes the repository harness, uses temporary paths and clears unrelated Server settings. It does not connect to a database or model provider. The original real-service suite showed the same validation error in baseline journey and memory-routing nodes.
Expected behavior
The baseline helper isolates its SQLite configuration from backend-specific configured settings, allowing baseline acceptance to reach Server startup.
Actual behavior
Independent probe: 1 failed in 6.78s:
pydantic_core._pydantic_core.ValidationError: 1 validation error for ServerSettings
database.sqlite.path
Extra inputs are not permitted [type=extra_forbidden]
Environment
Linux; Python 3.12.13; immutable PowerContext SHA 0c1dfc289b28e9f529555fb57bf771ce51103913; repository development dependencies. Only the supplied temporary SeekDB configuration environment is required; no external service or credentials.
Regression-proof: ca399b0f-bf82-41c3-ae54-98dd9f377e98/53d09bffbe4786cb5e0b/baseline-seekdb-environment