Laguarde

v0.3.2
dev.futur-panda/laguarde Checked 21 hours ago Published 4 months ago

Self-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.

ParameterTypeDescription
context_idstring
kindsarray

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.

ParameterTypeDescription
action_type *string
summary *stringExact intended action and why it is needed.
commandsarrayExact commands intended for execution. Never include secret values.
context_idstringLaguarde project context. Defaults to 'default'.
dependenciesarrayPackages that would be added, removed, or updated.
requested_bystringAgent/session identifier.
targetsarrayRepository-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.

ParameterTypeDescription
action_type *string
summary *stringExact intended action and why it is needed.
commandsarrayExact commands intended for execution. Never include secret values.
context_idstringLaguarde project context. Defaults to 'default'.
dependenciesarrayPackages that would be added, removed, or updated.
requested_bystringAgent/session identifier.
targetsarrayRepository-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.

ParameterTypeDescription
statestring

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.

ParameterTypeDescription
observation *string
proposed_by *string
existing_proposal_idstringExisting matching proposal, when one was found.
scope_idstringExisting guideline to revise.
scope_kindstringRequired only when creating a proposal.
suggested_editstringComplete proposed new policy body.
titlestring