Repository navigation
fix: use provider-backed embeddings for remote agents #857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 136 commits
Commits
Show all changes
177 commits
Select commit
Hold shift + click to select a range
aacef77
fix(embeddings): route remote agents to provider
seonghobae e8d2a34
Merge remote-tracking branch 'origin/main' into fix/provider-backed-e…
seonghobae 9846392
Merge remote-tracking branch 'origin/fix/configurable-body-limit' int…
seonghobae cffb1de
Merge remote-tracking branch 'origin/main' into HEAD
seonghobae 03e95eb
Merge remote-tracking branch 'origin/pr-857-new' into HEAD
seonghobae d9a56f9
docs: refresh protected delivery gap baseline
seonghobae 9897c18
docs: record structured orchestration full suite
seonghobae 3f5c430
fix(embeddings): preserve batch and metered client methods
seonghobae 5b08cb6
Merge remote-tracking branch 'origin/fix/provider-backed-embedding-ba…
seonghobae a8b3727
fix(api): preserve orchestrator-owned chat model selection
seonghobae 052fdd8
fix(api): accept orchestrator reasoning effort controls
seonghobae 10ece63
fix(embeddings): bind failover to selected provider
seonghobae b2dd31a
docs: refresh exact-head product gap baseline
seonghobae d834427
fix(routing): fail over malformed provider responses
seonghobae 9f476e3
Merge remote-tracking branch 'origin/fix/provider-backed-embedding-ba…
seonghobae 5ba250e
test: install runtime dependencies for local suite
seonghobae d28674f
Merge commit 'refs/pull/857/head' of https://github.com/ContextualWis…
seonghobae 3349edf
fix(api): require explicit chat model selection
seonghobae 1b758a4
feat: preserve provenance in bulk embeddings
seonghobae ae1b8c0
Merge remote-tracking branch 'origin/fix/provider-backed-embedding-ba…
seonghobae 7983095
fix(embeddings): reject empty provider inputs
seonghobae 1ecb56b
fix: fail over exhausted provider transports
seonghobae d9c62be
Merge remote-tracking branch 'origin/fix/provider-backed-embedding-ba…
seonghobae 4ca92f4
docs: record exact-head routing verification
seonghobae ee5272f
fix(embeddings): bind backend to selected provider
seonghobae ffe036e
feat(embeddings): advertise enforced bulk limits
seonghobae 39a5a6b
fix: bound provider failover by request deadline
seonghobae 0d1ed60
feat(embeddings): advertise enforced bulk limits
seonghobae a4e71d3
docs: specify request deadline contract
seonghobae c19bea0
Merge pull request #859 from ContextualWisdomLab/fix/structured-reque…
seonghobae eacae99
feat(embeddings): execute provider batches asynchronously
seonghobae 0cfe55c
Merge remote-tracking branch 'origin/fix/provider-backed-embedding-ba…
seonghobae 57503eb
fix(provider): preserve timeout hook compatibility
seonghobae 503e9b8
fix: propagate deadline through structured transport
seonghobae 44b036e
Merge pull request #860 from ContextualWisdomLab/fix/structured-trans…
seonghobae b62e6b7
fix(embeddings): publish bounded polling cadence
seonghobae b6cf8d5
Merge commit '503e9b8631ca6efef3a53743fdb3c785dad4402c' into feat/emb…
seonghobae 2f3feb9
fix(embeddings): publish durable result retention
seonghobae f0033d9
fix: address provider deadline review findings
seonghobae 79e504f
fix: retain default streaming timeout
seonghobae 4fc7e41
perf(embeddings): send provider bulk in one call
seonghobae f18fd20
fix: preserve provider timeout hook compatibility
seonghobae 0e19ffd
fix: apply deadlines to embedding and stream transport
seonghobae 2b11707
fix(embeddings): honor provider batch limits
seonghobae d078ce6
feat(embeddings): enforce OpenAI published batch limits
seonghobae 1cda2e4
fix: preserve streaming timeout hook compatibility
seonghobae 49a5738
fix(embeddings): pack OpenAI batches with Rust tokenizer
seonghobae 2c1a1fb
chore(rust): exclude tokenizer build output
seonghobae 3df12e7
fix: propagate deadlines across provider routes
seonghobae 1fc4d3d
feat(embeddings): resume provider shards durably
seonghobae 9fa56fd
fix: preserve request deadlines through routing
seonghobae d28f286
fix: classify streamed response deadlines
seonghobae dadf843
fix(embeddings): move exact packing into PyO3 Rust
seonghobae 6334737
test(embeddings): prove exact Rust packing boundaries
seonghobae 2081476
docs: refresh exact-head product gap evidence
seonghobae 04663e3
Merge branch 'fix/provider-backed-embedding-batch' of https://github.…
seonghobae 5ef299d
fix(embeddings): harden durable provider lifecycle
seonghobae f9f225b
fix: harden embedding batch completion
seonghobae a31e622
feat(embeddings): preserve post session across durable shards
seonghobae fdcabb6
Merge commit 'refs/pull/861/head' of https://github.com/ContextualWis…
seonghobae ca1c7f0
fix: preserve stacked embedding deadline contracts
seonghobae 02a20b2
docs: refresh embedding batch queue evidence
seonghobae 08e34c9
build: pin Rust extension toolchain image
seonghobae 16d685a
docs: align queue evidence with implementation
seonghobae 5c283cb
build: preserve locked Rust workspace
seonghobae 74091e1
fix(embeddings): retain per-input post sessions
seonghobae e1450d8
docs: refresh implementation parent evidence
seonghobae c8284ad
build: package Rust extension under gateway module
seonghobae 61457fe
docs: update built-extension evidence parent
seonghobae 3adbced
Merge commit 'refs/pull/861/head' of https://github.com/ContextualWis…
seonghobae e8bff69
docs: align evidence after session merge
seonghobae 7b4891a
fix(discovery): activate embedding-capable agents
seonghobae 548b6db
refactor(embeddings): move arithmetic into Rust core
seonghobae 837147d
fix: preserve embedding batch review contracts
seonghobae 6b27ef2
Merge remote-tracking branch 'origin/feat/embedding-batch-capability'…
seonghobae 1f59bc8
test: keep embedding arithmetic contracts in Rust
seonghobae 1437f90
docs: refresh stacked embedding evidence
seonghobae fba091d
docs: refresh latest dependency evidence
seonghobae a459ba3
fix: make embedding terminal state transitions atomic
seonghobae 45deb43
docs: bind baseline to terminal-state fixes
seonghobae d644e8d
fix(embeddings): reject invented reduction inputs
seonghobae b0d1395
Merge pull request #861 from ContextualWisdomLab/feat/embedding-batch…
seonghobae 7803fa5
Merge remote-tracking branch 'origin/feat/embedding-batch-capability'…
seonghobae c6a86bd
fix(embeddings): harden durable provider lifecycle
seonghobae 06f27dd
docs: define native accelerator runtime boundaries (#864)
seonghobae d7329b4
fix(embeddings): preserve clientless server tests
seonghobae 8679341
fix(embeddings): serialize durable job recovery
seonghobae 0ac9a21
Merge remote-tracking branch 'origin/fix/provider-backed-embedding-ba…
seonghobae f8b4537
fix(embeddings): fail closed on unavailable discovery
seonghobae 2c27a59
fix(embeddings): preserve aggregate cost provenance
seonghobae b92ede3
test(embeddings): require declared capability
seonghobae 1cf837d
fix: close embedding batch review races
seonghobae 08aba86
test(embeddings): declare readiness capability
seonghobae 6abcf55
fix: keep embedding poll metadata out of cache
seonghobae 4212b25
fix(batch): bound registry claim locks
seonghobae ce5b5f9
fix: fail over structured judge providers
seonghobae d0e2ba9
fix: close embedding batch review gaps
seonghobae 40515fc
test: bootstrap pinned Rust extension
seonghobae b0250fc
Merge commit '4212b25db9948c14f366124d92687383b3a0c712' into codex/pr…
seonghobae 2a1810f
Merge remote-tracking branch 'origin/main' into codex/embedding-auto-…
seonghobae bbf3a70
fix: gate structured failover on readiness
seonghobae 09ce71b
Merge commit '2a1810f46bd0f2a648d2236266e2e5d54a6738bb' into codex/pr…
seonghobae a660601
fix(embeddings): preserve UTF-8 token boundaries (#865)
seonghobae 98c6337
merge: combine embedding discovery and structured readiness
seonghobae 2576007
merge: refresh pull request base
seonghobae 75c94d2
fix(batch): preserve in-flight claim ownership
seonghobae 134c24f
Merge remote-tracking branch 'origin/fix/provider-backed-embedding-ba…
seonghobae 46e46ff
Merge remote-tracking branch 'origin/fix/provider-backed-embedding-ba…
seonghobae 19f870d
Merge pull request #862 from ContextualWisdomLab/fix/embedding-batch-…
seonghobae da8ecfe
Merge commit '19f870d46bcbc7ac81c4288d0ff3f7f847712fad' into codex/pr…
seonghobae 4dcf952
test: build Rust extension before local suite
seonghobae 34d04ed
Merge commit '4dcf952a38b0b303137813aea5a59aea727b6434' into codex/pr…
seonghobae ef0213a
refactor: make Rust numeric authority fail closed
seonghobae edc223c
fix: close embedding batch correctness gaps
seonghobae 0472c02
fix: isolate structured probes and async deadlines
seonghobae dc5ed7a
fix: avoid empty provider usage records
seonghobae b49d6ff
fix: scope structured provider failures to request (#867)
seonghobae 22f620d
fix: scope embedding batch dedup to deployment
seonghobae 9ecf696
fix: preserve durable readiness evidence (#875)
seonghobae 77fd436
fix: fail over structured passthrough by readiness (#878)
seonghobae 1b3c979
Merge remote-tracking branch 'origin/main' into HEAD
seonghobae fcad50a
fix(build): keep native token packer out of source
seonghobae d3fd9a6
fix(runtime): bound provider claim leases
seonghobae 8cf4197
fix: orchestrate virtual JSON schema responses (#882)
seonghobae 328a3f6
fix: close owned embedding workers
seonghobae 11f831c
fix: renew durable readiness claims
seonghobae 1cee22b
fix: bound readiness renewal lease
seonghobae eb0a871
Merge pull request #884 from seonghobae/fix/readiness-durable-claim-r…
seonghobae d68d117
fix: share durable claim token across renewal thread
seonghobae bc4f115
fix: harden readiness claim renewal
seonghobae 4da9381
Merge remote-tracking branch 'origin/main' into fix/pr884-review-find…
seonghobae 2916bba
fix: clear provider batch security review gates
seonghobae 12d6847
fix: complete property fuzz dependency lock
seonghobae f61b58e
fix: make native full-suite runner self-consistent
seonghobae ca60f55
fix(ci): install native token packer in fuzz jobs
seonghobae cc1ec2c
fix: renew durable embedding execution claims
seonghobae 0aec4a5
fix: verify native wheel and record queued batch health
seonghobae f1d0fbb
Merge origin/main into provider-backed embedding batch
seonghobae b2aedb7
fix(ci): compile Python 3.12 fuzz lock completely
seonghobae cf8df35
feat: combine authenticated discovery with native routing
seonghobae 660810a
fix(server): reject blank embeddings models
seonghobae cb4d5bc
fix: preserve endpoint identity across request routing
seonghobae b98a69b
fix(orchestration): preserve bounded provider failover
seonghobae eee5323
fix(routing): keep endpoint requests synchronous
seonghobae 17f8921
fix(discovery): expand configured gateway catalog
seonghobae acf93d5
fix(discovery): retain unmatched gateway seed
seonghobae 687f1d1
fix(discovery): normalize gateway seed identity
seonghobae 014ef80
fix(catalog): align privacy model identity
seonghobae b139790
fix(security): make CLI provider hosts authoritative
seonghobae 895abc6
fix(discovery): retain unmatched gateway seed
seonghobae 4dbf04c
style(tests): separate discovery regressions
seonghobae ad61870
Merge pull request #902 from ContextualWisdomLab/fix/gateway-catalog-…
seonghobae f886098
fix: expose actionable admission retry cadence
seonghobae 60c567c
docs: keep one changelog change section
seonghobae 41d7110
test: tolerate elapsed rate-limit window
seonghobae 8048195
Merge pull request #907 from ContextualWisdomLab/fix/actionable-rate-…
seonghobae 2712827
fix: bind structured synthesis to readiness contract
seonghobae 3558a9a
fix: retain partial readiness results
seonghobae 00d5664
fix(batch): bind jobs to authenticated principals
seonghobae 7b2c402
fix(readiness): probe both structured output transports
seonghobae 677340f
test(readiness): accept both native structured formats
seonghobae d1afcd3
test(privacy): skip unsupported optional mcp api
seonghobae 17a7b13
fix(routing): return typed provider exhaustion
seonghobae 49a2d5c
Merge remote-tracking branch 'origin/main' into repair/provider-exhau…
seonghobae 52d8bf6
fix(routing): reconcile current main contracts
seonghobae cb8d4da
fix(ci): run full suite with native token packer
seonghobae 017c1ff
fix(ci): keep native full suite on builder image
seonghobae 729c793
fix(ci): include trust store in test runner
seonghobae 31059a6
docs: describe pinned native test runner
seonghobae 13432f3
fix(ci): point Python TLS at Debian CA bundle
seonghobae 80ddc56
chore: run one-shot conflict resolver for PR #857
seonghobae 0a83223
chore: rerun hardened conflict inventory for PR #857
seonghobae 9b9f9e4
fix(cost-router): tolerate readiness-job documents disappearing under…
claude 409e4b9
docs(gap-baseline): record this cycle's #868/#857/#906 findings and f…
claude 63a6e65
chore: remove exhausted one-shot PR #857 conflict-resolver caller
seonghobae 0e04a04
fix: preserve structured exhaustion on provider embedding stack (#969)
seonghobae 77a4967
Merge origin/main and preserve provider-backed embeddings
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ __pycache__/ | |
| dist/ | ||
| build/ | ||
| *.egg-info/ | ||
| contextual_orchestrator/_token_packer*.so | ||
| tempcred.txt | ||
|
|
||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| - Preserve complete UTF-8 scalar values when the Rust embedding token packer | ||
| divides an input at a provider token ceiling, and fail closed when the | ||
| configured ceiling cannot contain one decodable scalar. |
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| .PHONY: test | ||
|
|
||
| test: | ||
| uv run --no-project --with-requirements requirements.lock --with-requirements fuzz/requirements-property.txt python -m pytest -q | ||
| ./scripts/run_hash_locked_tests.sh |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.