Artifact type-instructions prompts gain new helpers for verifying and trimming embedded page content
New internal helpers build the guidance text that tells Claude how to write to an Artifact type's declared data store (via mcp, data, write_db, or run_script) instead of publishing files directly to it. Related helpers check whether a type's instructions file is verified as belonging to that type and release, and wrap or trim page content using <...page tag...> markers, dropping content that would exceed a set byte budget.
This keeps Artifact type instructions accurate and within size limits, and steers writes toward the type's proper data store rather than direct file publishing.