Skip to content

docs: document --cap-add NET_ADMIN as required for WAA container networking#165

Merged
abrichr merged 2 commits intomainfrom
fix/cap-add-net-admin-docs
Mar 20, 2026
Merged

docs: document --cap-add NET_ADMIN as required for WAA container networking#165
abrichr merged 2 commits intomainfrom
fix/cap-add-net-admin-docs

Conversation

@abrichr
Copy link
Copy Markdown
Member

@abrichr abrichr commented Mar 20, 2026

Summary

Documents that --cap-add NET_ADMIN is REQUIRED when running the WAA container. Without it, the container can't create a network bridge to the Windows QEMU guest, making port 5000 unreachable while port 5050 works fine (confusing failure mode).

Tested and confirmed on live Azure VM — adding this flag fixes the "WAA server not starting" issue.

🤖 Generated with Claude Code

abrichr and others added 2 commits March 20, 2026 15:23
Add two scripts implementing Phase 1 of the distillation pipeline:

- collect_distillation_data.py: Runs a frontier model (GPT-5.4, Claude,
  etc.) as teacher on WAA tasks, saving successful (screenshot, action)
  trajectories as SFT-ready JSONL + PNGs via PlannerTrajectoryLogger.
  Supports resume, cost tracking, task filtering, and --max-tasks for
  cost-limited testing.

- finetune_distilled.py: Fine-tunes a student VLM (Qwen3.5-9B or any
  HuggingFace model) with LoRA on the collected trajectories using TRL
  SFTTrainer. Supports Unsloth for 2x speedup, 4-bit quantization, and
  a --mock mode that validates the full pipeline without GPU.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…orking

Without this flag, the container falls back to user-mode networking and
cannot reach the Windows QEMU guest at 20.20.20.21. Port 5050 (evaluate
server on Linux side) works fine, making the failure confusing — but
port 5000 (WAA Flask server inside Windows) is unreachable.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@abrichr abrichr merged commit 564a4af into main Mar 20, 2026
1 check passed
abrichr added a commit that referenced this pull request Mar 20, 2026
…, and demo-guided execution

Add detailed usage documentation for all major features added in PRs #134-#165:

- Docker/WAA Container: --cap-add NET_ADMIN requirement, full docker run
  command, boot timeline, port reference
- Full Evaluation Runner (run_full_eval.py): all flags with defaults,
  example commands for smoke test, resume, parallel, HTTP grounder
- Distillation Pipeline: two-step workflow (collect_distillation_data.py
  + finetune_distilled.py), all flags, mock validation mode
- Demo-Guided Execution: DemoLibrary API, DemoGuidedAgent with self-
  verification, recording workflow
- Task Setup Config Types: all 15 supported types with example params
- Strict Mode: ScrubMiddleware, workflow pipeline, WAALiveAdapter
- Pool Execution: external agent_factory support via PoolManager.run()
- Updated Quick Start with copy-pasteable sequence
- Updated Architecture tree with new files (demo_library, demo_guided_agent,
  scripts/)
- Updated Key Files table with new entries

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
abrichr added a commit that referenced this pull request Mar 20, 2026
…, and demo-guided execution (#166)

Add detailed usage documentation for all major features added in PRs #134-#165:

- Docker/WAA Container: --cap-add NET_ADMIN requirement, full docker run
  command, boot timeline, port reference
- Full Evaluation Runner (run_full_eval.py): all flags with defaults,
  example commands for smoke test, resume, parallel, HTTP grounder
- Distillation Pipeline: two-step workflow (collect_distillation_data.py
  + finetune_distilled.py), all flags, mock validation mode
- Demo-Guided Execution: DemoLibrary API, DemoGuidedAgent with self-
  verification, recording workflow
- Task Setup Config Types: all 15 supported types with example params
- Strict Mode: ScrubMiddleware, workflow pipeline, WAALiveAdapter
- Pool Execution: external agent_factory support via PoolManager.run()
- Updated Quick Start with copy-pasteable sequence
- Updated Architecture tree with new files (demo_library, demo_guided_agent,
  scripts/)
- Updated Key Files table with new entries

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant