agnes-the-ai-analyst/app/web
Vojtech Rysanek 487f840596 fix(web): GWS verify step — drop fragile JSON-parse + add anti-footgun guidance
Step 8 of the Google Workspace connector prompt told Claude to call
`gws drive files list` + `gws chat spaces list` and parse counts
out of the JSON response. In practice Claude improvised a
`python3 -c 'f"… {len(d.get(\"files\",[]))}…"'` snippet that
fails in two ways: f-string expressions reject backslashes pre-3.12
(SyntaxError), and gws can emit a banner ahead of the JSON body
(JSONDecodeError on `json.load(sys.stdin)`).

Treat exit code 0 from each gws call as success, drop the
`<N> drive file(s), <M> chat space(s) visible` counts (consistent
with the Step 0 precheck), and explicitly warn off the two
anti-patterns. Summary-grep prefix ` Google Workspace ready —` is
preserved so the install-summary still picks the line up.
2026-05-21 18:21:33 +04:00
..
static fix(theme): apply navy palette to login hero panel under navy theme 2026-05-21 11:34:31 +02:00
templates fix(web): install-prompt Step 2 + restart cue match Desktop install path 2026-05-21 18:17:25 +04:00
__init__.py feat: add FastAPI server with auth, RBAC, and all API endpoints 2026-03-27 15:19:18 +01:00
connector_prompts.py fix(web): GWS verify step — drop fragile JSON-parse + add anti-footgun guidance 2026-05-21 18:21:33 +04:00
router.py Merge remote-tracking branch 'origin/main' into vr/custom-scripts-integration 2026-05-21 14:20:37 +04:00
setup_instructions.py fix(web): install-prompt Step 2 + restart cue match Desktop install path 2026-05-21 18:17:25 +04:00