A deep-dive into how Codex implements its hierarchical multi-agent (sub-agent) system, codenamed "Collab".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Code quality check hook for PostToolUse and Stop events. | |
| Supports two modes: | |
| 1. PostToolUse: Checks specific modified files | |
| 2. Stop: Checks all project files | |
| Runs: ruff format → ruff check → pyright | |
| Exits with code 2 on lint errors. |
I hereby claim:
- I am serialx on github.
- I am serialx (https://keybase.io/serialx) on keybase.
- I have a public key whose fingerprint is 705A 6DC6 EB70 B0DA 217E 30BF F187 0D76 90DF 681A
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| call plug#begin() | |
| Plug 'tpope/vim-sensible' | |
| Plug 'kien/ctrlp.vim' | |
| " replaced with vim-airline | |
| "Plug 'fholgado/minibufexpl.vim' | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'Valloric/YouCompleteMe' | |
| Plug 'tpope/vim-fugitive' | |
| Plug 'fatih/molokai' | |
| Plug 'fatih/vim-go' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./out/Debug/quic_client http://www.google.com/ --port=443 --host=59.18.44.40 --v=1 | |
| [0215/224443:VERBOSE1:quic_client_bin.cc(156)] server host: 59.18.44.40 port: 443 body: headers: quiet: 0 quic-version: -1 version_mismatch_ok: 0 redirect_is_success: 1 | |
| [0215/224443:VERBOSE1:quic_client_bin.cc(177)] Resolved 59.18.44.40 to 59.18.44.40:443 | |
| [0215/224443:VERBOSE1:quic_connection.cc(269)] Client: Created connection with connection_id: 16037101543732809575 | |
| [0215/224443:VERBOSE1:quic_flow_controller.cc(33)] Client: Created flow controller for stream 0, setting initial receive window offset to: 10485760, max receive window to: 10485760, setting send window offset to: 16384 | |
| [0215/224443:VERBOSE1:quic_flow_controller.cc(33)] Client: Created flow controller for stream 1, setting initial receive window offset to: 10485760, max receive window to: 10485760, setting send window offset to: 16384 | |
| [0215/224443:VERBOSE1:quic_flow_controller.cc(33)] Client: Created flow controller for stream 3, setting initial receive wi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import gevent, gevent.event | |
| import threading, Queue, collections, time, functools | |
| def _threads_poller_f(): | |
| while _OsThread._threads_count: | |
| try: | |
| t, rv, isexc = _OsThread._threads_results.get_nowait() | |
| except Queue.Empty: | |
| gevent.sleep() | |
| else: |