zara-coding: validate git log object IDs before projecting evidence #195

Closed
opened 2026-09-08 02:03:12 +00:00 by nsaspy · 0 comments
Owner

Advances #1.

RepositoryInspector.log() parses bounded structured history but currently trusts commit and parent fields as opaque strings. Malformed Git/mock output can therefore be projected as repository evidence even though downstream symbolic verification treats these as object identities.

Acceptance:

  • deterministic RED for malformed commit and parent object IDs;
  • accept both 40- and 64-hex Git object IDs;
  • fail with bounded CodingError tied to malformed structured git log output;
  • preserve history bounds, structured author/time/subject fields, fixed argv/no shell;
  • focused tests, registry compatibility, full nix flake check, generated package builds, exact-head protected merge.
Advances #1. `RepositoryInspector.log()` parses bounded structured history but currently trusts commit and parent fields as opaque strings. Malformed Git/mock output can therefore be projected as repository evidence even though downstream symbolic verification treats these as object identities. Acceptance: - deterministic RED for malformed commit and parent object IDs; - accept both 40- and 64-hex Git object IDs; - fail with bounded `CodingError` tied to malformed structured `git log` output; - preserve history bounds, structured author/time/subject fields, fixed argv/no shell; - focused tests, registry compatibility, full `nix flake check`, generated package builds, exact-head protected merge.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/zara-plugins#195
No description provided.