计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
abridge-sdk-patterns【效率与协作】Implement a narrow customer-owned adapter around an approved Abridge tenant interface without claiming a public SDK. Use when coding against vendor-issued integration specifications. Trigger with "build the Abridge adapter".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: abridge-sdk-patterns description: "Implement a narrow customer-owned adapter around an approved Abridge tenant interface without claiming a public SDK. Use when coding against vendor-issued integration specifications. Trigger with "build the Abridge adapter"." argument-hint: "[interface-contract] [language]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.5.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Keep vendor-specific transport behind a typed port whose schema, authentication, errors, timeouts, and retry rules are pinned to the private contract revision. Make unsupported behavior fail closed and keep clinical review outside the adapter.
Use Read, Glob, and Grep to inspect repository configuration, adapters, tests, policies, and existing evidence. Use WebFetch only for current official Abridge, HHS, or named EHR documentation. Use Write or Edit only after confirming scope, environment, owners, patient-data boundary, and approval state. These tools do not confer access to Abridge, an EHR, or a clinical record; return exact operator steps or an approval-gated handoff for live actions.
Use only the health system's provisioned Abridge application access, SSO, administrative role, or tenant-specific partner authentication documented for the approved environment. Do not infer public API credentials, reuse production secrets in tests, or expose tokens and session material. Verify identity owner, least privilege, environment binding, storage, rotation, and revocation before any authenticated action.
Read, Glob, and Grep to inspect existing ports, adapters, configuration, error types, and tests.Write or Edit to add the adapter, synthetic contract fixtures, version negotiation, and rollback path.WebFetch only to align user-facing workflow language with official Abridge guidance.Do not guess endpoints, credentials, headers, scopes, event names, or response fields. Do not publish private contract material in the repository.
Return contract revision, implemented operations, auth boundary, parser policy, retry classes, test coverage, logging exclusions, and unsupported operations. Separate verified facts, tenant-specific evidence, assumptions, and actions still awaiting approval.
| Condition | Response |
|---|---|
| Contract revision is missing | Refuse implementation. |
| Response violates schema | Quarantine the payload metadata and escalate without logging content. |
| Outcome is ambiguous | Do not retry a possible clinical write automatically. |
The example is a redacted operational receipt, not patient data or proof of vendor certification.
contract=vendor-ICD-r9; operations=3; fixtures=synthetic; unknown-fields=reject; retries=idempotent-only; private-docs-committed=no
Read the source map before changing a workflow. Recheck tenant-specific implementation evidence for every interface or capability that public documentation does not define.
Revalidate the evidence date and tenant-specific authority before repeating this workflow in another environment, cohort, care setting, or integration mode.