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.
34 lines
1.5 KiB
Groovy
34 lines
1.5 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
id 'org.jetbrains.kotlin.plugin.serialization'
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(project(":core:events"))
|
|
testImplementation(project(":core:sessions"))
|
|
testImplementation(project(":core:transitions"))
|
|
testImplementation(project(":core:validation"))
|
|
testImplementation(project(":core:approvals"))
|
|
testImplementation(project(":core:context"))
|
|
testImplementation(project(":core:inference"))
|
|
testImplementation(project(":core:kernel"))
|
|
testImplementation(project(":core:journal"))
|
|
testImplementation(project(":core:risk"))
|
|
testImplementation(project(":core:tools"))
|
|
testImplementation(project(":core:toolintent"))
|
|
testImplementation(project(":infrastructure:persistence"))
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
testImplementation(project(":core:artifacts"))
|
|
testImplementation(project(":core:artifacts-store"))
|
|
testImplementation(project(":testing:fixtures"))
|
|
testImplementation(project(":testing:kernel"))
|
|
testImplementation(project(":testing:contracts"))
|
|
testImplementation(testFixtures(project(":testing:contracts")))
|
|
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.9.0")
|
|
testImplementation(project(":infrastructure:tools"))
|
|
testImplementation(project(":infrastructure:tools:filesystem"))
|
|
testImplementation(project(":apps:server"))
|
|
testImplementation(project(":core:router"))
|
|
testImplementation(project(":core:config"))
|
|
} |