Investigation Summary
The complete unfiltered E2E run at latest PR commit 3cf9a57df9fb73ff8c75d75e79864dd2f5ba453e has six messaging jobs that fail before sandbox startup.
Each job reports:
Cannot build managed startup profile: Invalid managed startup profile: payload field messaging.plan.runtimeSetup.envAliases[1].value contains credential-shaped string data
The rejected value is a credential placeholder from the Slack channel manifest. It does not contain credential material.
Reproduction Steps
- Dispatch the complete unfiltered E2E workflow at
3cf9a57df9fb73ff8c75d75e79864dd2f5ba453e.
- Run the managed Docker messaging targets.
- Observe onboarding fail while it builds the managed startup profile.
Environment
Failure Evidence
Root Cause
The Slack channel manifest declares runtime environment aliases for SLACK_BOT_TOKEN and SLACK_APP_TOKEN. The messaging compiler places those entries under messaging.plan.runtimeSetup.envAliases[*].
PR #9374 fixed #9355 by accepting schema-owned package pins and agent-render credential placeholders. It did not accept runtime environment alias fields.
The validator therefore rejects the canonical alias value. A value-only exception is incomplete because the sibling match field also contains openshell:resolve:env: and will be rejected next.
Acceptance Criteria
- The managed startup profile validator accepts canonical
messaging.plan.runtimeSetup.envAliases[*] entries.
- Each accepted alias must satisfy all of these conditions:
envKey is a valid credential environment name.
match is the canonical anchored OpenShell resolver expression for that envKey.
value is an approved credential placeholder for the same envKey.
- The validator continues to reject:
- raw credentials;
- malformed or unanchored alias expressions;
- mismatched
envKey, match, and value fields;
- credential-placeholder strings at other payload paths.
- Focused regression tests cover both stock Slack aliases and each denial case.
- All six affected jobs pass in a complete unfiltered E2E run.
Out of Scope
The Discord pairing managed-bootstrap stability failure in job 95576208780 has a different failure signature and requires a separate issue.
Relationship
Investigation Summary
The complete unfiltered E2E run at latest PR commit
3cf9a57df9fb73ff8c75d75e79864dd2f5ba453ehas six messaging jobs that fail before sandbox startup.Each job reports:
Cannot build managed startup profile: Invalid managed startup profile: payload field messaging.plan.runtimeSetup.envAliases[1].value contains credential-shaped string dataThe rejected value is a credential placeholder from the Slack channel manifest. It does not contain credential material.
Reproduction Steps
3cf9a57df9fb73ff8c75d75e79864dd2f5ba453e.Environment
3cf9a57df9fb73ff8c75d75e79864dd2f5ba453eFailure Evidence
Root Cause
The Slack channel manifest declares runtime environment aliases for
SLACK_BOT_TOKENandSLACK_APP_TOKEN. The messaging compiler places those entries undermessaging.plan.runtimeSetup.envAliases[*].PR #9374 fixed #9355 by accepting schema-owned package pins and agent-render credential placeholders. It did not accept runtime environment alias fields.
The validator therefore rejects the canonical alias
value. A value-only exception is incomplete because the siblingmatchfield also containsopenshell:resolve:env:and will be rejected next.Acceptance Criteria
messaging.plan.runtimeSetup.envAliases[*]entries.envKeyis a valid credential environment name.matchis the canonical anchored OpenShell resolver expression for thatenvKey.valueis an approved credential placeholder for the sameenvKey.envKey,match, andvaluefields;Out of Scope
The Discord pairing managed-bootstrap stability failure in job
95576208780has a different failure signature and requires a separate issue.Relationship