/sync -- Publish sprint to Confluence
The user wants to publish the current sprint's compiled output to Confluence.
Arguments
$ARGUMENTS
Optional: Confluence space key, parent page ID.
Instructions
- Run
wheat_compileto ensure compilation is current.
- Read
compilation.jsonas the source of truth.
- Find the target space using
getConfluenceSpacesor the user-provided space key. - Search for an existing page with the sprint slug
- If found, update it. If not, create a new page.
- Format content as Confluence Storage Format (XHTML).
- Publish using
createConfluencePageorupdateConfluencePage.
- Print result:
``` Published to Confluence: <page_url>
Next steps: /status -- review sprint dashboard /brief -- also generate a local brief ```