[Feature] AffixIO attestation on pre_tool_call / post_tool_call for privileged actions
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 61/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
エージェントの DSL/コンパイラにおける pre_tool_call / post_tool_call フック(および before_reasoning / after_reasoning)を説明しているリポジトリのドキュメント、ならびに examples/ やサンプルスクリプトのディレクトリから読み始めてください。特権ツールの実行前に pre_tool_call 内で AffixIO のホスト側署名付き yes/no ゲートを示し、さらに任意の post_tool_call アテステーションを示す短いドキュメントノート(任意でサンプルスクリプト)を追加してください。完了の条件は、ドキュメントページがインストールコマンドとともにその例をレンダリングし、これがアイデンティティ/PII ではなくアクションのアテステーションであると明記していることです。なお、Issue 起票者は、PR を出す前にメンテナからのフィードバックを待っている点に注意してください.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 272
- フォーク
- 56
- 平均マージ
- 12時間 18分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
salesforce/agentscript のほかの issue
-
README Quick Start fails on macOS: Node 26 incompatibility and missing tree-sitter CLI prerequisite再び着手できるかも @dsorajisto が 159 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 半日 初心者へのやさしさ 75/100
salesforce/agentscript#33 · コメント 2 件 ·
-
[Bug] Compiler rewrites literal @variables text in expressions対応中かも @BichengWang が 4 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
salesforce/agentscript#96 ·
-
[Bug] List type parameters silently accept non-type expressions対応中かも @BichengWang が 9 日前に担当しました。 オープン
難易度 3/5 半日 初心者へのやさしさ 55/100
salesforce/agentscript#91 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
salesforce/agentscript#73 ·
-
[bug]: @sf-agentscript/[email protected] (latest) still unusable — dist/ compiled against a newer @sf-agentscript/language than package.json pins (missing export `nullLiteralValidationPass`)対応中かも @srikolagani が 43 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
salesforce/agentscript#71 · コメント 1 件 ·
salesforce/agentscript の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jessepollak/home#2223 ·
メンテナーはふだん 1 日以内に返信
-
grep fixture corpus test follows the corpus's loop symlink under the receipt runner (fails on main)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
code-yeongyu/senpi#3756 ·
メンテナーはふだん 1 日以内に返信
-
org:external package:deepagents priority:triage topic:memory topic:middleware type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
langchain-ai/deepagents#7059 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
osmlab/name-suggestion-index#12992 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
hemilabs/ui-monorepo#2506 ·
メンテナーはふだん 1 日以内に返信