detectAsync + catalogue detection; sync-miss hint; register round two - #68
Merged
Merged
Conversation
TODO.impl 06-11 (the register's second wave): - 06: DetectOptions.systems constrains the candidate catalogue, and detectAsync loads candidates through the dep-aware async loader (loader.loadAsync alone skips dependencies - the exact bug the async tests caught) before ranking; executeStageAsync for dependency-resolving stage execution. TDD: four failing tests first. - 07: MapNotFoundError gains an async-loader hint when the sync miss happened with promise-returning strategies in the stack - the trap the examples work hit firsthand. - 10: README 'Try it' section wires the CDN recipe, examples gallery, and ambient types. - 08/09/11 tracked in the register; 09's ruby half + 11 shipped as interscript-ruby#769 and interscript-py#5 (the dark Python runtime restored: 252/289 corpus maps convert, parity with TS and Ruby).
Two probe attempts timed out on the 193 MB fetch (10 and 25 minutes); import and resolve verified, session-from-CDN documented as unproven with the import-map remedy named. The doc now claims exactly what was observed.
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.
What
The register's second wave (TODO.impl 06-11) — the library-side completions plus the register itself.
DetectOptions.systemsconstrains the candidate set;detectAsync()loads candidates through the dependency-aware loader (loadMapAsync, notloader.loadAsync— the async tests caught that dependencies were being skipped, silently degrading ranked maps) and executes stages viaexecuteStageAsync.MapNotFoundErrorappends "async loaders configured — use loadMapAsync/transliterateAsync" when the sync miss saw promise-returning strategies — the exact trap the examples work hit firsthand.Verification
New suites:
test/detect-catalogue.test.ts(4),test/sync-miss-hint.test.ts(2) — written RED first. Full suite 262 passed, tsc clean, eslint clean.