Repository navigation
chore: remove concluded EXP-003 Jev capture shadow - #21976
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…ow-removal # Conflicts: # backend/deploy/runtime_env.yaml # backend/deploy/runtime_env/_base.yaml
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 31dc1b6e17
ℹ️ 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".
| @@ -1,7 +1,11 @@ | |||
| # EXP-003 — Jev capture shadow | |||
|
|
|||
| **Outcome: no-go — concluded 2026-10-17.** On David's labels, Jev called 14 pairs “same” and got 3 wrong: **79% precision**, below the preregistered 90% bar. The re-summary half is dropped. The proposal is replaced by the deterministic shared-speech matcher in [`overlap_shared_speech.py`](../../utils/conversations/overlap_shared_speech.py), controlled by `CAPTURE_SHARED_SPEECH_MODE`; see the [shared-speech runbook](../operational/capture-shared-speech.md). The removed shadow was log-only and never changed grouping or summaries. | |||
There was a problem hiding this comment.
Use the actual preregistered same-scene bar
The outcome attributes a 90% precision bar to the same-scene decision, but the preserved Go/no-go section below preregistered a one-sided 95% upper false-fold bound below 1%, requiring at least 299 proposed folds when none are wrong; the 90% requirement applies only to re-summary. The 3/14 result still supports a no-go, but describing it as failing a preregistered 90% bar misstates the experiment protocol and should be replaced with the actual safety and sample-size criterion.
Useful? React with 👍 / 👎.
Backend unit shard 4/6 failed the fast-unit duration guard: test_runtime_manifest_alone_cannot_claim_live_bucket_validation measured 1.04s CPU against CI's 1.00s ceiling because main() parsed the large deploy/runtime_env.yaml manifest with pure-Python yaml.safe_load. Apply the same fix main already landed in #21976: parse YAML through the accelerated CSafeLoader (libyaml) when available, via a shared _load_yaml_document helper, and use it from the manifest-reading test as well. The whole file now runs under the guard with no warnings.
Summary
Remove the EXP-003 Jev capture shadow after its no-go decision. The experiment was log-only and never changed capture grouping or summaries, so this removal is behavior-neutral for users.
On David's labels, Jev got 3 of 14 “same” calls wrong (79% precision), below the preregistered 90% bar. The re-summary half is dropped. The deterministic shared-speech matcher (
overlap_shared_speech.py,CAPTURE_SHARED_SPEECH_MODE) remains as the replacement.Changes
CAPTURE_JEV_SHADOW_*readers, implementation, call sites, tests, metrics, and configuration; regeneratebackend/deploy/runtime_env.yamlwithbackend/deploy/compose_runtime_env.py.capture_shadow_outcomes.py: its only consumers recorded Separate/manual-merge outcomes for shadow decisions, and no other code used it.Cloud Run environment updates merge settings, so removed variables may linger harmlessly on live services until overwritten. The code no longer reads them; no workflow change is needed.
Product invariants affected
INV-MEM-4:runtime_env.yamlchanges remove only EXP-003 bindings; this does not change canonical memory behavior.Validation
nice -n 10 env BACKEND_UNIT_TEST_FILE_LIST=../.local/agent-tasks/jev-capture-shadow-test-files.txt bash backend/test.sh— passed (all 24 listed backend test files; exit 0).nice -n 10 make preflight— passed, 47 checks.nice -n 10 env PATH="$PWD/backend/.venv/bin:$PATH" bash backend/scripts/pre-deploy-check.sh— passed, 315 tests, hermetic read-only mode.python3 scripts/check_feature_flag_registry.py— passed.python3 scripts/render_feature_flag_registry.py --as-of 2026-10-17— generated the registry.git diff --check— passed.🤖 Generated with Claude Code