Record text-only usage summary decisions
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Automatic PromptKit Usage Reporting
|
||||
|
||||
Status: adoption goal agreed; upstream v0.25.0 reviewed and available;
|
||||
OD-1 through OD-3 selected; OD-4 through OD-6 open; implementation not started.
|
||||
OD-1 through OD-4 selected; OD-5 and OD-6 open; implementation not started.
|
||||
|
||||
## Goal
|
||||
|
||||
@@ -206,7 +206,7 @@ including the new vLLM adapter, through the current smoke command.
|
||||
|
||||
## Decisions
|
||||
|
||||
OD-1 through OD-3 are selected below. Recommendations under OD-4 through OD-6
|
||||
OD-1 through OD-4 are selected below. Recommendations under OD-5 and OD-6
|
||||
remain proposals, not selected contracts. Resolve the remaining choices before
|
||||
writing a concrete implementation plan; implementation should then be able to
|
||||
proceed through that plan without intermediate design gates.
|
||||
@@ -256,15 +256,18 @@ delivery failures through core's existing presentation-failure handling,
|
||||
preserving the application outcome. Commands that do not reach execution and
|
||||
empty observation scopes remain subject to OD-5.
|
||||
|
||||
### OD-4: Text and structured summary access
|
||||
### OD-4: Text and structured summary access — selected
|
||||
|
||||
Choose whether the initial feature is a text diagnostic summary or also exposes
|
||||
a separately formatted machine-readable summary. Recommend text on the diagnostic
|
||||
stream initially, independent of `--format`, which already governs main results.
|
||||
If structured usage output is selected, define its destination, framing, format
|
||||
selection, and interaction with existing results before implementation. Keep
|
||||
serialization in core; do not alter arbitrary application result shapes or
|
||||
silently introduce another JSON document on their result stream.
|
||||
The initial summary is text on the diagnostic stream selected under OD-3.
|
||||
`--show-tokens` produces the same concise text summary regardless of `--format`;
|
||||
that flag continues to govern the command's main result. Usage reporting leaves
|
||||
application result shapes and stdout unchanged. ckprompt supplies the summary
|
||||
content and text template; core handles rendering and delivery.
|
||||
|
||||
Defer a machine-readable usage-output interface until a concrete consumer needs
|
||||
it. Such an interface needs an explicit destination and framing, because the
|
||||
diagnostic stream may also contain other messages. A separate report file is a
|
||||
possible future approach, not a selected interface.
|
||||
|
||||
### OD-5: No observations and commands that do not execute models
|
||||
|
||||
@@ -296,7 +299,7 @@ availability of the evidence.
|
||||
|
||||
## Delivery Sequence
|
||||
|
||||
1. Resolve OD-4 through OD-6 against the reviewed PromptKit v0.25.0 API. Upstream
|
||||
1. Resolve OD-5 and OD-6 against the reviewed PromptKit v0.25.0 API. Upstream
|
||||
implementation and release are complete; no upstream feature work remains a
|
||||
prerequisite.
|
||||
2. Implement and verify the neutral core installation, flag, context, and
|
||||
|
||||
Reference in New Issue
Block a user