Skip to content

Commit 15eeeef

Browse files
glaudeeeclaude
andcommitted
chore(ci): point the chain check and the devcontainer pointers at .docs/
The move left the chain check reading a directory that no longer exists: dev check and the traceability job in build.yml called it with --spec-root docs and would have stopped with exit 2. Both now pass --spec-root .docs, still explicitly rather than through the script's default, and the comments next to the two calls name .docs/specs/. Neither workflow filters on the layer path, and pom.xml names no includes or excludes: the source and javadoc jars are built from the source roots under src/, so the layer never reached an artifact under either name. The pointers to the devcontainer research note in ~/.claude — in dev, in devcontainer.json and twice in the pre-push hook — follow its new path as well; that layer has already moved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 2d06c7c commit 15eeeef

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
// Devcontainer-Sicherheitsmodell: Push aus Container ist hart geblockt (DEVCONTAINER=true + pre-push-Hook).
33
// Keine Credentials im Image, kein SSH-Agent-Forwarding, keine Cred-Mounts.
4-
// Quelle: ~/.claude/docs/project/research/devcontainer-architektur.md
4+
// Quelle: ~/.claude/.docs/project/research/devcontainer-architektur.md
55
"name": "java-predicates",
66

77
// 2026-05-13: JDK 25 LTS zum Zeitpunkt dieser Vorlage. Verfuegbarkeit pruefen mit:

‎.githooks/pre-push‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Devcontainer Push-Block-Hook.
33
# Verhindert git push aus dem Devcontainer.
44
# Host (WSL/Mac) pusht unblockiert -- DEVCONTAINER-Env nur im Container gesetzt.
5-
# Quelle: ~/.claude/docs/project/research/devcontainer-architektur.md
5+
# Quelle: ~/.claude/.docs/project/research/devcontainer-architektur.md
66

77
if [ "${DEVCONTAINER:-}" = "true" ]; then
88
echo "" >&2
@@ -11,7 +11,7 @@ if [ "${DEVCONTAINER:-}" = "true" ]; then
1111
echo "[pre-push] Devcontainer hat keine Credentials und darf keine haben." >&2
1212
echo "[pre-push] Push vom Host (WSL-Distro / Mac), dort liegen die Token." >&2
1313
echo "[pre-push]" >&2
14-
echo "[pre-push] Konzept: ~/.claude/docs/project/research/devcontainer-architektur.md" >&2
14+
echo "[pre-push] Konzept: ~/.claude/.docs/project/research/devcontainer-architektur.md" >&2
1515
echo "" >&2
1616
exit 1
1717
fi

‎.github/workflows/build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- uses: actions/checkout@v4
37-
# Neither Maven nor a JDK: the check only reads docs/specs/ and the
37+
# Neither Maven nor a JDK: the check only reads .docs/specs/ and the
3838
# *Test.java files as text. It rides in its own job rather than inside
3939
# the `build` matrix because it has nothing to do with which JDK
4040
# compiled the code -- in the matrix it would run three times over and
@@ -44,5 +44,5 @@ jobs:
4444
# filenames don't match the default *Test.java scan.
4545
- name: Check requirement <-> test chain
4646
run: |
47-
python3 bin/traceability/traceability.py --spec-root docs --source-root . \
47+
python3 bin/traceability/traceability.py --spec-root .docs --source-root . \
4848
--source src/test/java/com/github/zrdj/java/predicates/testcases

‎dev‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# den Befehl direkt aus. Damit ist `./dev <cmd>` ueberall derselbe Aufruf und es
77
# gibt keinen Weg, versehentlich nativ zu bauen.
88
#
9-
# Hintergrund: ~/.claude/docs/project/research/devcontainer-architektur.md
9+
# Hintergrund: ~/.claude/.docs/project/research/devcontainer-architektur.md
1010
set -euo pipefail
1111
cd "$(dirname "${BASH_SOURCE[0]}")"
1212

@@ -58,7 +58,7 @@ check)
5858
echo -e "${GREEN}Full check (tests)...${NC}"
5959
mvn -B -ntp test
6060
# Prueft, dass jeder [impl->req~...] in *Test.java auf eine Anforderung
61-
# unter docs/specs/ aufloest (Kette kaputt -> Exit 1) und dass die Pruefung
61+
# unter .docs/specs/ aufloest (Kette kaputt -> Exit 1) und dass die Pruefung
6262
# selbst ueberhaupt gelaufen ist (Aufruf-/Selbstpruefungsfehler -> Exit 2,
6363
# der gefaehrlichere Fall: ein Zweier hier hiesse "Pruefung lief nicht",
6464
# nicht "Kette sauber"). `set -e` reicht beide Exit-Codes unveraendert nach
@@ -71,7 +71,7 @@ check)
7171
# explicitly. Without it, every [impl->req~...] added there would be
7272
# invisible to this check despite compiling and running correctly.
7373
echo -e "${GREEN}Checking requirement <-> test chain...${NC}"
74-
python3 bin/traceability/traceability.py --spec-root docs --source-root . \
74+
python3 bin/traceability/traceability.py --spec-root .docs --source-root . \
7575
--source src/test/java/com/github/zrdj/java/predicates/testcases
7676
;;
7777
*) usage ;;

0 commit comments

Comments
 (0)