Skip to content

AG11 Agent as a UFO: fly above the city and beam down on the worked building #420

Done

Description

@aMonteSl

As a developer watching an AI agent work in Agent Flow,
I want each agent to fly a UFO above the city instead of a worker jumping from roof to roof, with a tractor beam marking the building it is working on,
so that the agent is always in sight, never hidden behind buildings, and the building it works on is obvious at a glance.

Part of epic #319. Proposed by Adrián (2-dec). Sibling: the legends move above the city (same day), so the sky is split in layers: skyline < UFOs < legends.

Design

  • Sky layers (shared runtime part skyLayers.js, contract agreed with the legends work): skylineY(v) = the highest roof of the whole session (final and current heights), ufoAltitude(v) = skyline + 0.18 m, legendAltitude(v) = skyline + 0.45 m (bottom edge of every legend).
  • The worker becomes a flying saucer in the agent's colour (main agent bigger, each subagent its own colour). It cruises at ufoAltitude, gliding between targets with a flat path (no hops), banking slightly in the direction of travel.
  • Over a building (read, write, edit) it lights the classic UFO beam: a translucent cone down to the roof plus a halo ring on the roof, following the building while it grows. A read keeps its sweep band down the facade; the beam takes the read colour.
  • Several agents: each UFO keeps its own slot offset and a slightly different altitude, so beams and saucers do not overlap; function floors keep lighting as before.
  • Name tag, thought bubble and permission sign stay between the UFO and the legends.
  • Shared runtime (templates), so the VS Code extension and the Code-XR IDE get the same scene.

Acceptance criteria

  • VS Code extension and Code-XR IDE: every agent is a UFO cruising above the tallest building and below the legends.
  • Moving to another file glides at cruise altitude; the trail draws the flight path in the sky.
  • Hovering over the worked building shows a beam and a halo ring on its roof, in the agent's colour (read colour on a read).
  • Several agents fly at once without overlapping; subagents are born from and return to the main UFO.
  • Function floors still light the worked floor; see-through and blast radius keep working.
  • Reduced motion: no spin or bobbing, beam static.
  • Harness checks with screenshots; docs and test guide section.

Generated by Claude Code

Activity

  1. added
    tfm
    user-story
    area: ide
    area: extension
    on Dec 2, 2026
  2. self-assigned this
    on Dec 2, 2026
  3. aMonteSl commented on Dec 2, 2026

    @aMonteSl
    CollaboratorAuthor

    Manually tested by Adrián on 2-Dec in the Code-XR IDE scene: the UFO flies above the city, glides between files and beams down on the worked building. The scene runtime is shared with the VS Code extension's browser scene (merged in v1.3.0 #421 and ide #422).


    Generated by Claude Code

  4. added 4 commits that reference this issue on Dec 2, 2026
  5. aMonteSl commented on Dec 2, 2026

    @aMonteSl
    CollaboratorAuthor

    Follow-up #435/#436 (buildings capped at 0.55 m, UFO at eye height) manually tested OK by Adrián on 2-Dec. Open regression found in the same session: the UFO now jumps between positions instead of gliding; being fixed separately.


    Generated by Claude Code

  6. added a commit that references this issue on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: extensionarea: idestream: agent-flowtfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions