FN-7108: broaden heartbeat agent tool access
Heartbeat agents now receive safe coordination and discovery tools while risky calls remain permission-gated.
- Add shared heartbeat workflow, research, and clarification tools for task-scoped and no-task runs.
- Give no-task permanent agents artifact registry access alongside existing delegation, messaging, memory, goal, and identity tools.
- Cover the expanded tool surface and action-gate behavior with heartbeat and permission-policy tests.
- Document the permission-governed heartbeat tool model and add a minor changeset.
Files changed:
.changeset/FN-7108-agent-tool-access.md | 7 ++
docs/agents.md | 9 ++-
.../src/__tests__/heartbeat-executor.test.ts | 24 +++---
.../src/__tests__/heartbeat-session-prompt.test.ts | 89 +++++++++++++++++++++-
.../src/__tests__/pi-create-fn-agent.test.ts | 67 ++++++++++++++++
packages/engine/src/agent-heartbeat.ts | 41 +++++++++-
6 files changed, 221 insertions(+), 16 deletions(-)
Fusion-Task-Id: FN-7108
Fusion-Task-Lineage: 83302055-72be-47f8-a41d-70164d12f010
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>