Commit 161be6e
committed
docs(adr-016): Linear attachments follow the Jira aws-samples#619 pattern, not confirm-uploads
Verified: PR aws-samples#619 (merged) already solved headless vendor attachments for Jira
by fetching them AUTHENTICATED at task-admission time in the webhook processor
(jira-attachments.ts) and injecting via create-task-core's preScreenedAttachments
seam — bypassing the confirm-uploads/Cognito flow entirely. Also verified the
confirm-uploads endpoint IS Cognito-only (task-api.ts:834), which is why the
presigned/large-file path is unavailable to webhook callers — but aws-samples#619 shows
that path is not needed.
So the fix is NOT adding HMAC auth to confirm-uploads; it's building the Linear
analog linear-attachments.ts (fetch uploads.linear.app + paperclip attachments
with the @bgagent ChannelCredential, screen via Bedrock Guardrail, inject as
preScreenedAttachments), mirroring aws-samples#619. P4 updated to reference aws-samples#619 as the
template and to note the confirm-uploads limitation is irrelevant to this path.
This confirms "remove Linear MCP, do attachments deterministically" — the
maintainer's short-term "use Linear MCP" note predates having aws-samples#619 to copy.1 parent 66ec509 commit 161be6e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments