Files
thor/tests
jaredandClaude Opus 5.5 45afd6e247
CI / Lint (flake8, house style) (pull_request) Successful in 57s
CI / Test (pytest) (pull_request) Successful in 1m15s
CI / Security (bandit, pip-audit) (pull_request) Successful in 1m3s
CI / Integration (MariaDB) (pull_request) Successful in 1m53s
CI / Scan (secrets, workflows, shell, patterns) (pull_request) Failing after 1m36s
CI / UI (screenshots) (pull_request) Failing after 2m6s
CI / Deploy (pull_request) Skipped
MCP v1: Thor's tools for Claude Code, behind Authelia OAuth (thor#1)
- thor/web/mcp.py: stateless Streamable HTTP at POST /mcp (JSON-RPC 2.0), RFC 9728 metadata at
  /.well-known/oauth-protected-resource[/mcp], 401 with resource_metadata. Tokens checked
  against Authelia's JWKS: RS256, iss, aud (this server), exp, typ at+jwt, client_id thor-mcp,
  scp array; group admin only; Remote-* headers never trusted; every tool call logged with the
  user.
- Read tools (thor:read): list_incidents, get_incident, what_covers, thor_status,
  list_known_conditions. Write tools (thor:write): add_known_condition, end_known_condition,
  attach_ticket, detach_ticket. Tools a token's scopes can't use aren't listed.
- Migration 4: incident_links (who attached which ticket to which incident). attach_ticket
  records an 'attach' action; in shadow nothing is sent, live sends a 'Root cause' comment.
- Incident page lists attached tickets. PyJWT[crypto] added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 13:07:26 -05:00
..