1976d8ad2b
Adds two test files to prove B4/B3 invariants end-to-end: - RepoKnowledgeReplayTest (testing/replay): projection-based replay tests that verify recorded RepoKnowledgeRetrievedEvent drives relevantFiles context assembly without consulting a retriever (test A), and that a log without the retrieval event falls back to the RepoMapComputedEvent legacy path (test B). - RepoMapReuseIntegrationTest (testing/integration): end-to-end test using the real ProjectMemoryService + L3RepoKnowledgeRetriever + InMemoryL3MemoryStore proving exactly one index walk across two sessions sharing the same stateKey, and that the second session receives non-empty repo hits via the shared L3 embeddings despite having no per-session RepoMapComputedEvent. New test deps (noted per constraint): - testing/replay: adds core:context (needed to import ContextLayer/ContextEntry from the buildRelevantFilesEntry return type). - testing/integration: adds apps:server (ProjectMemoryService, L3RepoKnowledgeRetriever, FakeWorkspaceStateProbe), core:router (InMemoryL3MemoryStore), core:config (ProjectConfig). No new inter-core or upward production dependencies introduced.
20 lines
763 B
Groovy
20 lines
763 B
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
id 'org.jetbrains.kotlin.plugin.serialization'
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(project(":core:events"))
|
|
testImplementation(project(":core:journal"))
|
|
testImplementation(project(":core:kernel"))
|
|
testImplementation(project(":core:context"))
|
|
testImplementation(project(":core:sessions"))
|
|
testImplementation(project(":core:transitions"))
|
|
testImplementation(project(":core:validation"))
|
|
testImplementation(project(":core:approvals"))
|
|
testImplementation(project(":testing:fixtures"))
|
|
testImplementation(project(":infrastructure:persistence"))
|
|
testImplementation(project(":infrastructure:workflow"))
|
|
testImplementation(project(":core:artifacts"))
|
|
} |