Fairhaul Dock Scheduling

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

Plans a day of dock appointments across your doors, crews and hours, lists requests that do not…

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)

docks_plan Plan a day of dock appointments

[ALLOW] Place each request on the earliest fitting door within its window and dock hours without exceeding crews (earliest window end first, then priority). Returns the schedule, requests with no slot and why, use by door and loads working by hour.

ParameterTypeDescription
dock *stringDock settings JSON: doors and the trailer types each takes, hours, crews, minutes per pallet
requests *stringAppointment requests for one day under --root: load id, carrier, direction, door type, pallets, floor loaded, window start and end (HH:MM), priority
datestringThe day being planned, YYYY-MM-DD

docks_review Review past appointments

[ALLOW] Arrival against appointment (on time, late, early, no-show), wait for a door, work and turn minutes per load; by carrier, by appointment hour and by load type with minutes per pallet and the 80th percentile work time.

ParameterTypeDescription
history *stringPast appointments under --root: load id, carrier, load type, pallets, appointment time, arrived, at door, departed
as_ofstringIgnore appointments after this date
grace_minutesnumberArrival within this many minutes counts as on time (default 15)

docks_write_report Write the dock report

[ALLOW] Write docks-plan.csv and .html (the day's schedule, door use, loads by hour) and, with history, docks-review.csv and .html into out_dir (default fairhaul-out/docks).

ParameterTypeDescription
dock *stringDock settings JSON: doors and the trailer types each takes, hours, crews, minutes per pallet
requests *stringAppointment requests for one day under --root: load id, carrier, direction, door type, pallets, floor loaded, window start and end (HH:MM), priority
as_ofstringIgnore appointments after this date
datestringThe day being planned, YYYY-MM-DD
grace_minutesnumberArrival within this many minutes counts as on time (default 15)
historystringPast appointments under --root: load id, carrier, load type, pallets, appointment time, arrived, at door, departed
out_dirstringFolder under --root for the report (default fairhaul-out/docks)

docks_draft_schedule Draft a schedule

[ASK] Write drafts/schedule-<date>.md: the day's appointments by load, carrier, door and time, and the requests that need another window. Marked DRAFT. Publishing to carriers goes through docks_request_publish (one click); a person books them in your scheduling system.

ParameterTypeDescription
date *stringThe day being planned, YYYY-MM-DD
dock *stringDock settings JSON: doors and the trailer types each takes, hours, crews, minutes per pallet
requests *stringAppointment requests for one day under --root: load id, carrier, direction, door type, pallets, floor loaded, window start and end (HH:MM), priority
fromstringYour name
out_dirstringFolder under --root for the files this writes (default fairhaul-out/docks).
tostringWho receives the schedule

docks_request_publish Approve the schedule (one click)

[ASK · binding_send] After one named human click (even in Auto), record that the reviewed schedule draft is approved in schedule-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. Your receiving or transport lead 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/docks).
tostringWho it goes to; must match the draft when the draft names someone

yms_book_appointment Yms book appointment

[BLOCK · binding_send] Listed so agents can see it is refused. Fairhaul Dock Scheduling never books, moves or cancels appointments in your scheduling or yard system.

email_send Email send

[BLOCK · binding_send] Listed so agents can see it is refused. Fairhaul Dock Scheduling never emails carriers.