Repository navigation
Skip automatic usage observers for supported opt-outs - #8824
Conversation
Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com>
Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com>
There was a problem hiding this comment.
Reviewer: model_agent; GPT-6; OpenAI; self_reported (runtime attribution unavailable: session_not_bound)
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
使用既有环境开关关闭统计的 CLI 用户和运行 Goal 的 Host。 此前设置 LOOPX_USAGE_PING=off 后,真实 version 命令仍启动两个统计 Node 子进程,随后才由统计 owner 拒绝发送;现在相同命令启动零个统计子进程,完整业务 JSON、退出结果和临时状态不变。 在现有退出配置下,自动统计观察提前停止,避免无用的子进程、周期线程和 binding/native metadata 发现。 本 PR 不资格化整套最小内核、真实模型/context 采用、完整成本收益或 C1 默认切换。 剩余缺口是完整依赖闭包、普通/Core/Standard 治理矩阵、真实模型恢复和 context 连续性,以及原十项最终回归。
改动思路 / Approach
现有 TS owner 已拒绝这些环境值;Python 在 transport 调度前复用相同的负向 hint,可删除分散的旧判断,避免同步 Node 检查和第二个正向 policy owner。 当前 PR 的完整可用边界是既有环境 opt-out 下的自动 observer 隔离,覆盖 CLI、Host、quota、direct-cycle 和共享 detach;其余 R1/C1 验收继续由原任务承担。
CLI 的 begin/finish、Host 的 context、quota 的 detached cycle 仍使用原业务和统计链路。退出配置只让自动观察提前结束;允许路径继续由 TypeScript 检查 consent、notice、generation、锁和发送。共享 _detach 再挡住旧 ticket、verified return、直接调用及 Python child 的晚到观察,防止只修 CLI 开头而遗漏其他入口。直接 cycle 也在读 binding/native metadata 前拒绝。未增加 cache、registry、永久执行管线、公共开关或新的正向 Python decision owner。
| 既有环境值 | 原 TS 语义 | 此提交的提前行为 |
|---|---|---|
LOOPX_USAGE_PING=off / DO_NOT_TRACK=yes / CI=1 |
拒绝观察发送 | selected version 每项由两个真实 Node child 变为零个 |
LOOPX_USAGE_PING=yes / CI=false |
可通过环境 hint,仍须原 policy | 保留允许路径完整 observation requests |
DO_NOT_TRACK=false |
仍拒绝 | 不误当成 CI 的 false;FEFF/U+0085 按 ECMAScript trim |
具体改动 / Changes
本次完整评审绑定 9a46425bd620a5e479f174c360a5ac1a45c773b8,基线 4b5bf09cdf97b93e2d96eb1144df2a83212f4ade。依据已接受的 docs/architecture/rfcs/monorepo-distribution-split-v0.md,采用 PR 修改前的规范文本。I2 保留同一 owner;I7 本次完成既有 opt-out observer 部分,完整闭包继续 deferred;V1 全 corpus 和 V3 普通/Core/Standard 全 corpus 继续 deferred;I9 保留测量来源、失败和边界。双语 checkpoint 不改写原规范、预算或早先失败,安装资格只覆盖实测组合。
关键代码讲解
_environment_suppressed使用现有变量各自的 trim/case 集合,返回负向 boolean;passing hint 不授予发送或执行权限。新增回归实际调用原 TSblockedBy对照 54 行环境,覆盖合法值、混合值与 Unicode 差异。begin在 state/control/disclosure 和 child 之前提前返回 None;cli_runtime.main仍执行原 command,并用原 finish。验证选用真实 selectedversion路径;--version快路未进入 begin/finish,不能用它证明隔离。_detach在 path pinning 和 Popen 前重复负向检查,保护 late ticket、verified return、直接观察及 Python child。允许请求仍保留原完整 argv、路径、payload 和 transport。observe_goal_execution提前 yield 业务 context,避开 Thread 和 checkpoint 初始化;业务错误保留同一个 exception 对象,不能被 optional observer 的异常处理吞掉。observe_quota_cycle与_dispatch_cycle在可选 state/binding/native 查询前跳过;不改 quota 已决定的 admission、writeback 或 spend。
最终 paired checkpoint commit 只更新两份 RFC,四个 production/test 文件与已测 d8c5f55bb268f4e210db25c3a0cb5d47a857644b 字节一致。实际 C1 对照由该源码与 #8266 当前 1a3740cf9e6ebad337f17967452693a9050edc81 合并得到;不能拿旧裸 C1 fixture 代替实际组合。
对主干的风险 / Risks
没有发现阻断项。最强反例是测试只走 --version 或使用 disabled/missing state,于是作者测试通过却仍漏掉真实自动 child。本次保留 enabled consent/notice/generation,调用原 selected version、原 Popen 和真实 Node/TS;仅把丢弃的 child stdout/stderr 改成 PIPE,并选择 disposable state。旧基线每项两个 child 均正常 rc0/blocked,候选零个;完整业务 JSON、rc 和 state bytes 不变。没有强杀 child,也没有模拟发送拒绝结果。
PASS:107 个 Python usage/Goal/临时环境测试、55 个 TS owner 测试;八个允许环境保留 48 个完整 observation requests 和原 Host error。payload 对照在本地捕获 dispatch,与真实 Node transport 证据分开。两个全新 non-editable only-Core 安装分别覆盖候选和实际 current-C1,各通过三个原真实 CLI opt-out、22 个 metadata 场景、三个真实 File/SQLite Core correctness 场景,保留每组 31 份 raw CLI records。冷 metadata 范围是每组一个 fresh process 内 20 个 ID。Root 独立回读全部 56 份封存 artifact 和 1902/1903 个 Git/wheel/installed/RECORD payload;来源绑定不被当作执行真实性或 Goal 验收。
另外独立执行旧 main Core 与旧实际 C1 Core 的同一原 probe:各三个 flag 总计 12 个真实 child 变为零个;旧 outer rc1 仅为末尾 no-child oracle 的预期失败,所有 child 正常 rc0/blocked。Root 逐组核对完整 business stdout、business rc0、最终 state bytes 以及旧 installed payload/RECORD,均保持不变。
PASS:最终 unchanged head 的 premerge 编译、diff、双语、public boundary 和选定 repository smokes。此前工作树 premerge 因缺少 TypeScript npm dev dependency 失败已保留;在同一专用树正常安装依赖后通过,不降低门。remote CI 独立于代码评审和 merge readiness;其未知/红/待完成状态不被标记成已证明的 pre-existing。后续 TS 环境规则变更须继续跑真实 owner parity。回滚可整体 revert,未改变 persisted state/schema、既有 decoder 或 authority。
当前 exact head 的 remote CI 中 chat-bundle-browser (1) 与 dashboard-browser (1) 已失败,其他多项仍在运行/等待;原因暂保留 unresolved,不能伪称已证明 pre-existing。没有前端呈现 diff,CI 的既有 LOOPX_USAGE_PING=0 在 base/head 均提前拒绝 observer;上述独立本地证据覆盖本次改动的不变量。CI 仍由单独 readiness 记录,发现实际 PR regression 则阻断。
语义与 CI 对齐
复用现有 external-input 词汇;没有 substring/prose state 分类、共享 Enum、泛化 obligation 或新的 actor authority。Python boolean 只用于拒绝 optional scheduling。业务和 TS policy 的完整允许路径保持,提前拒绝差异有原 TS 与 real CLI 反例支持;原 normative RFC prefix、frozen budgets 和未完成 acceptance 保留。
我的整体评价 / Verdict
这是 justified_increment:long_horizon 的业务执行、持久结果和后续 continuation 保持;user_experience 改善了既有 opt-out 的实际启动行为,新增配置/确认轮数为零。仅 CLI/Host 自动观察和 RFC 证据 checkpoint 改变;已检查 usage-statistics-settings.tsx、notice 与 TS control owner,没有渲染呈现变更。 完整 Settings 旅程及真实模型采用未在本 PR 资格化。
完整 diff 与问题相称,最有价值的同域简化已用于删除分散旧检查并复用 shared detach。兼容路径、notice、consent、generation、payload 和错误仍由原 owner 持有。原十项正式验收、完整 R1/M3、natural drain、完整成本与 C1 default cutover 均未完成。本 exact head 的代码结论为 APPROVE;发表使用 COMMENTED self-review fallback,merge authority/readiness/线程检查另行执行,未把它伪称 GitHub formal approval。
最新 readiness 读回为 ready=false:43 项当前 CI,25 success、4 failure、14 pending;失败为 browser (1/3)、chat-bundle-browser (1)、typescript-core (2/3)、dashboard-browser (1)。workflow 尚未完成,失败日志暂不可取,原因保持 unresolved。PR head 未变且 MERGEABLE,完整 review threads 为 0,当前 COMMENTED APPROVE 有效;阻断原因只包含 status checks。已有 maintainer 授权允许 CI/GitHub policy-only admin bypass,必要本地验证、完整评审和线程门均已通过,不能把这条路径称为 ready=true 或 CI 通过。
English verdict: APPROVE for the exact reviewed head. Existing environment opt-outs now prevent automatic observer work; the real CLI, allowed payload/error parity and installed Core/current-C1 scope are validated. Full R1/C1, actual-model/context and complete-cost acceptance remain open; CI and merge readiness are separate gates.
…000 commits (#8759) * Deliver verified images in private Lark answers Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Keep image retries behind new private Lark replies Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recover missing images from one verified private Lark reply Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Use one wall clock for private Lark image retries Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recheck the original Lark reply before historical image writes Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Verify private Lark image sources before every redirect Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * feat(coordination): add postgresql authority checkpoints and local-to-pg-seed exporter - Add authority_checkpoints table DDL and tenant-scoped RLS policies. - Store incremental delta in authority_commits and bounded checkpoints every 64 commits and on genesis cursor 1, resolving table bloat and the 20,000 commit recovery ceiling. - Implement scanCommitted bounded delta replay from covering checkpoint via AuthorityStateReplay. - Add setupPostgreSqlAuthoritySchemaAndRole for explicit schema installation and least-privilege restricted role assembly. - Add exportLocalToPgGenesisSeed with sanitization (expired leases, local absolute paths, .local/ references, Feishu IDs, private materials) and fail-closed privacy boundary scan. - Add loopx postgres setup and loopx postgres local-to-pg-seed CLI commands. - Add test suites for checkpoints, sanitization, role assembly, and CLI invocation. Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recheck the historical Lark reply before each media write Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Retry Lark image uploads after an explicit App scope rejection Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Honor original Lark stop and closure before deferred images Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recheck private answer control after Lark source read Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Read the current Core session after delayed image controls Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Fence private answer media dispatch with original controls Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Keep Lark media checks with private delivery Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recheck Lark image sources after recording upload intent Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Read both original Feishu messages together before media upload Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Verify Feishu sources at the guarded image dispatch Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Preserve pre-dispatch Feishu source and session validation Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recover and verify PostgreSQL checkpoint history with append-only privileges Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Verify backup history to its captured cursor beyond 20000 commits Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Generate explicitly synthetic secret fixtures at test time Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recover private image uploads when the Lark CLI cannot start Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * fix(chat): preserve the first Goal's registered conversation (#8798) * fix(chat): preserve the first Goal's registered conversation Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * test(chat): keep original Goal adoption compatible with Python 3.11 Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> --------- Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Avoid rereading delivered Lark settings records and empty queues Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recover private Lark images after a CLI descriptor limit Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Enable existing checks and the original authorized Task in managed Chat Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Reuse the canonical boundary projection and narrow Task JSON types Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Keep confirmed Goal creation attached to its original Task (#8805) Reuse the existing C1 source observation guard Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Assert the lease source probe returned an observation (#8796) (cherry picked from commit 2c099be) Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recover an owed replan debit before the next host Turn (#8794) * Recover an owed replan debit before the next host Turn Consider the original Todo binding when an admitted replan has verified writeback. Require the exact spend receipt before another guard grants delivery, even if the Todo lifecycle has changed. Keep explicit selection on the same recovery path and let the existing settlement owner replay the original debit. Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Preserve ordinary completed-Todo successor admission Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Replay one validated Turn debit across concurrent observations Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Validate original Turn spend terms before debit and replay Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --------- Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Keep conversation history rendering off the typing path (#8781) Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * feat(coordination): complete remote task lifecycle and opt-in gateway access (#8747) (#8765) * feat(coordination): add complete remote task lifecycle and opt-in gateway access (#8747) Align with PR #8747 (multi-loopx-agent-cloud-collaboration-v0) and remote-authority-task-service-v0 (#8508): 1. Extend RemoteAuthorityService with full remote task settlement: - Add 'complete', 'block', 'defer', 'todo_add', and 'snapshot' operations. - Enforce hard-lease fencing and claim-request ownership checks. - Settle completion receipts and deterministic cross-machine snapshot digests. - Maintain default-deny Tenant/Goal/Actor authorization and incarnation pinning. 2. Introduce controlled remote authority gateway in Python control plane: - Default-disabled access: local private Goals never connect to remote authority or leak local credentials. - Opt-in gateway metadata projection for explicitly configured goals and the 'loopx-quality-review' canary. - Fail-closed should-run health check when remote authority is unconfigured or unreachable. 3. Conformance and unit test coverage across TypeScript and Python suites. Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * test(coordination): assert subprocess readback before decoding Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * fix(coordination): qualify explicit remote task reads and lifecycle receipts Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * fix(coordination): preserve existing successors on remote completion Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * test(remote-authority): prove ordinary admission stays local Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --------- Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * test(chat): preserve create-only intent in workspace selection smoke Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Defer material inventory during configuration discovery (#8807) Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Defer report providers during Turn reads Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * test(core): require installed provenance before qualification Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Reuse the final source check for staged Turn requests (#8820) Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Defer PR wait provider loading until permission is checked (#8821) Load the optional PR reconciler only after the invocation-time observation permission check, inside the existing provider failure boundary. Preserve original permission, cadence, result and unknown-effect owners, and document the bounded default-closure and timing-window change. Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Load provider options only for the selected capability editor (#8822) Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * docs: describe README session continuity directly (#8823) * Skip automatic usage observers for supported opt-outs (#8824) * Skip automatic usage observers for supported opt-outs Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Record installed Core and C1 observer qualification Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> --------- Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * docs(blog): add EdgeBench controlled Context ON vs OFF 10-task score comparison (#8760) * docs(blog): add EdgeBench controlled Context ON vs OFF 10-task score comparison Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * docs(blog): use declarative mechanism-led opening in zh context-delivery score section Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --------- Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * fix(heartbeat): preserve proven waits before their due time (#8825) Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Fix manager discovery in ordinary installs (#8830) * Package the manager discovery projection Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * Record selected manager discovery distribution qualification Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> --------- Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> * test(workspace): verify confirmed Goal creation against the current contract (#8816) Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Fix Windows CLI output probe reader invocation (#8817) Port the probe fixture and native Windows regression coverage from e6eb92d and 8d200aa. Decode the generated PowerShell literals into argv before launching the pinned reader. Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * refactor(issue_fix): fold reviewer source trust/freshness vocabularies into one owner (#8826) reviewer_recommendation.py restated the trust and freshness sets that repository_context.py already owns. Import both as aliases of the owner objects so the decision has a single source, and add an architecture guard that pins single ownership by value, by identity, and by wiring through both public builders. REVIEWER_SOURCE_KINDS stays local (deliberately narrower). Signed-off-by: psychologister <230141834+psychologister@users.noreply.github.com> Co-authored-by: psychologister <230141834+psychologister@users.noreply.github.com> * fix(scheduler): reject superseded heartbeat receipts on the Python follow-up route (#8708) * fix(scheduler): reject superseded heartbeat receipts on the Python follow-up route The Python compatibility route for scheduler-ack-current/scheduler-fail-current checked only that the receipt for --turn-instance-id exists; a receipt already superseded by a newer heartbeat Turn still committed scheduler state, while the native TypeScript transaction rejects it as heartbeat_receipt_stale. Thread the Turn from build_scheduler_followup_payload through record_quota_scheduler_ack / record_quota_scheduler_ack_for_decision / record_quota_scheduler_failure_for_decision into _run_native_followup, which now sends turn_instance_id with require_heartbeat_receipt=true. The TypeScript transaction remains the single owner of the missing/stale/superseded fence (it also rechecks under the scheduler state lock); optional parameters keep the in-process API, which has no Turn, unchanged. Fixes #8605 Signed-off-by: Lihua <1017343802@qq.com> * Keep scheduler follow-up hint reads out of legacy migration Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --------- Signed-off-by: Lihua <1017343802@qq.com> Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> Co-authored-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Resume the original quota settlement after lifecycle writeback (#8728) * fix(replan): resume settlement after lifecycle review writeback Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Recover committed replan settlement before rebuilding its review Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --------- Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * fix(antigravity): keep the project registry in generated wakes (#8768) Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * fix(chat): keep workspace checker reads portable (#8814) Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Reject external Turn retries when the captured work changes (#8828) * Recheck captured work before launching an external Turn host Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Keep complete-source metadata assembly outside Turn planning Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --------- Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Preserve PostgreSQL runtime access and recover seed output retries Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> * Validate recovery cursor metadata without a fixed history ceiling Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --------- Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com> Signed-off-by: psychologister <230141834+psychologister@users.noreply.github.com> Signed-off-by: Lihua <1017343802@qq.com> Co-authored-by: Lusen Dong <lusendong.6789@bytedance.com> Co-authored-by: TRAE CLI <traecli@bytedance.com> Co-authored-by: Lusen Dong <cicomaple@gmail.com> Co-authored-by: psychologister <st040325@gmail.com> Co-authored-by: psychologister <230141834+psychologister@users.noreply.github.com> Co-authored-by: Lihua <1017343802@qq.com>
Reading version information or running a Goal with an existing usage opt-out could still start an automatic statistics observer. Python recognized only three exact values, while the TypeScript owner already supported values such as
LOOPX_USAGE_PING=off,DO_NOT_TRACK=yesandCI=1. The observer could discover bindings or native metadata before TypeScript rejected sending.Reuse one negative-only environment hint at the existing CLI, Host, quota, direct-cycle and detach boundaries. It preserves each variable's existing trim/case semantics, including
LOOPX_USAGE_PING=yesandCI=falsepassing the hint andDO_NOT_TRACK=falseremaining blocked. TypeScript retains consent, notice, generation, state, payload and sending decisions; this adds no execution authority or public option.This delivers the automatic-observer portion of the minimal-kernel RFC's I7/V1/V3 boundary. See the accepted distribution RFC and the paired English checkpoint / 中文 checkpoint.
Validation:
The completed implementation is ready for exact-head review. The tested installed-Core/current-C1 isolation is qualified. The final paired RFC checkpoint adds only the new evidence; all four product/test files retain the qualified source bytes. Final premerge and merge readiness remain pending. This does not qualify complete process/network closure, natural descendant drain, measured overhead or total-cost benefit, actual-model/context adoption, complete D2/D5, R1/M3 or default cutover.