coding: validate git log object IDs #382

Open
nsaspy wants to merge 0 commits from rage/197-log-object-ids into main
Owner

Advances #1. Closes #197.

RAGE transaction:

  • RED 4b8c99f1: malformed commit/parent IDs and SHA-256 acceptance coverage.
  • implementation 821e6b23: validate every projected commit/parent identity as a full 40- or 64-hex Git object ID and fail with bounded CodingError on malformed structured log evidence.

Security/architecture: fixed argv/no shell unchanged; history bounds and author/time/subject evidence preserved; no runtime/permission expansion.

Required gate: focused tests, registry compatibility, nix flake check, generated package builds, exact-head green before merge.

Advances #1. Closes #197. RAGE transaction: - RED `4b8c99f1`: malformed commit/parent IDs and SHA-256 acceptance coverage. - implementation `821e6b23`: validate every projected commit/parent identity as a full 40- or 64-hex Git object ID and fail with bounded `CodingError` on malformed structured log evidence. Security/architecture: fixed argv/no shell unchanged; history bounds and author/time/subject evidence preserved; no runtime/permission expansion. Required gate: focused tests, registry compatibility, `nix flake check`, generated package builds, exact-head green before merge.
Some checks failed
CI / test (pull_request) Failing after 17s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage/197-log-object-ids:rage/197-log-object-ids
git switch rage/197-log-object-ids

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff rage/197-log-object-ids
git switch rage/197-log-object-ids
git rebase main
git switch main
git merge --ff-only rage/197-log-object-ids
git switch rage/197-log-object-ids
git rebase main
git switch main
git merge --no-ff rage/197-log-object-ids
git switch main
git merge --squash rage/197-log-object-ids
git switch main
git merge --ff-only rage/197-log-object-ids
git switch main
git merge rage/197-log-object-ids
git push origin main
Sign in to join this conversation.
No description provided.