> ISPO SDK documentation. [HTML](https://ispo.ai/docs/interfaces/core.SourcePatchEnvelope.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Interface SourcePatchEnvelope

Worker → host → caller `source-patch` envelope (§25). Closed + validated.

```typescript
interface SourcePatchEnvelope {
    files: SourcePatchFile[];
    intentNote: string;
    kind: "source-patch";
    targetProjectId: string;
}
```

Types: [files](#files), [SourcePatchFile](core.SourcePatchFile.md), [intentNote](#intentnote), [kind](#kind), [targetProjectId](#targetprojectid)

##### Index

### <a id="properties"></a>Properties

[files](#files) [intentNote](#intentnote) [kind](#kind) [targetProjectId](#targetprojectid)

## <a id="properties-1"></a>Properties

### <a id="files"></a>files

```typescript
files: SourcePatchFile[]
```

Types: [SourcePatchFile](core.SourcePatchFile.md)

### <a id="intentnote"></a>intentNote

```typescript
intentNote: string
```

### <a id="kind"></a>kind

```typescript
kind: "source-patch"
```

### <a id="targetprojectid"></a>targetProjectId

```typescript
targetProjectId: string
```

MUST === callerProjectId (the host asserts).
