CLI workspace for many apps and studios, credential profiles, release trains (release status / plan)

- storebound.workspace.json: app folders (globs), studios with accounts by credential profile, ignore list, the
  desktop's pairing overrides; ws init | list | status | check | validate | run | apps import | desktop export/import
- credential profiles in ~/.storebound/credentials/<profile>.json or env, --account <profile> on any command
- release status / release plan <version>, table or --json; MCP workspace_list, workspace_status, release_status,
  release_plan (read-only)
- pairing rules (cli/lib/identity.ts), release lanes (cli/lib/train.ts) and the per-app status read
  (cli/lib/app-status.ts) shared with the desktop instead of copied
- tests with sanitized fixtures, README, skills, CHANGELOG
This commit is contained in:
CRTkafa 2026-10-11 15:35:45 +00:00
parent 02d90de77a
commit 7d70e58d76
26 changed files with 2220 additions and 292 deletions

View file

@ -11,7 +11,8 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
for real only after the owner agrees.
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
what is missing and in which order to fix it.
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
4. **Credentials only from the environment, `.storebound/`** in the project (gitignored) **or a credential profile**
(`~/.storebound/credentials/<profile>.json`, named by `--account <profile>` or a workspace). Never ask for keys,
passwords or tokens in chat, never print them, never write them into the config, docs or commits. The same goes
for the App Review demo account (`reviewDemoAccount` in `.storebound/credentials.json`): the owner puts it there.
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,

View file

@ -167,6 +167,16 @@ Each write is a dry run, then the native dialog, then the real run, with one pro
- **TestFlight tab:** What to Test, internal groups, testers.
- **Reviews tab:** reply editor (`reviews.reply`), approve, send (owner action).
### The same model in the terminal
The CLI workspace (`storebound.workspace.json`, README "Many apps and studios") holds the same studios, accounts
(credential profile names instead of keychain entries), folders and overrides. The pairing rules
(`cli/lib/identity.ts`) and the release lanes (`cli/lib/train.ts`) are one implementation for both; the window
re-exports them (`src/lib/identity.ts`, `src/lib/model.ts`). `storebound ws desktop import` reads `state.json` into a
workspace file (the keychain is never read; the profiles to create are listed); `storebound ws desktop export --merge
--apply` adds a workspace to `state.json` while the app is closed (backup kept, nothing removed, new accounts get
their keys in the Accounts screen). Project ids in an exported state are stable per folder path (16 hex).
## Every CLI area in the window
| CLI | where in the window |