Plan the core and integration API migration
This commit is contained in:
@@ -14,6 +14,10 @@ another code audit or an implementation plan.
|
||||
The companion [remediation discussion](discussion.md) collects review
|
||||
recommendations and open choices in discussion order. Accepted decisions there
|
||||
qualify proposed remediation; finding statuses here track implementation.
|
||||
The [Core And Integration API Roadmap](../core-integration-api.md) takes
|
||||
implementation priority over the remaining catalog work. Reassess affected
|
||||
findings after that migration rather than assuming their current remediation
|
||||
remains unchanged.
|
||||
|
||||
The **45 original finding entries** reduce to **33 outstanding catalog entries
|
||||
and one resolved documentation entry**. Repeated responsibility findings are
|
||||
|
||||
@@ -194,32 +194,26 @@ broader consolidation.
|
||||
## 5. Producer State And Shared Reconciliation Lifecycle
|
||||
|
||||
**Findings:** CAT-015 and CAT-016; coordinate CAT-007.
|
||||
**Status:** Open technical design review.
|
||||
**Status:** Expanded API direction accepted; implementation planned separately.
|
||||
|
||||
Make delivered-candidate state, invalidation, assessment, and terminal disposition
|
||||
explicit. Small private phase results may make the producer clearer than coupled
|
||||
mutable closure variables. Keep native execution, continuation history, structural
|
||||
repair, and admission with PromptKit.
|
||||
The discussion selected a clear core/integration boundary, core ownership of as
|
||||
much demonstrated shared lifecycle responsibility as practical, and a clean,
|
||||
flexible API that future integration authors can understand without reading core
|
||||
execution internals. Improving private producer state alone does not satisfy
|
||||
that target. Internal integration interfaces may change to achieve it.
|
||||
|
||||
For NPC, item, and location normalization, share only the demonstrated common
|
||||
reconciliation lifecycle. Families retain preprocessing, identity, typed proposal
|
||||
application, fallback validity, prompts, and diagnostic meaning. Every proposal
|
||||
continues to apply afresh to fixed originals.
|
||||
The [Core And Integration API Roadmap](../core-integration-api.md) now owns the
|
||||
targeted end state, migration work, verification, and meaningful open API choices.
|
||||
Execute that initiative before the remaining audit remediation, then reassess
|
||||
which findings remain against the resulting architecture. Items 1–4 remain
|
||||
accepted; later discussion items are not silently accepted by this change.
|
||||
|
||||
Before committing to a helper, show how a representative family caller becomes
|
||||
easier to follow. Avoid replacing readable procedures with an elaborate callback
|
||||
framework. Verify final-turn assessment, candidate invalidation, cancellation,
|
||||
capture errors, cache hits, and strict/permissive outcomes through existing
|
||||
behavioral boundaries.
|
||||
CAT-007's native usability/error-detail correction is accepted and included in
|
||||
that roadmap. Producer disposition and validator unavailability remain distinct;
|
||||
no new structural repair loop or budget is selected.
|
||||
|
||||
CAT-007 is a narrower correction: retain native failed-validation details and
|
||||
distinguish a completed failed content check from an operational native error.
|
||||
A small shared usability check should suffice. Preserve producer disposition and
|
||||
validator unavailability as distinct caller outcomes. Correct the misleading test
|
||||
oracle without introducing another validation protocol or extending repair budgets.
|
||||
That fix need not wait for the broader producer refactor.
|
||||
|
||||
**Decision:** Pending.
|
||||
**Decision:** Accepted direction; detailed API choices and implementation status
|
||||
are maintained in the linked roadmap.
|
||||
|
||||
## 6. Finalization, Completed Diagnostics, And Intermediate Lifetimes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user