Forbidden Fields
The following fields are blocked from sync:Functions
isForbiddenField(field)
Returns true if the field name is in FORBIDDEN_SYNC_FIELDS.
sanitizePayload(payload)
Strips all forbidden fields and returns the cleaned result with a list of what was removed.
Trust Boundary
| Category | Examples | Synced? |
|---|---|---|
| Safe metadata | taskId, status, durationMs, branch, prUrl | Yes |
| Local-only paths | repoPath, env, environment | No — stripped |
| Credentials | accessToken, apiKey, passwordHash, jwt | No — stripped |
| Raw agent output | prompt, logs, toolLogs, diff, rawOutput | No — stripped |
sanitizePayload or safeValidateExecutionMetadataSync has forbidden fields removed before reaching the network.
