Skip to content

Refactor/auth mode cleanup#8

Merged
hungthinh1104 merged 35 commits into
mainfrom
refactor/auth-mode-cleanup
Jun 29, 2026
Merged

Refactor/auth mode cleanup#8
hungthinh1104 merged 35 commits into
mainfrom
refactor/auth-mode-cleanup

Conversation

@hungthinh1104

Copy link
Copy Markdown
Owner

PR Scope

What does this PR do?

  • Bugfix
  • Feature
  • Docs

Checklist

  • Tests Run: I have successfully run pnpm typecheck and pnpm demo:golden-path.
  • Evidence Rule Impact: I have not bypassed the evidence hierarchy (all impacts are backed by code excerpts).
  • Docs Updated: I have updated documentation or tests if behavior changed.
  • No Secrets: I have double-checked that no real API keys, secrets, or personal tokens are included.

- Create packages/application with EmbedSnapshotArtifactsUseCase
- Define EmbeddingSnapshotRepositoryPort and EmbeddingChunkRepositoryPort
- Extract ArtifactChunkBuilder and EmbeddingReuseMatcher to application/domain
- Implement PrismaEmbeddingSnapshotRepository adapters in api/worker
- Remove worker direct import of api embedding internals
- Fix contentHash field in ArtifactWithEvidenceBasic port
- Fix HybridRetrievalService @Inject() decorator causing DI failure
- Update jest path mappings for @ba-helper/application
- All 791 tests passing
@hungthinh1104 hungthinh1104 merged commit 2b22fc4 into main Jun 29, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant