Keep application extension sensitivity policy with consumers
This commit is contained in:
@@ -233,7 +233,9 @@ capacity defaults to 1024. An explicit queue capacity, including zero,
|
|||||||
requires positive concurrency and must be nonnegative. Unlimited concurrency
|
requires positive concurrency and must be nonnegative. Unlimited concurrency
|
||||||
has no queue. Provider maps contain JSON-compatible values; null entries are
|
has no queue. Provider maps contain JSON-compatible values; null entries are
|
||||||
ordinary JSON null. A raw `api_key` is not a Promptkit credential field: an
|
ordinary JSON null. A raw `api_key` is not a Promptkit credential field: an
|
||||||
unrecognized backend field is application data and must not contain secrets.
|
unrecognized backend field is application data and is not automatically redacted
|
||||||
|
by Promptkit. Applications own sensitivity declarations and disclosure policy
|
||||||
|
for their extension fields.
|
||||||
|
|
||||||
`smoke_tests` is optional backend metadata for explicit diagnostic operations.
|
`smoke_tests` is optional backend metadata for explicit diagnostic operations.
|
||||||
It may contain `default_profile`, `reachability`, and `authentication`:
|
It may contain `default_profile`, `reachability`, and `authentication`:
|
||||||
@@ -306,8 +308,9 @@ Nonblank endpoints follow the backend URL rules; temperature is 0–2, top_p
|
|||||||
is 0–1, max_tokens and timeout_seconds are nonnegative. Provider maps accept
|
is 0–1, max_tokens and timeout_seconds are nonnegative. Provider maps accept
|
||||||
JSON-compatible values with nonempty keys and cannot collide with the built-in
|
JSON-compatible values with nonempty keys and cannot collide with the built-in
|
||||||
client's [standard request fields](integrations/openai-compatible-chat.md#request-body).
|
client's [standard request fields](integrations/openai-compatible-chat.md#request-body).
|
||||||
Credential values do not belong in profiles. A raw `api_key` is not a
|
A raw `api_key` is not a Promptkit credential setting; an unrecognized profile
|
||||||
Promptkit credential setting; an unrecognized field is application data.
|
field is application data. Applications own its sensitivity declarations and
|
||||||
|
disclosure policy, just as for backend extension fields.
|
||||||
|
|
||||||
### Defaults And Overrides
|
### Defaults And Overrides
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,11 @@ This is a documentation correction and does not require a new runtime test.
|
|||||||
|
|
||||||
### 2. Keep Application-Field Sensitivity Policy With The Application
|
### 2. Keep Application-Field Sensitivity Policy With The Application
|
||||||
|
|
||||||
Status: open. Priority: P3. Implementation stage: 16.
|
Status: complete. Priority: P3. Implementation stage: 16.
|
||||||
|
|
||||||
|
Completion: backend and profile guidance now assigns extension sensitivity and
|
||||||
|
disclosure to applications, retaining the credential/redaction warning. Reviewed
|
||||||
|
against the accepted extension contract; no runtime changes were needed.
|
||||||
|
|
||||||
Location: `docs/formats.md:235–236`.
|
Location: `docs/formats.md:235–236`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user