Bypass mode (owner opt-in, default off): storebound settings bypass on|off|status and a one-time question in init; MCP owner_step (owner-only commands, dry run first), owner-only api operations with --yes --confirm, console plans may press buttons.final; every action logged to .storebound/owner-actions.log; docs/bypass.md, agent rules, tests
This commit is contained in:
parent
2598c4953a
commit
9bd17c401d
21 changed files with 218 additions and 13 deletions
30
docs/bypass.md
Normal file
30
docs/bypass.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Bypass mode
|
||||
|
||||
Default **off**. The owner turns it on once per machine when they want their AI agent to press the owner-only buttons
|
||||
too, instead of stopping and asking:
|
||||
|
||||
```sh
|
||||
storebound settings bypass on # or answer "y" to the question in storebound init
|
||||
storebound settings bypass status
|
||||
storebound settings bypass off # back to the owner pressing every final button, at once
|
||||
```
|
||||
|
||||
It is stored in `~/.storebound/settings.json` (this machine only), never in a project's config or repo.
|
||||
|
||||
## What it unlocks
|
||||
|
||||
- MCP: the `owner_step` tool appears. It runs one of: `apple submit`, `apple resubmit`, `apple iap-submit`, `apple release`,
|
||||
`apple preorder`, `play release`, `play rollout`, `reviews` (replies), `apple testflight` (testers), `play products`,
|
||||
`play subscriptions`, `apple iap`, `apple subscriptions`, `prices` (live prices). Dry run first (`dry_run` defaults to
|
||||
true), then `dry_run: false` runs it with `--yes`.
|
||||
- `storebound api`: owner-only operations (submit, release, delete, ...) are sent for an agent with
|
||||
`--yes --confirm <operationId>`.
|
||||
- Console plans: the agent may press `buttons.final` (Publish, Create app, Send for review) itself.
|
||||
|
||||
## What stays
|
||||
|
||||
- Every owner action an agent runs is appended to `<project>/.storebound/owner-actions.log` (time, dry or ran, exit
|
||||
code, the command, the last line of its output).
|
||||
- Dry runs still come first and must pass.
|
||||
- An AI client may still ask the owner for legal agreements, passwords and 2FA codes: those are its own rules, and a
|
||||
storebound setting cannot change them.
|
||||
Loading…
Add table
Add a link
Reference in a new issue