Commit graph

3 commits

Author SHA1 Message Date
林 駿甫 (Shunsuke Hayashi)
680bd433f4 fix: resolve set -euo pipefail silent exits and 3 related bugs
Root cause: bin/garc uses set -euo pipefail. Any command substitution
$(...) that returns exit 1 caused the entire garc process to exit
immediately with no output, making errors look silent.

Fixes:
- ingress.sh: add || true to all _find_queue_file $() assignments
  so set -e does not silently kill the process on missing queue items
- ingress.sh: _ingress_update_status returns 1 silently (callers
  print their own error); _ingress_done/fail print "Queue item not
  found" exactly once
- ingress.sh: _ingress_next result also guarded with || true
- drive.sh: garc drive info with no args now shows GARC workspace
  folder info instead of printing usage and exiting
- garc-core.py: replaced 210-line duplicate with a 3-line re-export
  from garc_core.py to prevent future divergence

Verified: verify/done/fail all print clear error on bad ID (exit 1),
drive info no-arg shows workspace folder, no regressions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 09:33:57 +09:00
林 駿甫 (Shunsuke Hayashi)
10bcf9b17a fix: resolve two bugs found during live testing
- Add garc_core.py (underscore) alongside garc-core.py (hyphen);
  Python cannot import a hyphenated filename as a module, causing
  ModuleNotFoundError on every garc command
- Replace invalid scope people.readonly with directory.readonly
  in garc-core.py and scope-map.json; people.readonly does not
  exist in Google OAuth, causing error 400 invalid_scope on login

Verified working: garc gmail profile, garc calendar today,
garc gmail inbox, garc auth suggest

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 09:25:14 +09:00
林 駿甫 (Shunsuke Hayashi)
a69b9d9160 feat: initial release — GARC v0.1.0
Permission-first AI agent runtime for Google Workspace.
Ports the LARC/OpenClaw governance model (disclosure chain,
execution gates, queue/ingress) to Gmail, Calendar, Drive,
Sheets, Tasks, and People APIs with Claude Code as the
execution engine.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 08:59:12 +09:00