Files
Alessandro 0e3d267f79 feat: add per-action permissions for bundled tools
Let profiles allow individual operations across all 12 bundled multi-action
tools, such as reading files without allowing writes or listing scheduled
tasks without allowing deletion.

Share action contracts across runtime policy, Agent Editor, text prompts,
and native schemas. Preserve existing whole-tool policies and legacy memory
IDs; only explicit permission edits persist the editor's projection.

Check aliases, defaults, browser batches, reset flags, and parallel
operations at execution. Apply action permissions to automatic browser
context and skill hints.

Validation: 742 focused tests passed. Live Docker checks verified allowed
reads, denied writes through native/legacy/parallel dispatch, blocked
scheduler deletion, and editor save/reload.
2026-10-27 19:06:13 +01:00

1.4 KiB

Message Loop Prompts After Extensions DOX

Purpose

  • Own prompt protocol, prompt extras, and history reattachment around primary message-loop prompt construction.

Ownership

  • Ordered Python files own current datetime, relevant-skill hints, loaded-skill history reattachment, agent info, parallel job status, and workdir extras injection.
  • Explicitly loaded skill bodies belong in tool-result history with metadata so they can survive persistence and be reattached after compaction.
  • Explicitly loaded skill IDs are chat-wide context data, not agent-local state.
  • Skills must not write selected or loaded skill bodies into protocol or extras.

Local Contracts

  • Keep injected content bounded and clearly attributed.
  • Preserve ordering where later prompt extras depend on earlier recall or load results.
  • Do not expose secrets or private files from workdir extras.
  • Relevant-skill recall should search the raw user message when available, not the rendered history wrapper.
  • Relevant-skill hints require profile permission for both skills_tool actions search and load.

Work Guidance

  • Coordinate prompt protocol, history-reattachment, and prompt-extra changes with skill, workdir, and profile contracts.

Verification

  • Inspect rendered prompt protocol/history/extras or run prompt-construction tests after changes.

Child DOX Index

No child DOX files.