Repository navigation
Publish the Matrix and Octos host-service capabilities - #14
Merged
Merged
Conversation
Admit the exact A2App-compatible `matrix.*` service names and the four `octos.*` assistant services (`octos.session.open`, `octos.session.history`, `octos.turn.start`, `octos.turn.interrupt`) that Rinx serves to mini apps. Admission matches exact registered names: a prefix such as `octos.` or an invented `octos.admin` stays an unknown capability, and history access does not grant starting a turn. The store tells the person what each service allows in plain words, and the privacy summary separates Matrix reads from Matrix actions. This is the capability contract ADR 0007 (Rinx) relies on for host-owned Octos app peers. It replaces the untested revision b0591e2 (#8). 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.
Publishes the capability contract Rinx ADR 0007 (host-owned Octos app peers) relies on, on
main:KNOWN_CAPABILITIESadmits the exact A2App-compatiblematrix.*service names (45) and the four assistant servicesoctos.session.open,octos.session.history,octos.turn.start,octos.turn.interrupt.octos.,matrix.) or an invented name (octos.admin,octos.peer.prepare,Octos.turn.start) stays an unknown capability and the manifest is refused.servicesmodule: plain words for every service (the store's permission list uses them),OCTOS_SERVICES,MATRIX_ACTIONS; the privacy summary separates Matrix reads from Matrix actions and says the assistant's keys stay with the device.docs/PUBLISHING.mddocuments the services, and that hosts still intersect declarations with supported services, host policy and per-instance grants.Supersedes #8 (revision
b0591e2c, which added the names without tests or store wording). Consumers currently pinningb0591e2cresolve the same names from this revision.Validation (no CI in this repo; local gate):
cargo test --workspacein the prepared sibling layout (makepadcd812acd, Octoscript-Makepad463e3da8, Octoscript68f6a9df): all pass — app-policy 12 unit + 28 admission + 1 doc, app-hub 13 + 2, appstore/app-hub-app suites unchanged and passing.each_published_assistant_service_is_admitted_by_its_exact_name,an_assistant_prefix_or_invented_service_is_refused,reading_assistant_history_does_not_grant_starting_a_turn,matrix_services_are_exact_and_reading_does_not_grant_sending,the_store_says_what_a_service_grant_allows,every_service_name_is_a_known_capability_and_has_words,a_prefix_or_a_near_name_is_not_a_service; the existingevery_known_capability_is_told_in_plain_wordsnow covers all 49 services.🤖 Generated with Claude Code