Only organize approved work outputs into a reviewable release material Candidate. Covers, file export, and remote publishing are three independent capabilities; after the user reviews and explicitly requests platform delivery, route separately story-publish。
Prerequisites
qa.review.publishAll have been passed by the required independent Reviewer, and the receipt is bound to the currentartifact_version_idandcandidate_hash。- Run Envelope's
owner_id/project_id/snapshot_id/context_epochis consistent with all inputs. - The target platform and its word count, tag, chapter, and content-level restrictions come from the versioned
platform_constraints, and are not guessed from model memory.
If any prerequisite is missing, return REVIEW_REQUIRED, and do not generate a falsely complete package.
Input Contract
Only accept structured input generated by the orchestrator:
- Approved work title, genre card, description facts, chapter list, and corresponding Artifact Version ID.
- Target platform and versioned constraints.
- The user's explicit pen name, promotional tone, and prohibited expressions; if not provided, do not fabricate an author identity on your own.
Do not accept Cookies, platform passwords, API Keys, server-side Prompts/Skills, or other unauthorized work content.
Execution Flow
- Validate the release review receipt and input Artifact hashes; any change to the main text invalidates the old receipt.
- Extract the title, one-sentence hook, long and short descriptions, tags, and content notes from approved outputs, without adding plot points unsupported by the main text.
- Generate a deterministic chapter order by Artifact Version, and check for missing chapters, duplicates, empty text, word count out of bounds, and mixed versions.
- Output pass/fail results for each platform constraint, and do not replace validation with "probably compliant".
- Generate a Candidate, and only after passing
package_completeness、platform_constraint_validationandartifact_source_bindingcan it be promoted.
Output Contract
{
"metadata": {
"title": "...",
"pen_name": "...",
"one_line_hook": "...",
"short_description": "...",
"long_description": "...",
"tags": []
},
"chapter_manifest": [
{"order": 1, "title": "...", "artifact_version_id": "...", "content_hash": "..."}
],
"platform_target": {"platform": "...", "constraint_version": "..."},
"warnings": [],
"source_bindings": []
}
Users may manually modify the release copy in the product interface; after modification, create a new Candidate and rerun the above three gates, and do not directly modify the canonical package.
Prohibited Items
- Do not generate or modify the main text, and do not bypass publication-level review.
- Do not generate covers, do not export files, and do not log in or automatically publish to external platforms.
- Do not add visible or invisible watermarks to the content.
- Do not invoke Web, browser, Terminal, Shell, LSP, or Code Runtime.
- Do not output server-side paths, Prompts, Skills, Agent role cards, tool Schemas, raw Traces, or operational diagnostics.
- Do not interpret "generate release materials" as authorization for remote publishing; actual publishing must be revalidated by
story-publishfor target, scope, and action.