garc-gws-agent-runtime/scripts
林 駿甫 (Shunsuke Hayashi) 7b5951a1d5 fix: resolve all 17 playbook findings (P0–P3)
P0 fixes:
- agent register: upsert by agent_id (no duplicate rows)
- daemon poll-once: extract _gmail_poll_cycle, run synchronously
- garc_core.py: suppress urllib3/googleapiclient DeprecationWarnings

P1 fixes:
- OAuth: detect RefreshError → delete stale token → re-auth flow
- OAuth: scope coverage check before returning valid creds
- ingress: add stale-reset subcommand (reset in_progress > N min)
- sheets: trim-sheet / clean-all — deleteDimension for empty rows
- approval gate: send Gmail notification to GARC_APPROVAL_EMAIL

P2 additions:
- Google Chat: garc-chat-helper.py + garc send chat subcommands
- Service Account: garc auth service-account verify + DWD support
- Audit log: Sheets audit tab + garc audit list + bin/garc async hook
- garc auth revoke: POST /revoke + delete token file
- kg: pagination fix, shell injection fix, garc-kg-query.py
- docs: _doc_insert_text / append_doc / garc drive append-doc

P3 additions:
- Multi-tenant: lib/profile.sh (list/use/add/show/remove/current)
  bin/garc: auto-load profile config.env and token.json
- Google Forms pipeline: garc-forms-helper.py + lib/forms.sh
  garc forms list/responses/watch
- systemd: _daemon_install_service OS-detect → launchd or systemd units
- Python version gate (>=3.10) in bin/garc + pyproject.toml
- garc doctor command for environment diagnostics

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 09:55:33 +09:00
..
garc-auth-helper.py fix: resolve all 17 playbook findings (P0–P3) 2026-04-15 09:55:33 +09:00
garc-calendar-helper.py feat: initial release — GARC v0.1.0 2026-04-15 08:59:12 +09:00
garc-chat-helper.py fix: resolve all 17 playbook findings (P0–P3) 2026-04-15 09:55:33 +09:00
garc-core.py fix: resolve set -euo pipefail silent exits and 3 related bugs 2026-04-15 09:33:57 +09:00
garc-drive-helper.py fix: resolve all 17 playbook findings (P0–P3) 2026-04-15 09:55:33 +09:00
garc-forms-helper.py fix: resolve all 17 playbook findings (P0–P3) 2026-04-15 09:55:33 +09:00
garc-gmail-helper.py feat: initial release — GARC v0.1.0 2026-04-15 08:59:12 +09:00
garc-ingress-helper.py feat: initial release — GARC v0.1.0 2026-04-15 08:59:12 +09:00
garc-kg-query.py fix: resolve all 17 playbook findings (P0–P3) 2026-04-15 09:55:33 +09:00
garc-people-helper.py feat: initial release — GARC v0.1.0 2026-04-15 08:59:12 +09:00
garc-setup.py feat: initial release — GARC v0.1.0 2026-04-15 08:59:12 +09:00
garc-sheets-helper.py fix: resolve all 17 playbook findings (P0–P3) 2026-04-15 09:55:33 +09:00
garc-tasks-helper.py feat: initial release — GARC v0.1.0 2026-04-15 08:59:12 +09:00
garc_core.py fix: resolve all 17 playbook findings (P0–P3) 2026-04-15 09:55:33 +09:00
setup-workspace.sh feat: initial release — GARC v0.1.0 2026-04-15 08:59:12 +09:00