Isolate autonomous release subprocesses from parent credentials #334

Merged
timmy merged 1 commits from timmy/333-isolate-autonomous-release-subprocesses-from-par into main 2026-08-08 19:36:01 +00:00
Owner

Closes #333

Summary

  • replace inherited child environments with explicit least-privilege runtime environments
  • keep GITEA_TOKEN parent-process-only while preserving agent issue context
  • add validated agent environment allowlisting and operator documentation

Validation

  • RED: explicit-environment regression exposed inherited GITEA_TOKEN
  • RED: stage-policy, allowlist validation, and CLI behavior failed before implementation
  • GREEN: python3 -m pytest tests/test_release_engine.py -q — 35 passed
  • Full suite: python3 -m pytest tests/ -q — 618 passed
Closes #333 ## Summary - replace inherited child environments with explicit least-privilege runtime environments - keep `GITEA_TOKEN` parent-process-only while preserving agent issue context - add validated agent environment allowlisting and operator documentation ## Validation - RED: explicit-environment regression exposed inherited `GITEA_TOKEN` - RED: stage-policy, allowlist validation, and CLI behavior failed before implementation - GREEN: `python3 -m pytest tests/test_release_engine.py -q` — 35 passed - Full suite: `python3 -m pytest tests/ -q` — 618 passed
timmy added 1 commit 2026-08-08 19:35:02 +00:00
security: isolate release subprocess credentials (#333)
CI / build-frontend (pull_request) Successful in 5s
CI / lint (pull_request) Successful in 31s
7342b2e6de
timmy merged commit bf96560831 into main 2026-08-08 19:36:01 +00:00
Sign in to join this conversation.