Phase 2: Preserve legacy semantics and baseline artifacts (#85) #615

Merged
erikinkinen merged 2 commits from phase2/p2-02-preserve-legacy into main 2026-10-20 16:18:16 +02:00
Owner

Task

Closes #85

Plan ID: P2-02; protocol 2.2; backlog revision 2.2.1.

Summary

Freeze the actual Phase 1 semantics before adding the independent Phase 2 policy model. Preserve 31 canonical cases across legacy log versions v0–v3 and metric versions v0–v2, with hand-derived access/mutation expectations and byte-level replay checks. Record the seven-strategy semantic ledger with pinned source and historical PR references.

Scope

  • 217 golden log, observation, snapshot and metric files, plus a CTest verifier.
  • Both original figure pipelines on fixed small configurations: 21 exact CSVs, 443 capture files and a reproducible capture tool.
  • Clean original-source build/test evidence, environment and dependency records, output hashes and P2-01 prerequisite acceptance hash.
  • Git attributes preserve original fixture bytes, including CSV CRLF.

Design intent

The fixtures explicitly preserve direct/snapshot ties, root-only lazy invalidation, ancestor lineage, missing-parent epoch boundaries and the legacy cost estimates. Golden data came from the untouched 6ad94c4 libraries. New research semantics must use their own versioned contracts.

Phase discipline

This is legacy compatibility evidence. The 124 small figure executions are not independent research samples or a production campaign. The fixture producer supplies the old missing <compare> include without patching the baseline. Repairs #605, #608, #610 and #612 have separate validated PRs; sanitizer consumer-link defect #614 is separately tracked.

Verification

  • Clean original Debug build: all 44 original CTests passed.
  • Current source commit c2da33d95fd8bf29495c881e31968083d39186fa: all 45 CTests passed, including 31 golden cases and replay.
  • A deliberately altered metric in a temporary fixture copy is rejected.
  • Every one of the 238 committed fixture/CSV files matches the capture SHA-256; all 245 acceptance output hashes verified.
  • Full evidence ZIP uploaded, downloaded and hash verified.
  • Acceptance: artifacts/backlog/2.2.1/P2-02/acceptance.json; source test log/JUnit and baseline validation are adjacent.
  • All eight local hooks, exact staged whitespace checks and signed commit/push checks passed. All six Forgejo checks must pass before the three issue items are checked once and the PR is merged.
# Task Closes #85 Plan ID: `P2-02`; protocol 2.2; backlog revision 2.2.1. ## Summary Freeze the actual Phase 1 semantics before adding the independent Phase 2 policy model. Preserve 31 canonical cases across legacy log versions v0–v3 and metric versions v0–v2, with hand-derived access/mutation expectations and byte-level replay checks. Record the seven-strategy semantic ledger with pinned source and historical PR references. ## Scope - 217 golden log, observation, snapshot and metric files, plus a CTest verifier. - Both original figure pipelines on fixed small configurations: 21 exact CSVs, 443 capture files and a reproducible capture tool. - Clean original-source build/test evidence, environment and dependency records, output hashes and P2-01 prerequisite acceptance hash. - Git attributes preserve original fixture bytes, including CSV CRLF. ## Design intent The fixtures explicitly preserve direct/snapshot ties, root-only lazy invalidation, ancestor lineage, missing-parent epoch boundaries and the legacy cost estimates. Golden data came from the untouched 6ad94c4 libraries. New research semantics must use their own versioned contracts. ## Phase discipline This is legacy compatibility evidence. The 124 small figure executions are not independent research samples or a production campaign. The fixture producer supplies the old missing `<compare>` include without patching the baseline. Repairs #605, #608, #610 and #612 have separate validated PRs; sanitizer consumer-link defect #614 is separately tracked. ## Verification - Clean original Debug build: all 44 original CTests passed. - Current source commit `c2da33d95fd8bf29495c881e31968083d39186fa`: all 45 CTests passed, including 31 golden cases and replay. - A deliberately altered metric in a temporary fixture copy is rejected. - Every one of the 238 committed fixture/CSV files matches the capture SHA-256; all 245 acceptance output hashes verified. - [Full evidence ZIP](https://git.erikinkinen.fi/attachments/4ccc4d9a-f443-4dca-abfe-a299acc334da) uploaded, downloaded and hash verified. - Acceptance: `artifacts/backlog/2.2.1/P2-02/acceptance.json`; source test log/JUnit and baseline validation are adjacent. - All eight local hooks, exact staged whitespace checks and signed commit/push checks passed. All six Forgejo checks must pass before the three issue items are checked once and the PR is merged.
erikinkinen added this to the Phase 2 milestone 2026-10-20 16:15:36 +02:00
Phase 2: Record legacy baseline acceptance (#85)
All checks were successful
markdownlint / markdown-lint (pull_request) Successful in 22s
clang-format / check-format (pull_request) Successful in 22s
ci / smoke (pull_request) Successful in 2m28s
clang-format / check-format (push) Successful in 13s
markdownlint / markdown-lint (push) Successful in 13s
ci / smoke (push) Successful in 2m3s
47489fdad1
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erikinkinen/AES!615
No description provided.