apple testflight groups: bare lists the groups and what the config would create (read-only); groups sync (or --yes) creates; flows: bare = read, sync = write; MCP tool runs groups sync

This commit is contained in:
CRTkafa 2026-10-12 10:48:59 +08:00
parent 1724296e59
commit 41d2ffcc24
12 changed files with 44 additions and 13 deletions

View file

@ -56,6 +56,9 @@ fold: >
describe('steps', () => {
test('classification: reads, writes, waits, owner steps', () => {
expect(classify(['validate'])).toBe('read');
// bare `testflight groups` only lists; `groups sync` creates (a listing-sounding command once created groups)
expect(classify(['apple', 'testflight', 'groups'])).toBe('read');
expect(classify(['apple', 'testflight', 'groups', 'sync'])).toBe('write');
expect(classify(['release', 'plan', '1.2.0'])).toBe('read');
expect(classify(['apple', 'next-build'])).toBe('read');
expect(classify(['apple', 'upload', '--no-wait'])).toBe('write');