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)
All checks were successful
CI / lint (pull_request) Successful in 31s
CI / build-frontend (pull_request) Successful in 5s
7342b2e6de
timmy merged commit bf96560831 into main 2026-08-08 19:36:01 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#334
No description provided.