Repository navigation
spec(t27os): vf_diff_main host program for vf_diff (M0) - #14018
Merged
Merged
Conversation
Closes #13662 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
…0 is 17 bytes) Refs #13662 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
PR DashboardGenerated at: 2026-11-15 19:26:12 UTC
Summary
Seal Status
|
Contributor
PR DashboardGenerated at: 2026-11-15 19:32:44 UTC
Summary
Seal Status
|
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
gHashTag
marked this pull request as ready for review
November 15, 2026 19:39
gHashTag
enabled auto-merge (squash)
November 15, 2026 19:40
Contributor
PR DashboardGenerated at: 2026-11-15 19:41:49 UTC
Summary
Seal Status
|
This was referenced Nov 15, 2026
This was referenced Nov 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #13662
Refs #13426
Adds
specs/t27os/vf_diff_main.t27, the host program forspecs/t27f/vf_diff.t27(M0). Environment in (DIFF_A, DIFF_B, DIFF_OUT), P6 difference frame out, one text summary line (changed pixel count and bounding box) on stderr. It callsvf_diff_count,vf_diff_bboxandvf_diff_frameand restates none of their logic. A size mismatch, unreadable file or bad header exits 1 with one reason line and writes nothing.Test blocks cover the header parse (375x812 offset 15, 1000 wide offset 14, bad magic, bad maxval, cut header, zero or huge side, wrong body length) and the refusal paths (size mismatch).
The spec uses std.c, so t27c cannot compile it (like vf_card_main); it lands as a plain PR and is built with t27b.
FR-004 (run on runs/m0/m0_card_v1.ppm against itself) is not_run: this Mac refuses builds and runs.
🤖 Generated with Claude Code