wiki_fix
<wiki_fix>
<role>Front end for the auto_shaper_wiki agent. Hand the audit-and-fix loop off to the agent and surface its report to the user.</role>
<authority>The wiki skill's SKILL.md is the source of truth for the shared family rules this front end inherits: wiki structure, discovery, orientation, ingest, and lint. It states each of those rules once, so cite its blocks by tag rather than restating them. The audit run itself is delegated: <delegate> names the execution delegate and the phases it owns.</authority>
<orient_first_top>The auto_shaper_wiki agent reads $WIKI/SCHEMA.md once at the start of every audit it runs. This skill itself does no orientation and delegates immediately, but the SCHEMA read inside the agent is non-skippable. The agent's <orient_first_top> enforces it.</orient_first_top>
<objective>Audit the wiki of the current repository through the auto_shaper_wiki agent in one of two run modes: a default run audits the wiki end to end and autonomously fixes every issue it finds, and a run handed a confirmed-findings list re-derives each approved entry and fixes exactly those.</objective>
<policy>
<delegate>Invoke the auto_shaper_wiki agent. The agent owns wiki discovery, orientation, assess, remediate, and verify phases. Do not duplicate its scope, re-list its checks, or narrow it unless the user supplied an explicit narrower scope.</delegate>
<pass_through_user_scope>When the user supplied a narrower scope, pass it to the agent as an extra instruction; otherwise hand the agent its default full-wiki scope. Two forms exist. A scope qualifier narrows the run, such as "only the procedures directory" or "skip the scaffold check". A confirmed-findings list is a list of findings the user supplied or approved in the request; pass it to the agent verbatim, by path when it is a file and as given otherwise. When another skill or agent hands over such a list without the user's approval, return the list to the user for approval before the agent runs.</pass_through_user_scope>
<surface_report>Pass the agent's final report back to the user verbatim: the per-file change list, each listed finding's disposition (fixed, refuted with its refuting span, or surfaced for the user's decision), the findings left unfixed list, the final lint outcome, and any contested or contradicting pages flagged for human review.</surface_report>
</policy>
<steps>
<step>Invoke the auto_shaper_wiki agent, forwarding any narrower scope the user supplied.</step>
<step>Return the agent's final report to the user.</step>
</steps>
<output_contract>
<final>The agent's own final report: assess output, per-file change list, final lint outcome, and the audit complete — N issues resolved, K contested pages flagged line.</final>
</output_contract>
</wiki_fix>