fix(auth): scripts/auth/*.sh — правильный SNIPPET path #589
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#589
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/auth-scripts-snippet-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Bug: все 3 скрипта (
add_user.sh,list_users.sh,remove_user.sh) имеют 2×dirnameот$0, что даёт<repo>/scriptsвместо<repo>→ скрипт ищет snippet в несуществующем<repo>/scripts/caddy/....Discovered 2026-05-26 QA RBAC сессия:
Fix
Explicit
REPO_ROOTчерез../..от script-dir:Понятнее чем 3×
dirname+ устойчиво к перемещению.Verification
Локальный smoke:
После merge — на VPS работает
bash scripts/auth/list_users.sh(без manualawk-workflow из vaultmeta/00_credentials.md).Context
Vault: Bug_AddUser_Sh_Snippet_Path_Fixed.
PR #426 (2026-05-23) изначально создавал 11 юзеров через add_user.sh — скрипт работал в той worktree-сессии (видимо запускался из dir где realpath давал нужный depth). После compaction context утерян, manual workflow заменил скрипт. Теперь скрипт снова рабочий —
add_user.sh/remove_user.sh/list_users.shself-service.