fix: discover avatar metadata from trusted watch pages
Fall back only on missing homepage metadata, preserve private bounded inventory and fail-closed error classification. Record supplied field results without claiming image or family qualification. Co-authored-by: GPT-6 <gpt-6@openai.com>
This commit is contained in:
1 parent
a60f62de22
commit
50a78608ce
6 files changed
+231
-29
No files matched your search
+16
-2
@@ -432,12 +432,26 @@ not strategy absence; mixed, guard, infrastructure and cancellation errors do
|
||||
not authorize relearning. Unrelated missing image inventory may coexist with
|
||||
usable media, but successful media recovery does not repair or qualify it.
|
||||
|
||||
Avatar inventory first parses fresh homepage `ytInitialData`. Only absent metadata
|
||||
or no allowed avatar permits one fallback to the configured video's watch page,
|
||||
using a validated video ID, the same trusted HTTPS WWW origin and SOCKS proxy,
|
||||
bounded time/body size, no redirects, and discarded diagnostics. Malformed JSON,
|
||||
transfer errors and safety/cancellation failures do not trigger fallback. Both
|
||||
pages and discovered resource URLs remain ephemeral; discovering an allowed URL
|
||||
is not image-transfer qualification or a guarantee of full-family coverage.
|
||||
|
||||
`managed status` reports active-profile `covered=` separately from qualified
|
||||
`groups` and `unresolved_groups`; `managed active-ids` adds `covered_groups` and
|
||||
`googlevideo_scope` to its JSON. An experimental Googlevideo profile can be
|
||||
covered yet qualification-unresolved; one image profile does not establish full
|
||||
asset-inventory success. Status is read-only and reports live health NOT CHECKED.
|
||||
The new autonomous recovery/classifier/status behavior is source-only pending
|
||||
field checks, not a deployment or production-acceptance claim. Generic production
|
||||
Reported `a60f62d` field checks passed restart/recreation and status coverage checks.
|
||||
A live upgrade hit runner `BrokenPipe` and automatically rolled back to the same
|
||||
last-good image; successful autonomous media recovery remains unaccepted. Fresh
|
||||
Range media passed once on TLS1.2, then failed on repeat; no TLS1.3 media PASS is
|
||||
claimed, and the field failure's cause is unknown. Reported watch metadata had an
|
||||
allowed avatar URL absent from the homepage, but this new conditional fallback
|
||||
is source-only and neither field-deployed nor avatar-image-qualified. See
|
||||
[PROGRESS.md](PROGRESS.md) for the remaining gates. Generic production
|
||||
media behavior and signed-URL/SS secret privacy remain unchanged, as do the
|
||||
persisted minimum two-hour strategy-absence pause and 90-minute whole-job budget.
|
||||
Reference in new issue
Block a user