Repository navigation
docs: architecture overview (processes, agents, protocols, approvals) [skip ci] - #124
Merged
Merged
Conversation
… [skip ci] docs/architecture.md and .zh-CN.md describe how OctoSense fits together on main: processes per platform (the shell, the octos kernel child or in-process core, in-process and process native apps, script apps in the Card runner), agents as kernel sessions, OUP over stdio and host-managed WebSocket, the peer blackboard and the planned peer/input path (octos#2567), tools and grants, the approval router, storage and secrets, trust boundaries, and a worked Calendar/Mail example with the status of every step. It ends with the places where the code and the ADRs disagree. The READMEs get a short "How it fits together" section; the ADR index and ai-services link to the new page. Docs only. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ymote
added a commit
that referenced
this pull request
Sep 29, 2026
… [skip ci]
- approvals/contacts.rs: ContactsSource (is_known for email addresses and
Matrix IDs), ContactList/NoContacts test doubles, MailContacts reading
Mail's host service data, and ContactsGate: off by default, on only by
the person's Settings tap ("Use my contacts in approval rules"), kept
owner-only in approvals/contacts.json. The router evaluates "recipients
in contacts" through the gate.
- mail host service: contacts::known_addresses (own accounts, recorded
send recipients, To/Cc of sent folders; never the secret store); the
decoder keeps To/Cc; a removed account forgets its recipients.
- docs/ai-services(.zh-CN).md refreshed against main (#106, #113, #117,
#118, #120, #124, #95, #86), linking architecture.md; architecture's
contacts lines updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Adds
docs/architecture.mdanddocs/architecture.zh-CN.md: how OctoSense fits together onmain(ff40e9c), with every statement marked On main, In progress (open PR) or Planned (ADR step).OCTOS_APP_CORE_BIN, Androidliboctos.so), in process on OpenHarmony, none on iOS; lazy start, restart on provider change, exit on stdin EOF / parent death; native apps in process vs their own process (native-apps.json, window-manager hosting over the hub, zero-copy frames); script apps in App Hub's Card runner.peer_send_input, blackboard,peer_respond;peer/input(octos#2567, in progress); how each hosting kind reaches its agent; the Makepad AI bus vs app agents.It ends with a list of places where the code and the ADRs or docs disagree. None is fixed here.
Also: a short "How it fits together" section with a small diagram in
README.mdandREADME.zh-CN.md, and links fromdocs/adr/README*.mdanddocs/ai-services*.md. Existing anchors are unchanged.Checks: every relative link and
#anchorin the eight changed files resolves (local script), the octos and Rinx links return 200, cited paths and symbols were grepped onmain, androm/tests/test_no_local_paths.pypasses. Docs only, so[skip ci].🤖 Generated with Claude Code