Inquirium Assistant Channel¶
Based on:
doc/project/40-proposals/066-inquirium-assistant-channel.mddoc/project/40-proposals/064-inquirium-implementation-recommendations.mddoc/project/60-solutions/044-inquirium/044-inquirium.mddoc/project/60-solutions/047-agent/047-agent.mddoc/project/60-solutions/018-classification/018-classification.mddoc/project/60-solutions/032-local-relationship-layer/032-local-relationship-layer.mddoc/project/60-solutions/039-notifications/039-notifications.mddoc/normative/50-constitutional-ops/UNIVERSAL-BASIC-COMPUTE.md
Planned extension:
doc/project/40-proposals/090-inference-execution-provenance-and-non-local-disclosure.md
Related schemas:
inquirium.assistant.turn.request.v1inquirium.assistant.turn.response.v1inquirium.assistant.transcript.fact.v1inquirium.assistant.transcript.bundle.v1inquirium.context-assembly.request.v1inquirium.context-grant.issue.request.v1inquirium.context-grant.revoke.request.v1inquirium.operator-question.request.v1inquirium.operator-question.transition.request.v1inquirium.inquiry-feedback.v1inquirium.training-grant.issue.request.v1inquirium.training-grant.revoke.request.v1inquirium.crisis-candidate.v1inference-execution-posture.v1(planned)inference-execution-provenance.v1(planned)inquirium.assistant.turn.response.v2(planned)
Status¶
Implemented MVP solution.
The advise-first Assistant Channel, local baseline profile, classified context grants, transcript lifecycle, operator questions, notification projection, feedback, training grants, observability feed, and non-dopamine UI affordance are implemented. Agentic effects remain a separately governed Agent integration. Realized inference execution provenance and its remote-disclosure UI remain planned; the implemented egress acknowledgement is only the pre-I/O authority gate.
Date¶
2026-07-13
Executive Summary¶
The Inquirium Assistant Channel is the human-facing interaction surface for local model inquiry. It may look conversation-like in Node UI, but it is not a contact, nym, messaging peer, or INAC route.
operator or participant
-> Assistant Channel turn
-> Inquirium bounded inquiry
-> classified response and transcript facts
The channel is advise-first and operator-initiated. It cannot mutate relationships, publish to the swarm, or execute tools. Context requires explicit host grants, response classification and runtime refs remain visible, and any blocking operator question uses registered notification widgets rather than model-defined UI. Proposal 090 owns the planned end-to-end execution provenance characteristic; this solution does not claim it is implemented yet.
Context and Problem Statement¶
A conversational assistant can easily be mistaken for a relationship actor. That would introduce fake identities, special Messaging routes, and confusing retention semantics. The assistant is instead a projection over a local Inquirium capability and its participant-scoped inquiry history.
This separation preserves the meaning of contacts and messages while still allowing a rich interaction surface. It also keeps local baseline assistance available without making remote inference a precondition or silently exporting protected context.
Proposed Model / Decision¶
Channel, Not Counterparty¶
The Assistant Channel belongs to the Node interaction surface. Local Relationship and Messaging remain uninvolved. A UI may render it beside conversation-like surfaces, but it must not mint a peer identity, contact record, delivery route, or relationship state.
A recipient picker may list the affordance beside contacts when it is visibly marked as a channel. Selecting it opens a channel turn and creates nothing in Relationship or Messaging. Story 014 exercises this through P066-DFR-001.
Advise First, Effects Elsewhere¶
Assistant responses carry content, epistemic posture, and admitted inert control proposals. The channel may project a host-owned operator question or crisis candidate, but it cannot declare a crisis, answer its own question, or execute a proposed effect. Durable agentic control belongs to the Agent organ and the relevant Sensorium or Artifact Delivery authority boundary.
Local Baseline, Explicit Remote Extension¶
A conforming profile/baseline-assistant local runtime is a non-withdrawable
minimum. Remote candidates are additive and require explicit model acceptance,
classification-compatible egress policy, and acknowledgement of the concrete
context release. They are never a silent fallback for the local baseline.
The post-MVP production package uses a managed llama-server-class runtime over
the same loopback OpenAI-compatible contract. macOS arm64 additionally evaluates
an MLX-family companion server against the same conformance suite; provider
specifics do not enter the Assistant Channel contract. Package manifests,
operator-owned model endorsements, source trust, atomic activation, and rollback
are governed by Proposal 066 Decision 8.5.1.
As of 2026-08-26, the MLX companion foundation is implemented below this
solution boundary: a closed Apple Silicon runtime-family entry, direct
http_local supervision, a cleared child environment with host-rendered
PEX_ROOT, immutable multi-asset model materialization, conformance-gated
selection order, an Apple Silicon MLX-first platform default shared by direct
Inquirium generation and NSE, deterministic managed-llama fallback, a
provider-neutral acceptance-report v2, and a complete local-import lifecycle
runner. The exact Qwen2.5-Coder 7B descriptor and additive Story-012 profile now
reuse the typed discovery validators, start two separately supervised MLX
runtimes, and refuse llama-server fallback inputs. The reproducible hash-locked
launcher and exact Qwen package now have a retained passing native v2 lifecycle
report: all ten checks, no-egress, dirty adoption, generation 3, install 36,913 ms,
cold warmup 58,150 ms, and first inference 589 ms. The same structural evidence
proves malformed empty text-message payloads are rejected before worker I/O.
The row remains post-MVP and in-progress because the two-runtime Story report
and independent evidence for every optional MLX capability are still absent; no
optional capability is part of the Assistant Channel guarantee.
Execution Provenance And Remote Disclosure¶
Before I/O, the channel consumes host-admitted
inference-execution-posture.v1 bound to the assertion owner, exact runtime or
profile generation, turn/context scope, validity, and processing-boundary ref.
After possible execution, it consumes the provider-neutral
inference-execution-provenance.v1 value produced by Inquirium. It does not
infer actual execution locality from posture, request policy, runtime names,
model names, or the transport used to reach an adapter.
The operator surface has two distinct obligations:
- before I/O, show the admitted non-local posture and obtain any required classification- and context-bound egress acknowledgement;
- after the turn, show the realized local, non-local, mixed, or unknown provenance and an optional non-secret provider ref when local operator disclosure policy permits it.
Transcript facts, exports, imports, rebuilds, and Activity projections preserve the realized value monotonically. Provider redaction may remove the exact provider ref, but never a known non-local contribution. Provider-native accounts, credentials, endpoints, adapter instances, and session identifiers remain outside the Assistant Channel contract.
Must Implement¶
Assistant Turn Boundary¶
Responsibilities:
- expose typed, bounded, idempotent assistant turns through Inquirium;
- bind principal and participant scope from authenticated host context rather than trusting request-body identity;
- preserve valid caller turn ids and assign host ids when missing;
- cap completed output before transcript persistence;
- keep response epistemic posture visible and non-authoritative.
Status: done.
Baseline Runtime And Conformance¶
Responsibilities:
- require a local-only, strict-local, offline-capable baseline runtime profile;
- gate routing on a fresh profile- and host-class-scoped conformance report;
- expose readiness and remediation paths to the operator;
- keep remote inference additive rather than a prerequisite for assistance.
Status: done.
Transcript And Session Projection¶
Responsibilities:
- store inquiry turns and results as participant-scoped facts through a Memarium-first transcript port with a local non-federating fallback;
- keep large content behind object-store refs and redact before persistence;
- preserve idempotent replay without duplicating transcript facts;
- support search, tags, rebuild, export/import, retention, and audit-preserving excision markers;
- never report a session as excised while Memarium still holds it: without the
Memarium excision marker, a session is excised locally only when Memarium's
durable facts hold none of its transcript content, and any other excision is
refused before any change with a retryable
503 inquirium_assistant_transcript_excision_incomplete; - check retained content through a storage existence operation, without current classification projections; JSONL visits each segment once with integrity verification instead of replaying the whole stream per page, buffering one segment plus its path index (archived segments may be large); proving absence still requires scanning the relevant streams, and unreadable history refuses excision;
- project bounded working memory while assigning summary production to another configured component or workflow.
Status: done.
Granted Context And Classification¶
Responsibilities:
- require durable participant/session/source-bound grants for Relationship, Memarium, query, Messaging, artifact, and dataset context;
- carry classification and provenance for every accepted context element;
- fail closed when a source cannot be resolved or policy requires rejection;
- archive terminal grants before pruning active authority;
- require explicit acceptance and egress acknowledgement for remote protected context.
Status: done.
Operator Questions And Escalation¶
Responsibilities:
- create questions from host-owned registered widget kinds only;
- persist pending, answered, timed-out, cancelled, and superseded transitions;
- validate answers server-side and reject late or conflicting transitions;
- project questions into durable Notifications without storing arbitrary model UI payloads;
- treat crisis output as a classified candidate for host review, never as a self-authorizing diagnosis.
Status: done.
Feedback And Training Admission¶
Responsibilities:
- record verified, refuted, and amended feedback as append-only classified facts;
- require a separate live participant- and feedback-bound training grant before feedback becomes a training candidate;
- keep dataset construction and model adaptation behind Inquirium's bounded manifest, lease, deferred-operation, evaluation, and publication gates.
Status: done.
Observability And UI¶
Responsibilities:
- provide a local read-only activity feed over metadata-only assistant traces;
- retain one-way trace refs without prompt or response content in trace storage;
- render the assistant as an explicit inquiry affordance, not as a contact;
- avoid streaks, nudges, leaderboards, attention scores, or autonomous engagement loops.
Status: done.
Inference Execution Provenance Disclosure¶
Responsibilities:
- carry or reference Proposal 090 provenance on terminal assistant responses, retained result facts, transcript bundles, replay, and Activity items;
- keep preflight model acceptance and egress acknowledgement separate from the realized result fact;
- render local, non-local, mixed, and unknown outcomes without silently treating missing metadata as local;
- disclose an optional provider ref under policy while excluding provider-native session, account, credential, endpoint, and adapter-instance data.
Status: P090-007a is implemented for the inline Assistant path: authenticated
preview/execute, separate acknowledgement, explicit inquirium.response.v2,
immutable transcript-owned replay, and separate preflight/result UI disclosure.
A durable keyed dispatch fence prevents a crash or publication failure from
automatically rerunning the same turn after restart. It is not a rebuildable
index or an automatic post-processing repair. Broader remote descriptor and
provider-disclosure variants remain P090 work.
May Implement¶
Agentic Effect Integration¶
An operator may explicitly bind the Assistant Channel to a bounded Agent. The Agent owns lifecycle, controller steps, grants, budgets, and effect proposals. Relationship, governance, publication, and external actuation still require the owning capability gate and human-in-loop policy.
Operator approval gates the escalation that creates or binds the Agent. It does
not create a second approval ceremony for the resulting response draft: after the
host validates the outcome's schema, digest, classification, binding,
session/ref, and output-sink/kind = assistant-response-draft, the channel may
render it directly. Rendering remains a non-effecting projection. It does not
authorize publication or any proposed effect, each of which retains its own
capability and human-in-loop gate.
The implemented boundary uses two host capabilities:
agent.assistant.escalateconsumes an explicitagent.assistant-escalation.request.v1, verifies caller-delegated Agent and binding grants, and projects an expiring operator question. Approval creates the exact node-local Agent and same-session binding; denial and timeout create terminal decisions. An assistant control is only an inert proposal and cannot invoke this capability ambiently. The host persists the terminal approval before granting Agent or binding authority. Resolution consumes the durable operator-question record as its typed authority, and recovery idempotently completes an approved but interrupted materialization while rejecting any Assistant Channel binding that has no matching durable approval.agent.assistant.draft.acceptis local-control-only. It joins the latest content-addressedagent.outcome.v1to its Assistant Channel binding, validates the product as a completed Inquirium response, persists a render-only acceptance fact, and returnsagent.assistant-response-draft.v1withpublication-authorized = false.
The full causal path is therefore:
assistant turn -> inert escalation proposal -> operator question -> approved Agent binding -> bounded controller -> Inquirium/effect proposals -> agent.outcome.v1 -> local draft acceptance -> render-only assistant response
Durable escalation, decision, binding, outcome, and acceptance facts make exact replay and restart recovery explicit. Status and notification projections remain metadata-only and do not expose generated product content before acceptance. The binding's narrowed budget, including its wall-time deadline, is the effective limit used by controller execution, Inquirium accounting, leases, forks, reaping, and status projection.
Status: done; implemented by Solution 047, with detailed evidence retained in
Proposal 073.
Trade-offs¶
The channel is less socially seamless than pretending the assistant is another contact, and explicit grants add interaction steps. In return, identity, retention, egress, and effect authority remain truthful. The local baseline may be weaker than remote models, but it preserves a minimum assistance capability without dependency on a provider or network path.
Failure Modes And Mitigations¶
- Assistant is treated as a contact: keep all relationship and Messaging mutations outside the channel contract.
- Caller spoofs participant scope: derive scope from authenticated host identity.
- Remote model receives undeclared context: require source grants, classification admission, model acceptance, and egress acknowledgement.
- Preflight policy is shown as proof of actual execution: carry the
host-derived Proposal 090 result characteristic separately and render
unknownwhen it is unavailable. - Provider redaction hides non-local execution: redact only optional provider identity; preserve the locality/egress summary and evidence class.
- Model injects an operator widget: accept only registered host-shaped question kinds and validate answers server-side.
- Transcript persistence fails: preserve typed degraded behavior and the local fallback without publishing transcript data to the swarm.
- Repeated or late interaction mutates state twice: use idempotency, terminal transition facts, expiry checks, and conflict rejection.
- Assistant claims authority or crisis certainty: constrain epistemic posture and route only a metadata-safe candidate to host-owned review.
Open Questions¶
No unresolved question blocks the implemented MVP solution. Agentic escalation and render-only draft acceptance are implemented. Effects and publication remain separate integrations with their owning components and capability gates.
Next Actions¶
- Implement the Proposal 090 assistant vertical across response, transcript, replay, Activity, and UI; retain separate preflight and post-result states.
- Preserve the local baseline and no-contact invariants as UI surfaces evolve.
- Complete the remaining post-MVP local-model release rows in Proposal 066: publish the production-key-signed llama release, execute the additive two-runtime Story-012 MLX profile, and probe each optional MLX capability independently before promoting it.
- Preserve the process-level escalation/acceptance smoke as Agent, notification, and local-control surfaces evolve.
Out Of Scope¶
- representing the assistant as a contact, nym, peer, or Messaging route;
- autonomous initiation or engagement optimization;
- direct relationship, governance, publication, filesystem, or network effects;
- using transcript or trace storage as a covert swarm publication path;
- letting a model define executable widgets, grants, or effect authority.
Consumes¶
- authenticated participant/operator context;
inquirium.assistant.turn.request.v1;- classified context grants and source projections;
- baseline and selected runtime conformance state;
- host-admitted
inference-execution-posture.v1bound to the exact runtime or profile generation, context, and processing-boundary ref; - host-derived inference execution provenance and its disclosure projection;
- notification and transcript storage ports.
Produces¶
- current
inquirium.assistant.turn.response.v1, which does not carry Proposal 090 provenance and is not extended in place; - planned
inquirium.assistant.turn.response.v2or a compatible successor, plus terminal result and transcript projections carrying or referencinginference-execution-provenance.v1; - participant-scoped transcript facts and bundles;
- metadata-only activity and trace projections;
- registered operator questions and notification actions;
- classified feedback, crisis candidates, and training-candidate admissions.
Related Capability Data¶
045-inquirium-assistant-channel-caps.edn
Implementation Recommendations¶
The shared implementation invariants and extension rules remain in
doc/project/40-proposals/064-inquirium-implementation-recommendations.md.
Those recommendations serve both Inquirium and this channel without defining a
third component.