Laguarde
v0.3.2Self-hostable policy control plane for AI coding agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_policy_bundle
Return active, context-specific engineering policies with exact revision IDs. Call at the beginning of work and before planning a substantial change.
| Parameter | Type | Description |
|---|---|---|
context_id | string | |
kinds | array |
evaluate_action
Preview the policy decision for an intended action. Returns allowed, limited, approval, or forbidden. This preview is not an audit record; use record_decision before acting.
| Parameter | Type | Description |
|---|---|---|
action_type * | string | |
summary * | string | Exact intended action and why it is needed. |
commands | array | Exact commands intended for execution. Never include secret values. |
context_id | string | Laguarde project context. Defaults to 'default'. |
dependencies | array | Packages that would be added, removed, or updated. |
requested_by | string | Agent/session identifier. |
targets | array | Repository-relative files or paths the action will touch. |
record_decision
Re-evaluate an exact intended action and persist an immutable audit decision. This tool cannot override policy or self-approve an action.
| Parameter | Type | Description |
|---|---|---|
action_type * | string | |
summary * | string | Exact intended action and why it is needed. |
commands | array | Exact commands intended for execution. Never include secret values. |
context_id | string | Laguarde project context. Defaults to 'default'. |
dependencies | array | Packages that would be added, removed, or updated. |
requested_by | string | Agent/session identifier. |
targets | array | Repository-relative files or paths the action will touch. |
list_preference_proposals
List existing preference proposals and observations. Use this before proposing feedback so similar observations converge on one proposal.
| Parameter | Type | Description |
|---|---|---|
state | string |
propose_preference
Capture reusable developer feedback. Add to an existing proposal when it expresses the same preference; otherwise create a new proposal. Three observations promote it for human review, but only a human can accept it.
| Parameter | Type | Description |
|---|---|---|
observation * | string | |
proposed_by * | string | |
existing_proposal_id | string | Existing matching proposal, when one was found. |
scope_id | string | Existing guideline to revise. |
scope_kind | string | Required only when creating a proposal. |
suggested_edit | string | Complete proposed new policy body. |
title | string |