Commit Graph
10 Commits
Author SHA1 Message Date
Ubuntu c0d758249c security: split internal/edge access, harden sandbox, fix follow-up matching
- server: two listeners — :4646 internal (PROXY_INTERNAL_TOKEN only,
  X-Authentik-Username no longer trusted) and :4647 edge (Authentik
  outpost only; requires X-Authentik-Username; NetworkPolicy-restricted)
- session-manager: strip PROXY_INTERNAL_TOKEN & friends from the ACP
  child env (allowlist + proxy vars), dedicated agent HOME, resolved
  tool_call tracking so findSessionForFollowUp ignores already-answered
  results (no more cross-turn log spam / stale matches)
- ask_question auto-answer picks the SAFE option (deny/reject/last),
  never options[0] — root cause of the allow-all config drift
- bootstrap: force-rewrite deny-all cli-config on every boot into BOTH
  proxy and agent HOME (PVC drift self-heals), strip agent-authored hooks
- cli-config: deny all 22 built-in tools (Shell/Read/Write/Grep/Glob/
  WebFetch/WebSearch/Task/...), allow Mcp(*) only
- deploy: edge Service + ServiceExport, NetworkPolicy (4646 open+token,
  4647 only from node2 pod CIDR), readOnlyRootFilesystem, no SA token,
  agent-home + tmp emptyDirs
- Dockerfile: pin cursor-agent 2026.10.22-27dcf5f from build cache (deny
  enforcement verified), non-root, dedicated agent home
- e2e: auth-surface matrix + built-in Read leak check + bridge egress

Closes infra-yip
2026-10-23 10:11:39 +00:00
fluxcdbot 71f95e7a0c chore(deploy): update cursor-agent-api-proxy image
dcr.trinitysan.by/infra/cursor-agent-api-proxy:9-b467998ba4e6fa52c0763fc583e7ce4762dbc87e -> dcr.trinitysan.by/infra/cursor-agent-api-proxy:10-15fa287e1b5ece2c00450c8c79daa344efa5dfee
2026-09-27 13:48:07 +00:00
Ubuntu bc0c9680f5 chore(deploy): raise ACP_REQUEST_TIMEOUT_MS to 1500000
Vision-heavy turns (5-image TTN extraction with structured submit) run
10+ minutes end-to-end; 300s ACP request timeout killed them mid-turn.
Matches the turn-deadline fix (TURN_DEADLINE_MS default 900s + margin).
2026-09-27 13:45:27 +00:00
fluxcdbot b96824a978 chore(deploy): update cursor-agent-api-proxy image
dcr.trinitysan.by/infra/cursor-agent-api-proxy:8-23509cece5c1f17885dd830e4815f3dfd1e5fe49 -> dcr.trinitysan.by/infra/cursor-agent-api-proxy:9-b467998ba4e6fa52c0763fc583e7ce4762dbc87e
2026-09-27 12:08:26 +00:00
fluxcdbot 706733fed3 chore(deploy): update cursor-agent-api-proxy image
dcr.trinitysan.by/infra/cursor-agent-api-proxy:7-96106c5c8ca178522d7fc26b37fbc161d5c0c73c -> dcr.trinitysan.by/infra/cursor-agent-api-proxy:8-23509cece5c1f17885dd830e4815f3dfd1e5fe49
2026-09-24 13:17:21 +00:00
fluxcdbot 23509cece5 chore(deploy): update cursor-agent-api-proxy image
dcr.trinitysan.by/infra/cursor-agent-api-proxy:6-c6cf5906d5ed9c8439e2af2763924da6817c79e4 -> dcr.trinitysan.by/infra/cursor-agent-api-proxy:7-96106c5c8ca178522d7fc26b37fbc161d5c0c73c
2026-09-24 12:32:38 +00:00
fluxcdbot 96106c5c8c chore(deploy): update cursor-agent-api-proxy image
dcr.trinitysan.by/infra/cursor-agent-api-proxy:5-57a036ba5e77419f320701b6f25c05cc2c3aa280 -> dcr.trinitysan.by/infra/cursor-agent-api-proxy:6-c6cf5906d5ed9c8439e2af2763924da6817c79e4
2026-09-24 08:23:55 +00:00
fluxcdbot c6cf5906d5 chore(deploy): update cursor-agent-api-proxy image
dcr.trinitysan.by/infra/cursor-agent-api-proxy:1-52c45e48f8f4a2c0b1a3c29c08d39a3a88e1c2d4 -> dcr.trinitysan.by/infra/cursor-agent-api-proxy:5-57a036ba5e77419f320701b6f25c05cc2c3aa280
2026-09-24 08:19:26 +00:00
fluxcdbot 77441c87df chore(deploy): update cursor-agent-api-proxy image
dcr.trinitysan.by/infra/cursor-agent-api-proxy:latest -> dcr.trinitysan.by/infra/cursor-agent-api-proxy:1-52c45e48f8f4a2c0b1a3c29c08d39a3a88e1c2d4
2026-09-21 08:01:00 +00:00
Vsevolod Sauta 57a036ba5e Initial segregate: proxy source, deploy manifests, ImagePolicy Flux CRs.
build-and-push / build (push) Failing after 2m45s
Move workload out of infra with cursor-devbox-style GitRepository +
run_number-sha image automation.
2026-09-21 10:31:36 +03:00