Consolidate the native migration roadmap and simplified cache design

This commit is contained in:
2026-11-20 03:42:51 +00:00
parent c03d0bb987
commit 2eaea2b1fd
3 changed files with 653 additions and 385 deletions

View File

@@ -2,20 +2,17 @@
## Purpose And Status
The original decisions in items 1–6 were incorporated into the
[PromptKit-native architecture migration roadmap](promptkit.md). That roadmap
is the implementation plan and owns current unresolved choices, sequencing,
acceptance criteria, and implementation status.
The decisions in items 1–6, the subsequent CommandKit discussion, and the
simplified cache/output designs are incorporated into the
[master native migration roadmap](promptkit.md). It owns the selected target,
unresolved choices, sequencing, acceptance criteria, and implementation status.
The subsequent CommandKit discussion replaces item 5's checkpoint proposal with
the accepted-artifact cache below and clarifies PromptKit's execution ownership.
Those updates have not yet been incorporated into the master roadmap. They
supersede its earlier checkpoint matching and provenance requirements. The
[CommandKit notepad](commandkit-migration-discussion.md) records the related CLI
and debug decisions. Its [item 4](commandkit-migration-discussion.md#4-reports-machine-output-and-outcomes)
selects artifact files and a small native completion report, superseding earlier
mandatory manifest, receipt, and durable-execution-record proposals here and in
the master roadmap.
The [CommandKit discussion record](commandkit-migration-discussion.md) retains
the related CLI, preflight, output, debug, and migration rationale. The master
roadmap replaces earlier checkpoint matching/provenance proposals with the
accepted-artifact cache and retires mandatory manifests, extensive receipts,
and durable execution ledgers. The upstream message-content hash remains pending;
incorporation does not claim it is already available or implemented.
This document retains the discussion, rationale, and evidence, including item 7's
completed Audita comparison. Item-level questions and follow-ups below record
@@ -475,7 +472,7 @@ This is a concrete upstream hash requirement. The reviewed PromptKit v0.23.3
hashing the entire `PreparedRun` would include volatile execution metadata.
Neither is the selected key. Expose the content hash through native preparation
rather than implementing another message-hashing policy in Notarius. Confirm
the supplying upstream API/release during roadmap incorporation; do not claim
the supplying upstream API/release before cache implementation; do not claim
the proposed field already exists or silently substitute a broader fingerprint.
### Compute Early, Store After Acceptance
@@ -548,10 +545,10 @@ compatibility requirement. Select straightforward cache reuse/bypass/refresh
controls and legacy-file handling during implementation planning; do not infer
new flag spellings or a migration framework from this decision.
**Follow-up:** Incorporate this design and the upstream hash requirement into the
master roadmap. Verify that a downstream failure leaves earlier accepted
artifacts reusable, corrected answers are stored under the initial hash, changed
messages miss, settings-only changes can hit, and a hit makes no model calls or
**Follow-up:** The master roadmap now includes this design and the upstream hash
requirement. During implementation, verify that a downstream failure leaves
earlier accepted artifacts reusable, corrected answers are stored under the
initial hash, changed messages miss, settings-only changes can hit, and a hit makes no model calls or
new semantic-validation claims. Keep output/report contract decisions separate.
## 6. Inspection And Execution Bookkeeping
@@ -670,7 +667,7 @@ Evidence: [current inspection wrapper](../../internal/framework/llm/promptkit_in
Select application scope and observer/group enrollment for the agreed diagnostics.
Implement the selected completion report and retire superseded manifest, receipt,
and execution-ledger machinery. Coordinate command migration and debug capture
with the CommandKit notepad and master roadmap reconciliation. The core
with the incorporated design in the master roadmap. The core
bookkeeping ownership change needs no new PromptKit capability; any remaining
upstream request should identify a concrete unmet requirement.