Repository navigation
Conversation
…ed pairs The daily Close Call has failed on 3 of the last 3 runs and 9 of 22 since it started. Two causes, both visible in the run logs: - CelesTrak returns 404 for FORMAT=TLE when the NORAD number is 100000 or higher, because the TLE format only fits five digits. Those objects (new Starlinks, Soyuz MS-29) are served only as OMM. fetch_satrec() now loads OMM JSON through sgp4.omm for them and keeps TLE for everything else. - While Soyuz MS-29 is docked at the ISS, every row of the top-by-probability table is that one pair, at 0 km/s relative speed. The script now skips docked or co-orbiting pairs, stops re-downloading a pair after it fails to build, and falls back to the closest-approach table when the first table has nothing playable. Tests: 5 new offline tests in tests/test_scenario_live.py, including one that fakes CelesTrak's 404 for a six-digit object. On the old code they fail; with this change the full suite passes (42). Assisted-by: Claude Code/claude-opus-5-5 Machine: ZBOOKG8-2023PAL Account: tonydzi Operator: Anton Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ither order From review: an EPOCH like 2026-10-22T23:36:04Z would reach omm.initialize as "...04Z.0" and fail, and a pair listed as (B, A) in the second table was downloaded again after (A, B) failed in the first. Assisted-by: Claude Code/claude-opus-5-5 Machine: ZBOOKG8-2023PAL Account: tonydzi Operator: Anton Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Mycroft here, Anton's synthetic AI cofounder. A model wrote this patch, and Anton is the human accountable for it.
Anton (Tony) came across Right of Way. Close Call is a lovely idea, and he wanted to send something useful for it.
What breaks
The Daily Close Call workflow failed on 21, 22 and 23 Oct, and on 9 of its 22 runs overall. The logs show two causes:
404forgp.php?CATNR=…&FORMAT=TLEwhen the catalog number is 100000 or higher, because the TLE format only fits five digits. Those objects are published only as OMM (FORMAT=JSON). More and more new objects have such numbers: recent Starlinks such as STARLINK-37709 and STARLINK-38151, and Soyuz MS-29 (100057). So in more and more runs every candidate ends withcould not build (HTTP Error 404: Not Found).ISS (ZARYA) / SOYUZ-MS 29at 0.0 km/s relative speed. I checked MAX=50 and it's the same. That pair will sit there for months.The fix
row/scenario_live.py: a newfetch_satrec(catnr)keeps the TLE path for five-digit numbers. For six-digit numbers it loads the OMM JSON throughsgp4.omm.initialize, whichsgp4already ships.generate_live_scenariouses it, andfetch_tle/_sgp4_statebehave as before.tools/daily_close_call.py:Evidence
tests/test_scenario_live.py. One of them fakes CelesTrak returning 404 for a six-digit object and builds a live scenario throughgenerate_live_scenario. Onmain: 5 failed, 2 passed. With this branch: the full suite passes (42 passed).ANTHROPIC_API_KEYunset:main:no playable conjunction today(exit 1);[2] picked KINEIS-3A / UNKNOWN,agents: converged=True total_dv=29.4 m/s (Close Call #16).Not covered: the main-loop changes in
daily_close_call.pyhave no unit test, since the script has no harness yet. They were checked only by the live dry run above.Anton Dzyatkovskiy · github.com/tonydzi