Accept backend and profile preflight check grouping
This commit is contained in:
@@ -83,26 +83,46 @@ mechanics remain for Item 2; report details remain for Item 4.
|
|||||||
|
|
||||||
## 2. Effective Target Discovery And Probe Coverage
|
## 2. Effective Target Discovery And Probe Coverage
|
||||||
|
|
||||||
**Status:** Open; depends on Item 1.
|
**Status:** Accepted approach; implementation pending.
|
||||||
|
|
||||||
Cover applicable model-backed chunking, extraction, normalization, correction,
|
Use the effective invocation to identify profiles implicated by selected work,
|
||||||
validators, and other selected model roles. Apply invocation overrides and native
|
including model-backed chunking, extraction, normalization, validators, and any
|
||||||
prompt defaults; profile names alone do not establish effective target identity.
|
other selected model roles. Build a deduplicated profile list and a deduplicated
|
||||||
Continuation inheritance must follow native execution semantics.
|
list of their associated backends. Exclude unused configuration profiles and
|
||||||
|
unselected lanes; cached acceptance does not remove a selected profile from testing.
|
||||||
|
|
||||||
Recommend sharing a probe only for equivalent effective targets and capability
|
Run native reachability and available authentication checks once per backend,
|
||||||
requirements, retaining the affected bindings in findings. A backend ID alone is
|
then one native structured-generation test per distinct profile. Do not add a
|
||||||
insufficient when models or effective selections differ. Avoid secret-bearing
|
separate text-generation test or run the full smoke suite per operation. Multiple
|
||||||
identities in reports. Do not maintain a second native resolution algorithm.
|
operations sharing a profile share its generation test; profiles sharing a backend
|
||||||
|
share backend access checks. Retain associations to the relevant pipeline bindings
|
||||||
|
for reporting. Unavailable checks follow Item 1's accepted semantics.
|
||||||
|
|
||||||
Inspect the available native inspection/requirements/smoke APIs and current module
|
Use native PromptKit resolution and smoke APIs. Correction normally inherits its
|
||||||
selection contracts. Decide how to discover the implicated targets, including
|
originating execution target and adds no separate profile test; still validate its
|
||||||
dynamic selections, without preparing fabricated domain artifacts or rebuilding
|
prompt dependency. Any supported custom target change must be represented through
|
||||||
module execution. Select checks using native availability/applicability under
|
its actual selection. Endpoint-only profiles remain supported by native
|
||||||
Item 1; escalate concrete target-resolution API gaps upstream.
|
profile-targeted diagnostics. Account for profile-level target settings through
|
||||||
|
native resolution rather than assuming all settings come from the named backend.
|
||||||
|
Avoid a general target-equivalence/fingerprint subsystem or credential comparisons.
|
||||||
|
|
||||||
**Decision:** Pending: resolution boundary, equivalence for probe reuse, necessary
|
Share the configuration result and invocation selections used by run. In the
|
||||||
probe set, and treatment of dynamic selections under Item 1's readiness policy.
|
current architecture, ConfigKit resolves configuration sources and configuration
|
||||||
|
assignments; ckprompt execution flags such as `--llm-model` and `--llm-endpoint`
|
||||||
|
remain request-scoped overrides, not mutations of that configuration. Forward
|
||||||
|
those same supplied overrides to native smoke requests so tests exercise the
|
||||||
|
intended invocation. Exact flag mapping belongs with Item 3.
|
||||||
|
|
||||||
|
Verify existing module declarations and selections during implementation. Reuse
|
||||||
|
existing information wherever sufficient; expose a small side-effect-free shared
|
||||||
|
target-selection operation only for concrete callers needing it. Do not fabricate
|
||||||
|
generated artifacts or execute substantive stages to discover targets. Escalate
|
||||||
|
concrete native target-resolution gaps upstream rather than duplicate resolution.
|
||||||
|
|
||||||
|
**Decision:** Accepted: deduplicate profiles and backends, perform backend access
|
||||||
|
checks once per backend, and one structured-generation test per profile, preserving
|
||||||
|
native resolution and effective invocation overrides. Exact inventory and API
|
||||||
|
mechanics remain implementation choices within this approach.
|
||||||
|
|
||||||
## 3. Shared Preparation, Input Validation, And Side Effects
|
## 3. Shared Preparation, Input Validation, And Side Effects
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user