# seedOrigins (/docs/api/functions/seedOrigins)



```ts
function seedOrigins(ctx): void;
```

Defined in: [packages/core/src/ir.ts:176](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/ir.ts#L176)

Pin origins for every original job, step and fragment step before any pass
mutates the model. Origins are keyed by object identity, so once seeded they
survive the index shifts that passes cause (splicing, fan-out, reordering) —
a step that moves keeps pointing at its true source location. Idempotent.

## Parameters [#parameters]

### ctx [#ctx]

[`ParseContext`](../interfaces/ParseContext.mdx)

## Returns [#returns]

`void`


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)