Require captured repository lookups
This commit is contained in:
@@ -43,9 +43,8 @@ hash. It retains its early request-ID check before direct-session
|
||||
normalization. Referenced message content and static template syntax were
|
||||
captured when the engine was built.
|
||||
|
||||
`InspectPrompt` selects captured metadata through an optional repository
|
||||
capability, falling back to the full definition and existing hash resolution
|
||||
for internal repositories without it. It returns owned metadata without
|
||||
`InspectPrompt` selects captured metadata directly from the repository. It
|
||||
returns owned metadata without
|
||||
rendering templates or touching profile, artifact, schema, renderer, validator,
|
||||
admission, or model collaborators. The root
|
||||
[`Engine.InspectPrompt`](../../engine.go) GoDoc owns the public operation's
|
||||
@@ -57,8 +56,7 @@ snapshot by the selected prompt ID. The analyzer receives only
|
||||
those identity fields rather than an execution definition. It analyzes the
|
||||
snapshot with the supplied caller variables and normalized direct-session
|
||||
bypass; it does not resolve target readiness or enter the preparation
|
||||
pipeline. Missing snapshot capability is a prompt-load failure rather than a
|
||||
source fallback. The root
|
||||
pipeline. An unavailable captured snapshot is a prompt-load failure. The root
|
||||
[`Engine.InspectRequirements`](../../requirements.go) GoDoc owns the public
|
||||
operation's exact contract.
|
||||
|
||||
|
||||
@@ -119,6 +119,11 @@ presence, prepared-payload freezing, session, and structured-dispatch assertions
|
||||
|
||||
## Stage 3: Require Captured Repository Operations
|
||||
|
||||
**Completed:** Repository interfaces require captured definitions, metadata,
|
||||
requirements, and profile identity; the alternate lookups and hash wrapper
|
||||
were removed. Go 1.27.3 `go build ./...` passed with the real configuration
|
||||
snapshot. Use-case test fixture compilation is deferred to the next stage.
|
||||
|
||||
**Finding:** 3. **Files:** `internal/promptdef/repository.go`, `internal/profile/repository.go`,
|
||||
`internal/usecase/{runner,prompt_inspection,profile_inspection,requirements_inspection}.go`,
|
||||
`internal/configuration/prompts.go` and `targets.go`.
|
||||
|
||||
Reference in New Issue
Block a user