You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: regenerated compiled article keeps the validated tier of the content it replaced #204
Part of #153. Related: #203 (git is the source of record), #193 (unattended distill).
Bug
UpdatePage never demotes a validated page:
tier = CASE WHEN tier ='validated' THEN 'validated' ELSE ? END
(store/store.go:388, comment at :373.)
So when compile regenerates the article for a tag whose page is validated, the new machine-written content keeps the validated tier a human gave to the old content. compile's stale cleanup also keeps validated pages whose tag is gone (tools/compile.go:386).
That's harmless while a human runs every compile. It stops being harmless once distill runs unattended (#193): every weekly run would silently carry "reviewed" onto unreviewed rewrites.
Fix
When the content hash changes, a validated page drops to draft. Keep the current guard only for writes that don't change content, which is what the race in the :373 comment is about.
Activity
feat: git is the source of record for page trust tiers (unbound-force…
feat: git is the source of record for page trust tiers (#203)
docs(spec): weekly unattended distill with rolling per-theme review P…