wikidb.tracker.epic_gate

wikidb.tracker

epic_gate(ctx, key, fields) -> passed, err

Refuse an edit that breaks the epic shape rules

The rules:

Like the review gate, this passes everything off the issue schema. It ignores a field whose proposed value is the one already stored: the metadata form submits every field on every save, and a resubmit must not be refused. An entry that does not exist yet reads as a plain, untied issue, so new_issue puts its fields through the same rules.

An unknown type passes here. set_fields refuses it.