Repository navigation
Stage 15: lanes and levels - #18
Merged
Merged
Conversation
A lane is a chain of pieces, so the lane checks, the relations that name a lane, and occluders measure bends, diagonals, and ramps. A two-point lane along u or v keeps its earlier rectangle. Reachable paths may cross levels through connector lanes. Facing is measured from a front, and the solver may turn objects in quarter turns. Co-authored-by: HPH Proton <hphproton@users.noreply.github.com>
The guide covers lane pieces and the corner they leave open, toLevel, facing and front, solve --rotate and its patch, and relate angle. The changelog lists the lanes that earlier releases skipped and that this stage measures. Co-authored-by: HPH Proton <hphproton@users.noreply.github.com>
The review finds three defects of solve --rotate (a turned object that the search does not move is not constrained, a turned object can leave the grid, the conflict set ignores turning) and asks for an arrowhead on the facing mark. Everything else of the stage meets its rules. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The search scored a turned object as if it had not moved, so an overlap created by the turn was allowed and a changed coordinate could leave the 0.05 grid. Turns are now scored against the input scene, and the conflict set uses that solver. Co-authored-by: HPH Proton <hphproton@users.noreply.github.com>
The Relations overlay drew the front as a short line. The mark is now an arrow with a filled head at the tip. The relations overlay data is unchanged. Co-authored-by: HPH Proton <hphproton@users.noreply.github.com>
The guide and changelog describe the turned-footprint rules, the conflict set with --rotate, and the arrow head. Co-authored-by: HPH Proton <hphproton@users.noreply.github.com>
Version 0.15.0 in package.json, package-lock.json and the readme; the readme mentions lanes that bend and climb, paths across levels, facing and turning. CHANGELOG 0.15.0; stage 15 done in the roadmap. The files of tests/fixtures/paths/earlier/ move over the files they replace, and the folder is gone. SPEC 8 says the conflict search may turn objects with --rotate; SPEC 16 gives the sizes after stage 15. Review log of session 34. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Maintainer review of stage 15: ready to merge as release 0.15.0. Details in
Squash commit message: Title: Body: Generated by Claude Code |
hphproton
added a commit
that referenced
this pull request
Nov 14, 2026
SPEC section 17 lists four more requests that are not scheduled: zones and lanes drawn at their heights in depth order with the objects, a screen clearance check, solve along a line, and no_overlap that tests parts. Maintainer log 35 records the merge of #18 and the minimal case of each request. Co-authored-by: Claude <noreply@anthropic.com>
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.
Stage 15 measures lanes that turn, climb, and cross levels, and it measures facing.
A lane is a polyline. Each segment longer than zero is a piece, widened by half the width and not past its ends, with a surface from one end height to the other.
lane_clear,lane_reaches,lane_apart,against,clear_ofandoccluders --laneuse that shape. A lane of two points along u or v keeps the results of earlier releases. The lanes those releases skipped are measured now:lane(c6),edges(c10),measures(diag_shape),levels(steps_clear),relations(r17) and the check changes of height patch 43. At a bend the outer corner is not part of the lane. On a lane that climbs,occludersstands the actor on the surface and reportslevelnull.reachabletakestoLevel. The path may cross levels through lanes that join them. WithouttoLevelit stays on one level.areatogether withtoLevelis a schema error.facingmeasures the angle from afront(+u,-u,+v,-v) on a type or an anchor.amay be an anchor.angledefaults to 45 degrees, andrelatetakesangle. The violation is the excess angle in radians. In the editor the Relations overlay draws that relation as a short arrow with a head at the tip.solve --rotatemay turn movable objects that are not locked, in quarter turns. A turned footprint is under the view, overlap and grid rules, measured against the input scene, even when the search does not move it again. Two footprints may overlap only when they overlapped in the input, and a coordinate the turn changes is a multiple of 0.05. The conflict set is found with that solver, so a relation a turn satisfies is not named. Fewer turns win ties. The report addsturned, and the patch writesrotbefore that object'smove, with offsets from the positionrotgives. In the editor, Turn objects adds the flag, a turned object is drawn as a ghost, and Occluders of lists every lane with a piece.hideandshowfind a part the way an anchor is found, so an id that contains/can name its part.The maintainer's first review found three defects of
solve --rotateand asked for an arrow head on the facing mark; builder session 16 fixed them. The release commit sets version 0.15.0 and moves the files oftests/fixtures/paths/earlier/over the files they replace.npm test: 1,552 passed, 0 failed, 0 skipped.npm run test:godotpassed. No new dependency. The scene format staysisoblock/1. The runtime file staysisoblock-runtime/3.