Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ gv-team.md
.windsurf/
.zencoder/
skills/
!packages/sardis-openclaw/skills/
!packages/sardis-openclaw/skills/**
skills-lock.json
AGENTS.md

Expand Down
157 changes: 0 additions & 157 deletions contracts/src/SardisVerifyingPaymaster.sol

This file was deleted.

173 changes: 0 additions & 173 deletions contracts/test/SardisVerifyingPaymaster.t.sol

This file was deleted.

2 changes: 1 addition & 1 deletion contracts/test/mocks/ReentrantToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pragma solidity ^0.8.24;

/// @title ReentrantToken
/// @notice Mock ERC20 that calls back into the caller during transfer/transferFrom.
/// @dev Used to test reentrancy resistance in RefundProtocol and SardisVerifyingPaymaster.
/// @dev Used to test reentrancy resistance in RefundProtocol.
/// The callback target and calldata are configurable so the same mock can attack
/// any external function.
contract ReentrantToken {
Expand Down
26 changes: 26 additions & 0 deletions packages/sardis-openclaw/skills/audit/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: sardis-audit
description: Teach an OpenClaw agent to inspect Sardis transactions, preserve evidence, and verify authority before reporting payment state.
homepage: https://sardis.sh
user-invocable: false
---

# Sardis Audit

Use this skill only when `SARDIS_API_KEY` is present. If it is missing, state that Sardis audit data is unavailable.

## Audit Flow

Use `sardis_list_transactions` to inspect the activity ledger before summarizing payment history, card activity, or budget usage.

Use `sardis_check_balance` before claiming available spend capacity.

Use `sardis_check_policy` before saying a future spend is allowed.

## Reporting Rules

Report Sardis transaction identifiers, status, merchant, amount, currency, and evidence references when available.

Distinguish `pending`, `requires_approval`, `denied`, `settled`, and `revoked` states.

Never claim a payment completed from intent text alone. The ledger status is the source of truth.
Loading
Loading