Writing modes and turn inspection
Status: Ready
Truth label: Current
Audience: Fleet operator
Reader outcome: Use writing modes and turn inspection in Cortex, with every control, its verification, and its limits stated.
Last verified: 2026-09-13
In chat, choose Auto, Write as me, or Assist beside the audience and format. Write as me drafts the requested deliverable from the operator's perspective in the selected voice. Assist keeps the thinking-partner perspective. Both preserve facts, attribution, qualifications, and the requested format. Drafting does not send or publish anything. Third-party sources remain evidence and influences; their personal facts and writing identity do not become the operator's.
Auto uses draft mode when a format is supplied or the message starts with a writing verb such as draft, write, rewrite, edit, compose, or polish. It accepts simple prefixes such as please or can you. Other requests resolve to assist. Choose a mode explicitly when that simple rule does not match your intent. The actual resolved mode is recorded with each reply. Controlled writing comparisons always use draft mode in all three setups.
The system prompt no longer contradicts operator-perspective writing. It asks for plain, specific output, relevant facts, and selective evidence use, while the selected voice supplies its diction and cadence. This is a behavioral correction. Synthetic tests do not prove a personal-voice gain or a detector outcome.
Inspect the reply
Click Inspect writing turn on a completed answer. Cortex shows the frozen settings, final answer, original model draft, retained polish candidate and revision decision. Expand Model inputs after context allocation to inspect each reasoning round's system instructions, user/history messages, tool results, and tool schemas. These are application inputs before provider SDK serialization. They describe this run; Cortex does not reconstruct them from today's packs.
Export retained evidence downloads this record and its captured content as JSON. The export includes private prompt and draft text. The normal generation-details and trace metadata endpoints remain separate from this explicit content read. Older turns without captures say so. Missing artifacts are reported. Each artifact read has an 8 MB limit; larger ones remain retained but unavailable in this viewer. Polish meaning review now lets the operator compare the exact pre-polish draft and candidate, record a judgment, and choose conversation wording. The inspector is a historical record. Edit and teach creates editable draft versions and learning choices without rewriting the earlier model call.
Assembly and boundaries
Streaming and non-streaming chat use the same preparation and completion functions. Voice resolution, samples, operator context, references, attachment allocation, polish, source counts, usage, and traces follow one path. An interrupted stream does not save a partial answer as completed conversation memory.
Literal reference-boundary markers are escaped inside sources, attachments, and
polish drafts. Ordinary code operators such as a < b remain unchanged. The
operator's current message stays intact. Generation metadata records neutralized
markers found in automatic source/attachment rendering. This boundary handling
is fixed behavior, not a Cortex setting.
Storage and verification
Completed turns retain chat-provider-inputs.json beside the existing request,
response, raw draft, and candidate files under Brain's trace directory. The
/chat/turns/{id}/inspection route reads only this turn's known artifact roles.
Snapshots and exports are separate from the mutable voice and influence libraries.
Verification checks transport parity, exact captured model inputs, explicit and automatic perspective, reference markers, code preservation, old/missing captures, and interrupted streams. The Cortex browser check uses an isolated model fixture, selects both writing modes, inspects actual supplied prompts, and exports evidence. No operator content or paid model calls are used by these checks.
An explicitly attached research run enables scoped search, page inspection, exact passage lookup and proposed findings in both chat transports. The selected voice remains active. Turn inspection records actual allocated tool inputs; the research inventory is run-wide and does not establish which evidence caused the final wording.