[Feature] AffixIO attestation on pre_tool_call / post_tool_call for privileged actions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 61/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu từ tài liệu kho mô tả các hook pre_tool_call / post_tool_call (và before_reasoning / after_reasoning) trong DSL/compiler của agent, cùng bất kỳ thư mục examples/ hay thư mục script mẫu nào. Thêm một ghi chú tài liệu ngắn (tùy chọn một script mẫu) minh họa một cổng có ký kết có/không phía host của AffixIO bên trong pre_tool_call trước khi một công cụ đặc quyền chạy, và một xác nhận (attestation) tùy chọn trong post_tool_call. Xem là hoàn tất khi trang tài liệu hiển thị ví dụ kèm các lệnh cài đặt và nêu rõ đây là xác nhận hành động (action attestation), không phải danh tính/PII. Lưu ý người tạo issue đang chờ phản hồi từ maintainer trước bất kỳ PR nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem Statement
Agent Script already exposes deterministic tool lifecycle hooks (pre_tool_call, post_tool_call, plus before_reasoning / after_reasoning). Teams running agents that can call privileged tools (secrets, remediations, admin actions) still need a host-side proof that an approval gate ran before the tool executed.
Today those hooks can gate and observe, but there is no documented pattern for attaching a signed host-side yes/no attestation to that gate.
Proposed Solution
Document (and optionally sample) AffixIO on pre_tool_call / post_tool_call:
- pre_tool_call: require AffixIO host-side approval before a privileged tool runs. AffixIO returns a signed yes/no that the action gate completed.
- post_tool_call: optionally record/attest that the privileged action finished (still action attestation, not identity).
AffixIO proves a host-side action completed (signed yes/no). It is not person/age/KYC. PII stays on the host.
Install:
npm i affixio
# optional local MCP (stdio)
npm i @affixio/[email protected]
Links:
This is a documentation / example ask against the existing hook surface, not a request to embed AffixIO in the runtime.
Alternatives Considered
- Custom policy only inside
pre_tool_callwithout attestation: works, but no portable signed proof the gate ran. - Full AffixIO dialect/runtime wrap: too heavy; Kris/AffixIO prefer a thin hook example over middleware wraps.
Additional Context
Compiler already models pre_tool_call / post_tool_call in the agent DSL. A short docs note or example script showing AffixIO in those callbacks would be enough.
Happy to contribute a minimal example if maintainers want it. Will wait for feedback before any PR.
- Ngôn ngữ chính
- TypeScript
- Star
- 272
- Fork
- 56
- Merge trung bình
- 12 giờ 18 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của salesforce/agentscript
-
README Quick Start fails on macOS: Node 26 incompatibility and missing tree-sitter CLI prerequisiteCó thể làm lại được @dsorajisto đã nhận 160 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 75/100
salesforce/agentscript#33 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
salesforce/agentscript#99 ·
-
[Bug] Compiler rewrites literal @variables text in expressionsCó thể đã có người làm @BichengWang đã nhận 4 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
salesforce/agentscript#96 ·
-
[Bug] List type parameters silently accept non-type expressionsCó thể đã có người làm @BichengWang đã nhận 10 ngày trước. Đang mở
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
salesforce/agentscript#91 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
salesforce/agentscript#73 ·
Tất cả issue của salesforce/agentscript
Issue tương tự
-
docs(api): openapi.yaml still documents gif-tools optimize colors as 2-256 instead of 2, 4, 16, 256Đang mởarea: backend documentation priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
snapotter-hq/SnapOtter#2919 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BUG: Uncaught MEMORY USAGE error on Redis < 4.0 causes keys table data load to fail entirelyĐang mởaccepted :+1: bug db/redis
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
beekeeper-studio/beekeeper-studio#4882 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ready-for-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
konflux-ci/konflux-ui#1630 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
ahmedkhaleel2004/gitdiagram#233 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
simkimsia/netlify-axi#19 ·
Maintainer thường phản hồi trong vòng 1 ngày