Skip to content

feat(studio): link edit rechecks to script fingerprints#606

Merged
w1ne merged 1 commit into
developfrom
agent/kyrall-validator-linked-recheck
Jul 9, 2026
Merged

feat(studio): link edit rechecks to script fingerprints#606
w1ne merged 1 commit into
developfrom
agent/kyrall-validator-linked-recheck

Conversation

@w1ne

@w1ne w1ne commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • add deterministic Studio script fingerprints for approved staged edit code
  • require matching validity fingerprints before updating pending approved ledger entries
  • publish validity with the current workbench code fingerprint from useRecomputeResult

Reliability notes

  • missing or mismatched validity fingerprints leave approved entries pending
  • same ValidatorResult reference can update ledger evidence without rotating previous/current validity
  • fingerprint stores line-normalized script length plus two independent 32-bit hashes, not full source text

Test Plan

  • npm test -- --run src/studio/tests/shellStore.test.ts src/studio/tests/StagedEditSlot.test.tsx src/studio/tests/useRecomputeResult.test.tsx
  • npm run typecheck
  • git diff --check
  • npm run build:studio
  • npm run lint (passes with existing unused-disable warnings outside this slice)

Private docs: w1ne/kernelCAD-private@78cabae

Signed-off-by: Andrii Shylenko <14119286+w1ne@users.noreply.github.com>
@w1ne w1ne enabled auto-merge (squash) July 9, 2026 14:41
@w1ne w1ne merged commit 36d9b77 into develop Jul 9, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant