From b8adcd5f93f8ed7fd538f0d286e779a5df718eb8 Mon Sep 17 00:00:00 2001 From: Sluijsens Date: Mon, 19 Oct 2026 00:41:02 +0200 Subject: [PATCH] Fixes audit:dev script for POSIX shells The echo message contained unquoted parentheses, which cmd.exe accepts but sh on the CI runner rejects as a syntax error. Co-Authored-By: Claude Opus 5.5 --- aidlc-docs/features/frontend-shell/audit.md | 12 ++++++++++++ web/package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/aidlc-docs/features/frontend-shell/audit.md b/aidlc-docs/features/frontend-shell/audit.md index f55fb14..483a369 100644 --- a/aidlc-docs/features/frontend-shell/audit.md +++ b/aidlc-docs/features/frontend-shell/audit.md @@ -654,3 +654,15 @@ Verder heb ik de vraag ook beantwoord" **Context**: OPERATIONS - Deployment Setup; fixing CI --- + +## Deployment Setup - CI Run 527 + +**Timestamp**: 2026-10-18T22:41:02Z + +**User Input**: "Zodra je alles gefixed heb mag je meteen comitten en pushen. Dan mag je de run weer in de gaten houden" + +**AI Response**: "Owner authorised committing and pushing fixes and monitoring runs. Run 527: all 93 tests pass on the runner, audit:deps clean; audit:dev failed with 'sh: Syntax error: \"(\" unexpected' (unquoted parentheses in the echo, fine in cmd.exe, invalid in POSIX sh). Removed the parentheses; verified exit 0 in both shells. Committing, pushing and watching the next run." + +**Context**: OPERATIONS - Deployment Setup; fixing CI + +--- diff --git a/web/package.json b/web/package.json index 08ec740..e0abb2b 100644 --- a/web/package.json +++ b/web/package.json @@ -16,7 +16,7 @@ "lint": "eslint .", "format:check": "prettier --check .", "audit:deps": "pnpm audit --prod --audit-level high", - "audit:dev": "pnpm audit || echo Meldingen in ontwikkeltools blokkeren niet (NFR-SEC-05)", + "audit:dev": "pnpm audit || echo Meldingen in ontwikkeltools blokkeren niet, zie NFR-SEC-05", "lighthouse": "lhci autorun && lhci autorun --config=lighthouserc.desktop.cjs", "server-config": "node config/writeServerConfig.ts", "check": "pnpm lint && pnpm format:check && pnpm test && pnpm build && pnpm audit:deps && pnpm audit:dev && pnpm lighthouse"