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
Reconstruct and approve the remote Partiful API contract #153
Recover the historical 27-operation OpenAPI draft as research evidence, separate remote facts from CLI/MCP metadata, classify every operation and schema claim by evidence quality, resolve known contradictions, and publish an owner-reviewed versioned remote API contract.
Acceptance
The contract contains only remote Partiful/Firebase/Firestore/upload/poster behavior.
Every operation and material schema field is traceable to dated live observation, reviewed research, or an explicit unknown.
The text-blast contradiction and any other conflicts are resolved through safe evidence gathering.
Safe read-only probes are preferred; no destructive live campaign is required.
Kaleb reviews and explicitly approves the versioned contract.
TypeScript commands and the historical OpenAPI draft remain evidence, not authority.
Remote-contract reconstruction is ready for owner review in PR #156.
Revision/path:2026-08-10.1, spec/partiful.openapi.json; evidence metadata is spec/partiful.api-evidence.json with the human ledger at docs/research/2026-08-10-partiful-api-contract-evidence-ledger.md.
Inventory: 27 operations across 6 servers: 18 Partiful callable, 4 Firestore, 3 Firebase auth, 1 upload, and 1 poster catalog.
Evidence: operation classifications are 3 dated live observations, 2 reviewed first-party repository research items, and 22 TypeScript-derived inferences. Request/response and component-level claims also use explicit-unknown where no precise remote fact is justified.
Contradictions: resolved the historical createTextBlast string message/recipientStatuses schema against the dated primary nested-message observation; the obsolete shape is absent. Systematic comparison found no other material schema conflict; upload host/path agreement is retained as inference. Callable payloads, Firestore grammar/authorization, upload variants, poster completeness, and error/status shapes remain explicitly uncertain.
Live verification: ran ./bin/partiful doctor; no credential config was available, so no authenticated request was issued. Mutation probes were deliberately omitted.
Validation:npm test -- tests/remote-api-contract.test.js (5 passed); npm run typecheck (passed); npm test (321 passed, 6 skipped, 5 unrelated failures: 4 timezone-sensitive date assertions and 1 skill-structure timeout).
Owner review/approval remains required. This issue intentionally stays open.
The contract is now consistently described as proposed revision 2026-08-10.1, pending explicit owner approval; no document or PR text treats it as approved.
Evidence is now pointer-level: the ledger has one classification and exact source citation for every material operation/schema/parameter/request/response/security/server claim, and the contract test traverses those claims so uncovered additions fail.
All responses use OpenAPI default because status codes are explicit unknown; the test prevents asserting a numeric success status under that condition.
/posters.json and Poster are reclassified as TypeScript-derived inference cited to src/lib/posters.ts; the event-image observation is explicitly excluded as catalog evidence.
The only contract version is 2026-08-10.1.
Validation rerun: npm test -- tests/remote-api-contract.test.js (7 passed), npm run typecheck (passed), and npm test (323 passed, 6 skipped, 5 unchanged baseline failures: 4 date/timezone assertions and 1 skill-structure timeout). No live request or mutation was made. Owner review/approval remains required; issue 153 stays open.
Final citation-correction addendum for PR 156 (commit 87b5f89):
Added the exact historical 27-operation draft as the clearly non-authoritative, committed research artifact spec/research/historical-27-operation-draft.json; canonical spec/partiful.openapi.json remains remote-only.
Replaced every orphaned/invented historical pointer. New default response-status choices cite the committed “Unknown status decision” rationale, not the historical draft.
The contract test now resolves every JSON citation pointer against the committed artifact and every Markdown citation against a committed heading. It audits all 379 material claims plus operation/request-response/status citations (460 citations total).
Split all 19 poster claims: 4 catalog transport claims cite the exact fetch/array source range and 15 schema claims cite the exact Poster interface range. The event-image observation remains excluded.
Validation: npm test -- tests/remote-api-contract.test.js passed (7); npm run typecheck passed; full npm test remains 323 passed, 6 skipped, 5 unchanged baseline failures (4 date/timezone assertions and 1 skill-structure timeout). Privacy scan found no credentials, phone numbers, or token literals in the revised contract artifacts. Owner approval remains required; issue 153 stays open.
Semantic-evidence correction addendum for PR 156 (commit 35eb550):
Reworked the canonical contract so copied historical request, parameter, response-body, schema, and security values retain narrow, value-equal JSON-pointer citations. The semantic audit checks 776 historical claims for exact canonical/source value equality: 0 mismatches.
Split default response status evidence from response-body evidence: only the default status key cites the unknown-status decision; every response content/schema claim now cites its wire-shape source. A regression test enforces this.
Removed undocumented FirebaseSignInResponse.localId rather than claiming it from the dated auth observation.
Expanded material traversal to include empty arrays and security requirement keys/scopes. It now audits 876 material claims, including 24 operation security assignments; a regression test requires evidence for every assignment.
Corrected updateMask.fieldPaths to an exploded form query array of strings, matching repeated query-key construction; a regression test covers the shape.
Markdown decision sources are constrained by test to their stated claim categories (status, text-blast, update-mask, or poster); no broad ancestor citations remain.
Validation: npm test -- tests/remote-api-contract.test.js (11 passed); npm run typecheck (passed); full npm test: 327 passed, 6 skipped, 5 unchanged baseline failures (4 date/timezone assertions, 1 skill-structure timeout). No credentials or live requests/mutations were used. Owner approval remains required; issue 153 stays open.
Final-review correction addendum for PR 156 (commit 57ef6bf):
All 27 OpenAPI default responses are now schema-free with an honest unknown-status/body description. Reusable inferred response schemas remain unattached research shapes. Operation response and status claims are separately explicit-unknown; tests reject default.content.
Cached the historical draft and fixed JSON Pointer normalization (#/ and /). Semantic comparison now requires both source and canonical values to exist before equality. Targeted contract tests complete normally: 14 passed; test execution 1.96s (Vitest total 7.42s), with no timeout. Regression coverage rejects a missing historical pointer and a mismatched value.
createTextBlast now has distinct request/response/status citations. Its response is explicit unknown, and observed userId is a string (no unsupported null branch).
Removed client-specific collection-path wording and the unsupported pageSize: 100 default.
Human and machine ledgers now agree that sendAuthCodeTrusted and lookupFirebaseUser are TypeScript-derived inferences.
Validation: exact npm test -- tests/remote-api-contract.test.js passed (14 tests); npm run typecheck passed; git diff --check passed. I also started full npm test, but severe host-wide slowdown caused unrelated existing suites to exceed their 5s timeouts (including skill, events, installer, template, and bulk suites), so I stopped the incomplete run rather than present it as a baseline comparison. No contract test failed in that run before stopping. No credentials, live requests, or mutations were used. Owner approval remains required; issue 153 stays open.
Approved and merged the evidence-qualified remote contract in PR 156, merge commit f77c5815e3609610f55ef852b784710440176085.
Canonical revision: 2026-08-10.1 at spec/partiful.openapi.json.
Inventory: 27 remote operations across Partiful callable, Firestore, Firebase auth, upload, and poster servers.
Evidence: 819 material OpenAPI claims are classified and traceable; the historical draft is preserved only as non-authoritative research evidence.
Confidence boundary: 3 operations have dated live observations; 24 are TypeScript-derived inferences. All operation response statuses and bodies remain explicit unknowns, represented by schema-free default responses.
Resolved the text-blast request contradiction in favor of dated browser evidence.
No authenticated live probe was possible because partiful doctor found no credentials; no mutation was attempted.
Verification: 14 targeted contract tests and typecheck pass; full-suite comparison found zero PR-introduced failures relative to main; privacy review found no credentials or personal data.
Kaleb explicitly approved this evidence-qualified snapshot with those uncertainties. Future privacy-safe observations outrank the snapshot and require reviewed contract revisions.
Activity
KalebCole commentedon Aug 10, 2026
Remote-contract reconstruction is ready for owner review in PR #156.
2026-08-10.1,spec/partiful.openapi.json; evidence metadata isspec/partiful.api-evidence.jsonwith the human ledger atdocs/research/2026-08-10-partiful-api-contract-evidence-ledger.md.explicit-unknownwhere no precise remote fact is justified.createTextBlaststringmessage/recipientStatusesschema against the dated primary nested-message observation; the obsolete shape is absent. Systematic comparison found no other material schema conflict; upload host/path agreement is retained as inference. Callable payloads, Firestore grammar/authorization, upload variants, poster completeness, and error/status shapes remain explicitly uncertain../bin/partiful doctor; no credential config was available, so no authenticated request was issued. Mutation probes were deliberately omitted.npm test -- tests/remote-api-contract.test.js(5 passed);npm run typecheck(passed);npm test(321 passed, 6 skipped, 5 unrelated failures: 4 timezone-sensitive date assertions and 1 skill-structure timeout).Owner review/approval remains required. This issue intentionally stays open.
KalebCole commentedon Aug 10, 2026
Correction addendum for PR 156 (commit
a48d120):2026-08-10.1, pending explicit owner approval; no document or PR text treats it as approved.defaultbecause status codes are explicit unknown; the test prevents asserting a numeric success status under that condition./posters.jsonandPosterare reclassified as TypeScript-derived inference cited tosrc/lib/posters.ts; the event-image observation is explicitly excluded as catalog evidence.2026-08-10.1.Validation rerun:
npm test -- tests/remote-api-contract.test.js(7 passed),npm run typecheck(passed), andnpm test(323 passed, 6 skipped, 5 unchanged baseline failures: 4 date/timezone assertions and 1 skill-structure timeout). No live request or mutation was made. Owner review/approval remains required; issue 153 stays open.KalebCole commentedon Aug 10, 2026
Final citation-correction addendum for PR 156 (commit
87b5f89):spec/research/historical-27-operation-draft.json; canonicalspec/partiful.openapi.jsonremains remote-only.defaultresponse-status choices cite the committed “Unknown status decision” rationale, not the historical draft.{"materialClaims":379,"citationsAudited":460,"unresolved":0}.Posterinterface range. The event-image observation remains excluded.Validation:
npm test -- tests/remote-api-contract.test.jspassed (7);npm run typecheckpassed; fullnpm testremains 323 passed, 6 skipped, 5 unchanged baseline failures (4 date/timezone assertions and 1 skill-structure timeout). Privacy scan found no credentials, phone numbers, or token literals in the revised contract artifacts. Owner approval remains required; issue 153 stays open.KalebCole commentedon Aug 10, 2026
Semantic-evidence correction addendum for PR 156 (commit
35eb550):defaultresponse status evidence from response-body evidence: only thedefaultstatus key cites the unknown-status decision; every response content/schema claim now cites its wire-shape source. A regression test enforces this.FirebaseSignInResponse.localIdrather than claiming it from the dated auth observation.updateMask.fieldPathsto an exploded form query array of strings, matching repeated query-key construction; a regression test covers the shape.Validation:
npm test -- tests/remote-api-contract.test.js(11 passed);npm run typecheck(passed); fullnpm test: 327 passed, 6 skipped, 5 unchanged baseline failures (4 date/timezone assertions, 1 skill-structure timeout). No credentials or live requests/mutations were used. Owner approval remains required; issue 153 stays open.KalebCole commentedon Aug 10, 2026
Final-review correction addendum for PR 156 (commit
57ef6bf):defaultresponses are now schema-free with an honest unknown-status/body description. Reusable inferred response schemas remain unattached research shapes. Operation response and status claims are separatelyexplicit-unknown; tests rejectdefault.content.#/and/). Semantic comparison now requires both source and canonical values to exist before equality. Targeted contract tests complete normally: 14 passed; test execution 1.96s (Vitest total 7.42s), with no timeout. Regression coverage rejects a missing historical pointer and a mismatched value.createTextBlastnow has distinct request/response/status citations. Its response is explicit unknown, and observeduserIdis a string (no unsupported null branch).pageSize: 100default.sendAuthCodeTrustedandlookupFirebaseUserare TypeScript-derived inferences.Semantic audit:
{"materialClaims":819,"historicalClaimsChecked":723,"undefinedPairs":0,"semanticMismatches":0,"defaultResponsesWithContent":0,"securityAssignments":24}.Validation: exact
npm test -- tests/remote-api-contract.test.jspassed (14 tests);npm run typecheckpassed;git diff --checkpassed. I also started fullnpm test, but severe host-wide slowdown caused unrelated existing suites to exceed their 5s timeouts (including skill, events, installer, template, and bulk suites), so I stopped the incomplete run rather than present it as a baseline comparison. No contract test failed in that run before stopping. No credentials, live requests, or mutations were used. Owner approval remains required; issue 153 stays open.KalebCole commentedon Aug 10, 2026
Resolution
Approved and merged the evidence-qualified remote contract in PR 156, merge commit
f77c5815e3609610f55ef852b784710440176085.2026-08-10.1atspec/partiful.openapi.json.defaultresponses.partiful doctorfound no credentials; no mutation was attempted.main; privacy review found no credentials or personal data.Kaleb explicitly approved this evidence-qualified snapshot with those uncertainties. Future privacy-safe observations outrank the snapshot and require reviewed contract revisions.