Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/full-public-smokes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ jobs:
- shard: 0
offset: 0
- shard: 1
offset: 110
offset: 80
- shard: 2
offset: 220
offset: 160
- shard: 3
offset: 330
offset: 240
- shard: 4
offset: 440
offset: 320
env:
SHARD_LIMIT: "110"
SHARD_LIMIT: "80"
SMOKE_TIMEOUT_SECONDS: ${{ github.event_name == 'workflow_dispatch' && inputs.timeout_seconds || '360' }}
SMOKE_JOBS: "4"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
python-version: "3.11"
- uses: actions/setup-node@v6
with:
node-version: "26.0.0"
node-version: "24"
- uses: astral-sh/setup-uv@v7
- name: Prepare source validation environment
run: uv sync --extra test
Expand Down
2 changes: 1 addition & 1 deletion README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ LoopX は、次のようなものを実行するときに役立ちます:
- 進捗がエンジニアではないオペレーターにも理解できる状態でなければならない、
クリエイター、研究、運用のワークフロー

危険な権限、
LoopX は自律的な本番コントローラーではありません。危険な権限、
公開、本番環境への書き込み、最終的なオーナーシップは人間に残ります。

</details>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ LoopX is useful when you run:
- creator, research, or operations workflows whose progress must remain
legible to a non-engineering operator.

Dangerous permissions,
LoopX is not an autonomous production controller. Dangerous permissions,
publishing, production writes, and final ownership stay with the human.

</details>
Expand Down
4 changes: 2 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ LoopX 适合:
- 需要 ownership、lease 和 handoff 的平级 agent team;
- 需要把进展、阻塞和反馈入口清晰呈现给非技术用户的创作、研究或运营工作。

危险权限、生产写入、公开发布和最终 ownership
LoopX 不是生产自动化控制器。危险权限、生产写入、公开发布和最终 ownership
仍由人类负责。

</details>
Expand Down Expand Up @@ -351,7 +351,7 @@ loopx doctor
Benchmark 之外,LoopX 也有可检查的长程项目证据。
OpenViking 的公开贡献序列跨越
**200+ 小时自然时长**,保留多轮 Todo、决策和证据更新。这里衡量的是项目经过的
wall-clock 时间。点击原图查看
wall-clock 时间,不是连续模型执行时长或无人值守的生产自治。点击原图查看
公开安全的任务图、证据分支和跨轮决策;案例说明了来源与可复现边界。

### 开源 Issue Fix
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture/rfcs/STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ appendix may keep dated history, but no dated log heading may precede it.
| [LoopX Overall Roadmap v0: Product, Collaboration, Technology and Delivery](loopx-overall-roadmap-v0.md) | Accepted | none | [4 entries](ledger/loopx-overall-roadmap-v0/) |
| [Manager runtime profile v0](manager-runtime-profile-v0.md) | Accepted | none | — |
| [RFC: Mechanism Convergence and the Experience Reuse Loop (v0)](mechanism-convergence-and-learning-loop-v0.md) | Accepted | none | — |
| [RFC: Monorepo Distribution and Small-Kernel Runtime Composition (v0)](monorepo-distribution-split-v0.md) | Accepted | none | — |
| [RFC: Monorepo Distribution and Small-Kernel Runtime Composition (v0)](monorepo-distribution-split-v0.md) | Accepted | none | [1 entry](ledger/monorepo-distribution-split-v0/) |
| [RFC: Obelisk Session Evidence Provider v0](obelisk-session-evidence-provider-v0.md) | Accepted | none | — |
| [RFC: Agent Judgment and Optional Independent Assessment — Jev as a Candidate (v0)](optional-semantic-assistance-jev-v0.md) | Accepted | none | — |
| [RFC: Post-Outcome Memory Utility Attribution v0](post-outcome-memory-utility-attribution-v0.md) | Accepted | none | — |
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture/rfcs/STATUS.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
| [LoopX 整体路线总纲 v0:产品、协作、技术与交付](loopx-overall-roadmap-v0.zh-CN.md) | 已接受 | 无 | [4 条](ledger/loopx-overall-roadmap-v0/) |
| [Manager runtime profile v0 / 管家运行模式 v0](manager-runtime-profile-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:机制收敛与经验复用闭环(v0)](mechanism-convergence-and-learning-loop-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:Monorepo 发行拆分与小内核运行时装配(v0)](monorepo-distribution-split-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:Monorepo 发行拆分与小内核运行时装配(v0)](monorepo-distribution-split-v0.zh-CN.md) | 已接受 | 无 | [1 条](ledger/monorepo-distribution-split-v0/) |
| [RFC:Obelisk Session Evidence Provider v0](obelisk-session-evidence-provider-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:Agent 判断与可选独立评估——以 Jev 为候选方案(v0)](optional-semantic-assistance-jev-v0.zh-CN.md) | 已接受 | 无 | — |
| [RFC:结果后记忆效用归因 v0](post-outcome-memory-utility-attribution-v0.zh-CN.md) | 已接受 | 无 | — |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Core discovery checkpoint — 2026-11-19

Moved without content change from [monorepo-distribution-split-v0.md](../../monorepo-distribution-split-v0.md) (former section "Core discovery checkpoint — 2026-11-19") on 2026-11-21; RFC baseline `dcf208c855`. Checkpoint records live in this execution ledger (extending Appendix A), not in the RFC body.

| Boundary | Delivered delta / evidence | Still open |
| --- | --- | --- |
| V1/V3, capability discovery | Benchmark package exports resolve their selected existing owner on demand, retaining all 199 public symbols and their order; explicit star imports still request all. Help/list/detail succeed with benchmark execution implementations unavailable, no Node, process launch, network or state writes. | Does not remove benchmark files from the wheel or qualify absent-capability installation. |
| Metadata and active consumers | The same catalog and all 25 details are byte-identical to the frozen `main@e235cde9c` workload; 53 CLI help/list/detail/unknown-id observations match. Discovery loads 2 benchmark children instead of 28, and 298 LoopX modules instead of 326. Existing benchmark semantics and canonical export identities remain unchanged. | Import counts are not latency, total cost, model benefit or full D2/D5 closure. |
| Acceptance and continuation | 52 installed-core discovery/execution/context/recovery cases pass on the rebuilt artifact; 383 selected consumer cases and 43 architecture/documentation cases pass separately. No new state owner, provider id, activation toggle or top-level module. | Keep R1/M3 and V1–V5/V10 open; continue capability package isolation and selected Standard delivery. Public-channel C1 qualification remains with its release owner. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Core 发现入口检查点 — 2026-11-19

于 2026-11-21 从 [monorepo-distribution-split-v0.zh-CN.md](../../monorepo-distribution-split-v0.zh-CN.md)(原小节“Core 发现入口检查点 — 2026-11-19”)原文移入,内容未改;RFC 基线 `dcf208c855`。检查点记录放在本执行台账(延续附录 A),不放在 RFC 正文。

| 边界 | 交付增量/证据 | 仍未完成 |
| --- | --- | --- |
| V1/V3,能力发现 | Benchmark 包公开符号按需解析到所选既有 owner,保留全部 199 个符号及顺序;显式星号导入仍请求全部。执行实现不可用且无 Node 时,帮助/列表/详情仍可用,无进程启动、网络或状态写入。 | 未从 wheel 删除 benchmark 文件,也不验收 capability 分包缺席安装。 |
| 元数据与活跃调用方 | 同冻结 `main@e235cde9c` workload 的目录和全部 25 项详情逐字节一致;53 项 CLI 帮助/列表/详情/未知 id 观察一致。发现入口的 benchmark 子模块从 28 降到 2,LoopX 模块从 326 降到 298。保留 benchmark 语义及公开符号的 canonical 对象身份。 | Import 数量不代表时延、完整成本、模型收益或完整 D2/D5 闭包。 |
| 验收与继续方向 | 重建发行物通过 52 项安装 core 发现/执行/上下文/恢复用例;383 项所选消费方与 43 项架构/文档用例分别通过。没有新增状态 owner、provider id、启用开关或顶层模块。 | R1/M3 与 V1–V5/V10 继续开放;下一步仍是 capability 分包隔离与所选 Standard 交付。公开渠道 C1 资格仍归既有 release owner。 |
8 changes: 1 addition & 7 deletions docs/architecture/rfcs/monorepo-distribution-split-v0.md
Original file line number Diff line number Diff line change
Expand Up @@ -660,13 +660,7 @@ moves; it does not qualify the kernel. R3/R4 are optional and do not block a
qualified CLI or managed task. No unused provider, field or framework is added
ahead of its real caller. Report the applied/deferred adjacent refactor in each PR.

### Core discovery checkpoint — 2026-11-19

| Boundary | Delivered delta / evidence | Still open |
| --- | --- | --- |
| V1/V3, capability discovery | Benchmark package exports resolve their selected existing owner on demand, retaining all 199 public symbols and their order; explicit star imports still request all. Help/list/detail succeed with benchmark execution implementations unavailable, no Node, process launch, network or state writes. | Does not remove benchmark files from the wheel or qualify absent-capability installation. |
| Metadata and active consumers | The same catalog and all 25 details are byte-identical to the frozen `main@e235cde9c` workload; 53 CLI help/list/detail/unknown-id observations match. Discovery loads 2 benchmark children instead of 28, and 298 LoopX modules instead of 326. Existing benchmark semantics and canonical export identities remain unchanged. | Import counts are not latency, total cost, model benefit or full D2/D5 closure. |
| Acceptance and continuation | 52 installed-core discovery/execution/context/recovery cases pass on the rebuilt artifact; 383 selected consumer cases and 43 architecture/documentation cases pass separately. No new state owner, provider id, activation toggle or top-level module. | Keep R1/M3 and V1–V5/V10 open; continue capability package isolation and selected Standard delivery. Public-channel C1 qualification remains with its release owner. |
- Checkpoint moved to the execution ledger: [Core discovery checkpoint (2026-11-19)](ledger/monorepo-distribution-split-v0/2026-11-19-core-discovery-checkpoint.md).

<a id="subtraction-gate"></a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,13 +477,7 @@ M0–M5 保留原发行里程碑;R0–R4 是同一计划中的运行时和旅
R0 可以先于目录移动交付,但不代表内核合格。R3/R4 可选,不阻塞已合格的 CLI 或 managed 任务。
真实调用者出现前不增加闲置 provider、字段或框架。每个 PR 记录应用/推迟的相邻重构。

### Core 发现入口检查点 — 2026-11-19

| 边界 | 交付增量/证据 | 仍未完成 |
| --- | --- | --- |
| V1/V3,能力发现 | Benchmark 包公开符号按需解析到所选既有 owner,保留全部 199 个符号及顺序;显式星号导入仍请求全部。执行实现不可用且无 Node 时,帮助/列表/详情仍可用,无进程启动、网络或状态写入。 | 未从 wheel 删除 benchmark 文件,也不验收 capability 分包缺席安装。 |
| 元数据与活跃调用方 | 同冻结 `main@e235cde9c` workload 的目录和全部 25 项详情逐字节一致;53 项 CLI 帮助/列表/详情/未知 id 观察一致。发现入口的 benchmark 子模块从 28 降到 2,LoopX 模块从 326 降到 298。保留 benchmark 语义及公开符号的 canonical 对象身份。 | Import 数量不代表时延、完整成本、模型收益或完整 D2/D5 闭包。 |
| 验收与继续方向 | 重建发行物通过 52 项安装 core 发现/执行/上下文/恢复用例;383 项所选消费方与 43 项架构/文档用例分别通过。没有新增状态 owner、provider id、启用开关或顶层模块。 | R1/M3 与 V1–V5/V10 继续开放;下一步仍是 capability 分包隔离与所选 Standard 交付。公开渠道 C1 资格仍归既有 release owner。 |
- 检查点已移至执行台账:[Core 发现入口检查点(2026-11-19)](ledger/monorepo-distribution-split-v0/2026-11-19-core-discovery-checkpoint.zh-CN.md)。

<a id="subtraction-gate"></a>

Expand Down
8 changes: 7 additions & 1 deletion docs/concepts/interaction-pattern-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ main blocker or keeps following a stale local-only benchmark staging todo.
- a typed machine-configuration namespace is about to change; the built-in
namespaces are `change_quality_qualification`, `codex_chat`, `context_delivery`,
`explore_harness`, `goal_storage`, `manager_runtime`, `periodic_report`, `pull_request_review`,
`steward_executor`, and `todo_replan_cadence`. The public catalog returned by
`steward_executor`, `steward_memory`, and `todo_replan_cadence`. The public catalog returned by
`loopx machine-config describe` is authoritative, so this inventory has to stay
complete rather than approximate;
- `goal_storage` carries the storage target a newly created Goal is fixed to
Expand Down Expand Up @@ -1246,6 +1246,12 @@ main blocker or keeps following a stale local-only benchmark staging todo.
authority, and it precedes the Chat service environment rather than replacing
it, so a machine-local decision is editable in the Dashboard and readable from
`loopx machine-config inspect`;
- `steward_memory` carries the default-off isolated OpenViking memory setting
(`enabled`, `user_space`, `auto_recall`, and `recall_timeout_seconds` from `1`
to `15`) for verified owner private Steward conversations. It stores no
credentials (`OPENVIKING_*` stays in the Chat host environment and is scrubbed
from worker environments) and never leaks into group chats, project
conversations, or worker Agents;
- `loopx machine-config preview` returns a `plan_revision` for the exact
envelope, namespace patch, removal, or rollback that would be applied;
- a Goal-level override and a live machine default may both be in scope.
Expand Down
4 changes: 2 additions & 2 deletions examples/project/goal-vision-replan-contract-smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def main() -> int:
repair_patterns,
[
"vision_replan_writeback_gap",
"use the matching outcome",
"retain unaffected requirements",
"refine the matching outcome",
"Retain unaffected requirements",
"fresh guard required by changed acceptance",
"without replacing the admitted Turn or replaying effects",
],
Expand Down
10 changes: 1 addition & 9 deletions examples/public_entry/readme-demo-surface-smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def main() -> int:
for required in [
'<div align="center">',
"long-horizon goals",
"long-running agent teams",
"multi-agent teams",
"## Meet the Personal Agent Workspace",
"docs/assets/personal-workspace/research-workbench-hero.webp",
"docs/architecture/rfcs/capable-manager-semantic-handoff-v0.md",
Expand All @@ -48,10 +48,8 @@ def main() -> int:
"## Advanced Paths",
"200+ hours of elapsed loop lifetime",
"200+ hour public contribution arc",
"Redacted owner-run showcase",
"not continuous model execution or unattended production autonomy",
"docs/assets/long-running-loop-openviking-trajectory.png",
"docs/assets/long-running-loop-ml-experiment-trajectory.png",
"### Recurring Work Presets",
"### Review Agent Work",
"### App and Projection Paths",
Expand All @@ -76,7 +74,6 @@ def main() -> int:
"docs/assets/control-plane-board.zh.svg",
"200+ 小时自然时长",
"超过 200 小时的公开贡献轨迹",
"经过脱敏的 owner-run showcase",
"docs/assets/loopx-lark-developer-group.png",
"docs/assets/loopx-wechat-contact.png",
"微信:<code>huangrt00</code>",
Expand All @@ -103,13 +100,8 @@ def main() -> int:
assert root.find(f".//{svg_ns}script") is None, asset
assert '<source media="(max-width: 640px)"' in markdown

for required in [
"independent reproduction",
]:
assert required in compact_readme, required
for required in [
"不是连续模型执行时长或无人值守的生产自治",
"不代表连续算力执行、独立复现或生产结果",
]:
assert required.replace(" ", "") in compact_readme_zh, required

Expand Down
2 changes: 2 additions & 0 deletions loopx/bootstrap_command_pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -1365,6 +1365,8 @@ def _build_multi_goal_start_selection_packet(
"activation_state": "goal_selection_required",
"activation_allowed": False,
"activation_required_after_todo_write": False,
"host_surface": None,
"activation_method": None,
},
"available_slash_commands": slash_command_catalog,
"onboarding_hint": slash_command_catalog["onboarding"],
Expand Down
16 changes: 9 additions & 7 deletions loopx/capabilities/native_chat/github_pr_evidence.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import subprocess
from typing import Any, Callable, Mapping, Sequence

from ..issue_fix.repository_snapshot import _REPO_PATTERN as _REPO_SLUG_RE
from ..pr_review_queue.review_body import (
author_owned_review_title_matches,
check_review_body,
Expand All @@ -25,17 +26,16 @@
)
GITHUB_PR_VIEW_FIELDS = GITHUB_PR_LIST_FIELDS + ",state,mergedAt,mergeCommit"

_REPO_SLUG_RE = re.compile(r"^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$")
_GITHUB_URL_TARGET_RE = re.compile(
r"^https://github\.com/([A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+)/pull/([1-9][0-9]*)(?:[/?#].*)?$"
r"^https://github\.com/([^/]+/[^/]+)/pull/([1-9][0-9]*)(?:[/?#].*)?$"
)
_REPO_NUM_TARGET_RE = re.compile(
r"^(?:git:github\.com/)?([A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+)#([1-9][0-9]*)$"
r"^(?:git:github\.com/)?([^/#]+/[^/#]+)#([1-9][0-9]*)$"
)
_BARE_NUM_TARGET_RE = re.compile(r"^#?([1-9][0-9]*)$")
_REMOTE_GITHUB_RE = re.compile(
r"(?:^git:github\.com/|^git@github\.com:|^ssh://git@github\.com/|^https?://github\.com/)"
r"([A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+?)(?:\.git)?/?$"
r"([^/]+/[^/]+?)(?:\.git)?/?$"
)
_CHECK_FAIL_CONCLUSIONS = frozenset(
{"FAILURE", "TIMED_OUT", "CANCELLED", "ACTION_REQUIRED", "STARTUP_FAILURE"}
Expand All @@ -51,7 +51,9 @@ def normalize_github_repo_slug(value: Any) -> str | None:
if _REPO_SLUG_RE.fullmatch(raw):
return raw.removesuffix(".git")
match = _REMOTE_GITHUB_RE.match(raw)
return match.group(1) if match else None
if match and _REPO_SLUG_RE.fullmatch(match.group(1)):
return match.group(1)
return None


def parse_github_pr_target(
Expand All @@ -62,10 +64,10 @@ def parse_github_pr_target(
raise ValueError("protected merge target must be a string")
raw = target.strip()
url_match = _GITHUB_URL_TARGET_RE.fullmatch(raw)
if url_match:
if url_match and _REPO_SLUG_RE.fullmatch(url_match.group(1)):
return url_match.group(1), int(url_match.group(2))
repo_match = _REPO_NUM_TARGET_RE.fullmatch(raw)
if repo_match:
if repo_match and _REPO_SLUG_RE.fullmatch(repo_match.group(1)):
return repo_match.group(1), int(repo_match.group(2))
bare_match = _BARE_NUM_TARGET_RE.fullmatch(raw)
if bare_match and default_repository and _REPO_SLUG_RE.fullmatch(default_repository):
Expand Down
10 changes: 6 additions & 4 deletions loopx/capabilities/native_chat/steward_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import json
import logging
from pathlib import Path
import re
import subprocess
import time
from typing import Any
Expand All @@ -24,14 +23,14 @@
from ...control_plane.runtime.time import now_utc
from ...control_plane.goals.activation import goal_is_stopped
from ...file_lock import exclusive_file_lock
from ..issue_fix.repository_snapshot import _REPO_PATTERN
from .github_pr_evidence import observe_github_repository_prs
from .steward_commands import native_command
from .steward_managed_mode import StewardManagedMode

TARGET = "steward-portfolio-watch"
FOLLOWUP_TARGET_PREFIX = "steward-monitor-followup:"
_LOG = logging.getLogger(__name__)
_GITHUB_REPO_URL = re.compile(r"^git:github\.com/([A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+)$")


class StewardObservationAdapter:
Expand Down Expand Up @@ -71,8 +70,11 @@ def advancement_turn_id(todo: dict[str, Any]) -> str:
def _github_repo_slug(task_repository: Any) -> str | None:
if not isinstance(task_repository, str):
return None
match = _GITHUB_REPO_URL.fullmatch(task_repository.strip())
return match.group(1) if match else None
raw = task_repository.strip()
if not raw.startswith("git:github.com/"):
return None
slug = raw.removeprefix("git:github.com/")
return slug if _REPO_PATTERN.fullmatch(slug) else None


def _observe_github_repository_prs(repo_slug: str) -> dict[str, Any]:
Expand Down
Loading
Loading