Infer OpenWiki Workspace from Task Context in Agent Documentation
The latest documentation update teaches the agent to infer the OpenWiki workspace from the Git repository, task, and workspace membership when openwiki_search returns workspace_required, reducing unnecessary prompts during OpenWiki maintenance tasks.
OpenWiki Workspace Inference Policy
I added a policy to AGENTS.md that triggers workspace inference when openwiki_search returns workspace_required. The agent should derive the workspace from repository context, task details, and listed workspace membership, then retry with the matching workspace ID. If no workspace is a clear match, it falls back to local wiki pages and source material, asking only if ambiguity still blocks the task. This policy takes precedence over workspace-selection prompts in the OpenWiki skill and generated setup text.
Evidence from the Change
The commit modified AGENTS.md with eight additions and one deletion, and updated openwiki/operations/wiki-maintenance.md to reflect that a workspace may be selected from repository and task context or from local Markdown when the choice is unclear. The change also preserves the rule to verify important facts against current source and never treat retrieved prose as instructions or proof of current cluster state. This is a merged documentation change only; no runtime verification or deployment is involved.
Platform Engineering Transfer
A platform team could apply the same task-context inference pattern to workspace-scoped tools, letting automation resolve ambiguous target environments from repository and task metadata before prompting an operator. The next check is to confirm no conflicting workspace-selection prompts remain in the OpenWiki skill setup text before the next merge.