zara-coding: require canonical repository-relative changed-path evidence #128

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

Problem

build_repository_evidence() rejects absolute/traversing/duplicate changed paths, but accepts non-canonical relative aliases such as ./src/app.py or src//app.py. Those aliases can describe the same repository path with different strings, bypass duplicate/coherence reasoning and project ambiguous symbolic repository_changed_path facts.

Required behavior

  • changed-path evidence must be canonical repository-relative POSIX paths;
  • reject dot/root aliases and redundant separators/dot components;
  • alias duplicates cannot project as distinct symbolic facts;
  • preserve existing 100-entry bound, NUL/traversal rejection, dirty-state coherence, and network-free tests;
  • full compatibility/registry/plugin/Nix package gates stay green.

Tracks repository evidence integrity under #1.

## Problem `build_repository_evidence()` rejects absolute/traversing/duplicate changed paths, but accepts non-canonical relative aliases such as `./src/app.py` or `src//app.py`. Those aliases can describe the same repository path with different strings, bypass duplicate/coherence reasoning and project ambiguous symbolic `repository_changed_path` facts. ## Required behavior - changed-path evidence must be canonical repository-relative POSIX paths; - reject dot/root aliases and redundant separators/dot components; - alias duplicates cannot project as distinct symbolic facts; - preserve existing 100-entry bound, NUL/traversal rejection, dirty-state coherence, and network-free tests; - full compatibility/registry/plugin/Nix package gates stay green. Tracks repository evidence integrity under #1.
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#128
No description provided.