Skip to content

Block byte verification when Git or tracked-byte observations fail - #9

Draft
Riverbraid wants to merge 7 commits into
mainfrom
fix/byte-audit-git-observations-2026-11-01
Draft

Riverbraid wants to merge 7 commits into
mainfrom
fix/byte-audit-git-observations-2026-11-01

Conversation

@Riverbraid

@Riverbraid Riverbraid commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Change

The byte auditor now treats Git command failures as unavailable observations, checks that each manifest repository path is its own Git root, requires a valid commit and nonempty tracked-file enumeration, and blocks when a tracked path cannot be hashed as a regular file. Detached HEAD remains valid. Report version 1.1.0 retains existing fields and adds git_root, unhashed_tracked_files, and explicit failure codes.

Evidence

  • Base b5c8cde0ebb56ac98bc738545a8e80c10c67b191; proposed head fb9dea4b33a3cd2b561a23e23ca117dbf4c2ebb0 includes all six focused tests.
  • Before the fix: non-Git, outer-root, and missing-tracked-file cases failed for the intended reasons. After the fix: six focused cases pass locally, including a dangling tracked symlink and detached HEAD; node --check byte-audit.mjs passes.
  • Ring 2 workflow run #185: regression step passed 6/6, Ring 0 compatibility step passed, Ring 2 constellation returned RING_GATE_PASS_VERIFIED for 8/8, Ring 2 byte audit returned BYTE_GATE_BLOCKED (2 verified, 6 blocked). The workflow preserves exact per-repo commits and failure paths in logs even on a block.
  • All six blocked repositories have a BOM in .github/workflows/verify.yml (an existing byte-audit failure rule). Lang, p5, and Hydra additionally have TRACKED_FILES_INCOMPLETE for constitution.threshold.json and riverbraid-core. Their Git trees show an absolute /workspaces/Riverbraid-Core/constitution.threshold.json symlink and a gitlink/submodule. The original script silently skipped non-file or absent worktree paths; this patch exposes that missing coverage. No sibling repository was changed.

Boundary

This is a tested source correction proposal, not a full Ring 2 PASS or adopted Core result. Leave the PR draft while the six Ring 2 byte findings and treatment of tracked symlinks/gitlinks are reviewed under their exact source/authority. No registry, Evaluation Kit, RB-IM-0006 operator, E39 authority, native result, F gate, or main branch is changed by this draft. Related documentary finding: Riverbraid-Documentation PR #29.

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