Repository navigation
Closed
Labels
area:cliCLIarea:coreCore runtime and shared infrastructurearea:daemonDaemon and live service runtimearea:mcpMCParea:storageStoragetheme:command-surfaceCLI and control-plane command taxonomytype:featNew feature
Description
Problem
Polylogue has basic FTS search hits, snippets, hybrid retrieval, and reader/search surfaces, but ranking/result explainability is not yet a stable shared contract.
Current gaps:
- query/list/search surfaces do not share one ranked result envelope;
- hit payloads expose rank/lane/surface/snippet/score but not why-this-matched details;
- hybrid RRF lane contributions are discarded before surfaces;
- default date sorting can silently replace ranked search order in non-hit paths;
- pagination is inconsistent after ranked/filter paths;
- daemon facets are currently global-style stats rather than scoped query facets;
- docs risk overstating query syntax and hybrid/auto semantics.
#859 owns the shared read/query/status envelope spine. This issue owns rank semantics, evidence, snippets/highlights, scoped facets, and stable ranked pagination.
Scope
Define canonical ranked search behavior and payloads:
- ranked result envelope: hits, total or unknown-total, limit, offset/cursor, next marker, query, sort, retrieval lane, ranking policy/version;
- per-hit explanation payload: matched terms, match surface, evidence IDs, snippet/highlights, score components, lane rank, lane contribution, and raw-score semantics;
- explicit semantics for
dialogue,actions,hybrid, and semantic/vector paths; - hybrid RRF explanation that preserves lane ranks/contributions rather than only saying
hybrid; - stable ranked pagination after filters/ranking, preferably cursor/keyset over ranking policy plus tie-breakers where offset is unsafe;
- scoped versus global facet counts, with scoped counts computed against the current query/filter set;
- CLI JSON, MCP, API, and daemon payloads aligned with refactor(api): define shared query/status contracts for all read surfaces #859.
Likely files/modules:
polylogue/archive/query/spec.pypolylogue/archive/query/plan.pypolylogue/archive/query/plan_execution.pypolylogue/archive/query/retrieval_search.pypolylogue/archive/query/search_hits.pypolylogue/archive/query/sorting.pypolylogue/storage/search/query_builders.pypolylogue/storage/sqlite/queries/conversations_search.pypolylogue/storage/search/models.pypolylogue/storage/search_providers/hybrid.pypolylogue/surfaces/payloads.pypolylogue/mcp/server_tools.pypolylogue/mcp/payloads.pypolylogue/cli/query.pypolylogue/cli/query_output.pypolylogue/daemon/http.pydocs/search.md
Non-goals
- Do not build the reader UI itself; feat(reader): finish interactive reader and unified surface shell #848 owns the shell.
- Do not solve MCP resource errors beyond adapting envelopes; fix(mcp): add pagination envelopes and structured resource errors #819 owns those.
- Do not implement embedding generation; feat(daemon): post-ingest embedding task — voyage-4 integration, cost tracking, status surface #828/feat(config): unified config system — polylogue.toml, four-layer precedence, shared daemon/CLI config #829 own embeddings.
- Do not promote provider metadata fields here; coordinate fix(archive): store context and protocol artifacts semantically, not via projection fallbacks #839/refactor(schema): graduate universal semantics out of provider_meta #864.
- Do not add LLM-generated explanations.
- Do not introduce a generic service layer; refactor(surfaces): route read adapters through shared archive APIs #860 owns surface/API cleanup and warns against ungrounded abstraction.
Dependencies
- refactor(api): define shared query/status contracts for all read surfaces #859 for shared read/query/status contract shape.
- fix(mcp): add pagination envelopes and structured resource errors #819 for MCP envelope/resource-error adaptation.
- feat(reader): finish interactive reader and unified surface shell #848/test(reader): add local web reader visual smoke harness #865 for reader consumption and visual smoke.
- refactor(surfaces): route read adapters through shared archive APIs #860 for routing surfaces through shared APIs.
- feat(context): build project/date/query context packs for agent analysis #838 for context-pack consumers.
- refactor(storage): reduce FTS bloat and stale schema/read-path drift #817 for FTS/index correctness and search bloat.
- feat(daemon): post-ingest embedding task — voyage-4 integration, cost tracking, status surface #828/feat(config): unified config system — polylogue.toml, four-layer precedence, shared daemon/CLI config #829 for vector availability and config.
- fix(archive): store context and protocol artifacts semantically, not via projection fallbacks #839/refactor(schema): graduate universal semantics out of provider_meta #864 for semantic artifact/provider-meta promotion.
- test(perf): define read-surface SLOs for query, reader, facets, context, and cost #872 for read-surface performance SLOs.
Acceptance criteria
- Search/list ranked responses use one typed envelope across CLI JSON, MCP, API, and daemon where exposed.
- Every ranked hit has deterministic why-this-matched evidence.
- Search default ordering is rank-first unless the user explicitly chooses date or another sort.
-
dialogue,actions,hybrid, and semantic/vector paths have documented ranking behavior and tests. - Hybrid results expose lane ranks/contributions or another stable explanation of the fused rank.
- Pagination is stable and applies after filters/ranking.
- Facets declare whether counts are scoped or global, and scoped counts are available from the archive/query layer.
- Docs match actual FTS/query syntax and result semantics.
Verification
Focused checks should include:
pytest tests/unit/archive/test_search_hits.py tests/unit/archive/test_query_search_runtime.py tests/unit/storage/test_fts5.py tests/unit/storage/test_hybrid.py -q- MCP contract tests when MCP payloads change;
- CLI JSON/plain formatting tests when query output changes;
- daemon HTTP tests when API list/search/facet payloads change;
devtools render-all --checkwhen docs/generated surfaces change;devtools verify --quick, then fulldevtools verifybefore PR readiness.
Agent traps:
- Do not claim refactor(api): define shared query/status contracts for all read surfaces #859 solves search UX; it defines shared contract shape.
- Do not build facets or explanations in the reader from partial result sets.
- Do not expose raw
bm25without explaining lower-is-better or normalizing it. - Do not let date sorting silently replace ranked search order.
- Do not describe hybrid as explainable unless lane ranks/contributions survive to the payload.
- Do not rely on provider metadata parsing for durable query semantics; coordinate refactor(schema): graduate universal semantics out of provider_meta #864/fix(archive): store context and protocol artifacts semantically, not via projection fallbacks #839.
Refs #859 #819 #848 #865 #860 #838 #817 #828 #829 #839 #864 #872 #852.
Metadata
Metadata
Assignees
Labels
area:cliCLIarea:coreCore runtime and shared infrastructurearea:daemonDaemon and live service runtimearea:mcpMCParea:storageStoragetheme:command-surfaceCLI and control-plane command taxonomytype:featNew feature
Activity
Sinity commentedon May 7, 2026
Reconnaissance Report: #873 ranked results explainable and pagination-stable
Status: CANNOT START until #859 lands (shared read/query/status envelope spine). Can do architectural scoping of the ranked result envelope and per-hit explanation model now. Must coordinate closely with #859 and #819 for surface alignment.
Build this
Canonical ranked result envelope (extend
polylogue/archive/query/spec.pyor newpolylogue/archive/query/ranked_result.py):RankedResult[T]: items/hits (list[T]), total (int | None, None when unknown), limit (int | None), offset (int) or cursor (str | None), next_marker (str | None), query (str), sort (str), retrieval_lane (str), ranking_policy (str), ranking_policy_version (str).{"hits": [...], "total": N}shapes in daemon HTTP, CLI output, MCP responses.itemsvshits) from refactor(api): define shared query/status contracts for all read surfaces #859 applies here. The issue body says "items or hits" — choose one and be consistent. Current code uses "hits" in daemon HTTP and "items" in some MCP paths. Adopt "hits" for search results (with evidence), keep "items" for non-search list results.Per-hit explanation payload (extend
ConversationSearchHitinpolylogue/archive/query/search_hits.py):Current fields:
summary,rank,retrieval_lane,match_surface,message_id,snippet,score.Add:
matched_terms: tuple[str, ...]— which query terms matchedevidence_ids: tuple[str, ...]— message IDs or content block IDs that contributed to the matchscore_components: dict[str, float]— breakdown of score (bm25, term_frequency, proximity, lane_bonus, etc.)lane_rank: int | None— rank within the retrieval lane before fusionlane_contribution: float | None— RRF contribution from this laneraw_score: float | None— unnormalized score from the retrieval engine (e.g., raw BM25)Note:
bm25is lower-is-better in SQLite FTS5 (negative scores). Document this or normalize it before exposing to users.Hybrid RRF explanation (modify
search_hybrid_resultsinpolylogue/archive/query/retrieval_search.py):Currently: text_ranked, action_ranked, vector_ranked are computed, fused via RRF, then lane info is DISCARDED. Only the fused order is returned.
Change: preserve per-lane ranks and contributions in each hit.
lane_resultsmapping:{"dialogue": {"rank": 3, "score": 12.5}, "actions": {"rank": 1, "score": 25.0}, "vector": {"rank": 5, "score": 8.3}}or similar structured evidence.Stable ranked pagination (modify
polylogue/archive/query/sorting.pyand plan execution):sortfield inConversationQuerySpecdefaults toNone. WhenNoneand search terms exist → rank-first. WhenNoneand no search terms → date descending (current behavior).next_cursorfield to the ranked result envelope.Scoped vs global facets (modify
polylogue/daemon/http.py_do_facetsand add archive/query facet support):_do_facetsreturns global stats frompoly.stats().GET /api/facets?query=...&provider=...&since=...applies the same filters as list/search and returns facet counts scoped to that filter set.ScopedFacetswithproviders,tags,has_types,message_types,time_range,cwd_prefixes, each with count andis_scoped: boolflag./api/facets(no query params) returnsis_scoped: falsefor all counts.Surface alignment (CLI JSON, MCP, daemon HTTP, Python API):
RankedResult[ConversationSearchHit]shape.GET /api/conversationsreturns aRankedResultenvelope.Polylogue.search()orquery_conversations()returnsRankedResult.ConversationSearchHitfrompolylogue/archive/query/search_hits.pyandConversationSearchEvidenceHitfrompolylogue/storage/search/models.pyshould CONVERGE into one canonical model.Docs update (
docs/search.md):dialogue,actions,hybrid,semantic.Do NOT build this
bm25without explaining lower-is-better or normalizing it.Files to touch
Modified files (core search/query):
polylogue/archive/query/search_hits.py— extendConversationSearchHitwith explanation fields; addRankedResultmodelpolylogue/archive/query/retrieval_search.py— preserve lane ranks/contributions in hybrid RRF; return explanation-bearing hitspolylogue/archive/query/sorting.py— add rank-first sort mode; add cursor/keyset pagination supportpolylogue/archive/query/plan.py— addranking_policy,ranking_policy_versionfields to planpolylogue/archive/query/spec.py—sortdefaults toNone(meaning rank-first when search terms present); addcursorparampolylogue/archive/query/plan_execution.py— wire ranked pagination into executionpolylogue/storage/search/models.py— convergeConversationSearchEvidenceHitinto the canonical model from search_hits.py (or vice versa)polylogue/storage/search_providers/hybrid.py— expose RRF lane scores/contributions in result objectspolylogue/storage/search/query_builders.py— add scoped facet query supportpolylogue/storage/sqlite/queries/conversations_search.py— add scoped facet queriesModified files (surface adapters):
polylogue/daemon/http.py—_do_listbuildsConversationQuerySpecfrom params, returnsRankedResult;_do_facetsaccepts query params and returns scoped facetspolylogue/surfaces/payloads.py— add ranked result envelope serializationpolylogue/mcp/server_tools.py— adapt MCP search tools to returnRankedResultenvelopepolylogue/mcp/payloads.py— MCP-specific wrapping ofRankedResultpolylogue/cli/query.py— returnRankedResultfrom CLI query operationspolylogue/cli/query_output.py— render ranked results with evidence in plain/JSON outputModified files (docs):
docs/search.md— update with actual behaviorTest files:
tests/unit/archive/test_search_hits.py— rank evidence teststests/unit/archive/test_query_search_runtime.py— ranked pagination, cursor stability teststests/unit/storage/test_fts5.py— FTS score consistency teststests/unit/storage/test_hybrid.py— lane contribution teststests/unit/daemon/— API list/search/facet payload contract teststests/unit/mcp/— MCP search envelope contract teststests/unit/cli/— CLI JSON/plain output tests for search resultsCoordination
semanticlane behavior.Focused tests
Acceptance criteria mapping
matched_termsandevidence_idsdialogue,actions,hybrid, semantic paths have documented ranking behavior and testslane_contributionsdict with per-lane rank and scoreGET /api/facets?query=pythonreturns scoped counts that differ fromGET /api/facetsglobal countsdocs/search.mdchecked for accuracy against implemented behaviorAmbiguities and stale claims
ConversationSearchHitmodels:polylogue/archive/query/search_hits.pydefines one;polylogue/storage/search/models.pydefines another (slightly different fields). These need convergence. The archive/query version is the canonical one (used by CLI/MCP/API surfaces); the storage version is internal. Decision needed: converge into one model inarchive/query/search_hits.pyOR keep two and add a mapper.ConversationSearchEvidenceHitinstorage/search/models.pyalready hasretrieval_lane,match_surface,message_id,snippet,score— but it is NOT used by the archive/query layer. Thesearch_hits_for_planfunction usesConversationSearchHitfrom archive/query. These two models should be merged.search_hybrid_resultscomputes per-lane ranked lists but only uses them for RRF fusion, then returns conversation objects without lane metadata. The lane info is lost. To add explanation, either (a) restructure the function to return hits with per-lane data, or (b) re-derive lane information after fusion from the per-lane result sets.poly.stats()which is global. Adding scoped facets requires new query logic in the archive/query layer that applies filters before counting.sort=Nonevssort="date": Thequery_spec_to_planfunction defaults sort to"date"even whenspec.sortisNone. This MUST change: when search terms exist andsortisNone, use rank-first. When no search terms, fall back to date. This is a breaking behavior change for any code that relied on implicit date sorting for searched results.Sinity commentedon May 7, 2026
Implementation scope for #873
Starting implementation on branch
feature/feat/explainable-search-873.In scope
ConversationSearchHit explanation fields — Add
matched_terms: tuple[str, ...]andscore_components: dict[str, float]toConversationSearchHitinpolylogue/archive/query/search_hits.py. Populate in FTS5 path (extract matched terms from query) and hybrid path (expose per-lane scores). Update all constructors.Rank-first default sort — Fix
query_spec_to_plan()inpolylogue/archive/query/spec.pyto stop defaultingsort=Nonetosort="date". ChangeConversationQueryPlan.sorttoSortField | Nonewith defaultNone. Inplan_execution.py, whenplan.fts_termsexist andplan.sort is None, preserve natural search ranking instead of re-sorting by date.Preserve hybrid lane contributions — Modify
search_hybrid_resultsinpolylogue/archive/query/retrieval_search.pyto carryscore_componentswith per-lane (text, action, vector) rank and score through to hits. Extendreciprocal_rank_fusioninpolylogue/storage/search_providers/hybrid.pyto optionally return lane-level data.Cursor/keyset pagination — Add
next_cursor: str | Noneto the paginated result envelope inpolylogue/mcp/payloads.py. Produce a simple opaque cursor encoding (score, last_conversation_id) for rank-first search results.Surface payload alignment — Extend
ConversationSearchMatchPayloadinpolylogue/surfaces/payloads.pywith new explanation fields:matched_terms,score_components,lane_rank,lane_contribution,raw_score.Daemon HTTP — In
polylogue/daemon/http.py, when the query spec has search terms, return ranked result envelope with match evidence instead of plain row dicts.Non-goals (per the issue)
ConversationSearchHitmodels (that would require broader refactoring)Files expected to change
polylogue/archive/query/search_hits.pymatched_terms,score_componentsto dataclass; update constructorspolylogue/archive/query/spec.pycursorparampolylogue/archive/query/plan.pysortdefault toNone; addcursor,ranking_policyfieldspolylogue/archive/query/plan_execution.pypolylogue/archive/query/retrieval_search.pypolylogue/archive/query/sorting.pypolylogue/storage/search_providers/hybrid.pypolylogue/storage/repository/archive/search.pypolylogue/surfaces/payloads.pyConversationSearchMatchPayloadpolylogue/mcp/payloads.pynext_cursorto search result envelopepolylogue/daemon/http.pypolylogue/storage/search/models.pyConversationSearchEvidenceHittests/Sinity commentedon May 7, 2026
Completion report: #873 explainable search implementation
Branch:
feature/feat/explainable-search-873(commite9dd5392)What was implemented
1. ConversationSearchHit explanation fields (
polylogue/archive/query/search_hits.py)matched_terms: tuple[str, ...] = ()— which query terms matchedscore_components: dict[str, float] = field(default_factory=dict)— breakdown by lane/keysearch_hits_for_plannow populatesmatched_termsfromsearch_terms(query_terms)for all lanes2. Rank-first default sort (
polylogue/archive/query/spec.py,plan.py,plan_execution.py,sorting.py)ConversationQueryPlan.sortchanged fromSortField = "date"toSortField | None = Nonequery_spec_to_plan()changed fromsort=spec.sort or "date"tosort=spec.sort(no auto-default)_plan_sort_is_rank_first()helper: whenplan.fts_terms and plan.sort is None, results preserve natural search rankinglist_for_planandlist_summaries_for_planskip_sort_conversations/_sort_summarieswhen rank-first is activeQuerySortPlanprotocol updated to acceptSortField | None3. Preserve hybrid lane contributions (
polylogue/archive/query/retrieval_search.py)search_hybrid_resultsnow returnstuple[list[Conversation], dict[str, dict[str, int | None]]]{"text": rank_or_None, "action": rank_or_None, "vector": rank_or_None}search_hits_for_plandirectly callssearch_hybrid_resultsfor hybrid lane and buildsscore_componentswith per-lane ranks (text_rank, action_rank, vector_rank)retrieval_candidates.py:fetch_search_resultsupdated to unpack new tuple4. Cursor/keyset pagination (
polylogue/mcp/payloads.py)next_cursor: str | NonetoMCPPaginatedSearchResultPayload_build_search_cursor()creates opaque base64 cursor from last hit's rank + conversation_idlen(hits) == limit)5. Surface payload alignment (
polylogue/surfaces/payloads.py)ConversationSearchMatchPayloadextended withmatched_termsandscore_componentsConversationSearchHitPayload.from_search_hit()passes through new fields6. Daemon HTTP (
polylogue/daemon/http.py)_do_listnow dispatches to_do_search_listwhen query/contains params are present_do_search_listreturns ranked search hits withmatchevidence (rank, retrieval_lane, snippet, score, matched_terms, score_components)7. Storage model alignment (
polylogue/storage/search/models.py)ConversationSearchEvidenceHitextended withmatched_terms,score_components,lane_rank,lane_contribution,raw_score8. Test update (
tests/unit/archive/test_query_search_runtime.py)test_search_hybrid_results_orders_fused_ids_and_skips_missingto unpack new tuple return and verify lane ranksVerification
ruff check: All checks passed (13 files)mypy --strict: Success, no issues found (13 files)ruff format --check: All files already formattedpytest tests/unit/archive/test_query_search_runtime.py: 7 passedWhat was NOT done (and why)
_do_facetsdaemon handler still returns global stats. Implementing scoped facets requires new SQL query logic in the archive/query layer. Deferred.Pre-existing test failures (not caused by this PR)
The following tests fail on
origin/master(commit18e68c02) as well:test_search_with_empty_query—KeyError: 'results'(likely stale test against updated payload contract)test_mcp_search_params_match_query_spec— hardcoded MCP param names don't match spec field namesfeat(search): explainable results with matched terms, rank-first defa…
feat(search): explainable hits with matched terms and lane scores (#932)
feat(search): explainable hits with matched terms and lane scores (#932)
Sinity commentedon May 7, 2026
Closed-issue reconciliation note: leaving this closed for now because ranked search/cursor pieces exist, but the closure is not complete enough to ignore.
Residuals tracked in #944: search hit models are still split,
/api/facetsremains global rather than query-scoped, reader/API/search result shapes are not fully converged, and the implementation still needs a truth pass before claims like stable explainable search or scoped facets are used in PR/history text.#944 should either converge the present pieces or open a narrow follow-up with exact remaining contract gaps.
23 remaining items
Sinity commentedon May 25, 2026
Merged #1563 as a cursor correctness slice.
Landed:
dialogue) can now be reused by a follow-up request that still saysretrieval_lane=auto;dialoguecursor cannot silently continue underhybridranking;apply_search_cursorandbuild_archive_search_envelope.Verification before merge:
devtools verify --json: exit 0, 299 pytest-testmon selected tests passed;test(search): pin envelope evidence equivalence (#1564)
refactor(search): name storage search DTOs honestly (#1565)
Sinity commentedon May 25, 2026
Merged two more #873 hardening slices.
#1564 — cross-surface envelope evidence + shared spec builder:
build_search_envelope_for_spec()for cursor handling, diagnostics, hit payload conversion, and envelope assembly once aConversationQuerySpecexists.matchevidence across API/helper, MCP, and CLI JSON: match surface, message id, snippet, score, score kind, matched terms, score components, lane rank, lane contribution, and raw score.devtools verify --jsonpassed with 415 selected tests; PR CI passed. CodeRabbit remained on a review-in-progress placeholder with no inline comments.#1565 — storage search DTO naming cleanup:
ConversationSearchHittoConversationSearchIdHitand storage-onlyConversationSearchEvidenceHittoConversationSearchEvidenceRow.ConversationSearchHitbefore surfaces see ranked evidence.devtools verify --jsonpassed with 630 selected tests; PR CI passed. CodeRabbit was rate-limited only.Remaining #873 scope after these slices looks like acceptance proof rather than obvious missing fields: rank-first/default-sort behavior, cursor behavior under mixed filters, complete scoped-facet coverage across supported dimensions, and docs truth pass against the now-real contracts.
docs(search): align ranking reference with contracts (#1566)
Sinity commentedon May 25, 2026
Merged #1566 as the docs truth pass.
Landed:
docs/search.mdnow describes the current publicSearchEnvelopecontract conservatively: action-only hits preserve rank/evidence but do not expose action BM25 scores;match_surfaceexamples use the actual public tokens; BM25 is lower-is-better; hybrid fusion includes dialogue/action/semantic lanes;sort=nullpreserves natural rank order; cursors carry rank/score/conversation/lane.Verification before merge:
devtools verify-doc-commandspassed;devtools render-pagesrebuilt the local site cache;devtools render-all --checkpassed;devtools verify --jsonpassed with all static/generated checks green and 0 testmon-selected tests;Remaining #873 questions now look test/proof oriented:
test(search): prove rank-first plan ordering (#1567)
Sinity commentedon May 25, 2026
Merged #1567 as the rank-first ordering proof.
Landed:
list_for_plan()now has focused tests proving an unsorted search plan (query_terms+sort=None) preserves provider/candidate rank order even when conversation timestamps would sort the opposite way.sort=datetest proves user-selected date sort still overrides rank order.Verification before merge:
devtools verify --jsonpassed with 9 selected tests;Remaining #873 work has narrowed further: cursor continuity under mixed filters at the API/daemon builder level, and scoped-facet completeness across supported filter dimensions/surfaces.
test(search): preserve filters during cursor fetch (#1568)
Sinity commentedon May 25, 2026
Merged #1568 as filtered cursor-builder proof.
Landed:
build_search_envelope_for_spec()now has a regression proving cursor fetch advancement preserves provider/tag/since filters while moving the backend offset/limit to the cursor window.Verification before merge:
devtools verify --jsonpassed with 2 selected tests;Remaining #873 scope now looks mostly like scoped-facet completeness across dimensions/surfaces, plus deciding whether the issue can close with action-lane score evidence explicitly documented as not yet part of the public contract.
feat(mcp): support query-scoped facets (#1569)
Sinity commentedon May 25, 2026
Merged #1569 as the MCP scoped-facets surface slice.
Landed:
facetsnow exposes the shared optionalqueryfield in its MCP input schema, whilesearchkeepsqueryrequired.facets, and the committed MCP tool-schema witness was regenerated.Verification before merge:
pytest -q tests/unit/mcp/test_tool_schema_witness.py tests/unit/mcp/test_query_tool_schema_derivation.py --tb=shortpassed (10 tests);devtools verify --jsonpassed with 1 selected pytest-testmon node;#873 now has CLI/API/daemon/MCP scoped-facet entrypoints through the shared typed contract. I’m treating the remaining work as a final acceptance/readiness pass over facet dimensions and result-envelope consistency before deciding whether to close or keep a narrow residual issue open.
test(mcp): prove facets forwards scoped filters (#1570)
Sinity commentedon May 25, 2026
Merged #1570 as the final MCP facets runtime proof.
Landed:
tests/unit/mcp/test_facets_tool_contract.pyproving the registered MCPfacetstool forwardsquery+providerinto aConversationQuerySpecbefore calling the sharedPolylogue.facets()contract.poly.facets(None).test_tool_contracts.pypast its file-size budget.Verification before merge:
devtools verify --jsonpassed with 66 selected pytest-testmon nodes;Final acceptance status for #873:
I’m closing this as realized. Semantic embedding operationalization remains separately tracked by #1503 and is not part of this ranked-result contract closure.