agnes-the-ai-analyst/server/bin
Petr 440662c8fe Fix remove-analyst silent failure caused by set -e + pipefail
The script was exiting silently on the GROUPS=$(groups ... | cut ...)
line — set -eo pipefail caused bash to terminate the script before any
echo output, making it appear to do nothing.

Replace set -euo pipefail with set -u and explicit error handling.
Admin scripts must always report what happened, never exit silently.

Also: use id -nG instead of groups|cut pipe, add verification step
after userdel, and log each operation for visibility.
2026-03-15 14:17:39 +01:00
..
add-admin Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
add-analyst Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
collect-knowledge Move standalone services from server/ to services/ 2026-03-09 12:54:30 +01:00
collect-sessions Move standalone services from server/ to services/ 2026-03-09 12:54:30 +01:00
install-user-rules Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
list-analysts Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
notify-runner Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
notify-scripts Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
remove-analyst Fix remove-analyst silent failure caused by set -e + pipefail 2026-03-15 14:17:39 +01:00
user-crontab Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00