Skip to content

[Bug] Stop hook execution fails with PowerShell encoding error on Windows #43024

Description

@chiri-72

Bug Description
❯ 그럼 난 이제 여기서 뭘 할 수 있어?

● Read 1 file (ctrl+o to expand)

● 이 폴더(~/ai-native-kr-team)에서 claude 실행하면 이오니(EO Korea AI 어시스턴트)로 작동합니다.

  할 수 있는 것들:

  ---
  업무 현황 파악
  - "내 현황" → 오늘 할 일, 프로젝트, 미팅 한눈에 보기

  태스크 관리 (ClickUp 자동 반영)
  - "완료" / "처리했어" → 태스크 상태 변경
  - "태스크 추가해줘" → ClickUp에 새 태스크 등록

  데일리스크럼
  - "데일리스크럼" → 어제/오늘 업무 정리 후 Slack에 자동 포스팅

  미팅 정리
  - "미팅 정리" + 회의록 붙여넣기 → DB 자동 등록 (Tiro 연동)

  고객/프로젝트
  - "고객 등록" → 신규 고객사 등록
  - "프로젝트 브리핑" → 30초 현황 요약

  개인 메모
  - "메모해줘 [내용]" → 나만의 메모 저장/조회

  ---
  시작하는 방법:
  cd ~/ai-native-kr-team
  claude

  그다음 "내 현황" 부터 말해보면 됩니다.

● Ran 1 stop hook (ctrl+o to expand)
  ⎿  Stop hook error: Failed with non-blocking status code: ��ġ ��:1 ����:68
  + ... NUTF8='1';:PYTHONIOENCODING='utf-8';=[Console]::In.ReadToEnd();Invoke ...
  +                                                                  ~
  '(' �ڿ� ���� �;� �մϴ�.
  ��ġ ��:1 ����:266
  + ... h.claude\hooks\otel_push.py' -ErrorAction SilentlyContinue;|python3  ...
  +                                                                 ~
  �� ������ ��Ҵ� ����� �� �����ϴ�.
      + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
      + FullyQualifiedErrorId : ExpectedExpression

❯ 내 현황

● Read 1 file (ctrl+o to expand)

● Bash(SUPABASE_URL="https://zarmovyvwbdwlymlabzm.supabase.co"
      ANON_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inphcm1vdnl2d2Jkd2x5bWxhY…)
  ⎿  [{"id":1501,"title":"(교육) 아산두어스 2026 — 프로그램 운영","status":"in_progress","priority":"3","due_date":"2026-02-28","project_
     id":1,"progress_percent":0},
      {"id":100002,"title":"priority_test","status":"pending","priority":"medium","due_date":null,"project_id":null,"progress_percent":0}
     ]

● Bash(SUPABASE_URL="https://zarmovyvwbdwlymlabzm.supabase.co"
      ANON_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inphcm1vdnl2d2Jkd2x5bWxhY…)
  ⎿  [
       {
         "project_id": 1
     … +2 lines (ctrl+o to expand)

● Bash(SUPABASE_URL="https://zarmovyvwbdwlymlabzm.supabase.co"
      ANON_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inphcm1vdnl2d2Jkd2x5bWxhY…)
  ⎿  [
  …
Note: Content was truncated.

Activity

  1. raphaelbarbosaqwerty commented on Apr 3, 2026

    @raphaelbarbosaqwerty

    Please describe the error in English to make it easier for other users to find.

  2. 0xbrainkid commented on Apr 28, 2026

    @0xbrainkid

    This is a stop-boundary reliability failure.

    If stop hook execution fails on Windows because of a PowerShell encoding error, then the exact mechanism users rely on to enforce last-second control or cleanup becomes least reliable on the path where control matters most.

    That is worse than an ordinary hook bug because stop hooks exist for boundary conditions: they are often the final chance to log, clean up, gate, or prevent bad aftermath.

    I would want clarity on:

    1. whether the failure is caused by command encoding, environment encoding, shell invocation flags, or stdout/stderr decoding assumptions
    2. whether the stop hook failure is visible enough that users know the protective action never ran
    3. whether there is a shell-agnostic fallback path when PowerShell cannot execute the hook safely

    A stop mechanism has to be boringly reliable. If encoding issues can disable it silently or unpredictably, the user loses confidence in the emergency brake of the whole workflow.

  3. github-actions commented on May 30, 2026

    @github-actions

    Closing for now — inactive for too long. Please open a new issue if this is still relevant.

  4. github-actions commented on Jul 31, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  5. locked as resolved and limited conversation to collaborators on Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:hooksbugSomething isn't workingplatform:windowsIssue specifically occurs on WindowsstaleIssue is inactive

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions