SpecsCLIIssue 69 Project Owned Wiki Sync
Issue 69 Project-Owned Wiki Sync Drift
Issue 69 Project-Owned Wiki Sync Drift
Problem
hi update --check reports an intentionally customized
apps/wiki/scripts/sync-content.mjs as changed managed harness drift. This
sets checkFailed and exits 1 even when pack drift, baseline drift, stale files,
and every other managed-file check are clean.
The repository owns this wiki synchronization implementation after initial scaffolding and may customize it for its documentation topology.
Required Behavior
hi scaffold initand setup flows may continue creating the defaultapps/wiki/scripts/sync-content.mjswhen needed.hi update --checkmust treat an existingapps/wiki/scripts/sync-content.mjsas project-authored: do not report it inchangedFilesorstaleFiles.- When that script is the only difference,
checkFailedmust be false and the command must not set exit code 1. - Apply-mode update must not overwrite the existing customized script.
- Other managed wiki scaffold files must remain checked and writable.
Scope
This fix is intentionally limited to the exact monorepo path reported by issue
#69: apps/wiki/scripts/sync-content.mjs. It does not broaden ownership policy
for app/wiki, standalone wiki, or other managed wiki files.
Acceptance Criteria
- A public
runUpdateregression proves a customized sync script alone yields a clean check result. - The same regression proves other wiki scaffold drift is still reported.
- Apply mode resolves real wiki drift without changing the customized script.
- Existing update tests no longer require the project-owned script to be reported or replaced; scaffold-generation coverage remains intact.
- Focused update tests and CLI typechecking pass.
- Operator docs and the canonical routed wiki runbook state the ownership boundary accurately.
Dependency Readiness
No Stack Required.