Repository navigation
docs: AI services (octos): architecture, trust model, what apps can use today, ADR 0002 status - #90
Merged
Merged
Conversation
docs/ai-services.md and docs/ai-services.zh-CN.md: the octos kernel per shell (desktop, Android, OpenHarmony; none on iOS), AI providers and the llm host service, crates/ai-host, the app-peers broker and the system agent; the trust model; what native modules (Rinx), Rinx mini apps and contained script apps can use today (a contained app cannot reach the assistant: no octos service in the Card runner, llm is provider management for os.* apps); ADR 0002 piece by piece with status and links; running and testing locally with a throwaway kernel profile and hidden windows, and the phone. README and README.zh-CN get a short "AI services (octos)" section linking it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ymote
added a commit
that referenced
this pull request
Oct 2, 2026
… GPU timing, terminal shortcuts) Makepad main 39a9de88 adds a hidden map's idle frame loop fix (#79), Android HTTP without redirects (#75), the sheets font by crate (#80), Linux GL remote grabs (#93), Android Vulkan without a debug messenger (#92), the touch-down power hint (#83), GL GPU timing (#81), atlas text on phones (#82), the DrawText current-list fix (#89), terminal keyboard shortcuts (#76) and the terminal on OpenHarmony (#91), and OpenHarmony's keyboard, Studio, GL lifetimes and idle frames (#84, #85, #88, #87), through Octoscript-Makepad 62760863 (#70). makepad #90 is not in it. - root Cargo.toml: makepad and octoscript-makepad revisions together; native-apps.json (Sheets, Terminal), regenerated pins unchanged otherwise - both native-runtime.lock.json files - runtime-patches.lock.json: the settings patch is rebased onto 39a9de88 with the same added and removed lines; its touch-down line in MakepadActivity.java now sits next to #83's hint, and draw_text.rs context follows #87's cfg. The system-back, IME and two Windows patches reapply unchanged. The map, OpenHarmony GL-lifetime and DrawText patches are dropped: they are makepad #79, #88 and #89, now upstream. New tree 976bf55b. - Cargo.lock: unchanged - the three pinned-hash docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ymote
added a commit
that referenced
this pull request
Oct 2, 2026
… GPU timing, terminal shortcuts) Makepad main 39a9de88 adds a hidden map's idle frame loop fix (#79), Android HTTP without redirects (#75), the sheets font by crate (#80), Linux GL remote grabs (#93), Android Vulkan without a debug messenger (#92), the touch-down power hint (#83), GL GPU timing (#81), atlas text on phones (#82), the DrawText current-list fix (#89), terminal keyboard shortcuts (#76) and the terminal on OpenHarmony (#91), and OpenHarmony's keyboard, Studio, GL lifetimes and idle frames (#84, #85, #88, #87), through Octoscript-Makepad 62760863 (#70). makepad #90 is not in it. - root Cargo.toml: makepad and octoscript-makepad revisions together; native-apps.json (Sheets, Terminal), regenerated pins unchanged otherwise - both native-runtime.lock.json files - runtime-patches.lock.json: the settings patch is rebased onto 39a9de88 with the same added and removed lines; its touch-down line in MakepadActivity.java now sits next to #83's hint, and draw_text.rs context follows #87's cfg. The system-back, IME and two Windows patches reapply unchanged. The map, OpenHarmony GL-lifetime and DrawText patches are dropped: they are makepad #79, #88 and #89, now upstream. New tree 976bf55b. - Cargo.lock: unchanged - the pinned-hash docs under phone/docs; rom/docs/home-build.md follows in its own change, so this one does not trigger rom.yml (whose jobs local CI cannot run) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ymote
added a commit
that referenced
this pull request
Oct 2, 2026
… GPU timing, terminal shortcuts) Makepad main 39a9de88 adds a hidden map's idle frame loop fix (#79), Android HTTP without redirects (#75), the sheets font by crate (#80), Linux GL remote grabs (#93), Android Vulkan without a debug messenger (#92), the touch-down power hint (#83), GL GPU timing (#81), atlas text on phones (#82), the DrawText current-list fix (#89), terminal keyboard shortcuts (#76) and the terminal on OpenHarmony (#91), and OpenHarmony's keyboard, Studio, GL lifetimes and idle frames (#84, #85, #88, #87), through Octoscript-Makepad 62760863 (#70). makepad #90 is not in it. - root Cargo.toml: makepad and octoscript-makepad revisions together; native-apps.json (Sheets, Terminal), regenerated pins unchanged otherwise - both native-runtime.lock.json files - runtime-patches.lock.json: the settings patch is rebased onto 39a9de88 with the same added and removed lines; its touch-down line in MakepadActivity.java now sits next to #83's hint, and draw_text.rs context follows #87's cfg. The system-back, IME and two Windows patches reapply unchanged. The map, OpenHarmony GL-lifetime and DrawText patches are dropped: they are makepad #79, #88 and #89, now upstream. New tree 976bf55b. - Cargo.lock: unchanged - the pinned-hash docs under phone/docs; rom/docs/home-build.md follows in its own change, so this one does not trigger rom.yml (whose jobs local CI cannot run) Co-Authored-By: Claude Opus 5.5 <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/ai-services.mdanddocs/ai-services.zh-CN.md, and a short "AI services (octos)" section inREADME.mdandREADME.zh-CN.mdthat links to them. Docs only.What the page covers
OCTOS_APP_CORE_BINnames, on Android the APK'sliboctos.so, on OpenHarmony it runs in process, and iOS has none. Also covered: AI providers and thellmhost service,crates/ai-host, the app-peers broker, the system agent, AppCard and the AI pane.app/<app>/acct-<hash>, and grants match exact names.octos.*through Rinx's host.mail,llm(os.* only, provider management),news(os.* only) andglance(os.* only), but nooctosservice. The page lists the exact errors they see.46d67e51) predates the new agent fields and thenewsandglancecapabilities.Verified
cargo build --release -p octosenseat 405139f) ran hidden with the exact env from step 2, using octos built ata6ea8505with the documented command. The log showedoctos: kernel service ready (starts on first use), core dir …/octos-home/.octosandllm: provider profile under …. AI providers opened from the launcher (card: os.ai-providers running under 2 capability(ies)…). Nothing was written outside the temp dir.cargo test --locked -p octosense-kernel,-p octosense-app-peers --features octos-core,wsand-p octosense-ai-host --features octos-core,llm. Both real-kernel tests pass against that octos build: kernel 1/1 and app-peers 6/6.card-host(App Hub362d832) with a probe app:no service answers "octos" on this devicethis app was not granted "octos", which "octos.session.open" needsno service answers "llm" on this devicechecklinks.py) and in-page anchors check clean.Not verified
phone/README.mdandtools/kernel-artifact.py.Companion PRs: OctoScript-App-Design-Flow (the developer page
docs/AI-SERVICES.md) and OctoSense-App-Hub (status notes in PUBLISHING).🤖 Generated with Claude Code