snippet

Generated file markers

Tier 4engineeringA person checks this

Mark files that can be regenerated safely. Keep custom logic out of files that the generator replaces.

Add to your project
Add "Generated file markers" from ntent to this repo.

Fetch https://ntent.app/r/f/generated-header as plain text. Apply it to the first 3 lines of every generated file.

Then check it: Run the generator twice. Nothing hand-written is lost.

Reads https://ntent.app/r/f/generated-header

Read the code
the first 3 lines of every generated file
3 lines
// @generated-from: contract.json#invoice
// @regenerable: true
// @last-generated: 2026-08-30

Success check: Run the generator twice. Nothing hand-written is lost.

Included in