Skip to content

docs: add a Smart Objects reference - #16

Merged
gesposito merged 1 commit into
mainfrom
gianluca/gco-2287-smart-objects-reference
Jul 28, 2026
Merged

docs: add a Smart Objects reference #16
gesposito merged 1 commit into
mainfrom
gianluca/gco-2287-smart-objects-reference

Conversation

@gesposito

@gesposito gesposito commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

The repo has strong per-example READMEs but no central reference for the Smart Object model itself, so an integrator can't see what objects can do without reading the SDK types or the in-app setup prompt. This adds docs/reference.md, linked from a short "Smart Objects" section in the README.

Details

  • Covers the wire model (signed POST to a per-object URL via @gathertown/webhook-object-sdk), the four presets and their capabilities, every capability's events with argument constraints, the status states, and a table mapping each example package to its preset.
  • Content mirrors the capability catalog that generates the in-app setup prompt, same source of truth, hand-authored for now. counter.decrement is included; it ships with the next @gathertown/webhook-object-types release.
  • A generated, CI---checked version of this doc is the natural follow-up so it can't drift from the catalog.

Test Plan

  • Every event, argument, and constraint cross-checked against the capability catalog (status states, counter methods, activity fields).
  • Relative links resolve: README → docs/reference.md, and docs/reference.md → each ../packages/*.

Note

Low Risk
Documentation-only changes with no runtime, auth, or data-path impact.

Overview
Adds a central Smart Objects reference so integrators can see presets, capabilities, and event contracts without digging through per-package READMEs or SDK types alone.

docs/reference.md documents the webhook model (per-object URL/secret, Standard Webhooks signing, SDK usage), the four presets and their capabilities, every capability’s events with argument limits, and a table mapping each example package to its preset. README.md gains a short Smart Objects section that points to that doc.

Reviewed by Cursor Bugbot for commit d166634. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gesposito gesposito changed the title docs: add a Smart Objects reference [GCO-2287] docs: add a Smart Objects reference Jul 28, 2026
@gesposito
gesposito requested review from bgreenier and yaustar July 28, 2026 16:00
The repo documented each example package well but had no central reference
for the Smart Object model itself — the gap called out in integrator feedback
(the in-app setup prompt carried far more detail than the repo or the
Knowledge Base).

Add docs/reference.md: the wire model (signed POST via the SDK), the four
presets and their capabilities, every capability's events and argument
constraints, the status states, and a map of which example drives which
preset. Linked from a short "Smart Objects" section in the README.
@gesposito
gesposito force-pushed the gianluca/gco-2287-smart-objects-reference branch from b217bfd to d166634 Compare July 28, 2026 16:25
@gesposito
gesposito merged commit b72fbee into main Jul 28, 2026
4 checks passed
@gesposito
gesposito deleted the gianluca/gco-2287-smart-objects-reference branch July 28, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants