feat(apply): support staged strategy groups
Co-authored-by: GPT-6 <gpt-6@openai.com>
This commit is contained in:
1 parent
468532dc8f
commit
2d4e4878ae
9 files changed
+776
-71
No files matched your search
@@ -4,7 +4,7 @@ Go CLI for scanning and checking YouTube TLS bypass strategies with `blockcheckw
|
||||
|
||||
## Manual managed-test activation (not deployed)
|
||||
|
||||
`managed init|status|apply` requires exact role `managed-test`, target ID
|
||||
`managed init|status|active-ids|apply` requires exact role `managed-test`, target ID
|
||||
`zapret-autotune-managed-v1`, a provisioned runtime marker and zapret executables,
|
||||
and a private dedicated mount at `/var/lib/zapret-autotune/target`.
|
||||
`ZAPRET_CONFIG` must equal `/var/lib/zapret-autotune/target/config`: the standalone
|
||||
@@ -14,8 +14,9 @@ The managed proxy must equal `socks5://127.0.0.1:$SOCKS_PORT` and that listener
|
||||
must be owned by target-local `ss-local`; arbitrary loopback/host ports fail.
|
||||
Init creates a private disabled baseline and identity/journal without overwriting
|
||||
existing config. Status shows generation/hash/groups, not secrets or live health.
|
||||
Apply accepts `--frontend-candidate ID --googlevideo-candidate ID` and requires
|
||||
a qualified pair, fixed target init executable and explicit runtime-config
|
||||
Apply accepts either or both of `--frontend-candidate ID` and
|
||||
`--googlevideo-candidate ID` and requires one qualified candidate per selected
|
||||
group, fixed target init executable and explicit runtime-config
|
||||
binding. It uses full target-local firewall/daemon restart and Player API post-check, with
|
||||
atomic rollback on failure. See [MANAGED_TARGET.md](MANAGED_TARGET.md) for guards
|
||||
and provisioning prerequisites. An isolated pinned deployment definition is in
|
||||
@@ -24,6 +25,14 @@ No autonomous loop, remote activation or Xray changes are included. Image
|
||||
compatibility and route/rollback gates are not yet remotely proven; adapter
|
||||
tests/build are deferred to the orchestrator.
|
||||
|
||||
The apply flags are the entire desired group set, not a merge: a single-group
|
||||
apply removes the other group. Frontend-only supports bootstrap discovery;
|
||||
exact-host GGC-only is also valid. Status lists missing or unverifiable groups
|
||||
as unresolved, never as healthy or a complete playback configuration. Player
|
||||
API post-checks do not establish either group's health. `active-ids` fails closed
|
||||
on pending, legacy or unverifiable state; journal IDs and config bytes commit
|
||||
and roll back together, including after a crash.
|
||||
|
||||
## One-shot Player API health
|
||||
|
||||
```sh
|
||||
|
||||
Reference in new issue
Block a user