mirror of https://github.com/garrytan/gstack.git
chore: regenerate pair-agent SKILL.md for cluster B (consent gate)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
b141fb3511
commit
39bc1c34f6
|
|
@ -930,7 +930,27 @@ using the generic remote flow instead.
|
|||
|
||||
### If different machine (option B):
|
||||
|
||||
First, detect ngrok status:
|
||||
**Consent gate (once per machine).** The tunnel exposes this browser beyond
|
||||
the machine, so it is OFF until the user opts in — the daemon refuses
|
||||
`/tunnel/start` and `BROWSE_TUNNEL=1` otherwise. Check the standing consent:
|
||||
|
||||
```bash
|
||||
~/.claude/skills/gstack/bin/gstack-config get pair_agent 2>/dev/null || echo "unset"
|
||||
```
|
||||
|
||||
If the value is not `on`, ask via AskUserQuestion (one-way-door posture —
|
||||
this opens a path from the internet to the local browser):
|
||||
|
||||
> "Remote pairing runs an ngrok tunnel from the internet to this machine's
|
||||
> browser (locked to a 26-command allowlist + scoped token, but still an
|
||||
> exposure). Enable pair-agent on this machine?"
|
||||
|
||||
Options: A) Enable — run `~/.claude/skills/gstack/bin/gstack-config set pair_agent on`, confirm it reads back `on`, and continue. B) No — stop here; local pairing (option A above) still works.
|
||||
|
||||
If the value is already `on`, say nothing and continue — consent stands until
|
||||
`gstack-config set pair_agent off`.
|
||||
|
||||
Then detect ngrok status:
|
||||
|
||||
```bash
|
||||
which ngrok 2>/dev/null && echo "NGROK_INSTALLED" || echo "NGROK_NOT_INSTALLED"
|
||||
|
|
|
|||
Loading…
Reference in New Issue