Fairhaul Carton Sizing

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

Fairhaul Carton Sizing: checks every parcel's carton against what was inside, finds the smallest…

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)

cartons_check Check carton fit

[ALLOW] For each package: carton used, fill, dimensional and billable weight now, the smallest catalog carton that fits (any orientation, with padding) and its billable weight, the lb and money saved, oversize risk and data problems. Totals, savings by SKU, carton usage and carton sizes to add.

ParameterTypeDescription
cartons *stringCarton catalog JSON: carton names and inside dimensions in inches, plus divisor, padding and average cost per billable lb
packages *stringShipped parcels under --root (WMS or shipping system export): package id, SKU, carton code or carton dimensions, contents dimensions in inches, actual weight in lb, billed amount

cartons_write_report Write the carton report

[ALLOW] Write cartons.csv and .html (one row per package; savings by SKU; carton usage) into out_dir (default fairhaul-out/cartons).

ParameterTypeDescription
cartons *stringCarton catalog JSON: carton names and inside dimensions in inches, plus divisor, padding and average cost per billable lb
packages *stringShipped parcels under --root (WMS or shipping system export): package id, SKU, carton code or carton dimensions, contents dimensions in inches, actual weight in lb, billed amount
out_dirstringFolder under --root for the report (default fairhaul-out/cartons)

cartons_draft_carton_change Draft a carton change

[ASK] Write drafts/carton_change-<name>.md: packing rules by SKU (from carton, to carton, saving), cartons to add for packages nothing fits, and carton usage. Marked DRAFT. Applying it goes through cartons_request_apply (one click); a person changes the WMS.

ParameterTypeDescription
cartons *stringCarton catalog JSON: carton names and inside dimensions in inches, plus divisor, padding and average cost per billable lb
packages *stringShipped parcels under --root (WMS or shipping system export): package id, SKU, carton code or carton dimensions, contents dimensions in inches, actual weight in lb, billed amount
fromstringYour name
namestringName for this change (default cartons)
out_dirstringFolder under --root for the files this writes (default fairhaul-out/cartons).
systemstringWMS or packing system

cartons_request_apply Approve the carton change (one click)

[ASK · production_deploy] After one named human click (even in Auto), record that the reviewed carton change draft is approved in carton_change-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. The person who owns your WMS packing rules 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/cartons).
tostringWho it goes to; must match the draft when the draft names someone

wms_update_cartonization Wms update cartonization

[BLOCK · production_deploy] Listed so agents can see it is refused. Fairhaul Carton Sizing never changes packing rules or the carton catalog in your WMS.

purchase_order_create Purchase order create

[BLOCK · move_money] Listed so agents can see it is refused. Fairhaul Carton Sizing never orders cartons.