docs: mark superseded implementation plans

This commit is contained in:
lingniu
2026-07-01 18:36:03 +08:00
parent e06534d6a5
commit cde55e1ae6
4 changed files with 37 additions and 0 deletions

View File

@@ -569,6 +569,22 @@ class MavenModuleProfileTest {
}
}
@Test
void supersededImplementationPlansPointToCurrentArchitecture() throws Exception {
for (String path : List.of(
"docs/superpowers/plans/2026-06-23-gb32960-history-duckdb-hot-store.md",
"docs/superpowers/plans/2026-06-23-gb32960-service-split.md",
"docs/superpowers/plans/2026-06-29-vehicle-ingest-redesign-phase1.md")) {
String doc = Files.readString(repositoryRoot().resolve(path));
assertThat(doc)
.as(path)
.startsWith("> **Superseded:**")
.contains("docs/target-architecture.md")
.contains("docs/superpowers/specs/2026-06-29-vehicle-ingest-redesign.md");
}
}
@Test
void duckDbAndParquetAreNotPartOfTheCurrentBuildSurface() throws Exception {
Document pom = rootPom();