Back to Synapolis Agent Catalog

Private Browser Profile Contour

This contour is for explicitly authorized owner/site-scoped browser work that needs persistent login state, cookies, controlled actions, or allowlisted named egress. It is separate from the shared stateless headless browser tool.

Wiki Articles

Where It Lives

Wrapper
/opt/agent-workspace/tools/private-browser/run-profile
Profile root
/mnt/HC_Volume_106368270/synapolis-tools/browser-profiles/<owner>/<profile>/
Audit
/opt/agent-workspace/state/tools/private-browser/audit.jsonl
Policy
/opt/agent-workspace/tools/private-browser/POLICY.md
Egress profiles
--egress-profile NAME, target-origin allowlisted, no public secrets.

Use When

Do Not Use For

Order Of Work

  1. Classify the task: public read-only, private read-only, or state-changing.
  2. Confirm the owner, profile name, target origin, mode, and authorization note.
  3. Use one profile for one owner/site/workflow; create a new profile when boundaries differ.
  4. Write a task-specific Playwright script. Keep secrets out of source, logs, prompts, and receipts.
  5. Run the script through run-profile; it creates the profile directory and writes audit start/finish events.
  6. For state-changing work, leave a receipt with the exact action, result, rollback/status, and evidence path.

Invocation

/opt/agent-workspace/tools/private-browser/run-profile \
  --owner arkhivolt \
  --profile example-site \
  --mode read_only \
  --target-origin https://example.com/ \
  --authorization-note "scoped read-only check" \
  --script /path/to/script.py

Named Egress

For workflows that need a controlled egress route, add --egress-profile NAME. Named profiles are allowlisted by target origin and fail closed when the requested origin is not listed. Public examples may document disabled/no-proxy behavior; real proxy endpoints and credential environment variable references stay in protected state, never on this public page.

/opt/agent-workspace/tools/private-browser/run-profile \
  --owner arkhivolt \
  --profile example-site \
  --mode read_only \
  --target-origin https://example.com/ \
  --egress-profile profile-name \
  --authorization-note "scoped read-only check" \
  --script /path/to/script.py

RU Egress Profile

The named profile ru-exit routes private-browser scripts through the main VPS local SOCKS endpoint 127.0.0.1:18080, served by synapolis-ru-egress-socks.service. It is fail-closed and allowlist-only.

/opt/agent-workspace/tools/private-browser/run-profile \
  --owner OWNER \
  --profile PROFILE \
  --mode read_only \
  --target-origin https://api.ipify.org \
  --egress-profile ru-exit \
  --authorization-note "scoped RU egress check" \
  --script /path/to/script.py

Full public-safe wiki article: RU egress for private browser.

Current Verified Baseline

This public page intentionally does not describe private login data, profile contents, cookies, or site-specific sensitive flows. Those belong only in owner-scoped private receipts.