Skip to content

minzf581/execution-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Execution Notes

Notes on scaling browser agents and distributed execution systems.


1. Lifecycle Modeling

Scaling agents is not about retries. It is about explicit lifecycle transitions.

Example model:

creating → active → rotating → expired → error

If lifecycle is machine-readable, coordination becomes deterministic.


2. Session Decay

Browser sessions accumulate entropy:

  • stale cookies
  • hidden 429s
  • resource exhaustion
  • inconsistent DOM state

Retries amplify entropy. Explicit expiration reduces it.


3. Disposable vs Persistent Executors

Scaling improves when executors are:

  • short-lived
  • observable
  • restartable by design

Death should be a feature, not an unexpected failure.


4. 429 / 403 Recovery

Recoverable rate limits: retry + jitter.

Structural decay: expire session and recreate.

Treat them differently.


5. Concurrency & Entropy

Concurrency is not linear.

Hidden state surface area grows with parallelism.

Explicit state transitions reduce cascading failure.


6. Open Questions

  • Should browsers expose lifecycle hooks natively?
  • How to measure session entropy?
  • What is the optimal rotation boundary?

This repository is a collection of evolving notes.

About

Notes on scaling browser agents and distributed execution systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors