Eclipse Gig Core MCP

v0.1.1
io.github.CYAN-ECLIPSE-TECHNOLOGIES-LLC/gig-core Checked 2 days ago Published 1 month ago

One approved Task Brief, every marketplace: hash-bound briefs, all-in quotes, and a hire that runs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

brief_create

Create a canonical Task Brief: category, service, scope {statement, items[]}, ZIP-tier location, timing window, ALL-IN ceiling, tip policy, photos (EXIF-strip status recorded per photo), license_required (unknown|no|yes:<type>), safety/access block, intended/prohibited platforms, and a details bag adapters draw native form answers from. Issues the version-1 hash an approval binds to.

ParameterTypeDescription
category *string
ceiling_all_in *number
license_required *string
location *object
scope *object
service *string
timing *object
brief_idstring
detailsobject
intended_platformsarray
photosarray
prohibited_platformsarray
safety_accessobject
tip_policyobject

brief_update

Create a new brief version from content-field changes. Any post-approval edit invalidates the approval and returns the brief to draft (approval binds hashes, spec 5.1).

ParameterTypeDescription
brief_id *string
changes *object

brief_approve

Record the owner's approval of the EXACT current brief hash, plus the per-platform variant hashes approved with it. A hash mismatch is refused.

ParameterTypeDescription
brief_hash *string
brief_id *string
approved_atstring
approverstring
variant_hashesobject

brief_read

Read a brief with its version, hash, and approval validity.

ParameterTypeDescription
brief_id *string

quote_normalize

Normalize a quote from any platform model (lead_model, stated_budget, fixed_price, hourly) into one record: face price, itemized fees with bearers, tax, and ALL-IN total kept separate forever. Fees the platform does not expose mark the quote UNEXPOSED with no all-in. Optional ceiling_all_in runs the ceiling test.

ParameterTypeDescription
model *string
platform *string
pro *object
ceiling_all_innumber
currencystring
feesarray
fees_exposedboolean
hour_capnumber
hourly_ratenumber
job_pricenumber
owner_fee_exceptionobject
raw_quote_refstring
taxnumber
tipobject
valid_untilstring

quote_read

Read a normalized quote; optional ceiling_all_in re-runs the ceiling test.

ParameterTypeDescription
quote_id *string
ceiling_all_innumber

hire_check

Evaluate a hire against a live Procure/Agent Wallet mandate: approved brief hash, mandate presence + expiry, cap vs all-in, brief ceiling, category + platform allowlists, approval threshold (above = owner token for THIS quote), quote expiry, fee exposure. v1 person-selection always needs an owner-confirm token. Returns ALLOW / MANDATE_ALLOW_PERSON_PENDING / DENY with named reasons. Executes nothing; receipted either way.

ParameterTypeDescription
brief_id *string
quote_id *string
as_ofstring
mandateobject
person_confirm_tokenstring
quote_approval_tokenstring

completion_verify

Verify completion against the brief's scope statement: each scope item done/partial/not_done with owner attestation. Platform state is stored verbatim and separately; a platform-completed claim the owner does not attest opens an exception record (spec 7.2).

ParameterTypeDescription
brief_id *string
communicationstring
platformstring
platform_statestring
pro_display_namestring
quality_notesstring
quote_idstring
scope_resultsarray
timelinessstring
verified_atstring

review_draft

Draft review text from a verification record ONLY: what was hired, what was verified, and timeliness/communication/quality strictly as recorded. No sentiment the record does not carry; leverage language is refused at draft time. The draft never submits itself.

ParameterTypeDescription
verification_id *string

receipt_list

List the append-only, hash-chained gig-core receipts and verify the chain.

ParameterTypeDescription
limitinteger