feat: implement Phase 3.1B blocker architecture - #2
Merged
Conversation
…ging Engine + hardening (H1-H7 program): - DNR/persistence correctness: band-overflow checks, quota re-seeding, capacity enforcement, rejection-tolerant write chains, remove-failure ordering, read-error vs absent distinction, INVALIDATED lifecycle restore - AI pipeline: stale-epoch staging abort, documentId health routing, pending-survivor timeouts + restart settlement, validator hardening, planner failure taxonomy, stampede guards - Page-side resilience: max-wait debounces, re-hide watch caps, WeakSet shimming (zero DOM fingerprint), per-rule early-runtime isolation - Hostile/stress e2e program (H4), AI/privacy executable proofs (H5), real-world audit harness (H6): 68 sites ON/OFF, zero breakage Product surface: - Popup: pixel-faithful dark design with per-site pause/resume control - Pause control: durable DNR allowAllRequests band (5,010,000+), suffix matching, single-writer sync, tab reload, content + engine + orchestrator stand-down, MAIN-world broker disarm via transient postMessage - BYOK AI planner: OpenAI-compatible, Azure, Anthropic, and relay transports; legacy config inference; presets for OpenAI/OpenRouter/Groq/ xAI/LM Studio/Azure/Anthropic; live connection test through the production PolicyValidator - Options page: full settings surface in the popup's design language - Icons: full set + luminance-mask brand mark Packaging + release: - npm run pack: ADAPT_SKIP_BAKED_AI build + leak guard (no baked endpoint/ token/config) + completeness guard + release zip - npm run verify:packaged: clean-profile proof of the packed artifact (SW boot, static plane blocks, no baked AI, popup + options render) - store/: privacy policy, listing copy, permission justifications, real-Chrome screenshots - CI: release-gate job (pack + verify:packaged on every push) - Repo hygiene: Azure account refs scrubbed to env vars (scripts/azure-env.ts), GPLv3 license, README with install + BYOK setup + verification story Verification: typecheck clean, 365 unit, 90 e2e (real Chromium), packaged artifact 5/5, live autonomy 96/96, realworld audit PASS.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
set-constantbridge, reproducible build manifests, integrity checks, and the synthetic adversarial lab.Verification
ADAPT_PHASE31_OFFLINE=1 npm run verify:phase31bMachine evidence is recorded in
artifacts/phase31b/latest.json; engineering handoff is indocs/phase31b/HANDOFF.md.Release blockers
docs/phase31b/LICENSE_REVIEW.mdrecords the GPL-3.0-only AdGuard build-toolchain review; proprietary distribution requires owner consent, replacement, or compatible licensing.Merge recommendation: NO for proprietary release until those external decisions are resolved. Do not merge
mainfrom this branch.