agent-proxy

agent-proxy implementation tasks

This file tracks work derived from SPEC.md and ROADMAP.md. A task is complete only when its acceptance and validation evidence pass.

Last updated: 2026-07-28

Historical phases

Phase 1: Legacy Linux service baseline

Status: Superseded

The former root installer, dedicated agent-proxy account, system service, service-account authentication, and /opt//etc//var layout passed their historical tests. They are not the target deployment model and must be removed in Phase 4 after equivalent user-owned lifecycle tests exist.

Phase 2: OpenAI Responses compatibility

Status: Complete

Phase 3: Native clients and Open WebUI compatibility

Status: Complete, with deployment evidence superseded

Phase 4 must rerun live evidence under the logged-in user’s Herdr session. Detailed Phase 3 acceptance criteria, versions, validation commands, waivers, and sanitized evidence locations are preserved in docs/phase-3-evidence.md.

Phase 4: User-owned Herdr execution

Status: Complete

Phase exit gate:

npm ci
npm run typecheck
npm test
npm run build
npm run lint:dead-code
scripts/validate-shell.sh
git diff --check
scripts/test-user-install.sh
scripts/test-user-service.sh
scripts/test-herdr-launcher.sh
scripts/test-client-compat.sh --client copilot --require-live
scripts/test-client-compat.sh --client codex --require-live
OPEN_WEBUI_MODELS=gpt-5.6-sol \
OPEN_WEBUI_ALLOW_BOUNDED_DETACH=true \
  scripts/test-open-webui-compat.sh --all --require-live

Completion evidence:

Rollback:

Phase 5: Provider reliability

Status: Complete

Phase exit gate:

npm run typecheck
npm test
scripts/test-provider-stress.sh
scripts/test-herdr-load.sh

Completion evidence:

Phase 6: Desktop-user security and privacy

Status: Planned

Phase exit gate:

npm run typecheck
npm test
scripts/test-security.sh
scripts/scan-secrets.sh

Phase 7: Observability and user operations

Status: Planned

Phase exit gate:

npm run typecheck
npm test
scripts/test-observability.sh
scripts/test-backup-restore.sh
scripts/acceptance-check.sh --require-live

Phase 8: Stable desktop release

Status: Planned

Coverage matrix

Specification area Primary tasks
User ownership and XDG deployment P4-01, P4-02, P4-12
Herdr launcher and worker protocol P4-03 through P4-08
Session and pane isolation P4-05, P4-07, P5-01, P5-05, P5-06
Copilot, Codex, and Open WebUI clients P4-10, P4-11, P5-10, P7-07, P8-06
Recursion and localhost trust P4-09, P6-03, P6-04, P6-09
Provider reliability P5-01 through P5-10
Security and privacy P6-01 through P6-10
Operations and observability P7-01 through P7-09
Stable desktop release P8-01 through P8-09