Skip to content

[Task] Distill LoopX goal authority and quota decision boundaries #149

Closed

Description

@Dong1017

任务

将 loopx-project/loopx 的目标状态权威、下一步判定和预算记账边界蒸馏为可复用源码知识。

父 tracking:#91。相关工程提案:#137。本项交付知识,不实现 #137 的 checkpoint、控制器或执行能力。

flowchart LR
  S["固定版本源码与测试"] --> K["来源记录 + 决策边界 + 反例"]
  K --> E["现有 rsi-evidence owner"]
  E --> P["关联 optimization-search-policy"]
  E -.-> R["供 RFC #137 参考;不实现运行系统"]
Loading

有界 readset

以下路径均相对上述固定版本:

主题 入口 要回答的问题
事实 → 下一步 loopx/control_plane/quota/run_decision.ts、decision_summary.py TypeScript 判定与 Python 适配的边界;缺状态、能力/工作区阻塞、终止与恢复如何影响建议?
状态权威与投影视图 docs/architecture/rfcs/ledger/shared-goal-authority-state-provider-v0/2026-09-25-todo-event-retirement.md 及实际 authority/provider 调用者 哪些是权威状态,哪些只是 Markdown/索引投影?退役事件源如何拒绝而非静默回放?
记账与重放 loopx/control_plane/quota/spend_commit.ts 及直接 accounting 依赖 effect identity、request digest、preview、commit、repair/replay 的保证边界
反例与测试 tests/control_plane/test_quota_run_decision.py、test_quota_decision_summary.py、test_quota_spend_commit_runtime.py;tests/control_plane_ts/quota_run_decision.test.ts、quota_spend_commit.test.ts 等待/拒绝/恢复的输入;测试证明和未证明的内容

补齐必要直接调用者与测试即可,不扩为整个 LoopX、UI、provider 或 distributed lease 全量蒸馏。最终 ledger 写明实际读取文件及未覆盖部分。

产出位置与去重

先复核当前 main,优先增量到:

  • src/inferrsi/data/skill_library/workflows/rsi-evidence/references/loopx-goal-governance/:source ledger、机制说明、决策案例、适用边界。
  • 同一 rsi-evidence/SKILL.md 加薄入口,保留既有 verdict/RunSpec/授权边界。
  • methods/optimization-search-policy/ 只关联预算/停止决策知识,不复制第二份规范。
  • 更新受影响的 Reference/知识导航与 [Tracking] SearchSpace distillation coverage and knowledge consolidation #91;按现有流程校验包装/投影,不手改派生文件、不制造额外来源计数。

上述产出路径已由 #153 交付。若结构已变,先解释最小调整,不默认新建独立技能、registry 或服务。

验收清单

非目标与来源限制

不导入或运行 LoopX;不新建调度器、数据库、lease、自动重试/花费系统;不采集私有 agent 会话。vLLM #54951 的采用报告不是性能收益的因果证据。

当前 LICENSE 为 Apache-2.0;NOTICE 保留旧版本 MIT 历史与归属。改编保留适用通知,不将旧 MIT 标签套到当前源码;不作未经核实的企业归属声明。

Activity

  1. added
    area:knowledgeKnowledge line: packs, skill library, knowledge admission
    on Oct 25, 2026
  2. added
    kind:taskBounded delivery task with a delegated slice
    on Oct 26, 2026
  3. Dong1017 commented on Oct 28, 2026

    @Dong1017
    CollaboratorAuthor

    Accepted the bounded LoopX source-derived knowledge delivery. #153 is merged as 840e2d868f136c6583c88c2ad75bc4c7d74b88bc; #91 now links the integrated output rather than an open proposal.

    The fixed f094b2cfb2acde7a4a0d4d875bba52f64ac31ba9 readset, license/history notices, authority versus projections, missing-Goal/budget/capability cases, identity/replay/crash-window limits, Todo-event retirement and TypeScript/Python responsibility boundary are covered. Reader/package/navigation checks and the linked six-case evaluation plan satisfy this source-delivery scope; execution remains not_run/not_evaluated.

    Evidence: independent source/package review, Ready four jobs, canonical admission. No external exactly-once guarantee, supplier spending cap, runtime implementation or efficacy is accepted. #137 and #91 remain open.

    flowchart LR
     A[Pinned LoopX source] --> B[153 merged knowledge]
     B --> C[149 source-scope acceptance]
     C --> D[91 living coverage tracker]
    
    Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:knowledgeKnowledge line: packs, skill library, knowledge admissionkind:taskBounded delivery task with a delegated slice

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions