feat: add autonomous YouTube resource recovery and adaptive GGC
Co-authored-by: GPT-6 <gpt-6@openai.com>
This commit is contained in:
1 parent
8826c591dc
commit
b4e1e1e9ca
43 files changed
+5163
-93
No files matched your search
+19
-2
@@ -251,6 +251,10 @@ signed URLs; use `docker compose ... config --quiet` for validation.
|
||||
| --- | --- |
|
||||
| `ZAPRET_AUTOTUNE_IMAGE` | Local build/test default `zapret-autotune-managed-target:local`; production promotion requires a managed-target `repository@sha256:<digest>` |
|
||||
| `SS_PASSWORD` | Required independent hex-only secret, at least 32 characters; deployment README generates 64 |
|
||||
| `SS_DNS_SERVER` | Empty (unchanged resolver); optional literal IPv4/IPv6 for target-only native ss-server DNS, validated before launch |
|
||||
| `ZAPRET_AUTOTUNE_YOUTUBE_SERVICE` | `0` (legacy) or opt-in `1`; explicitly forwarded by Compose |
|
||||
| `ZAPRET_AUTOTUNE_GOOGLEVIDEO_MODE` | `cold` default or `adaptive` (requires service `1`); explicitly forwarded |
|
||||
| `ZAPRET_AUTOTUNE_GOOGLEVIDEO_VIDEO_IDS` | JSON array of 1..5 unique VideoIDs; defaults to only the primary ID; explicitly forwarded |
|
||||
| `ZAPRET_AUTOTUNE_HOST_SOCKS_PORT` | `11080`; choose an available TCP/UDP port 1–65535, published only on `127.0.0.1` |
|
||||
| `SOCKS_PORT` | Supplied deployment fixes internal listener to `1080`; not a host-port override |
|
||||
| `ZAPRET_AUTOTUNE_SOCKS_PROXY` | Fixed `socks5://127.0.0.1:1080` inside this target, no credentials/direct fallback |
|
||||
@@ -262,13 +266,26 @@ signed URLs; use `docker compose ... config --quiet` for validation.
|
||||
|
||||
The monitor's three policy flags override corresponding environment defaults;
|
||||
explicit empty/invalid environment settings are rejected. The entrypoint accepts
|
||||
no arguments. The supplied Compose environment does not forward the video/policy
|
||||
settings from `.env`: add the desired existing variables to `target.environment`
|
||||
no arguments. Compose forwards the primary/sample VideoIDs and service/mode settings.
|
||||
It does not forward the interval/threshold/cooldown policy
|
||||
settings from `.env`: add those existing variables to `target.environment`
|
||||
in your deployment copy/override if needed. Keep all fixed identity/path settings
|
||||
unchanged. No public SS listener is published; Xray configuration is external and
|
||||
operator-owned, optionally using the host's loopback SOCKS port. Do not modify an
|
||||
existing Xray deployment as part of bootstrap.
|
||||
|
||||
Current service/adaptive hardware acceptance is **pending**, independent of the
|
||||
recorded legacy RC PASS. Adaptive means post-warmup, not cold: first connections
|
||||
may fail and native learning repeats after restart. At least three real unique
|
||||
signed ordinary media host samples are required; multiple VideoIDs may yield one
|
||||
CDN host and leave `DEGRADED` with no authorized suffix. Sampled thumbnail/avatar
|
||||
routes do not prove availability of the whole thumbnail pool. The reported
|
||||
`8.8.8.8` DNS diagnostic corrected a tampered avatar, not all thumbnail routes;
|
||||
native DNS correction is not full asset availability proof. Target DNS uses
|
||||
validated native `-d` argv (nonsecret), with installed-option support checked
|
||||
at image build; passwords remain private JSON only. No DoH bridge, permanent
|
||||
Google IP pins, global host DNS edits or external startup manager are introduced.
|
||||
|
||||
### Supervision and failure handling
|
||||
|
||||
The container entrypoint is PID 1 and owns all technical child restart control.
|
||||
|
||||
Reference in new issue
Block a user