You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Design the agent-native Go CLI product contract #154
Given the approved remote API contract, what commands, inputs, JSON outputs, typed failures, safety rules, and scope should the greenfield Go CLI expose to agents?
Use a concrete prototype contract for review. Do not inherit TypeScript command structure or output by default.
Download the single HTML file and open it directly. Its free-play controls and guided walkthroughs exercise discovery/pagination, guest-list permissions, privacy-safe ambiguous invitations, two-phase consequential actions, authentication handoff, and explicit remote unknowns. The artifact also records the proposed command hierarchy, JSON envelopes, exit taxonomy, hidden operations, and deliberately excluded local-only features.
Question under review: does this public contract give agents enough composability while failing closed around real-person effects and unverified remote behavior?
Missing remote evidence blocks a command before implementation; it is not a normal runtime state.
If a released command later receives data that does not match the reviewed remote API contract, it stops safely with contract.protocol_changed and tells the user to update the CLI. It does not guess or continue.
Repair happens outside the Go CLI implementation: inspect the changed API, propose a new reviewed remote API contract revision, update the CLI, and release a new version.
Public behavior: domain commands, one JSON envelope, typed failures and exit codes, bounded opaque pagination, human-attended authentication, and redacted diagnostics.
Safety: every remote mutation requires a bound mutation plan; actions that contact people, remove or expose access, or cancel an event require explicit confirmation of that exact plan. Plan tokens bind normalized input, remote preconditions, the private resolved contact where relevant, and the signed-in account.
Privacy: phone numbers, email addresses, credentials, and Partiful user IDs are never command output. Raw callable, Firebase, Firestore, and upload operations remain private.
Evidence boundary: missing remote evidence is an implementation gate, not a runtime fallback. A released command stops with contract.protocol_changed if Partiful later breaks its reviewed mapping.
Scope: schema and doctor are included. Templates, export, watch, bulk mutation, clone, skill installation, and image upload are excluded from v1.
Activity
KalebCole commentedon Aug 10, 2026
A concrete contract prototype is ready for review: PROTOTYPE — agent-native CLI product contract.
Download the single HTML file and open it directly. Its free-play controls and guided walkthroughs exercise discovery/pagination, guest-list permissions, privacy-safe ambiguous invitations, two-phase consequential actions, authentication handoff, and explicit remote unknowns. The artifact also records the proposed command hierarchy, JSON envelopes, exit taxonomy, hidden operations, and deliberately excluded local-only features.
Question under review: does this public contract give agents enough composability while failing closed around real-person effects and unverified remote behavior?
KalebCole commentedon Aug 10, 2026
Approved decision: remote API changes
contract.protocol_changedand tells the user to update the CLI. It does not guess or continue.KalebCole commentedon Aug 10, 2026
Resolution
Approved and merged the agent-native CLI product contract in PR 159, merge commit
585e8990a7744d11940710afabec605eb124a55b.docs/CLI-PRODUCT-CONTRACT.md, revision2026-08-10.1.contract.protocol_changedif Partiful later breaks its reviewed mapping.schemaanddoctorare included. Templates, export, watch, bulk mutation, clone, skill installation, and image upload are excluded from v1.The interactive prototype remains preserved on
prototype/agent-native-cli-contractas the primary design source.