Repository navigation
fix(antigravity): trim all native metadata tables on fork and rollback - #943
BytePioneer-AI wants to merge 1 commit into
Conversation
…fix on fork and rollback gen_metadata, executor_metadata, parent_references and battle_mode_infos are keyed by their own ordinals, so deleting rows with idx >= the step cutoff left metadata for dropped Turns in the clone. Trim each table by the step indices in its protobuf and rebuild the derived summary from the retained prefix.
Codex Review Summary: ✅ CompletedThis 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. |
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
Superseded by #944, which includes this metadata-trimming fix. |
Purpose
cloneNativeConversationDbdeleted rows fromgen_metadata,executor_metadata,parent_referencesandbattle_mode_infoswithidx >= <step cutoff>, but those tables use their own ordinals, so a clone kept metadata referencing dropped Turns (integrity_checkstill passed). Found while checking whether Antigravity can fork during a running Turn. This change does not relax the active-source rejection.Changes
CAPABILITIES.mdnote added.Validation (run by the delegated implementer, not re-run by me)
npx tsc -b packages/adapters/antigravity,git diff --check.Not verified
parent_referencesandbattle_mode_infoshad no non-empty rows, so their field numbers rest on the agy protobuf descriptors and branch implementation, not on observed data.