Add allod patch subcommand #78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/allod-patch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes allod/tools#77
Adds
allod patchwithfetch,apply, andreceivesubcommands for transferring committed changes between environments asgit format-patchartifacts.Changes
allod: Newpatchnamespace with fetch/apply/receive commandsdocs/allod-patch.md: Usage documentationtests/allod-patch.sh: 148 tests covering CLI routing, fetch, apply, and receiveSecurity
/tmp/allod-patch.XXXXXXXXXXpatternTest plan
Review findings:
is_safe_patch_namerejects control chars but had no dedicated test. Added.bad_tmpdir_*mock SSH mode.--outputwith unwritable parent — Dev plan specified this case. Added.resolve_git_repousesworkspace_is_repo_root— This meanspatch applyrejects repos outside the allod workspace model. Intentional given the tool's scope, but worth noting.All findings addressed in
ba0158c. 159 patch tests + 79 change tests pass.yolo