Fairhaul Freight Claims

v0.1.0
io.github.fpavia111-creator/fairhaul-freight-claims Checked 2 days ago Published 5 days ago

Fairhaul Freight Claims: finds loss, shortage and damage on delivered shipments, works out the…

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.

ParameterTypeDescription
path *stringA CSV, TSV, Excel .xlsx, JSON or JSONL file under the root
asstringSource kind to read it as (default: every kind this agent declares, best match first)
sheetstring | integerExcel sheet name or 0-based index (default: first visible sheet)

claims_scan Find claims to file and their deadlines

[ALLOW] For each exception: type (loss, shortage, damage, concealed damage, overage), claim amount, filing deadline, days left, status (file_now, file, filed, expired, below_minimum, review, not_a_claim) and evidence notes such as a clean POD or late concealed-damage report.

ParameterTypeDescription
exceptions *stringExceptions under --root (OS&D log, receiving or WMS export): shipment id, carrier, delivery date, exception type, noted on POD, goods value, freight charge, salvage
as_ofstringDate to count deadlines and ages from, YYYY-MM-DD (default today)
claimsstringOptional claims log: claim id, shipment id, carrier, filed on, amount, acknowledged on, status, paid amount
termsstringOptional claim terms JSON: filing window, concealed-damage report days, expected acknowledgement and resolution days, per-carrier windows and liability limits

claims_track Track filed claims

[ALLOW] For each filed claim: age, outstanding amount and what to chase: no acknowledgement, past the expected resolution time, short paid, or declined.

ParameterTypeDescription
claims *stringClaims log under --root: claim id, shipment id, carrier, filed on, amount, acknowledged on, status, paid amount
as_ofstringDate to count deadlines and ages from, YYYY-MM-DD (default today)
termsstringOptional claim terms JSON: filing window, concealed-damage report days, expected acknowledgement and resolution days, per-carrier windows and liability limits

claims_write_report Write the claims worklist and deadline calendar

[ALLOW] Write claims.csv and .html (one row per exception with amount, deadline and action, plus the open claims to chase) and claim-deadlines.ics (one event per claim to file, reminders 14 and 3 days before) into out_dir (default fairhaul-out/claims).

ParameterTypeDescription
exceptions *stringExceptions under --root (OS&D log, receiving or WMS export): shipment id, carrier, delivery date, exception type, noted on POD, goods value, freight charge, salvage
as_ofstringDate to count deadlines and ages from, YYYY-MM-DD (default today)
claimsstringOptional claims log: claim id, shipment id, carrier, filed on, amount, acknowledged on, status, paid amount
out_dirstringFolder under --root for the report (default fairhaul-out/claims)
termsstringOptional claim terms JSON: filing window, concealed-damage report days, expected acknowledgement and resolution days, per-carrier windows and liability limits

claims_draft_claim Draft a claim

[ASK] Write drafts/claim-<shipment>.md: a freight claim letter for one exception with the amount worked out (goods value plus freight, less salvage, capped by any liability limit in your terms), the filing deadline and a list of documents to attach. Marked DRAFT. Filing goes through claims_request_file (one click).

ParameterTypeDescription
exceptions *stringExceptions under --root (OS&D log, receiving or WMS export): shipment id, carrier, delivery date, exception type, noted on POD, goods value, freight charge, salvage
shipment_id *stringShipment id as in the exceptions file
as_ofstringDate to count deadlines and ages from, YYYY-MM-DD (default today)
claimsstringOptional claims log: claim id, shipment id, carrier, filed on, amount, acknowledged on, status, paid amount
contactstringCarrier claims contact or address
fromstringClaimant name and company
out_dirstringFolder under --root for the files this writes (default fairhaul-out/claims).
referencestringYour own claim reference
termsstringOptional claim terms JSON: filing window, concealed-damage report days, expected acknowledgement and resolution days, per-carrier windows and liability limits

claims_request_file Approve the claim (one click)

[ASK · binding_send] After one named human click (even in Auto), record that the reviewed claim draft is approved in claim-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. A person on your team acts on it; the agent never does.

ParameterTypeDescription
draft *stringDraft path returned by the draft tool
draft_sha256 *stringsha256 returned by the draft tool
accept_open_issuesbooleanSet true, together with a note, to go ahead while open markers or issues remain. Default false (refused while any remain).
notestringWhy it is fine to go ahead with open issues; required when accept_open_issues is true. Kept in the audit log.
out_dirstringFolder under --root for the files this writes (default fairhaul-out/claims).
tostringWho it goes to; must match the draft when the draft names someone

carrier_portal_submit Carrier portal submit

[BLOCK · binding_send] Listed so agents can see it is refused. Fairhaul Freight Claims never files a claim in a carrier portal; a person files it.

email_send Email send

[BLOCK · binding_send] Listed so agents can see it is refused. Fairhaul Freight Claims never sends email.

ap_offset_invoice Ap offset invoice

[BLOCK · move_money] Listed so agents can see it is refused. Fairhaul Freight Claims never short-pays or offsets a carrier invoice against a claim.