Skip to main content

crewship share

share <routine|project|crew> <resource-id>

Trusted workspace OWNER/ADMIN members can change individual Guest shares from an object’s side. These commands take a resource ID, not a slug; --with accepts an existing membership ID, user ID or exact email. They never invite someone or change their account mode. Trusted members keep role-based access; trusted MEMBER/MANAGER recipients can additionally receive crew manage.
Supported commands are share <routine|project|crew> <resource-id>, share list <routine|project|crew> <resource-id> and unshare <routine|project|crew> <resource-id>. share and unshare require --with and --operation; operations are repeatable or comma-separated. Routine operations support view, results, run, edit and publish; project operations support independent list, read, contribute, manage and delete_issues. Routine Run also requires all agent grants and a qualified installed runtime. Edit supplements View for collaborative draft changes; Publish requires Edit on the same routine in the resulting policy; it does not add View, Results or Run. Publishing additionally requires current View. Granting Publish does not publish or execute a draft. Each mutation reads the selected member’s current snapshot once and submits its membership ID and revision. Other objects, operations and unchanged issuers are preserved. Inactive rights stay inactive unless share --reissue explicitly names them. A 409 is returned to the caller without refresh or retry; inspect the current shares and run the intended change again. share list returns only explicit shares for the selected object, including issuer and active/inactive state; trusted role-based access is not enumerated. An unreadable roster or policy fails the command instead of printing an empty list. Use workspace member access get for a complete member policy.

Flags

share list <routine|project|crew> <resource-id>

List explicit resource shares for this object with member, email, operation, issuer and active/inactive state. Takes no command-specific flags. Use --format json for machine output. A policy read error fails the command, rather than hiding an unreadable share in an otherwise successful list. Project contribute permits client requests, shared comments and intake status arrangement. It also requires read; list is needed to browse the project. An administrator configures new-request routing with crewship project guest-intake. Routine shares also accept --operation view to expose that definition without execution. View and Run are independent; review prompts and defaults before adding View. Existing Run shares do not expand automatically. Project manage with read permits editing the project name, description and milestones. It does not imply Contribute, source-file writes, intake configuration or grant administration. Project delete_issues explicitly authorizes permanent issue deletion, together with Read and Manage. Source-file delete and earlier Manage shares do not imply it. --operation view,results deliberately shares regular routine run history and outputs in addition to the definition, including past and future runs. Inherited private conversation audiences still apply. Inputs are not shown directly; outputs may contain them. Transcripts are excluded; private restricted-runtime receipts retain their own actor/attempt/proof checks. Existing View and Run grants are not expanded. Crew view discovers the crew’s current agents. Crew use additionally grants Chat and Run; it never grants Delegate, credential access or crew role changes. Crew shares use the same versioned member policy and issuer checks. Agent moves, crew retirement and revocation invalidate existing attempts. Guest crew detail routes and crew Share dialogs/presets are not included in this initial slice. Crew manage is separate from Guest View/Use and requires a trusted MEMBER or MANAGER. It permits crew profile/configuration and membership changes without explicit crew role overrides, without crew role assignment, deletion, private-network opt-in, budget/policy or workspace administration, or credential reveal. share list crew includes explicit trusted management shares with their original issuer and active/inactive state, including retained inactive shares after a recipient changes role. Before converting a recipient to Guest, explicitly unshare all trusted-only shares and save; a downshift while any remain returns422.