Skip to content

Antigravity step-type map silently drops unrecognised tool-call step types (fails-to-preserve) #575

Closed

Description

@fdaviddpt

Filed from release-auditor round 1 on the v0.27.0..HEAD delta (2026-09-05).

Class: fails-to-preserve -- can ship behind a filed issue (non-blocking).

pipeline/host.py:362-395 (_ANTIGRAVITY_STEP_ROLES / antigravity_exchange) only maps USER_INPUT and PLANNER_RESPONSE step types; every other step type returns None and is dropped. The function's own docstring already says the type space was never fully probed (no tool-calling turn was driven under --dangerously-skip-permissions, which needs a human-run test).

Consequence: sniff_envelope resolves the file as "antigravity", so ENVELOPE != "unrecognised", and scripts/save-session.sh:306-317 takes the else arm (log "extract" "0 exchanges, skip -- position -> $POSITION") and advances the position without the #450 quarantine that the "unrecognised" arm four lines above exists to apply. A turn made entirely of step types this map does not know is indistinguishable from a genuinely quiet session, and the span becomes unrecoverable once a later build learns those types.

What would settle it: a live agy tool-calling turn's transcript_full.jsonl, showing what type values a tool step actually carries, so the map can be completed or the quarantine arm extended to cover unmapped-but-known step types.

[AI-generated]

Activity

  1. added
    bug
    priority:low
    filed-by-loop
    cohort-6
    on Sep 5, 2026
  2. self-assigned this
    on Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugcohort-6filed-by-looppriority:low

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions