chore: rename cameleer3 to cameleer
Rename Java packages from com.cameleer3 to com.cameleer, module directories from cameleer3-* to cameleer-*, and all references throughout workflows, Dockerfiles, docs, migrations, and pom.xml. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,9 +5,9 @@ type: execute
|
||||
wave: 1
|
||||
depends_on: ["02-01", "02-02", "02-03"]
|
||||
files_modified:
|
||||
- cameleer3-server-app/src/main/java/com/cameleer3/server/app/storage/ClickHouseExecutionRepository.java
|
||||
- cameleer3-server-app/pom.xml
|
||||
- cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/DiagramLinkingIT.java
|
||||
- cameleer-server-app/src/main/java/com/cameleer/server/app/storage/ClickHouseExecutionRepository.java
|
||||
- cameleer-server-app/pom.xml
|
||||
- cameleer-server-app/src/test/java/com/cameleer/server/app/storage/DiagramLinkingIT.java
|
||||
autonomous: true
|
||||
gap_closure: true
|
||||
requirements: ["DIAG-02"]
|
||||
@@ -17,13 +17,13 @@ must_haves:
|
||||
- "Each transaction links to the RouteGraph version that was active at execution time"
|
||||
- "Full test suite passes with mvn clean verify (no classloader failures)"
|
||||
artifacts:
|
||||
- path: "cameleer3-server-app/src/main/java/com/cameleer3/server/app/storage/ClickHouseExecutionRepository.java"
|
||||
- path: "cameleer-server-app/src/main/java/com/cameleer/server/app/storage/ClickHouseExecutionRepository.java"
|
||||
provides: "Diagram hash lookup during batch insert"
|
||||
contains: "findContentHashForRoute"
|
||||
- path: "cameleer3-server-app/pom.xml"
|
||||
- path: "cameleer-server-app/pom.xml"
|
||||
provides: "Surefire fork configuration isolating ELK classloader"
|
||||
contains: "reuseForks"
|
||||
- path: "cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/DiagramLinkingIT.java"
|
||||
- path: "cameleer-server-app/src/test/java/com/cameleer/server/app/storage/DiagramLinkingIT.java"
|
||||
provides: "Integration test proving diagram hash is stored during ingestion"
|
||||
key_links:
|
||||
- from: "ClickHouseExecutionRepository"
|
||||
@@ -57,18 +57,18 @@ Prior plan summaries (needed — touches same files):
|
||||
<interfaces>
|
||||
<!-- Key types and contracts the executor needs. -->
|
||||
|
||||
From cameleer3-server-core/.../storage/DiagramRepository.java:
|
||||
From cameleer-server-core/.../storage/DiagramRepository.java:
|
||||
```java
|
||||
Optional<String> findContentHashForRoute(String routeId, String agentId);
|
||||
```
|
||||
|
||||
From cameleer3-server-app/.../storage/ClickHouseExecutionRepository.java (line 141):
|
||||
From cameleer-server-app/.../storage/ClickHouseExecutionRepository.java (line 141):
|
||||
```java
|
||||
ps.setString(col++, ""); // diagram_content_hash (wired later)
|
||||
```
|
||||
The class is @Repository annotated, constructor takes JdbcTemplate only. It needs DiagramRepository injected to perform the lookup.
|
||||
|
||||
From cameleer3-server-app/.../storage/ClickHouseDiagramRepository.java:
|
||||
From cameleer-server-app/.../storage/ClickHouseDiagramRepository.java:
|
||||
```java
|
||||
@Repository
|
||||
public class ClickHouseDiagramRepository implements DiagramRepository {
|
||||
@@ -83,9 +83,9 @@ public class ClickHouseDiagramRepository implements DiagramRepository {
|
||||
<task type="auto" tdd="true">
|
||||
<name>Task 1: Populate diagram_content_hash during ingestion and fix Surefire forks</name>
|
||||
<files>
|
||||
cameleer3-server-app/src/main/java/com/cameleer3/server/app/storage/ClickHouseExecutionRepository.java,
|
||||
cameleer3-server-app/pom.xml,
|
||||
cameleer3-server-app/src/test/java/com/cameleer3/server/app/storage/DiagramLinkingIT.java
|
||||
cameleer-server-app/src/main/java/com/cameleer/server/app/storage/ClickHouseExecutionRepository.java,
|
||||
cameleer-server-app/pom.xml,
|
||||
cameleer-server-app/src/test/java/com/cameleer/server/app/storage/DiagramLinkingIT.java
|
||||
</files>
|
||||
<behavior>
|
||||
- Test 1: When a RouteGraph is ingested before a RouteExecution for the same routeId+agentId, the execution's diagram_content_hash column contains the SHA-256 hash of the diagram (not empty string)
|
||||
@@ -117,7 +117,7 @@ public class ClickHouseDiagramRepository implements DiagramRepository {
|
||||
|
||||
**Gap 2 — Surefire classloader isolation:**
|
||||
|
||||
5. In `cameleer3-server-app/pom.xml`, add a `<build><plugins>` section (after the existing `spring-boot-maven-plugin`) with `maven-surefire-plugin` configuration:
|
||||
5. In `cameleer-server-app/pom.xml`, add a `<build><plugins>` section (after the existing `spring-boot-maven-plugin`) with `maven-surefire-plugin` configuration:
|
||||
```xml
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
@@ -131,12 +131,12 @@ public class ClickHouseDiagramRepository implements DiagramRepository {
|
||||
This forces Surefire to fork a fresh JVM for each test class, isolating ELK's static initializer (LayeredMetaDataProvider + xtext CollectionLiterals) from Spring Boot's classloader. Trade-off: slightly slower test execution, but correct results.
|
||||
</action>
|
||||
<verify>
|
||||
<automated>cd C:/Users/Hendrik/Documents/projects/cameleer3-server && mvn clean verify -pl cameleer3-server-app -am 2>&1 | tail -30</automated>
|
||||
<automated>cd C:/Users/Hendrik/Documents/projects/cameleer-server && mvn clean verify -pl cameleer-server-app -am 2>&1 | tail -30</automated>
|
||||
</verify>
|
||||
<done>
|
||||
- diagram_content_hash is populated with the active diagram's SHA-256 hash during ingestion (not empty string)
|
||||
- DiagramLinkingIT passes with both positive and negative cases
|
||||
- `mvn clean verify` passes for cameleer3-server-app (no classloader failures from ElkDiagramRendererTest)
|
||||
- `mvn clean verify` passes for cameleer-server-app (no classloader failures from ElkDiagramRendererTest)
|
||||
</done>
|
||||
</task>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user