Record logical conversation capture decision
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
# Conversation Continuation And Application-Directed Interaction
|
# Conversation Continuation And Application-Directed Interaction
|
||||||
|
|
||||||
Status: proposed feature roadmap; open decisions await discussion. No
|
Status: feature roadmap under discussion; accepted directions and remaining
|
||||||
implementation is authorized by this document. Recommendations below are not
|
open decisions are identified below. No implementation is authorized by this
|
||||||
accepted contracts, except for the guiding principle explicitly recorded below.
|
document. Recommendations remain proposals unless explicitly marked accepted.
|
||||||
|
|
||||||
## North Star: Content-Neutral, Generally Useful Capabilities
|
## North Star: Content-Neutral, Generally Useful Capabilities
|
||||||
|
|
||||||
@@ -63,30 +63,34 @@ conversation storage, and batch-item reconciliation are outside its scope.
|
|||||||
The existing [prepared execution handle](../../prepared_execution.go) remains a
|
The existing [prepared execution handle](../../prepared_execution.go) remains a
|
||||||
single-use execution capability; continuation needs its own semantics.
|
single-use execution capability; continuation needs its own semantics.
|
||||||
|
|
||||||
## Open Decisions In Discussion Order
|
## Decisions In Discussion Order
|
||||||
|
|
||||||
### 1. What Does A Captured Exchange Contain?
|
### 1. What Does A Captured Exchange Contain?
|
||||||
|
|
||||||
**Status: open.** Decide whether capture represents a logical conversation or
|
**Status: core decision accepted; remaining lifecycle details open.** Capture
|
||||||
the complete sequence of provider requests, including structural repair.
|
represents the logical conversation. Structural-output repair attempts and
|
||||||
|
corrective instructions are internal execution details, not conversation turns.
|
||||||
|
|
||||||
**Recommendation:** capture the complete rendered request, preserving message
|
**Accepted approach:** capture the complete rendered request, preserving message
|
||||||
content, roles, and cache metadata, followed by the final assistant content
|
content, roles, and cache metadata, followed by the final assistant content
|
||||||
returned by the run. An initial run that needed structural repair would retain
|
returned by the run. When structural repair succeeds, retain only the final
|
||||||
its final content without adding the internal corrective instructions to the
|
corrected assistant content, excluding intermediate candidates and corrective
|
||||||
logical conversation. This supplies reusable context for subsequent turns while
|
instructions from the logical conversation. This supplies reusable context for
|
||||||
keeping transport attempts and structural repair separate from application
|
subsequent turns while keeping transport attempts and structural repair separate
|
||||||
turns. It also matches Audita's requested history.
|
from application turns. It also matches Audita's requested history.
|
||||||
|
|
||||||
Make capture opt-in. A continuation would append its rendered follow-up messages
|
Capture is opt-in. A continuation would append its rendered follow-up messages
|
||||||
and final response to produce a new exchange, leaving the source exchange and
|
and final response to produce a new exchange, leaving the source exchange and
|
||||||
other branches unchanged. Previously rendered history would not require the
|
other branches unchanged. Previously rendered history would not require the
|
||||||
original input files or templates to be rendered again.
|
original input files or templates to be rendered again.
|
||||||
|
|
||||||
**Alternative:** retain the actual corrective messages and responses that led
|
**Alternative considered, not selected:** retain the corrective messages and
|
||||||
to the final output. This provides more execution detail, but increases retained
|
responses that led to the final output. This provides more execution detail,
|
||||||
content and carries internal repair instructions into later model context.
|
but increases retained content and carries internal repair instructions into
|
||||||
Attempt diagnostics can serve that need separately if a consumer requires it.
|
later model context.
|
||||||
|
Fine-grained execution tracing is outside this feature's purpose. Existing
|
||||||
|
attempt and usage observations remain separate from logical conversation
|
||||||
|
content; this decision adds no requirement to capture internal repair text.
|
||||||
|
|
||||||
**Details to settle:** capture availability after structural validation
|
**Details to settle:** capture availability after structural validation
|
||||||
exhaustion or an operational failure; how callers request capture for ordinary
|
exhaustion or an operational failure; how callers request capture for ordinary
|
||||||
|
|||||||
Reference in New Issue
Block a user