Skip to content

docs(adr): record credential transport decision (ADR 0041) - #5178

Open
thymikee wants to merge 4 commits into
mainfrom
docs/adr-credential-transport
Open

thymikee wants to merge 4 commits into
mainfrom
docs/adr-credential-transport

Conversation

@thymikee

@thymikee thymikee commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Records the accepted credential transport decision before any code: before agent-device sends a first-party credential to an operator-configured URL, the URL must use https: or loopback http:. 0.21.x warns on a failing URL; 0.22 refuses.

  • Adds docs/adr/0041-credential-transport.md and its index row. 0040 is taken on the 0.22 branch.
  • The ADR holds the review rules (finding criteria, reproduction scripts). docs/agents/security.md gets one pointer line, because docs/agents is at its 40 kB context budget; one sentence there is tightened to make room.

Supersedes the approach of #5150 (closed). The 0.21.x warning and the user-facing website section ship in a separate PR on main; the refusal ships on the 0.22 branch.

Validation

Tested SHA: e2ef8e5. Docs only, so runtime tests do not apply. No local gates ran; CI owns validation and is pending. OXC ignores Markdown.

Security

No runtime change: this PR does not alter how credentials are sent.

The decision covers a passive or active party on a link that is not TLS or loopback. It excludes a party that reads TLS traffic, controls the operator's own server, or runs as the same uid. AGENT_DEVICE_ALLOW_INSECURE_TRANSPORT=1 is the only override. It adds no redirect handling; existing redirect rules stay.

🤖 Generated with Claude Code


Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@apex-sentinel-staging

This comment has been minimized.

docs/agents is at its context budget, so the agent guides keep one pointer
and the ADR holds the rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@apex-sentinel-staging

This comment has been minimized.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed against the latest diff

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread docs/adr/0041-credential-transport.md Resolved
Comment thread docs/adr/0041-credential-transport.md Resolved
Comment thread docs/adr/0041-credential-transport.md Resolved
Comment thread docs/adr/README.md Resolved
…out from ADR 0041

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@apex-sentinel-staging

This comment has been minimized.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thymikee
thymikee force-pushed the docs/adr-credential-transport branch from 4235a4e to 2010c52 Compare November 28, 2026 12:58
@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of 2010c52

Since the review of f8053c3: 0 new · 0 still open · 0 no longer raised

No open findings.

Not in the reviewers' scope (3 files)
  • docs/adr/0041-credential-transport.md: no reviewer was selected for this change
  • docs/adr/README.md: no reviewer was selected for this change
  • docs/agents/security.md: no reviewer was selected for this change

Reviewed with this repository's own Sentinel configuration (411b2a746e60).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

This branch has not been deployed

No deployments
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.

1 participant