Repository navigation
docs: record live recapture gate decision - #4316
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 48540f8cfc
ℹ️ 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".
…4320) ## Summary Integration batch 06: eight lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-l66gd | make session excision retryable | | polylogue-hs3y | retain linked materials in blob liveness | | polylogue-jnj.4 | route direct session refs through read views | | polylogue-20d | select benchmark tests in the SLO runner | | polylogue-212.9.1 | preserve Fable adjudication counts | | polylogue-37t.11 | bind policy admission to adopted assertions | | polylogue-37t.8 | add optional resume open-state detection | | polylogue-2bc2 | record external bd tree guard verification | ## Problem These lanes finished but never reached a PR. Per-lane PRs are also the wrong unit: the repository's landing discipline is one PR per coherent batch. The substantive change is `polylogue-l66gd`. Excision deleted the session from the rebuildable `index.db` *before* committing durable source authority and the audit receipt, so a crash between those steps left an excision that could not be attributed or retried — the index had already lost the key needed to resume it. ## Solution Excision now commits durable state first and cleans the index last, and short-circuits on an existing `EXCISION_RECORD`: a retry returns the stored receipt instead of re-deleting, while still completing index cleanup for an interrupted run. `index_sessions` is recorded from the known target rather than a rowcount, since the receipt is now written before the delete. The other seven lanes are independent and touch disjoint files. ## Verification `devtools verify --quick` → exit 0 on the merged branch. `devtools test` over the seven changed test files → `121 passed, 3 warnings in 34.57s`. Red-flag scan raised four flags on the aggregate; all four were read and resolve as legitimate: - *production lines removed* — the index-deletion block is moved, not deleted (it reappears after the receipt). - *assertion polarity change* — new `pytest.raises(RuntimeError, match="simulated crash")` tests covering the excision crash path, added red-first. - *test assertions removed* — an assertion retargeted from `session:abc` to `message:abc`; the session case gains its own `test_read_direct_session_ref_uses_selected_read_view`, so coverage splits rather than narrows. - *verification gate edited* — the SLO runner adds `-m benchmark`; the repository default excludes benchmark-marked tests, so that runner was selecting none. ## Residual risk `.lane/title`, `.lane/body.md` and `.lane/close-reason.md` are untracked here. They are lane publication scratch, already covered by `.gitignore`, and were committed to master by #4316; the add/add conflict on them was the sole reason `polylogue-2bc2` would not merge. Other integration batches will hit the same conflict until this lands. The eight lanes are verified together and by their own tests; none was individually re-verified after merge beyond the quick gate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
(#4316) Summary Record the route-B decision and its evidence for the reindex gate. No product code or archive state changed. Problem The operator requested a decision about recapturing still-reachable provider conversations before the reacquisition window. The durable bead record reports a ChatGPT reachability census of 15/15 random samples and 7/8 oldest samples, with one oldest conversation gone. Claude was not censused. This supports live recapture, but does not prove the full population or complete the recapture. Solution Keep route B selected for ChatGPT, and require a per-origin reachability census, agent-window batch recapture, and provider-native-identity deduplication against route A before the clean source generation. The declared `live_provider_proof` operation was run at job `5f9d7065-5fb7-4356-aa2b-46e57439711c`; it failed its `ok` contract and produced no provider capture evidence. No undeclared browser automation or operator-tab mutation was substituted. Verification - `agentctl --plain job start polylogue live_provider_proof --workspace 015fcee5-0066-406b-8b85-9a2cd3a002c7` — admitted job `5f9d7065-5fb7-4356-aa2b-46e57439711c`. - `agentctl --plain job wait 5f9d7065-5fb7-4356-aa2b-46e57439711c` — terminal `phase=failed`, `ExecMainStatus=1`. - `agentctl --plain job result 5f9d7065-5fb7-4356-aa2b-46e57439711c` — `ok=false`, `live provider proof reported an unsuccessful result`. - `bd show polylogue-4t7y7` — operator decision and ChatGPT census evidence present in the task record. - `devtools verify --quick` — managed job `43d511bd-add3-42ea-9dd2-0c23d528ba31`, `exit_code=0`, `semantic_status=non-test-passed`, 17 static gates passed. Residual risk The bead remains open. Full ChatGPT population reachability, all Claude reachability, live batch capture, and A/B dedup are not evidenced. The existing census is sampled and pre-reindex.
…4320) ## Summary Integration batch 06: eight lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-l66gd | make session excision retryable | | polylogue-hs3y | retain linked materials in blob liveness | | polylogue-jnj.4 | route direct session refs through read views | | polylogue-20d | select benchmark tests in the SLO runner | | polylogue-212.9.1 | preserve Fable adjudication counts | | polylogue-37t.11 | bind policy admission to adopted assertions | | polylogue-37t.8 | add optional resume open-state detection | | polylogue-2bc2 | record external bd tree guard verification | ## Problem These lanes finished but never reached a PR. Per-lane PRs are also the wrong unit: the repository's landing discipline is one PR per coherent batch. The substantive change is `polylogue-l66gd`. Excision deleted the session from the rebuildable `index.db` *before* committing durable source authority and the audit receipt, so a crash between those steps left an excision that could not be attributed or retried — the index had already lost the key needed to resume it. ## Solution Excision now commits durable state first and cleans the index last, and short-circuits on an existing `EXCISION_RECORD`: a retry returns the stored receipt instead of re-deleting, while still completing index cleanup for an interrupted run. `index_sessions` is recorded from the known target rather than a rowcount, since the receipt is now written before the delete. The other seven lanes are independent and touch disjoint files. ## Verification `devtools verify --quick` → exit 0 on the merged branch. `devtools test` over the seven changed test files → `121 passed, 3 warnings in 34.57s`. Red-flag scan raised four flags on the aggregate; all four were read and resolve as legitimate: - *production lines removed* — the index-deletion block is moved, not deleted (it reappears after the receipt). - *assertion polarity change* — new `pytest.raises(RuntimeError, match="simulated crash")` tests covering the excision crash path, added red-first. - *test assertions removed* — an assertion retargeted from `session:abc` to `message:abc`; the session case gains its own `test_read_direct_session_ref_uses_selected_read_view`, so coverage splits rather than narrows. - *verification gate edited* — the SLO runner adds `-m benchmark`; the repository default excludes benchmark-marked tests, so that runner was selecting none. ## Residual risk `.lane/title`, `.lane/body.md` and `.lane/close-reason.md` are untracked here. They are lane publication scratch, already covered by `.gitignore`, and were committed to master by #4316; the add/add conflict on them was the sole reason `polylogue-2bc2` would not merge. Other integration batches will hit the same conflict until this lands. The eight lanes are verified together and by their own tests; none was individually re-verified after merge beyond the quick gate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
(#4316) Summary Record the route-B decision and its evidence for the reindex gate. No product code or archive state changed. Problem The operator requested a decision about recapturing still-reachable provider conversations before the reacquisition window. The durable bead record reports a ChatGPT reachability census of 15/15 random samples and 7/8 oldest samples, with one oldest conversation gone. Claude was not censused. This supports live recapture, but does not prove the full population or complete the recapture. Solution Keep route B selected for ChatGPT, and require a per-origin reachability census, agent-window batch recapture, and provider-native-identity deduplication against route A before the clean source generation. The declared `live_provider_proof` operation was run at job `5f9d7065-5fb7-4356-aa2b-46e57439711c`; it failed its `ok` contract and produced no provider capture evidence. No undeclared browser automation or operator-tab mutation was substituted. Verification - `agentctl --plain job start polylogue live_provider_proof --workspace 015fcee5-0066-406b-8b85-9a2cd3a002c7` — admitted job `5f9d7065-5fb7-4356-aa2b-46e57439711c`. - `agentctl --plain job wait 5f9d7065-5fb7-4356-aa2b-46e57439711c` — terminal `phase=failed`, `ExecMainStatus=1`. - `agentctl --plain job result 5f9d7065-5fb7-4356-aa2b-46e57439711c` — `ok=false`, `live provider proof reported an unsuccessful result`. - `bd show polylogue-4t7y7` — operator decision and ChatGPT census evidence present in the task record. - `devtools verify --quick` — managed job `43d511bd-add3-42ea-9dd2-0c23d528ba31`, `exit_code=0`, `semantic_status=non-test-passed`, 17 static gates passed. Residual risk The bead remains open. Full ChatGPT population reachability, all Claude reachability, live batch capture, and A/B dedup are not evidenced. The existing census is sampled and pre-reindex.
…4320) ## Summary Integration batch 06: eight lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-l66gd | make session excision retryable | | polylogue-hs3y | retain linked materials in blob liveness | | polylogue-jnj.4 | route direct session refs through read views | | polylogue-20d | select benchmark tests in the SLO runner | | polylogue-212.9.1 | preserve Fable adjudication counts | | polylogue-37t.11 | bind policy admission to adopted assertions | | polylogue-37t.8 | add optional resume open-state detection | | polylogue-2bc2 | record external bd tree guard verification | ## Problem These lanes finished but never reached a PR. Per-lane PRs are also the wrong unit: the repository's landing discipline is one PR per coherent batch. The substantive change is `polylogue-l66gd`. Excision deleted the session from the rebuildable `index.db` *before* committing durable source authority and the audit receipt, so a crash between those steps left an excision that could not be attributed or retried — the index had already lost the key needed to resume it. ## Solution Excision now commits durable state first and cleans the index last, and short-circuits on an existing `EXCISION_RECORD`: a retry returns the stored receipt instead of re-deleting, while still completing index cleanup for an interrupted run. `index_sessions` is recorded from the known target rather than a rowcount, since the receipt is now written before the delete. The other seven lanes are independent and touch disjoint files. ## Verification `devtools verify --quick` → exit 0 on the merged branch. `devtools test` over the seven changed test files → `121 passed, 3 warnings in 34.57s`. Red-flag scan raised four flags on the aggregate; all four were read and resolve as legitimate: - *production lines removed* — the index-deletion block is moved, not deleted (it reappears after the receipt). - *assertion polarity change* — new `pytest.raises(RuntimeError, match="simulated crash")` tests covering the excision crash path, added red-first. - *test assertions removed* — an assertion retargeted from `session:abc` to `message:abc`; the session case gains its own `test_read_direct_session_ref_uses_selected_read_view`, so coverage splits rather than narrows. - *verification gate edited* — the SLO runner adds `-m benchmark`; the repository default excludes benchmark-marked tests, so that runner was selecting none. ## Residual risk `.lane/title`, `.lane/body.md` and `.lane/close-reason.md` are untracked here. They are lane publication scratch, already covered by `.gitignore`, and were committed to master by #4316; the add/add conflict on them was the sole reason `polylogue-2bc2` would not merge. Other integration batches will hit the same conflict until this lands. The eight lanes are verified together and by their own tests; none was individually re-verified after merge beyond the quick gate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
(#4316) Summary Record the route-B decision and its evidence for the reindex gate. No product code or archive state changed. Problem The operator requested a decision about recapturing still-reachable provider conversations before the reacquisition window. The durable bead record reports a ChatGPT reachability census of 15/15 random samples and 7/8 oldest samples, with one oldest conversation gone. Claude was not censused. This supports live recapture, but does not prove the full population or complete the recapture. Solution Keep route B selected for ChatGPT, and require a per-origin reachability census, agent-window batch recapture, and provider-native-identity deduplication against route A before the clean source generation. The declared `live_provider_proof` operation was run at job `5f9d7065-5fb7-4356-aa2b-46e57439711c`; it failed its `ok` contract and produced no provider capture evidence. No undeclared browser automation or operator-tab mutation was substituted. Verification - `agentctl --plain job start polylogue live_provider_proof --workspace 015fcee5-0066-406b-8b85-9a2cd3a002c7` — admitted job `5f9d7065-5fb7-4356-aa2b-46e57439711c`. - `agentctl --plain job wait 5f9d7065-5fb7-4356-aa2b-46e57439711c` — terminal `phase=failed`, `ExecMainStatus=1`. - `agentctl --plain job result 5f9d7065-5fb7-4356-aa2b-46e57439711c` — `ok=false`, `live provider proof reported an unsuccessful result`. - `bd show polylogue-4t7y7` — operator decision and ChatGPT census evidence present in the task record. - `devtools verify --quick` — managed job `43d511bd-add3-42ea-9dd2-0c23d528ba31`, `exit_code=0`, `semantic_status=non-test-passed`, 17 static gates passed. Residual risk The bead remains open. Full ChatGPT population reachability, all Claude reachability, live batch capture, and A/B dedup are not evidenced. The existing census is sampled and pre-reindex.
…4320) ## Summary Integration batch 06: eight lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-l66gd | make session excision retryable | | polylogue-hs3y | retain linked materials in blob liveness | | polylogue-jnj.4 | route direct session refs through read views | | polylogue-20d | select benchmark tests in the SLO runner | | polylogue-212.9.1 | preserve Fable adjudication counts | | polylogue-37t.11 | bind policy admission to adopted assertions | | polylogue-37t.8 | add optional resume open-state detection | | polylogue-2bc2 | record external bd tree guard verification | ## Problem These lanes finished but never reached a PR. Per-lane PRs are also the wrong unit: the repository's landing discipline is one PR per coherent batch. The substantive change is `polylogue-l66gd`. Excision deleted the session from the rebuildable `index.db` *before* committing durable source authority and the audit receipt, so a crash between those steps left an excision that could not be attributed or retried — the index had already lost the key needed to resume it. ## Solution Excision now commits durable state first and cleans the index last, and short-circuits on an existing `EXCISION_RECORD`: a retry returns the stored receipt instead of re-deleting, while still completing index cleanup for an interrupted run. `index_sessions` is recorded from the known target rather than a rowcount, since the receipt is now written before the delete. The other seven lanes are independent and touch disjoint files. ## Verification `devtools verify --quick` → exit 0 on the merged branch. `devtools test` over the seven changed test files → `121 passed, 3 warnings in 34.57s`. Red-flag scan raised four flags on the aggregate; all four were read and resolve as legitimate: - *production lines removed* — the index-deletion block is moved, not deleted (it reappears after the receipt). - *assertion polarity change* — new `pytest.raises(RuntimeError, match="simulated crash")` tests covering the excision crash path, added red-first. - *test assertions removed* — an assertion retargeted from `session:abc` to `message:abc`; the session case gains its own `test_read_direct_session_ref_uses_selected_read_view`, so coverage splits rather than narrows. - *verification gate edited* — the SLO runner adds `-m benchmark`; the repository default excludes benchmark-marked tests, so that runner was selecting none. ## Residual risk `.lane/title`, `.lane/body.md` and `.lane/close-reason.md` are untracked here. They are lane publication scratch, already covered by `.gitignore`, and were committed to master by #4316; the add/add conflict on them was the sole reason `polylogue-2bc2` would not merge. Other integration batches will hit the same conflict until this lands. The eight lanes are verified together and by their own tests; none was individually re-verified after merge beyond the quick gate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
(#4316) Summary Record the route-B decision and its evidence for the reindex gate. No product code or archive state changed. Problem The operator requested a decision about recapturing still-reachable provider conversations before the reacquisition window. The durable bead record reports a ChatGPT reachability census of 15/15 random samples and 7/8 oldest samples, with one oldest conversation gone. Claude was not censused. This supports live recapture, but does not prove the full population or complete the recapture. Solution Keep route B selected for ChatGPT, and require a per-origin reachability census, agent-window batch recapture, and provider-native-identity deduplication against route A before the clean source generation. The declared `live_provider_proof` operation was run at job `5f9d7065-5fb7-4356-aa2b-46e57439711c`; it failed its `ok` contract and produced no provider capture evidence. No undeclared browser automation or operator-tab mutation was substituted. Verification - `agentctl --plain job start polylogue live_provider_proof --workspace 015fcee5-0066-406b-8b85-9a2cd3a002c7` — admitted job `5f9d7065-5fb7-4356-aa2b-46e57439711c`. - `agentctl --plain job wait 5f9d7065-5fb7-4356-aa2b-46e57439711c` — terminal `phase=failed`, `ExecMainStatus=1`. - `agentctl --plain job result 5f9d7065-5fb7-4356-aa2b-46e57439711c` — `ok=false`, `live provider proof reported an unsuccessful result`. - `bd show polylogue-4t7y7` — operator decision and ChatGPT census evidence present in the task record. - `devtools verify --quick` — managed job `43d511bd-add3-42ea-9dd2-0c23d528ba31`, `exit_code=0`, `semantic_status=non-test-passed`, 17 static gates passed. Residual risk The bead remains open. Full ChatGPT population reachability, all Claude reachability, live batch capture, and A/B dedup are not evidenced. The existing census is sampled and pre-reindex.
…4320) ## Summary Integration batch 06: eight lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-l66gd | make session excision retryable | | polylogue-hs3y | retain linked materials in blob liveness | | polylogue-jnj.4 | route direct session refs through read views | | polylogue-20d | select benchmark tests in the SLO runner | | polylogue-212.9.1 | preserve Fable adjudication counts | | polylogue-37t.11 | bind policy admission to adopted assertions | | polylogue-37t.8 | add optional resume open-state detection | | polylogue-2bc2 | record external bd tree guard verification | ## Problem These lanes finished but never reached a PR. Per-lane PRs are also the wrong unit: the repository's landing discipline is one PR per coherent batch. The substantive change is `polylogue-l66gd`. Excision deleted the session from the rebuildable `index.db` *before* committing durable source authority and the audit receipt, so a crash between those steps left an excision that could not be attributed or retried — the index had already lost the key needed to resume it. ## Solution Excision now commits durable state first and cleans the index last, and short-circuits on an existing `EXCISION_RECORD`: a retry returns the stored receipt instead of re-deleting, while still completing index cleanup for an interrupted run. `index_sessions` is recorded from the known target rather than a rowcount, since the receipt is now written before the delete. The other seven lanes are independent and touch disjoint files. ## Verification `devtools verify --quick` → exit 0 on the merged branch. `devtools test` over the seven changed test files → `121 passed, 3 warnings in 34.57s`. Red-flag scan raised four flags on the aggregate; all four were read and resolve as legitimate: - *production lines removed* — the index-deletion block is moved, not deleted (it reappears after the receipt). - *assertion polarity change* — new `pytest.raises(RuntimeError, match="simulated crash")` tests covering the excision crash path, added red-first. - *test assertions removed* — an assertion retargeted from `session:abc` to `message:abc`; the session case gains its own `test_read_direct_session_ref_uses_selected_read_view`, so coverage splits rather than narrows. - *verification gate edited* — the SLO runner adds `-m benchmark`; the repository default excludes benchmark-marked tests, so that runner was selecting none. ## Residual risk `.lane/title`, `.lane/body.md` and `.lane/close-reason.md` are untracked here. They are lane publication scratch, already covered by `.gitignore`, and were committed to master by #4316; the add/add conflict on them was the sole reason `polylogue-2bc2` would not merge. Other integration batches will hit the same conflict until this lands. The eight lanes are verified together and by their own tests; none was individually re-verified after merge beyond the quick gate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
|
Codex review threads on this PR whose cited code is gone (checked against master at 23f91a5):
Resolving these threads. |
Summary
Record the route-B decision and its evidence for the reindex gate. No product code or archive state changed.
Problem
The operator requested a decision about recapturing still-reachable provider conversations before the reacquisition window. The durable bead record reports a ChatGPT reachability census of 15/15 random samples and 7/8 oldest samples, with one oldest conversation gone. Claude was not censused. This supports live recapture, but does not prove the full population or complete the recapture.
Solution
Keep route B selected for ChatGPT, and require a per-origin reachability census, agent-window batch recapture, and provider-native-identity deduplication against route A before the clean source generation. The declared
live_provider_proofoperation was run at job5f9d7065-5fb7-4356-aa2b-46e57439711c; it failed itsokcontract and produced no provider capture evidence. No undeclared browser automation or operator-tab mutation was substituted.Verification
agentctl --plain job start polylogue live_provider_proof --workspace 015fcee5-0066-406b-8b85-9a2cd3a002c7— admitted job5f9d7065-5fb7-4356-aa2b-46e57439711c.agentctl --plain job wait 5f9d7065-5fb7-4356-aa2b-46e57439711c— terminalphase=failed,ExecMainStatus=1.agentctl --plain job result 5f9d7065-5fb7-4356-aa2b-46e57439711c—ok=false,live provider proof reported an unsuccessful result.bd show polylogue-4t7y7— operator decision and ChatGPT census evidence present in the task record.devtools verify --quick— managed job43d511bd-add3-42ea-9dd2-0c23d528ba31,exit_code=0,semantic_status=non-test-passed, 17 static gates passed.Residual risk
The bead remains open. Full ChatGPT population reachability, all Claude reachability, live batch capture, and A/B dedup are not evidenced. The existing census is sampled and pre-reindex.