{"version":"2.1.238","anchor":"artifact-rooms-and-post-publish-verify-are-detected-from-the","canonical_anchor":"artifact-rooms-and-post-publish-verify-are-detected-from-the","heading":"Artifact rooms and post-publish verify are detected from the tool schema","tier":"soon","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238\/e\/artifact-rooms-and-post-publish-verify-are-detected-from-the","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238","markdown":"### Artifact rooms and post-publish verify are detected from the tool schema\n\nThe artifact tool can advertise broadcasting to current viewers and reading their browser diagnostics.\n\n**What**\n\nThe artifact tool can declare a `room` capability, an at-most-once broadcast channel to whoever is currently viewing the page, sent with `room_send` carrying a topic and data, alongside the `verify` action that reads runtime diagnostics viewers' browsers captured for the current version.\n\n**Details**\n\n- Both are feature-detected from the tool schema itself: rooms by whether `topic` is in the argument shape, verify by whether the action list contains it. Rooms additionally require the room module to be compiled in and to report enabled.\n- On builds where the schema does not carry them, they simply do not exist. These are not settings you can flip.\n- Permission checks fail closed: a `room_send`, or a publish that declares a room, whose check throws is denied.\n- The verify prompt insists that a result with no viewers is not evidence of a clean render.\n\n**Evidence**\n\n`__artifactRoomJoinDisclosed`\n\n- Area: Artifacts\n- Names: `room_send`\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 5\/5\n- Present in the build but not switched on"}