eca391b9e8c8977edfb87917fe3f0ffd1964abe7
Agent containers run as root (no USER in the Dockerfile, no userns-remap), so a commit the agent writes to the bind-mounted worktree lands owned by UID 0 on the host. The daemon then reads those same loose objects to push, running as its own non-root host user, and fails with "openat objects/../..: permission denied". containerEnv() now passes the daemon's own UID/GID as WORKTREE_UID/WORKTREE_GID. hybridTrees.Push -- the single point where a commit's objects are handed back for the actual push -- chowns the worktree to that owner first, via os.Lchown so a legitimately-tracked-but-dangling symlink doesn't abort a push that would otherwise have succeeded. Closes archie-core-1786749700606-6-bf6aa32d.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%