Fairhaul Standard Freight Cost
v0.1.0Compares the standard freight built into item costs with what freight actually cost per unit…
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) |
costing_compare Compare freight standards with actual
[ALLOW] Per SKU: units, actual freight, standard, actual per unit, variance in money and percent, month-by-month per unit and trend, status, proposed standard with basis, and inventory revaluation estimate.
| Parameter | Type | Description |
|---|---|---|
actuals * | string | Actual freight by SKU: SKU, units, freight, optionally ship date and shipment id (allocation.csv from Fairhaul Freight Allocation works as is) |
items * | string | Item master under --root: SKU, standard freight per unit, optionally description, units on hand and standard cost |
min_units | integer | Fewest units shipped before Fairhaul Standard Freight Cost proposes a new standard (default 20) |
threshold_pct | number | Percent difference from standard that counts as stale (default 10) |
costing_write_report Write the freight standard report
[ALLOW] Write costing-standards.csv and .html (one row per SKU) into out_dir (default fairhaul-out/costing).
| Parameter | Type | Description |
|---|---|---|
actuals * | string | Actual freight by SKU: SKU, units, freight, optionally ship date and shipment id (allocation.csv from Fairhaul Freight Allocation works as is) |
items * | string | Item master under --root: SKU, standard freight per unit, optionally description, units on hand and standard cost |
min_units | integer | Fewest units shipped before Fairhaul Standard Freight Cost proposes a new standard (default 20) |
out_dir | string | Folder under --root for the report (default fairhaul-out/costing) |
threshold_pct | number | Percent difference from standard that counts as stale (default 10) |
costing_draft_standard_update Draft a standard update
[ASK] Write drafts/standard_update-<name>.md: the items whose freight standard moved past the threshold, the proposed standard and its basis, units on hand and the revaluation estimate. Marked DRAFT. Loading it goes through costing_request_apply (one click); a person changes the ERP.
| Parameter | Type | Description |
|---|---|---|
actuals * | string | Actual freight by SKU: SKU, units, freight, optionally ship date and shipment id (allocation.csv from Fairhaul Freight Allocation works as is) |
items * | string | Item master under --root: SKU, standard freight per unit, optionally description, units on hand and standard cost |
effective | string | Date the new standards take effect |
from | string | Your name |
min_units | integer | Fewest units shipped before Fairhaul Standard Freight Cost proposes a new standard (default 20) |
name | string | Name for this update (default freight-standards) |
out_dir | string | Folder under --root for the files this writes (default fairhaul-out/costing). |
system | string | ERP or costing system |
threshold_pct | number | Percent difference from standard that counts as stale (default 10) |
to | string | Who loads the standards |
costing_request_apply Approve the standard update (one click)
[ASK · production_deploy] After one named human click (even in Auto), record that the reviewed standard update draft is approved in standard_update-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. Your cost accountant 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/costing). |
to | string | Who it goes to; must match the draft when the draft names someone |
erp_update_item_cost Erp update item cost
[BLOCK · production_deploy] Listed so agents can see it is refused. Fairhaul Standard Freight Cost never changes standard costs in your ERP.
erp_revalue_inventory Erp revalue inventory
[BLOCK · move_money] Listed so agents can see it is refused. Fairhaul Standard Freight Cost never revalues inventory or posts the variance.