Skip to content

docs: architecture.md (+ zh-CN) as main is on 2026-10-02 (system app agents, glance, approvals, sandboxes) - #288

Merged
ymote merged 1 commit into
mainfrom
docs/architecture-refresh
Oct 2, 2026
Merged

ymote merged 1 commit into
mainfrom
docs/architecture-refresh

Conversation

@ymote

@ymote ymote commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR is rebased onto main at 91063e3, after #275 (the architecture walkthrough), #256, #268, #278, #279 and #290. #275's rewrites stay as they are: the intro, the kernel and session text, the script-app account wording, the tools-table examples, the worked example's intro and rows 1, 3 and 5, and follow-up 13. So do #256's desktop kernel row and the follow-up 5 that reflects #268.

On top of them, this PR fixes what still disagrees with main's code, in docs/architecture.md and docs/architecture.zh-CN.md. Before this PR the Chinese page had fallen behind the English one; both now say the same thing.

Corrections still added on top of #275 (old claim → what the code says)

Agents and tools

Glance

Communication and approvals

Processes, storage, sandboxes

Worked example and disagreements

  • The intro now says Calendar is desktop only.
  • Row 4: add_event is act and its events are kept in events.json.
  • Row 6: calendar.remove_event takes the router's path today.
  • Row 7: mail.send exists only as a method for Mail's own UI.
  • Row 9: Calendar's own window cannot list events yet.
  • Follow-up 7 is fixed. Follow-up 8 says that agents.ask is the only confirm: app tool on main.
  • Also: ADR 0004 is marked Implemented, the overview diagrams gain the host-tool relay and host services, and the source map adds the agents, chats, host tools, questions, glance, host services and sandbox files.

Checks

On the rebased head:

  • python3 -m unittest discover -s tools -p 'test_*.py': 95 tests, OK.
  • From rom/: python3 -m unittest tests.test_no_local_paths: OK.
  • Every relative link and anchor in both files resolves (160 links, 0 broken), including docs: add app and agent architecture walkthroughs for Rust developers #275's walkthrough anchors.
  • A per-section comparison of the English and Chinese pages finds matching code spans, links, tables, bullets and code blocks.

Docs only. No device run.

🤖 Generated with Claude Code

#275 rewrote the intro, the kernel and session text and the worked
example, and #256 the desktop kernel row; those stay. On top of them
this corrects what still disagrees with main's code: which apps have an
agent and their tools, the notice card, toasts and dismissal, the glance
panel's L0 taps, where questions show, agents.ask, the approval router
and every approval going to it, terminal.run, the toolbox, the process
launch, the Linux sandbox and the follow-ups that are now fixed. English
and Chinese now say the same; the Chinese page had fallen behind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ymote
ymote force-pushed the docs/architecture-refresh branch from 6530e6d to 5ea4fbb Compare October 2, 2026 20:52
@ymote
ymote merged commit 7c9fa03 into main Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant