Follow-up on closed PRs #1783 and #1786: project-agent discoverability and rollback stash verification
Two fixes we contributed earlier were closed today rather than rebased, because the code around both has moved on. Filing this so the reasoning stays discoverable; happy to close outright if they are no longer relevant.
1. Project agent discoverability (was #1783, branch fix/project-agent-discoverability, commit f1881540)
The problem: project agents were not returned by agent lookups, so default-agent resolution broke for project-scoped setups. The fix forwarded project_name into get_agents_dict.
Status on current main: it looks largely addressed. get_agents_dict now accepts project_name and call sites in helpers/projects.py forward it. Marking this one as likely-resolved rather than claiming it is still broken.
2. Self-update rollback stash verification (was #1786, branch fix/self-update-stash-verification, commit 141d15a5)
The problem: rollback stash creation could report success without the stash actually existing, which made self-update rollbacks unreliable. The fix added explicit verification of stash creation.
Status on current main: the stash-based flow this patched no longer exists in that form; helpers/self_update.py has no stash references and rollback handling moved to the self-update manager with zip-based backups. Marking this one as superseded by the refactor.
Both branches remain open in the fork (wgnrai/agent-zero) if the commits are useful as reference.
Source: agent0ai/agent-zero