Skip to content

Canonicalize standalone freshness ref digests - #1315

Merged
chubes4 merged 1 commit into
mainfrom
fix/1313-canonical-freshness-digest
Aug 30, 2026
Merged

Canonicalize standalone freshness ref digests#1315
chubes4 merged 1 commit into
mainfrom
fix/1313-canonical-freshness-digest

Conversation

@chubes4

@chubes4 chubes4 commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

  • trim Git line terminators before standalone remote-ref digesting
  • exercise WordPress-shaped trimmed evidence in the standalone provider test
  • preserve complete-ref-set hashing and fail-closed freshness semantics

Verification

  • php -l inc/Workspace/StandaloneWorktreeProvider.php
  • php -l tests/standalone-worktree-provider.php
  • php tests/standalone-worktree-provider.php
  • git diff --check

Closes #1313.

AI Assistance

OpenAI GPT-5.6 Sol through OpenCode compared persisted and standalone freshness digests, isolated the Git trailing-newline mismatch, and implemented the minimal canonicalization regression under Chris Huber's direction.

@chubes4
chubes4 merged commit bc95c2f into main Aug 30, 2026
11 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.

Canonicalize standalone freshness evidence digests

1 participant