Repository navigation
Script apps' agents ask the person questions; App Hub to 8512be70 - #190
Merged
Merged
Conversation
A script app's agent could not ask the person anything: App Hub offered
contained apps no octos kernel tool. App Hub 8512be70
(OctoSense-App-Hub#37) lets a contained agent keep exactly one,
`ask_user_question` ("Ask you questions" in the store), and refuses
every other kernel tool.
- App Hub pin to 8512be70 (Cargo.toml, native-apps.json, Cargo.lock).
Rinx v1.0.0 still names App Hub at e8601b80, so every App Hub crate
resolves through the www host alias at the pin (as before 7fcf40d):
one App Hub in the graph. `setup.py --check --cargo` now also checks
app-policy and the hub client have one source. Drop the alias once Rinx
pins 8512be70.
- G3: a script app's plain `agent.tools` names reach its peer's
`generic_tools` only as App Hub's `kernel_tools()` (ask_user_question).
- News's manifest keeps `ask_user_question`: its agent can ask the person
(which topics, how broad a digest) in "Ask News".
- The first-use sheet says "Ask you questions" for such an agent.
Tests: the two-lane scenario's fixture now gets `ask_user_question` from
its manifest through G3 (no test seam), and the person's-lane question is
shown and answered in the "Ask News" panel (G11) on a real kernel; News
loads with it; any other kernel tool refuses the bundle; the consent
sheet's words.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ymote
force-pushed
the
feat/script-agents-questions
branch
from
September 30, 2026 07:10
795ed22 to
a2abd02
Compare
This was referenced Oct 10, 2026
Merged
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.
Issue 4 of the "Ask " live-run follow-ups: a script app's agent can ask the person questions. Follows #189 (merged).
What changes
8512be70(OctoSense-App-Hub#37): a contained app's agent may keep exactly one octos kernel tool,ask_user_question, and App Hub refuses every other. The store shows "Ask you questions". The pin moves inCargo.toml,native-apps.jsonandCargo.lock, the only lock that pins App Hub (phone and desktop are in the root workspace; the otherCargo.locks in the repo pin no App Hub).v1.0.0(and Rinxmain,4731394) name App Hube8601b80. So every App Hub crate resolves through thewww.github.comalias at the pin, the same way it did before 7fcf40d.setup.py --check --cargonow also requires one source foroctosense-app-policyandoctosense-app-hub(without the alias, Rinx's catalog would pull a second copy of both). The alias can go once Rinx pins8512be70. Rinx itself is not touched here.agent.toolsnames reach its peer'sgeneric_toolsonly as App Hub'sAgentBundle::kernel_tools(), which today is justask_user_question. Dotted names stay other apps' tools.ask_user_question: its agent can ask the person about topics or how broad a digest should be. Its questions in the person's lane show in "Ask News" (G11).Tests
scenario_tests): the fixture app getsask_user_questionfrom its manifest through G3, with no test seam (set_genericis gone). The person's-lane question is shown in the "Ask News" panel (app_chat::snapshot,routed:<id>) and answered there (app_chat::answer_option), and the person's turn completes with the answer.script_apps: News loads withgeneric == ["ask_user_question"].web_search,shellorread_fileinagent.toolsrefuses the bundle.approvals: the consent sheet's words.Local checks
mobile-appswith a real kernel): all pass--test-threads=1): passcargo check --lockedfor desktop and phone (default andmobile-apps): passnative_apps.py --check,setup.py --check --cargo,toolsunittests: pass🤖 Generated with Claude Code