feat(connection-builder): carrier MCT overrides + fail-closed hierarchy (#141) - #160
Merged
Merged
Conversation
… hierarchy Implement #141: load curated MCT from data/reference/mct/, prefer carrier overrides, and fail closed when no SSIM-aligned row exists. Remove invented airport-constant / global default tables. Document hierarchy and open DOMAIN_QUESTIONs (online vs interline) in docs/knowledge-base/mct.md. Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
telivity-otaip
marked this pull request as ready for review
August 24, 2026 08:55
pnpm gen:manifest --check failed because stage-1-search.md updates were not reflected in the committed agent map HTML. Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Merge from main left docs/agent-map.html stale relative to updated stage agent docs; fixes pnpm gen:manifest --check in CI. Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.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.
What does this PR do?
Closes #141.
Implements Connection Builder MCT resolution against IATA SSIM Chapter 8 and PSC Resolution 765: curated carrier overrides under
data/reference/mct/, documented hierarchy, and fail-closed when no row matches. Removes invented airport-constant / global MCT tables (no haversine, no fake IATA defaults).Type of change
Checklist
pnpm exec vitest run packages/agents/search/src/connection-builder)@otaip/agents-searchtypecheck passes (after@otaip/corebuild)pnpm gen:manifest --checkpasses (regenerateddocs/agent-map.html)Domain impact
data/reference/mct/. Hierarchy: carrier override → airport+terminal → airport → fail-closed (required_mct_minutes: null,valid: false). Starter dataset contains only the already-in-code UA→UA ORD domestic 50m online row. Airport rules file is empty by design until a real SSIM/aggregator extract is curated.docs/knowledge-base/mct.md— not invented.Test plan
docs/agent-map.htmlafterdocs/agents/stage-1-search.mdMCT docs update