Repository navigation
Agent Flow: no 1 m box for unbuilt files, one UFO on a delegate (#319) - #450
Merged
Merged
Conversation
… as a 1 m box (#319) Adrián saw a big grey-violet block in the middle of the city in the demo video. It is templates/components/livepanel/charts.js, the file the sample session deletes with git rm. An InstancedMesh starts every instance at the identity matrix, and setBuildingHeight returns early when the height does not change, so a file whose height is 0 at the step the session opens on (deleted by then, or not created yet) was never written: it stood as a unit box at the city's origin for the whole session. buildBuildings now starts every building at the zero matrix, like the roofs, ghosts and floors already did. The harness asserts that every file with no height at the end of the sample session is hidden.
…e delegate (#319) Adrián, watching the demo video: on a delegate, the main UFO and both subagents' UFOs sat in a pile at the same spot, their name tags on top of each other. workersAt made a subagent present from the delegate step that spawned it, and until its first step startSpot parked it 3 cm beside the main worker. A subagent is now present from its own first step: during the delegates only the main UFO flies (in its delegate outfit), and each subagent pops out of it, with the beam, when it starts working. Unit test updated (absent before its first step, each subagent appearing on its own first step). Test guide row updated.
This was referenced Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adrián spotted a big grey-violet block in the middle of the Agent Flow city in the demo video. It is
templates/components/livepanel/charts.js, the file the sample session deletes withgit rm.InstancedMeshstarts every instance at the identity matrix (a 1 m box at the city's origin).setBuildingHeightreturns early when the height does not change, so a file whose height is 0 at the step the session opens on (deleted by then, or not created yet) was never written and stood there for the whole session.buildBuildingsnow starts every building at the zero matrix, as the roofs, ghosts and floors already did.Any real session that deletes, moves or creates files was affected, not only the sample.
Tests
run-agent-flow-harness.cjsasserts that every file with no height at the end of the sample session is hidden (instance scale < 0.001). Full harness run: OK (179 buildings, 36 steps).agentFlowRuntime.test.cjs: pass.Second fix: one UFO on a delegate
Adrián, watching the same video: on a delegate the main UFO and both subagents' UFOs sat in a pile, with overlapping name tags.
workersAtmade a subagent present from the delegate that spawned it, parked 3 cm beside the main worker until its first step. A subagent is now present from its own first step: during the delegates only the main UFO flies (delegate outfit), and each subagent pops out of it with the beam when it starts working.agentFlowRuntime.test.cjs: absent before its first step; each subagent appears on its own first step. Pass.docs/agent-flow/test-guide.mdrow updated.Refs #451, #452 (left open until Adrián's manual check).
Generated by Claude Code