From 0879aaa8f16037891f1bd03446193e24db687c53 Mon Sep 17 00:00:00 2001 From: garrytan Date: Mon, 26 Oct 2026 01:22:17 +0000 Subject: [PATCH] fix: pre-landing review fixes Restore the /setup-gbrain code block the README split left open: README.md kept the ```bash opener and docs/gbrain-quick-tour.md got only the closing fence, so both pages rendered their body as one code block. Drop the self-referential 'Full reference' link in docs/domain-skills.md and make the troubleshooting quick-answer link an in-page anchor. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- README.md | 2 ++ docs/domain-skills.md | 2 +- docs/gbrain-quick-tour.md | 2 ++ docs/troubleshooting.md | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 34c06fe0a..deb11292d 100644 --- a/README.md +++ b/README.md @@ -208,6 +208,8 @@ Beyond the slash commands, gstack ships standalone CLIs (`gstack-egress`, `gstac [GBrain](https://github.com/garrytan/gbrain) is a persistent knowledge base for AI agents — think of it as the memory your agent actually keeps between sessions. GStack gives you a one-command path from zero to "it's running, my agent can call it." ```bash +/setup-gbrain +``` The four setup paths, the per-repo trust policy and memory sync, in brief: [docs/gbrain-quick-tour.md](docs/gbrain-quick-tour.md). **Full monty — every scenario, every flag, every bin helper, every troubleshooting step:** [USING_GBRAIN_WITH_GSTACK.md](USING_GBRAIN_WITH_GSTACK.md) diff --git a/docs/domain-skills.md b/docs/domain-skills.md index f829b3015..4076a1e67 100644 --- a/docs/domain-skills.md +++ b/docs/domain-skills.md @@ -128,7 +128,7 @@ Hostname only — no body content, no agent text. Disable entirely with Two browser primitives in gstack's own engine (the fallback path when Aside isn't there) compound the agent over time: -- **`$B domain-skill save`** — agent saves a per-site note (e.g., "LinkedIn's Apply button lives in an iframe") that fires automatically next time it visits that hostname. Quarantined → active after 3 successful uses → optional cross-project promotion via `$B domain-skill promote-to-global`. Storage lives alongside `/learn`'s per-project learnings file. Full reference: **[docs/domain-skills.md](domain-skills.md)**. +- **`$B domain-skill save`** — agent saves a per-site note (e.g., "LinkedIn's Apply button lives in an iframe") that fires automatically next time it visits that hostname. Quarantined → active after 3 successful uses → optional cross-project promotion via `$B domain-skill promote-to-global`. Storage lives alongside `/learn`'s per-project learnings file. - **`$B cdp `** — raw Chrome DevTools Protocol escape hatch for the rare case curated commands miss. Deny-default: methods must be explicitly added to `browse/src/cdp-allowlist.ts` with a one-line justification. Two-tier mutex serializes browser-scoped CDP calls against per-tab work. Output for data-exfil methods is wrapped in the UNTRUSTED envelope. > Want raw CDP with no rails, no allowlist, no daemon — just thin transport from agent to Chrome? [browser-use/browser-harness-js](https://github.com/browser-use/browser-harness-js) is a different philosophy (agent-authored helpers vs gstack's curated commands) and a good fit if you don't want gstack's security stack. The two can coexist: gstack's `$B cdp` and harness can both attach to the same Chrome via Playwright's `newCDPSession`. diff --git a/docs/gbrain-quick-tour.md b/docs/gbrain-quick-tour.md index 874759f91..471a1333a 100644 --- a/docs/gbrain-quick-tour.md +++ b/docs/gbrain-quick-tour.md @@ -2,6 +2,8 @@ The short version of [USING_GBRAIN_WITH_GSTACK.md](../USING_GBRAIN_WITH_GSTACK.md), which has every scenario, flag, helper bin and troubleshooting step. This page is what the README used to say. +```bash +/setup-gbrain ``` Four paths, pick one: diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index cb707e4b7..13d885500 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -4231,7 +4231,7 @@ it. The usual fix is to re-run setup from that row's source for that host, e.g. A project install lives in the project's `.claude/skills/gstack` or `.agents/skills/gstack`; run its `setup` from inside the project. -**Cursor freezes on load, or an agent's gstack skills went missing after an upgrade?** Each checkout now renders skills only for the agents installed from it (#1694). `./setup --status` lists them; `./setup --host ` adds one back. Pruned copies are in `~/.gstack/backups/host-renders/