- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::nsmcp::QuestionPayloadAudit
::nsmcp::QuestionPayloadAuditcreate ... \
[ -directory:required directory:required ] \
[ -maxBytes (default "268435456") ] \
[ -maxEntryBytes (default "16777216") ] \
[ -mutex mutex ] \
[ -retention (default "604800") ]
Defined in /usr/local/ns/tcl/nsmcp/question-payload-audit.tcl
Class Relations
Methods (to be applied on instances)
write (scripted, public)
<instance of nsmcp::QuestionPayloadAudit> write handle turn \ scope payload [ label ]
Persist exact UTF-8 payload bytes before the backend handoff. A write or quota failure prevents that handoff. The metadata is separate so the .payload file can be compared byte-for-byte with a captured body.
- Parameters:
- handle (required)
- Owned conversation identifier.
- turn (required)
- Owned turn identifier.
- scope (required)
- One of the documented AI handoff boundaries.
- payload (required)
- Serialized JSON body about to cross that boundary.
- label (optional)
- Bounded MCP method or tool label, when applicable.
- Returns:
- Payload byte count and SHA-256 digest.
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)