Technical specification: Transactional migration from OKF v0.1 to v0.2

Historical document from source revision 61e75e9. This plan records the work proposed at that revision; it is not current implementation guidance. Original source.

1. Goal

Add a deterministic preview/apply migration plan for the two breaking changes in v0.2:

Dependencies: task10.md, task11.md, task13.md, task14.md, task17.md.

2. General contract

3. Timestamp migration

Create generated only with explicit generated.by. Do not use ChangeSet.Actor as an implicit producer.

Cases:

4. Citation migration

Do not infer provenance or claim attribution from meaning.

Input must contain an explicit mapping from legacy entries to stable source IDs.

Support:

Fail closed on:

Do not generate title/author/usage/last_modified/verified/status/stale_after.

5. Markdown collector

Add parser-backed ownership for:

Fenced code, inline code, and raw HTML remain opaque. Do not change the existing MoveConcept parser configuration globally.

6. Attested Computation migration boundary

Do not automatically split narrative documents or convert SQL in prose into Attested Computation.

Allow only an explicit creation/move plan:

7. Tests

All tests follow AAA.

8. Acceptance criteria

9. Out of scope

LLM rewriting, semantic claim matching, automatic SQL splitting, executor runtime, attestation ABI, and network fetching.