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
2 changes: 2 additions & 0 deletions .github/workflows/frontstage-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- ".github/workflows/frontstage-pages.yml"
- "README.md"
- "README.zh-CN.md"
- "README.ja.md"
- "apps/presentation/dashboard/**"
- "scripts/chat_bundle.py"
- "scripts/chat_bundle_launcher.mjs"
Expand Down Expand Up @@ -56,6 +57,7 @@ on:
- ".github/workflows/frontstage-pages.yml"
- "README.md"
- "README.zh-CN.md"
- "README.ja.md"
- "apps/presentation/dashboard/**"
- "scripts/chat_bundle.py"
- "scripts/chat_bundle_launcher.mjs"
Expand Down
978 changes: 978 additions & 0 deletions README.ja.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ progress, decisions and verifiable results so work can continue across sessions.

[![Local-first state](https://img.shields.io/badge/local--first-state-brightgreen.svg)](docs/public-private-boundary.md) [![Loop Agents](https://img.shields.io/badge/status-loop%20agents%20supported-brightgreen.svg)](docs/product/release-readiness.md) [![GitHub contributors](https://img.shields.io/github/contributors-anon/loopx-project/loopx?color=blue)](https://github.com/loopx-project/loopx/graphs/contributors) [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/XmGgQyCFZd) [![Listed on dsh-plugin.org](https://dsh-plugin.org/badges/listed.svg)](https://dsh-plugin.org/plugins/loopx-project/loopx)

[Get started](#quick-start) · [Why LoopX](#why-loopx) · [24/7 Always-On](#always-on-agents) · [See it in action](#see-loopx-in-action) · [Evidence](#evidence) · [Contribute](#contributing) · [Docs](https://loopx-project.github.io/loopx/docs/) · [简体中文](README.zh-CN.md)
[Get started](#quick-start) · [Why LoopX](#why-loopx) · [24/7 Always-On](#always-on-agents) · [See it in action](#see-loopx-in-action) · [Evidence](#evidence) · [Contribute](#contributing) · [Docs](https://loopx-project.github.io/loopx/docs/) · [简体中文](README.zh-CN.md) · [日本語](README.ja.md)

</div>

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

[![Local first](https://img.shields.io/badge/control--plane-local--first-brightgreen.svg)](docs/public-private-boundary.md) [![Loop Agents](https://img.shields.io/badge/status-loop%20agents%20supported-brightgreen.svg)](docs/product/release-readiness.md) [![GitHub contributors](https://img.shields.io/github/contributors-anon/loopx-project/loopx?color=blue)](https://github.com/loopx-project/loopx/graphs/contributors) [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/XmGgQyCFZd) [![Listed on dsh-plugin.org](https://dsh-plugin.org/badges/listed.svg)](https://dsh-plugin.org/plugins/loopx-project/loopx)

[快速上手](#快速开始) · [为什么需要 LoopX](#为什么需要-loopx) · [7×24 常驻架构](#always-on-agents) · [看看实际使用](#看看-loopx-如何工作) · [证据与案例](#证据) · [参与贡献](#贡献) · [文档](https://loopx-project.github.io/loopx/docs/) · [English](README.md)
[快速上手](#快速开始) · [为什么需要 LoopX](#为什么需要-loopx) · [7×24 常驻架构](#always-on-agents) · [看看实际使用](#看看-loopx-如何工作) · [证据与案例](#证据) · [参与贡献](#贡献) · [文档](https://loopx-project.github.io/loopx/docs/) · [English](README.md) · [日本語](README.ja.md)

</div>

Expand Down
1 change: 1 addition & 0 deletions examples/readme-star-history-smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def main() -> int:
readme_sections = {
ROOT / "README.md": ("## Current Status", "## Star History", "## License"),
ROOT / "README.zh-CN.md": ("## 当前状态", "## Star 趋势", "## License"),
ROOT / "README.ja.md": ("## 現在のステータス", "## Star の推移", "## ライセンス"),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P2] 把日文 README 接入已有的 Star History 检查触发。 这个提交扩展了 Star History smoke 的语言列表,但 Frontstage Pages 的 pull_request 和 main push 路径都只列出原有两种根 README。用单文件改动比对实际 workflow 路径与 CI classifier,日文单独更新会走 full backend/Python 计划,同时跳过专门执行 README Star History smoke 的 Frontstage 工作流。 把 README.ja.md 接入该工作流现有的 pull_request 与 push 路径,再用三个 README-only 输入核对文档分类。

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 6b9b585.

  • .github/workflows/frontstage-pages.yml: added README.ja.md next to README.zh-CN.md in both the pull_request and the push path lists.
  • scripts/ci/impact_plan.py: added README.ja.md to ROOT_DOCS, so a Japanese-only edit is classified as docs instead of full.
  • scripts/ci/test_impact_plan.py: new test_root_readme_locales_are_documents checks the three README-only inputs (README.md, README.zh-CN.md, README.ja.md; A/M/D each, and all three together) and expects docs. With the ROOT_DOCS change reverted, it fails on README.ja.md; with it, test_impact_plan.py passes (6 passed, 29 subtests).

This PR itself still runs full qualification because it touches scripts/ci/impact_plan.py, a policy path.

}
for readme, sections in readme_sections.items():
text = readme.read_text(encoding="utf-8")
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/impact_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import subprocess

SCHEMA = "loopx_ci_job_plan_v1"
ROOT_DOCS = {"README.md", "README.zh-CN.md", "CHANGELOG.md", "CONTRIBUTING.md"}
ROOT_DOCS = {"README.md", "README.zh-CN.md", "README.ja.md", "CHANGELOG.md", "CONTRIBUTING.md"}
POLICY_PATHS = ("scripts/ci/impact_plan.py", "scripts/ci/review_gate.py", ".github/workflows/python-tests.yml")
OUTPUTS = ("core_tests", "backend_tests", "python_tests", "stage2c_tests", "presentation_tests")
PRESENTATION_ROOTS = ("apps/presentation/dashboard/src/", "apps/presentation/dashboard/public/", "loopx/web/chat/")
Expand Down
8 changes: 8 additions & 0 deletions scripts/ci/test_impact_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ def test_presentation_and_docs_union(self):
"apps/presentation/dashboard/public/icon.svg"):
self.assertEqual(candidate([Change(status, path), Change("M", "docs/design.md")])[0], "presentation")

def test_root_readme_locales_are_documents(self):
readmes = ("README.md", "README.zh-CN.md", "README.ja.md")
for path in readmes:
for status in ("A", "M", "D"):
with self.subTest(path=path, status=status):
self.assertEqual(candidate([Change(status, path)])[0], "docs")
self.assertEqual(candidate([Change("M", path) for path in readmes])[0], "docs")

def test_one_shared_unknown_prompt_test_or_dependency_forces_full(self):
for path in ("loopx/cli.py", "loopx/control_plane/goals/vision_checkpoint.ts",
"loopx/claude_goal_mode/commands/loopx.md", "tests/test_ui.py",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_readme_presentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def handle_endtag(self, tag: str) -> None:
self.link = None


@pytest.mark.parametrize("readme", ["README.md", "README.zh-CN.md"])
@pytest.mark.parametrize("readme", ["README.md", "README.zh-CN.md", "README.ja.md"])
def test_trending_achievement_is_linked_once_in_readme_hero(readme: str) -> None:
text = (REPO_ROOT / readme).read_text(encoding="utf-8")
document = LinkedImages()
Expand Down
Loading