Harden live-backed unified search weighting and indexing
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
## Delivery Tracker
|
||||
|
||||
### AI-SF-001 - Strengthen automatic in-scope weighting and overflow suppression
|
||||
Status: TODO
|
||||
Status: DONE
|
||||
Dependency: none
|
||||
Owners: Developer
|
||||
Task description:
|
||||
@@ -29,12 +29,12 @@ Task description:
|
||||
- Keep overflow only when outside-scope evidence still materially improves the answer.
|
||||
|
||||
Completion criteria:
|
||||
- [ ] Service tests cover current-route winners, close-score blends, and suppressed overflow cases.
|
||||
- [ ] Coverage metadata still explains the winning scope without FE heuristics.
|
||||
- [ ] Unsupported or weak current-scope corpora do not hide clearly better outside-scope answers.
|
||||
- [x] Service tests cover current-route winners, close-score blends, and suppressed overflow cases.
|
||||
- [x] Coverage metadata still explains the winning scope without FE heuristics.
|
||||
- [x] Unsupported or weak current-scope corpora do not hide clearly better outside-scope answers.
|
||||
|
||||
### AI-SF-002 - Make blended answers and suggestion viability stricter
|
||||
Status: TODO
|
||||
Status: DONE
|
||||
Dependency: AI-SF-001
|
||||
Owners: Developer
|
||||
Task description:
|
||||
@@ -42,12 +42,12 @@ Task description:
|
||||
- Keep suggestion viability grounded-only for surfaced chips and detect unsupported/empty corpora explicitly.
|
||||
|
||||
Completion criteria:
|
||||
- [ ] Blended and dominant answer paths are tested separately.
|
||||
- [ ] Clarify-only or unsupported suggestions do not pass visible viability.
|
||||
- [ ] Corpus-readiness states remain explicit in the response contract.
|
||||
- [x] Blended and dominant answer paths are tested separately.
|
||||
- [x] Clarify-only or unsupported suggestions do not pass visible viability.
|
||||
- [x] Corpus-readiness states remain explicit in the response contract.
|
||||
|
||||
### AI-SF-003 - Preserve optional telemetry and deterministic fallbacks
|
||||
Status: TODO
|
||||
Status: DONE
|
||||
Dependency: AI-SF-002
|
||||
Owners: Developer
|
||||
Task description:
|
||||
@@ -55,14 +55,15 @@ Task description:
|
||||
- Ensure the final correction pass does not reintroduce telemetry coupling.
|
||||
|
||||
Completion criteria:
|
||||
- [ ] Search behavior remains stable with telemetry disabled.
|
||||
- [ ] Tests cover telemetry-disabled search and suggestion flows.
|
||||
- [ ] Docs state clearly that telemetry is optional infrastructure.
|
||||
- [x] Search behavior remains stable with telemetry disabled.
|
||||
- [x] Tests cover telemetry-disabled search and suggestion flows.
|
||||
- [x] Docs state clearly that telemetry is optional infrastructure.
|
||||
|
||||
## Execution Log
|
||||
| Date (UTC) | Update | Owner |
|
||||
| --- | --- | --- |
|
||||
| 2026-03-07 | Sprint created for the backend weighting and suggestion-proof half of the final search-first correction pass. | Project Manager |
|
||||
| 2026-03-08 | Completed the backend weighting and viability hardening pass: stronger route/action boosts, unified-index FTS/vector persistence, enriched findings/policy/VEX ingestion bodies for route-language recall, and DB-backed similar-query lookup repair. Evidence: `dotnet build "src/AdvisoryAI/__Tests/StellaOps.AdvisoryAI.Tests/StellaOps.AdvisoryAI.Tests.csproj" --no-restore -v minimal -p:BuildInParallel=false -p:UseSharedCompilation=false`; `StellaOps.AdvisoryAI.Tests.exe -class "StellaOps.AdvisoryAI.Tests.UnifiedSearch.UnifiedSearchServiceTests"` (`45/45`); `StellaOps.AdvisoryAI.Tests.exe -class "StellaOps.AdvisoryAI.Tests.Integration.UnifiedSearchLiveAdapterIntegrationTests"` (`14/14`); `StellaOps.AdvisoryAI.Tests.exe -class "StellaOps.AdvisoryAI.Tests.UnifiedSearch.SearchAnalyticsServiceTests"` (`1/1`); `StellaOps.AdvisoryAI.Tests.exe -method "StellaOps.AdvisoryAI.Tests.Integration.UnifiedSearchSprintIntegrationTests.G10_SimilarSuccessfulQueries_LoadFromDatabaseWithoutFallingBack"` (`1/1`). | Developer |
|
||||
|
||||
## Decisions & Risks
|
||||
- Decision: search answer shape is inferred, not selected by the operator.
|
||||
|
||||
Reference in New Issue
Block a user