Skip to content

feat(harness): an axis run can be read on a source that does not start at zero (AE#534) - #600

Merged
superuser404notfound merged 1 commit into
mainfrom
fix/534-offset-landing-arm
Sep 22, 2026
Merged

superuser404notfound merged 1 commit into
mainfrom
fix/534-offset-landing-arm

Conversation

@superuser404notfound

Copy link
Copy Markdown
Owner

The arm AE#534's second half has been waiting for, and nothing more: no behaviour changed.

Why it did not exist

Every axis fixture in this repo starts at zero. On a zero-origin source "this run carries no placement offset" and "item time is source time here" are the same number, so only the first of the two was ever actually tested. A recording cut out of a longer one, or a TS remux, is not an exotic case, and it is the geometry the snap's second half turns on: the rule reads the published axis, so on a source whose timestamps start at 600 s the standing axis is 599.625 and abs(...) < 1.0 cannot fire at all, while the same 0.375 s displacement on a zero-origin source snaps.

What is in here

Scripts/timecode-fixture.sh <dir> [offset] writes an offset copy of each fixture through -c copy -output_ts_offset. The order is the trap and the header says so: offset first, inject Cues after, because a matroska remux regenerates Cues from the real keyframes and would undo the lie a cues fixture exists for.

aetherctl play --picture-origin S lifts the picture onto the source axis before it is differenced against a source time. The picture states a frame index, which the offset does not move, so without it the verdict is unreadable on a twin. axisErr is deliberately left alone, both of its terms are on the item axis.

Measured

Same arm, --seconds 12 --start-position 53 --picture-probe, on the pair:

fixture capErr axisErr
tc-cues-lie.mkv (control) +0.017 -9.000
tc-cues-lie-600.mkv with --picture-origin 600 +0.017 -9.000
tc-cues-lie-600.mkv without it -599.942 -9.000

The twin reads exactly like the control once the origin is given, which is the whole point of it, and +0.017 is the value the fixture's own header documents for a correctly described axis, so nothing about the engine moved here.

One thing worth recording from building it: an earlier mis-aimed run of mine (a seek to 80 over a throttled origin) read capErr +9.025, which looks exactly like a finding. Re-running the documented geometry gave the documented +0.017. On this fixture the aim is part of the instrument, so a reading that disagrees with the header is a reason to re-check the arm before it is a reason to suspect the engine.

What is still open on #534

The measurement itself. With the arm in place it is one run: an offset source whose landing is NOT held, to read whether AVPlayer discards the sub-second displacement there rather than doing nothing. The code change that answer settles is one line, since publishPlaylistShift already carries snapped - sourceStartSeconds at the snap site.

Part of #534.

🤖 Generated with Claude Code

https://claude.ai/code/session_014AVNwe8YDG9EQM7uHdjT3f

…t at zero (AE#534)

Every axis fixture in this repo starts at zero, and on a zero-origin source "this
run carries no placement offset" and "item time is source time here" are the same
number, so only the first of them was ever actually tested. That is the geometry
AE#534's second half needs and the one nothing here could produce.

Two pieces, and the second is what makes the first readable.

`Scripts/timecode-fixture.sh <dir> [offset]` writes an offset copy of each
fixture through `-c copy -output_ts_offset`. The ORDER is the trap: offset first,
inject Cues after, because a matroska remux regenerates Cues from the real
keyframes and would undo the lie a cues fixture exists for.

`aetherctl play --picture-origin S` lifts the picture onto the source axis before
it is differenced against a source time. The picture states a frame index, which
the offset does not move, so the verdict is otherwise unreadable on a twin.
`axisErr` is left alone: both of its terms are on the item axis.

Measured on the pair at `--start-position 53`:

  tc-cues-lie.mkv                        capErr +0.017   axisErr -9.000
  tc-cues-lie-600.mkv --picture-origin   capErr +0.017   axisErr -9.000
  tc-cues-lie-600.mkv without it         capErr -599.942

So the twin now reads exactly like the control, which is the whole point of it.
The documented control geometry still reads its documented +0.017, so nothing
about the engine's axis moved here.

3334 tests green on both runners.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_014AVNwe8YDG9EQM7uHdjT3f
@superuser404notfound
superuser404notfound merged commit e0b1c82 into main Sep 22, 2026
7 checks passed
@superuser404notfound
superuser404notfound deleted the fix/534-offset-landing-arm branch September 22, 2026 12:02
Quick104 added a commit to Silo-Server/AetherEngine that referenced this pull request Oct 31, 2026
A `.sup` sidecar declared at load is labelled subrip by codecName, so it
joined the native text table and its store fill. The store keeps no image
cues, so that fill always finished complete and empty. Selecting the track
while the fill ran waited for it, and once it finished the empty-fill
backfill published no subtitles in place of the sidecar decode that would
have shown its images.

A selection now shares the fill only for a text format, and a fill reports
that it holds the whole track only when it read the entire sidecar and
found no image cues. A bitmap sidecar decodes on its own, as before superuser404notfound#600.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant