Repository navigation
fix(evolver): preserve campaign usage identity and verify response recovery - #242
Conversation
Deploying inalpha-web with
|
| Latest commit: |
cea74c9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://18ac6fad.inalpha-web.pages.dev |
| Branch Preview URL: | https://codex-e2-full-app-response-r.inalpha-web.pages.dev |
|
Reviewed PR head: 🤖 DeepSeek Code ReviewAdds `requested_by_sub` to the shared `_CAMPAIGN_COLUMNS` projection so the evolver model-usage path can read the campaign owner's identity, plus a regression test and several deployment/validation receipt docs.
Findings1. [MEDIUM] Internal identity field added to the shared campaign projection reaches more consumers than testedLocation: services/evolver/src/inalpha_evolver/storage/campaigns.py:16
Review scope and limitationsReviewed the supplied diff and project rules. No tests were executed by this reviewer.
|
Review resolution — shared projection identity (MEDIUM)Finding: An internal subject added to the common campaign projection might leak through uninspected consumers or shift positional rows. Full-source verification:
Decision: Retain the internal projection fix. The hypothesized raw-response/positional consumer was not found after inspecting complete sources. Independent scoped review likewise found no confirmed new P1/P2. This does not mean the automated review had zero findings, and neither review replaces production owner execution. |
Problem and change
The complete campaign dispatcher omitted the persisted requesting subject from its SQL projection. The real owner model path then stopped at usage identity initialization even though the database retained that subject. Return it internally, with a real database regression and a check that the public response schema still excludes it.
Validation
KeyError: requested_by_sub, then passed.Production observation and remaining work
Normal owner free preflight after confirmations remains BTC 3/8, ETH 0/8, SOL 1/8. BTC legacy warning is absent in the fresh response, without certifying semantic accuracy or causal same-window comparison. No paid model or E2 search started.
Read-only runtime inspection records changed container IDs and mismatched/absent OCI revision labels. Hashes of 200 running Python package source files match the previously reviewed source; this does not cover shared packages, dependencies or client bundles. No redeployment was performed during those observations.
This is a scoped increment to the E2 acceptance plan. Real input sufficiency, owner five-generation authorization/execution, remaining reliability matrix, qualified champion, real 30-day Forward, once-only holdout and explicit adoption remain incomplete. After review, only Evolver needs deployment; no migration or frontend change is required.
Review and plan audit
Independent full-source scoped review found no confirmed new P1/P2. Automated CR reported one MEDIUM concerning other common-projection consumers; complete route/schema/dictionary-row inspection is documented in the review-resolution comment. This is not an automated zero-finding review. Independent plan audit confirms this scoped increment, while explicitly leaving the global E2 criteria incomplete.