mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 09:10:58 +01:00
Let the configured model choose investigation steps within explicit budgets. Keep canonical planning, permissions and independent verification authoritative, and preserve streamed conclusions in conversation history. Expose recorded action outcomes so cached inventory cannot stand in for an approval or execution receipt. Retain full plan context and make the exact action review reachable from Assistant, including on narrow screens. Refs #1782
65 lines
3.1 KiB
Markdown
65 lines
3.1 KiB
Markdown
# Pulse Assistant safety architecture
|
|
|
|
Pulse enforces authority at the shared tool and action boundaries. The model
|
|
owns interpretation, investigation and action judgment within those boundaries.
|
|
A sequence of tool calls cannot establish that a diagnosis is correct.
|
|
|
|
## Tool kinds
|
|
|
|
Every tool call uses the shared `agentcapabilities` classification.
|
|
|
|
| Kind | Meaning |
|
|
|---|---|
|
|
| `resolve` | Discovery and query tools that find resources |
|
|
| `read` | Read-only tools such as logs, metrics, status and config |
|
|
| `write` | Tools that change Pulse state or infrastructure through governed operations |
|
|
| `user_input` | Interactive tools that ask you something |
|
|
|
|
`ClassifyToolCall` delegates to the shared classifier. A write classification
|
|
is not proof that infrastructure executed or that an action succeeded.
|
|
Canonical planning itself can persist Pulse state without changing a resource.
|
|
|
|
## Enforced authority
|
|
|
|
Execution profiles and tool permissions limit the capabilities available to a
|
|
run. The canonical action lifecycle validates the target, capability, parameters,
|
|
actor and current policy. It persists the action plan and requires the applicable
|
|
approval before execution. The model cannot grant itself permission by describing
|
|
a change as safe or by performing an unrelated read first.
|
|
|
|
Turn, evidence and cost budgets remain explicit bounds. Scheduling, tenant and
|
|
actor identity, idempotency and execution verification belong to their owning
|
|
services. They do not infer the quality or completeness of a diagnosis.
|
|
|
|
## Evidence and outcomes
|
|
|
|
A plan is an intended change. An approval is an authorization decision. An
|
|
execution receipt reports what the executor did. Independent verification
|
|
establishes the recorded postcondition through a separate observer at a named
|
|
time. These facts remain distinct even when one action record links them.
|
|
|
|
Assistant can read the canonical action record with `pulse_query action=action`
|
|
and its exact `action_id`. The result retains plan context, recorded decisions
|
|
and `ActionResultV2` provenance. Missing records or missing access remain unknown.
|
|
A cached resource status or absent timeline entry cannot negate an execution
|
|
receipt. A successful execution alone does not prove that the original problem
|
|
was resolved.
|
|
|
|
## Model responsibility and limits
|
|
|
|
The model chooses when to read, ask, plan or conclude within the available
|
|
capabilities and explicit budgets. Assistant does not require an unrelated read
|
|
after every write, infer verification from a call sequence, or rewrite saved
|
|
answers because they contain lifecycle words. Model conclusions can still be
|
|
wrong. Regression tests, real-model qualification and independent observations
|
|
are needed to assess useful diagnosis and verified customer outcomes.
|
|
|
|
The wider Patrol and Assistant redesign remains under qualification. Local
|
|
fixture results do not establish reliability across customer environments.
|
|
|
|
## Related reading
|
|
|
|
- [Assistant deep dive](ASSISTANT_ARCHITECTURE.md) for the execution loop.
|
|
- [AI features](AI.md) for configuration.
|
|
- [Patrol deep dive](PATROL_ARCHITECTURE.md) for the separate scheduled runtime.
|