Repository navigation
docs(readme): slim down to a scenario-led landing page - #323
Merged
Merged
Conversation
Cut README.md/README.zh.md from ~345 to ~200 lines. The old READMEs repeated the SubOS / agent-in-sandbox pitch 3-4 times and duplicated content that already lives in docs/. - Lead with three real, code-verified usage scenarios (multi-version toolchains, reproducible project env via .xlings.json, agents in an isolated SubOS) instead of an abstract feature dump. - Keep the vs apt/nix/docker comparison as the hook; drop the unverifiable '~10ms startup' row. - Restore an 'AI agent install & explain' section referencing the real built-in 'xlings agent usage' guide. - Move deep dives + both mermaid diagrams to docs/ (already covered by docs/architecture and docs/design); add a Documentation link table. - Unify build instructions on the mcpp flow (matches mcpp.toml).
- Replace the project-env example with the documented per-platform manifest (xmake + per-OS gcc/llvm, versions matching mcpp.toml / docs/quick-start/project-env.md) — shows cross-OS dependency consistency, the real value of project SubOS. - Sharpen the three scenarios to surface the core value points: multi-version coexistence + cross-platform unified commands, per-OS reproducible project isolation, and rootless SubOS for agents / untrusted code.
…iders - Move the vs apt/nix/docker table to docs/comparison.md (linked from 'Why xlings?'); move build-from-source to docs/build-from-source.md. - Bring 'Core capabilities' up front, right after the one-line pitch. - Ecosystem table: drop the 3rd Link column, fold the link into the project name (2 columns). - Drop all '---' horizontal rules; section headings carry the structure. - Index both new docs from docs/README.md.
Sunrisepeak
force-pushed
the
docs/readme-slim
branch
from
June 18, 2026 22:07
3193f6f to
6593606
Compare
quick_install.sh used `find` to locate the extracted xlings-* directory after a successful download+extract. Minimal images (e.g. opensuse/tumbleweed) ship without findutils, so the call died at exit 127 right after extraction, before the installer (and mcpp) ever ran. Arch only passed because its base image happens to bundle findutils. Replace the `find` probe with a pure-bash glob (no external dependency), so install works on any minimal distro. No-match still yields an empty EXTRACT_DIR, caught by the existing 'missing bin/xlings' validation.
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.
What
Cut
README.md/README.zh.mdfrom ~345 → ~200 lines and turned them into a lean landing page. Details now live indocs/(which already covered most of it).Why
The old READMEs repeated the SubOS / agent-in-sandbox pitch 3–4 times across Core Concepts → Three Scenarios → SubOS Deep Dive → Agent Integration, plus two mermaid diagrams — hard to grab the point on the first screen. Most of that detail was already duplicated in
docs/quick-start,docs/design, anddocs/architecture.Changes
.xlings.json, agents/untrusted code in an isolated SubOS. Each is a short blurb + real commands + a link intodocs/.vs apt / nix / dockercomparison table stays.xlings agent usageguide.docs/architecture/overview.mdanddocs/design/package-index-ecosystem.md. Added a Documentation link table.mcppflow (matchesmcpp.toml).Accuracy
Every command/flag was checked against the source, per the "no made-up content" requirement:
install / use / search / list / subos new|use) —src/cli.cppm--from,--sandbox,--cmd,--storage, project-level) —src/core/subos.cppmbwrap(V5, preferred,xim:bwrapsetuid pool) +proot(fallback) backends —src/core/subos.cppmxlings agent usagebuilt-in guide —src/agent/xlings install→mcpp build/test—mcpp.toml/.xlings.jsonAll 11
docs/links verified to resolve.Open questions for review
.xlings.jsonexample reuses the original maintainer-authored one (mcpp 0.0.33 + gcc/llvm). Swap for a more typical project example?