Repository navigation
Closed
Description
Related: evalops/platform#791, #83, #85, evalops/deploy#1028
Problem
Hosted Maestro runner sessions already have explicit drain, snapshot, restore, and headless attach contracts, but we do not yet have a single implementation tracker for what data is allowed to persist, how long it can persist, what must be redacted before persistence or operator access, and how those rules differ between self-operated GKE and future provider-backed profiles.
Without an explicit retention/redaction policy, we risk shipping snapshot/resume and secure/provider-backed runner profiles with inconsistent treatment of:
- drain manifests and runner snapshot files under
/workspace/.maestro/runner-snapshots - restore metadata and artifact manifests
- hosted runtime logs and headless-session diagnostic output
- tool/model/provider secrets or user content that may appear in those artifacts
- operator-facing versus tenant-facing visibility into retained runtime data
Scope
Define the hosted-runner artifact and log retention/redaction contract for Maestro:
- classify what runtime-generated data may be persisted at all
- define what must be redacted before artifacts or logs leave the live runtime
- define retention windows and deletion behavior for drain manifests, snapshot artifacts, restore metadata, and runtime logs
- define how secure/gVisor profiles differ from standard profiles, if at all
- define what external provider-backed profiles must guarantee before they can inherit the same persistence model
- define audit events or status surfaces for artifact deletion, retention expiry, and cleanup failure
- feed any required manifest/schema/runtime changes back into Add runner workspace snapshot, drain, and resume hooks #83 and Add headless runtime conformance suite for Rust parity #85
Acceptance Criteria
- A written contract exists for hosted-runner artifact and log retention/redaction.
- The contract distinguishes tenant-visible, operator-visible, and internal-only data.
- Drain/snapshot/resume flows have explicit rules for secrets, prompts, tool output, and workspace content.
- Required runtime events or metadata for retention/cleanup are identified.
- The contract is referenced from evalops/platform#791 as part of the remote-runner production gate.
- Follow-up implementation issues are created for any required runtime or storage changes that do not already exist.
Metadata
Metadata
Assignees
Labels
No labels
Activity
haasonsaas commentedon Apr 23, 2026
Follow-through: evalops/platform#852 merged at
8584e0a6dee2018d7f35070bd838f1367a5a0931.That security review now explicitly points at this issue as the dedicated follow-up for hosted runner artifact, snapshot, and log retention/redaction policy, rather than leaving those requirements implicit in the broader drain/resume work.
haasonsaas commentedon Apr 23, 2026
Opened #120 to land the retention/redaction contract in code and docs. The follow-up control-plane cleanup lifecycle work is now tracked separately in evalops/platform#853 so deletion/expiry/cleanup-failure state does not stay implicit.
haasonsaas commentedon Apr 23, 2026
Platform follow-through is now open in evalops/platform#854. That PR turns the hosted-runner retention contract into typed remote-runner artifact lifecycle events for upload/delete/expiry/cleanup-failure, and it seeds the first control-plane metadata upload-requested event automatically from successful Maestro drain responses.
haasonsaas commentedon Apr 23, 2026
Platform follow-through has landed in evalops/platform#854 (). Hosted-runner retention metadata now feeds a typed remote-runner artifact lifecycle stream for upload/delete/expiry/cleanup-failure, including the first automatic control-plane metadata handoff from successful drain responses.