Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
together-webhooks-events【部署与运维】Convert Together AI batch, fine-tuning, upload, and dedicated-deployment job states into idempotent internal events using bounded polling and an optional owned callback. Use when integrating asynchronous Together work. Trigger with "Together job events", "Together callback", or "poll Together status".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: together-webhooks-events description: >- Convert Together AI batch, fine-tuning, upload, and dedicated-deployment job states into idempotent internal events using bounded polling and an optional owned callback. Use when integrating asynchronous Together work. Trigger with "Together job events", "Together callback", or "poll Together status". argument-hint: "[repository-path] [batch|fine-tune|upload|deployment]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.9.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Together documents asynchronous retrieval and polling for batch, fine-tune, upload, and deployment state. This skill emits internal events from that source of truth instead of inventing a provider-signed webhook.
Use Read, Glob, and Grep to inspect job persistence, pollers, queues, and callback handlers. Use WebFetch to confirm current job states and retrieval methods. Use Write or Edit only after the event contract and storage boundary are approved.
Poll Together with the project-scoped TOGETHER_API_KEY Bearer credential. For an owned callback, use a separate secret, timestamped signature, replay window, and rotation plan; never present that signature as Together-generated.
Do not expose the Together key to callback consumers, invent provider signatures, or delete remote/local job artifacts before reconciliation and retention approval.
Return the provider job reference, state mapping, poll schedule, transition ledger, reconciliation status, callback delivery evidence, and deadline/dead-letter disposition.
| Condition | Response |
|---|---|
| Retrieval is transiently unavailable | Retry with jitter inside the overall deadline. |
| Job ID is missing | Stop; do not create a replacement job automatically. |
| Completion has an error file | Emit completed-with-errors and reconcile records. |
| Callback repeatedly fails | Preserve the event in a dead-letter queue for replay. |
The example below shows the minimum redacted evidence expected from a successful invocation of this operator workflow.
job=batch-redacted; transition=IN_PROGRESS->COMPLETED; records=reconciled; callback=owned-signed