Fairhaul Carrier Vetting
v0.1.0Checks your carrier master and booked loads for warning signs of fraud and double brokering
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fairhaul_info
Show this pack: pinned model, mode, caps, Auto opt-ins, and the allow/ask/block decision for every tool.
fairhaul_inspect_input
Show how a CSV, TSV, Excel, JSON or JSONL file under the root would be read: its format, which export it looks like, which of its columns map to this pack's columns, and what each column holds. Returns column names and shapes only, never cell values. Use it before a tool when a file comes straight from another system.
| Parameter | Type | Description |
|---|---|---|
path * | string | A CSV, TSV, Excel .xlsx, JSON or JSONL file under the root |
as | string | Source kind to read it as (default: every kind this agent declares, best match first) |
sheet | string | integer | Excel sheet name or 0-based index (default: first visible sheet) |
vetting_vet Check carriers for warning signs
[ALLOW] Score each carrier on weighted warning signs with the detail behind each, and list booked loads with the action to take before pickup (hold, verify or none).
| Parameter | Type | Description |
|---|---|---|
carriers * | string | Carrier master under --root (TMS or AP vendor export): id, name, MC, DOT, phone, email, address, remit-to, bank last 4, date payment details changed, authority date, insurance expiry, safety rating, s… |
as_of | string | Date to judge from (default today) |
loads | string | Optional booked loads: load id, carrier id, pickup date, cargo value, and the dispatch phone and email used for this load |
new_authority_days | integer | Authority younger than this many days is a signal (default 180) |
vetting_write_report Write the carrier vetting report
[ALLOW] Write vetting-carriers.csv and .html (one row per carrier with its signals; loads to hold and verify) into out_dir (default fairhaul-out/vetting).
| Parameter | Type | Description |
|---|---|---|
carriers * | string | Carrier master under --root (TMS or AP vendor export): id, name, MC, DOT, phone, email, address, remit-to, bank last 4, date payment details changed, authority date, insurance expiry, safety rating, s… |
as_of | string | Date to judge from (default today) |
loads | string | Optional booked loads: load id, carrier id, pickup date, cargo value, and the dispatch phone and email used for this load |
new_authority_days | integer | Authority younger than this many days is a signal (default 180) |
out_dir | string | Folder under --root for the report (default fairhaul-out/vetting) |
vetting_draft_verification_request Draft a verification request
[ASK] Write drafts/verification_request-<carrier>.md: a polite request to one carrier for the documents that would clear its warning signs (insurance certificate from the agent, notice of assignment, payment detail confirmation), with an internal note to remove before sending. Marked DRAFT. Sending goes through vetting_request_send (one click).
| Parameter | Type | Description |
|---|---|---|
carrier_id * | string | Carrier to write to |
carriers * | string | Carrier master under --root (TMS or AP vendor export): id, name, MC, DOT, phone, email, address, remit-to, bank last 4, date payment details changed, authority date, insurance expiry, safety rating, s… |
as_of | string | Date to judge from (default today) |
from | string | Your name |
loads | string | Optional booked loads: load id, carrier id, pickup date, cargo value, and the dispatch phone and email used for this load |
new_authority_days | integer | Authority younger than this many days is a signal (default 180) |
out_dir | string | Folder under --root for the files this writes (default fairhaul-out/vetting). |
to | string | Contact you already held for this carrier, not one from a change request |
vetting_request_send Approve the verification request (one click)
[ASK · binding_send] After one named human click (even in Auto), record that the reviewed verification request draft is approved in verification_request-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. Your carrier relations or compliance person acts on it; the agent never does.
| Parameter | Type | Description |
|---|---|---|
draft * | string | Draft path returned by the draft tool |
draft_sha256 * | string | sha256 returned by the draft tool |
accept_open_issues | boolean | Set true, together with a note, to go ahead while open markers or issues remain. Default false (refused while any remain). |
note | string | Why it is fine to go ahead with open issues; required when accept_open_issues is true. Kept in the audit log. |
out_dir | string | Folder under --root for the files this writes (default fairhaul-out/vetting). |
to | string | Who it goes to; must match the draft when the draft names someone |
tms_block_carrier Tms block carrier
[BLOCK · production_deploy] Listed so agents can see it is refused. Fairhaul Carrier Vetting never blocks or deactivates a carrier. A person decides after verifying.
ap_change_remit_to Ap change remit to
[BLOCK · move_money] Listed so agents can see it is refused. Fairhaul Carrier Vetting never changes payment details.
email_send Email send
[BLOCK · binding_send] Listed so agents can see it is refused. Fairhaul Carrier Vetting never emails carriers.
vetting_recall Recall what this agent has learned
[ALLOW] Search this agent's own memory of the customer's setup: accepted facts (in use) and facts waiting for a person. Kinds: note (none (shown by recall only)); watch_contact (adds the on_watch_list warning sign (high) to every carrier in the master, and a hold reason to every booked load, that uses this detail (more warning signs, never fewer)). Checks the memory file's hash chain; when it does not verify, no accepted fact is used.
| Parameter | Type | Description |
|---|---|---|
kind | string | Only facts of this kind (default all kinds) |
limit | integer | Most facts to return |
query | string | Text to look for |
status | string | current (default) = accepted, waiting, and accepted-but-unverified |
vetting_learn Propose a fact to remember
[ALLOW] Propose one fact about the customer's setup for this agent to remember. It is stored as waiting and changes nothing until a named person accepts it with vetting_accept_learning. Kinds: note (none (shown by recall only)); watch_contact (adds the on_watch_list warning sign (high) to every carrier in the master, and a hold reason to every booked load, that uses this detail (more warning signs, never fewer)). Refuses credentials, personal identifiers and text that reads like instructions to an AI.
| Parameter | Type | Description |
|---|---|---|
kind * | string | What sort of fact this is (see recall for the kinds and what each changes) |
value * | object | The fact, in the shape of its kind (see recall for the kinds) |
note | string | Why, for the person who accepts it |
source_files | array | Files under --root this came from (their hashes are recorded) |
vetting_accept_learning Accept or reject a learned fact
[ASK · accept_learning] A named person accepts or rejects a fact waiting in this agent's memory. Accepting makes it apply from the next run (see each kind's effect). Always needs a person's approval, even in Auto; the approver's name is recorded with the fact.
| Parameter | Type | Description |
|---|---|---|
decision * | string | accept puts the fact in use; reject keeps it out |
id * | string | Fact id from recall or learn, e.g. MEM-1a2b3c4d5e6f |
reason | string | Why, in a sentence. Kept in the memory file and the audit log |
vetting_retire_memory Retire a learned fact
[ASK · accept_learning] A named person stops an accepted fact from applying. The history stays in the file. Always needs a person's approval, even in Auto.
| Parameter | Type | Description |
|---|---|---|
id * | string | Fact id from recall or learn, e.g. MEM-1a2b3c4d5e6f |
reason * | string | Why the fact no longer holds. Kept in the memory file and the audit log |