Commit f6de075
committed
fix: remove done/complete from finalization regex and coerce frontmatter scalars to strings
- Remove done and complete from isFinalization regex in runValidate so
normal validate calls using the documented done: prefix are not blocked
by the artifact provenance gate
- Coerce title, intent, authority_band, uri, and exposure to String in
parseFrontmatter to prevent TypeError when fmParseScalarValue returns
non-string types for fields that downstream code expects as strings1 parent a0062f1 commit f6de075
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
| 592 | + | |
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
259 | 265 | | |
260 | 266 | | |
261 | 267 | | |
| |||
0 commit comments