Skip to content

Design the supervised remote API contract refresh workflow #157

Open

Description

@KalebCole

Question

When the CLI detects that Partiful no longer matches the reviewed remote API contract, what supervised process should gather new browser evidence and prepare a safe contract revision?

Scope

  • Define how contract.protocol_changed becomes a refresh request.
  • Define manual, scheduled, and drift-reported workflow triggers.
  • Define human authentication and credential boundaries for browser observation.
  • Permit privacy-safe reads only by default; prohibit blasts, cancellations, invitations, RSVP changes, uploads, and other mutations.
  • Redact credentials and personal data from logs, traces, fixtures, and workflow artifacts.
  • Update both spec/partiful.openapi.json and spec/partiful.api-evidence.json from captured evidence.
  • Require contract tests, an evidence summary, owner review, and a pull request. Never update or merge the contract automatically.

Acceptance

  • The trigger, human handoff, browser-observation boundary, redaction rules, evidence format, failure behavior, and review gate are explicit.
  • The design explains what can run on GitHub-hosted infrastructure and what requires a trusted local runner.
  • The design preserves the authority rule: reviewed privacy-safe observations can propose a new remote API contract revision, but only owner approval makes it authoritative.

Out of scope

  • The greenfield Go CLI implementation.
  • Automatic contract approval or merge.
  • Live consequential or destructive probes.

Activity

  1. self-assigned this
    on Aug 10, 2026
  2. KalebCole commented on Nov 14, 2026

    @KalebCole
    OwnerAuthor

    Triage bot: held for Kaleb. A supervised contract refresh fits fail-closed (draft VISION (#256)), but the workflow design is his call. Captures must stay research until reviewed into spec/partiful.openapi.json, and tests or checks never use live credentials.

  3. added
    held
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

held

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions