The four identity fields (tracking_number/title/revision/status) come from the filename — the single source of truth that the register/WORM/ACL key off, never the front matter. But they must stay in the front matter for the converter's title block. Resolve the long-standing "front matter disagrees with filename" nag without coupling the system to ZDDC naming: - Sync-on-open: when the filename is ZDDC-parseable, mirror its identity into the front matter on open; if that corrects anything the buffer opens dirty so a save bakes it in. No-op for non-ZDDC names — the editor stays fully usable on arbitrary directories, where the front matter is the sole source. - A manual edit to an identity field is treated as a cue to RENAME the file (the filename owns identity), not a value to keep: the old "filename wins, ignored" warning is replaced by an explicit "Rename file & reopen" button that saves, renames to the implied ZDDC name, and reopens it (server mode via the ?file deep-link; FS-Access via the moved handle). - Reword the RecognizedFrontMatter hints from "the filename wins on mismatch" to "mirrors the filename — rename the file to change it". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| archive | ||
| auth | ||
| cache | ||
| config | ||
| convert | ||
| fs | ||
| handler | ||
| jsonschema | ||
| listing | ||
| policy | ||
| tlsutil | ||
| zddc | ||
| zipfs | ||