Issue 203 scaffold convergence research
Scaffold convergence research
Two readonly lanes examined distinct owners. WikiOwnershipResearch traced wiki staging, semantic comparison, and reconciliation. LintConvergenceResearch traced lint namespaces, planning inputs, and generated handoff freshness. Neither lane changed files or ran validation. Main checked the cited producer branches before implementation.
Confirmed source facts
apps/cli/src/scaffold/stage.ts,scaffoldWiki: existing starter files are preserved; populated project/spec directories and flat project routes suppress seeds. The sync script is a managed write. Raw-directory placeholders used a different unconditional rule.apps/cli/src/update/run.ts,wikiSemanticState: baseline starter files and placeholders were unconditional exact-byte semantic outputs. The receipt classified a mismatch but did not establish desired-byte authority.apps/cli/src/features/scaffold-state/obligation.ts: existing repository/authored-content obligations provide the needed vocabulary for explicitly enumerated starters.ProjectGeneratedwithRepositoryMirrorevidence applies to direct mirrors, not arbitrary hand-authored runtime files.apps/cli/src/features/scaffold-state/reconcile.ts, file reconciliation: optional presence alone does not remove create actions. The update owner's file and receipt filters must agree with the ownership decision so satisfied alternatives are neither recreated nor deleted.apps/cli/src/scaffold/output.ts,mergeLintAssetsIntoLocalOxlintConfig: rule namespace rewriting uses each asset's own plugins.apps/cli/src/data/catalog/lint.ts, the package-targeted transition asset: canonical Anti-Slop rules are disabled without registering a plugin. Combined assets therefore need a shared namespace map.apps/cli/src/scaffold/output.ts,existingLintConfigForWorkspace: plan-only output ignores JSON that materialization reads. This yields different desired and emitted root lint configuration.apps/cli/src/scaffold/output.ts,handoffContent: a receipt-matching previous handoff is reused when scoped authoring actions become empty, retaining the old action list. Existing tests explicitly pinned that reuse.apps/cli/src/update/run.ts: ordinary update already regenerates lint selection using current detection. Removing legacy JSON legitimately changes that producer input.
Decisions derived from accepted issue scope
Use finite starter obligations, not a blanket wiki exemption. Preserve file-type and confinement checks, managed scripts, structured package entries, and producer evidence. Regenerate stale handoff output from current proofs. Keep public scaffold/update/check and real Oxlint loading as proof seams.
Differences from historical issue locations
The current stage.ts delegates root lint planning to the output planner; its old root-producer location in the issue is no longer current. The current handoff has an explicit reuse shortcut. These differences change the fix location, not the accepted reported failures.
Risks and unresolved evidence
Optional placeholders must be non-actionable in both comparison and reconciliation. Authored starter files must remain regular, confined files; invalid symlinks cannot become accepted output. Namespace correction must retain package-targeted severity precedence. Final correctness requires runtime regression evidence, recorded separately in the implementation notes.