TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/LilMGenius/polysona/llms.txt
Use this file to discover all available pages before exploring further.
$publish / /publish command dispatches the admin agent to finalise the content lifecycle. It saves the approved draft to content/published/, generates a step-by-step platform-specific publishing checklist, and captures metadata fields for follow-up performance tracking. Run it after you have reviewed the QA recommendations and selected a draft to go live.
Invocation
What it does
- Triggers the admin agent to manage the final stage of the content pipeline.
- Saves final content to
content/published/— the file must be created before the agent responds. - Re-reads the saved file and includes the confirmed saved path in the response.
- Generates a platform-specific publishing checklist step by step, covering the actions needed to post on the target platform.
- Includes metadata fields for follow-up performance tracking (e.g. publish timestamp, platform, topic, persona identifier).
- If no file was actually written, the admin reports failure instead of claiming success.
The admin agent enforces a write-then-confirm pattern: it will not return a success response without first proving the file exists at the reported path. This prevents silent save failures from being mistaken for successful publishes.
Prerequisites
A QA-reviewed draft should exist before publishing. While$publish does not technically block on a QA file, the recommended pipeline sequence is:
If you skip
$qa, the admin will still run. However, publishing without a QA pass means you are skipping persona-alignment and platform-fit validation.Output
The final content and associated metadata are saved to:Guardrails & Notes
- The publishing checklist is generated from the target platform identified in the draft filename or content metadata. Ensure the platform is clearly signalled in the draft.
- Metadata fields are intended for manual or automated performance tracking. They are written to the published file header — review them before posting to ensure accuracy.
content/published/is the final, authoritative record of what went live. Do not edit files in this directory after posting; create a new draft instead.
Related agent
The$publish skill is executed by the admin agent. See the Admin agent page for details on publishing flow, scheduling, metadata capture, and feedback loop updates.